From 1acad624945d85840a423b64793a7d37c4b76116 Mon Sep 17 00:00:00 2001 From: Ember Date: Thu, 24 Apr 2025 19:00:20 +1000 Subject: [PATCH 01/31] [docs] Mention where to run the command to grant CREATE permissions (#4050) --- docs/configuration/database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/database.md b/docs/configuration/database.md index 4179f846d..4f3785b37 100644 --- a/docs/configuration/database.md +++ b/docs/configuration/database.md @@ -42,7 +42,7 @@ create user gotosocial with password 'some_really_good_password'; grant all privileges on database gotosocial to gotosocial; ``` -If you start using Postgres after 14, or you encounter `error executing command: error creating dbservice: db migration error: ERROR: permission denied for schema public`, you should grant `CREATE` permission to your db user: +If you start using Postgres after 14, or you encounter `error executing command: error creating dbservice: db migration error: ERROR: permission denied for schema public`, you should grant `CREATE` permission to your db user *(This **must** be run in a postgres shell that's connected to the gotosocial database)*: ```psql GRANT CREATE ON SCHEMA public TO gotosocial; From 8aba20fb726c374030c4472afd13eb3c287d8f56 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 24 Apr 2025 11:20:03 +0200 Subject: [PATCH 02/31] [chore] Update `activity` to v1.14.0 (#4038) --- go.mod | 2 +- go.sum | 4 +- .../activity/streams/gen_consts.go | 42 + .../activity/streams/gen_init.go | 35 + .../activity/streams/gen_json_resolver.go | 91 + .../activity/streams/gen_manager.go | 193 ++ .../streams/gen_pkg_gotosocial_disjoint.go | 49 + .../streams/gen_pkg_gotosocial_extendedby.go | 56 + .../streams/gen_pkg_gotosocial_extends.go | 49 + .../streams/gen_pkg_gotosocial_isorextends.go | 50 + ...en_pkg_gotosocial_property_constructors.go | 34 + .../gen_pkg_gotosocial_type_constructors.go | 42 + .../gen_pkg_toot_property_constructors.go | 12 + .../activity/streams/gen_resolver_utils.go | 21 + .../streams/gen_type_predicated_resolver.go | 91 + .../activity/streams/gen_type_resolver.go | 77 + .../activitystreams/property_actor/gen_pkg.go | 24 + .../gen_property_activitystreams_actor.go | 863 +++++++- .../activitystreams/property_anyof/gen_pkg.go | 24 + .../gen_property_activitystreams_anyOf.go | 863 +++++++- .../property_attachment/gen_pkg.go | 24 + ...gen_property_activitystreams_attachment.go | 864 +++++++- .../property_attributedto/gen_pkg.go | 24 + ...n_property_activitystreams_attributedTo.go | 864 +++++++- .../property_audience/gen_pkg.go | 24 + .../gen_property_activitystreams_audience.go | 864 +++++++- .../activitystreams/property_bcc/gen_pkg.go | 24 + .../gen_property_activitystreams_bcc.go | 861 +++++++- .../activitystreams/property_bto/gen_pkg.go | 24 + .../gen_property_activitystreams_bto.go | 861 +++++++- .../activitystreams/property_cc/gen_pkg.go | 24 + .../gen_property_activitystreams_cc.go | 861 +++++++- .../property_closed/gen_pkg.go | 24 + .../gen_property_activitystreams_closed.go | 863 +++++++- .../property_context/gen_pkg.go | 24 + .../gen_property_activitystreams_context.go | 863 +++++++- .../property_describes/gen_pkg.go | 24 + .../gen_property_activitystreams_describes.go | 387 +++- .../property_formertype/gen_pkg.go | 24 + ...gen_property_activitystreams_formerType.go | 856 +++++++- .../property_generator/gen_pkg.go | 24 + .../gen_property_activitystreams_generator.go | 864 +++++++- .../property_inreplyto/gen_pkg.go | 24 + .../gen_property_activitystreams_inReplyTo.go | 864 +++++++- .../property_instrument/gen_pkg.go | 24 + ...gen_property_activitystreams_instrument.go | 864 +++++++- .../activitystreams/property_items/gen_pkg.go | 24 + .../gen_property_activitystreams_items.go | 863 +++++++- .../property_location/gen_pkg.go | 24 + .../gen_property_activitystreams_location.go | 864 +++++++- .../property_object/gen_pkg.go | 24 + .../gen_property_activitystreams_object.go | 863 +++++++- .../activitystreams/property_oneof/gen_pkg.go | 24 + .../gen_property_activitystreams_oneOf.go | 863 +++++++- .../property_ordereditems/gen_pkg.go | 24 + ...n_property_activitystreams_orderedItems.go | 864 +++++++- .../property_origin/gen_pkg.go | 24 + .../gen_property_activitystreams_origin.go | 863 +++++++- .../property_preview/gen_pkg.go | 24 + .../gen_property_activitystreams_preview.go | 863 +++++++- .../property_relationship/gen_pkg.go | 24 + ...n_property_activitystreams_relationship.go | 856 +++++++- .../property_result/gen_pkg.go | 24 + .../gen_property_activitystreams_result.go | 863 +++++++- .../property_source/gen_pkg.go | 24 + .../gen_property_activitystreams_source.go | 391 +++- .../property_subject/gen_pkg.go | 24 + .../gen_property_activitystreams_subject.go | 391 +++- .../activitystreams/property_tag/gen_pkg.go | 24 + .../gen_property_activitystreams_tag.go | 861 +++++++- .../property_target/gen_pkg.go | 24 + .../gen_property_activitystreams_target.go | 863 +++++++- .../activitystreams/property_to/gen_pkg.go | 24 + .../gen_property_activitystreams_to.go | 861 +++++++- .../gen_type_activitystreams_activity.go | 2 +- .../type_application/gen_pkg.go | 4 + .../gen_type_activitystreams_application.go | 42 + .../activitystreams/type_audio/gen_pkg.go | 4 + .../gen_type_activitystreams_audio.go | 42 + .../activitystreams/type_document/gen_pkg.go | 4 + .../gen_type_activitystreams_document.go | 42 + .../activitystreams/type_group/gen_pkg.go | 4 + .../gen_type_activitystreams_group.go | 42 + .../activitystreams/type_image/gen_pkg.go | 4 + .../gen_type_activitystreams_image.go | 42 + .../gen_type_activitystreams_link.go | 2 +- .../gen_type_activitystreams_mention.go | 2 +- .../gen_type_activitystreams_object.go | 2 +- .../type_organization/gen_pkg.go | 4 + .../gen_type_activitystreams_organization.go | 42 + .../impl/activitystreams/type_page/gen_pkg.go | 4 + .../gen_type_activitystreams_page.go | 42 + .../activitystreams/type_person/gen_pkg.go | 4 + .../gen_type_activitystreams_person.go | 42 + .../activitystreams/type_service/gen_pkg.go | 4 + .../gen_type_activitystreams_service.go | 42 + .../activitystreams/type_video/gen_pkg.go | 4 + .../gen_type_activitystreams_video.go | 42 + .../property_automaticapproval/gen_doc.go | 17 + .../property_automaticapproval/gen_pkg.go | 15 + ...n_property_gotosocial_automaticApproval.go | 511 +++++ .../gotosocial/property_canquote/gen_doc.go | 17 + .../gotosocial/property_canquote/gen_pkg.go | 22 + .../gen_property_gotosocial_canQuote.go | 618 ++++++ .../property_interactingobject/gen_doc.go | 17 + .../property_interactingobject/gen_pkg.go | 15 + ...n_property_gotosocial_interactingObject.go | 511 +++++ .../property_interactiontarget/gen_doc.go | 17 + .../property_interactiontarget/gen_pkg.go | 15 + ...n_property_gotosocial_interactionTarget.go | 511 +++++ .../property_manualapproval/gen_doc.go | 17 + .../property_manualapproval/gen_pkg.go | 15 + .../gen_property_gotosocial_manualApproval.go | 510 +++++ .../gen_type_gotosocial_announceapproval.go | 1 + .../type_announceauthorization/gen_doc.go | 17 + .../type_announceauthorization/gen_pkg.go | 189 ++ ...n_type_gotosocial_announceauthorization.go | 1726 +++++++++++++++ .../type_announcerequest/gen_doc.go | 17 + .../type_announcerequest/gen_pkg.go | 199 ++ .../gen_type_gotosocial_announcerequest.go | 1850 +++++++++++++++++ .../gotosocial/type_canannounce/gen_pkg.go | 9 + .../gen_type_gotosocial_canannounce.go | 94 +- .../impl/gotosocial/type_canlike/gen_pkg.go | 9 + .../gen_type_gotosocial_canlike.go | 94 +- .../impl/gotosocial/type_canquote/gen_doc.go | 17 + .../impl/gotosocial/type_canquote/gen_pkg.go | 63 + .../gen_type_gotosocial_canquote.go | 372 ++++ .../impl/gotosocial/type_canreply/gen_pkg.go | 9 + .../gen_type_gotosocial_canreply.go | 94 +- .../type_interactionpolicy/gen_pkg.go | 4 + .../gen_type_gotosocial_interactionpolicy.go | 42 + .../gen_type_gotosocial_likeapproval.go | 1 + .../type_likeauthorization/gen_doc.go | 17 + .../type_likeauthorization/gen_pkg.go | 189 ++ .../gen_type_gotosocial_likeauthorization.go | 1724 +++++++++++++++ .../gotosocial/type_likerequest/gen_doc.go | 17 + .../gotosocial/type_likerequest/gen_pkg.go | 199 ++ .../gen_type_gotosocial_likerequest.go | 1849 ++++++++++++++++ .../gen_type_gotosocial_replyapproval.go | 1 + .../type_replyauthorization/gen_doc.go | 17 + .../type_replyauthorization/gen_pkg.go | 189 ++ .../gen_type_gotosocial_replyauthorization.go | 1724 +++++++++++++++ .../gotosocial/type_replyrequest/gen_doc.go | 17 + .../gotosocial/type_replyrequest/gen_pkg.go | 199 ++ .../gen_type_gotosocial_replyrequest.go | 1849 ++++++++++++++++ .../impl/toot/property_focalpoint/gen_doc.go | 17 + .../impl/toot/property_focalpoint/gen_pkg.go | 15 + .../gen_property_toot_focalPoint.go | 531 +++++ .../impl/toot/property_indexable/gen_doc.go | 17 + .../impl/toot/property_indexable/gen_pkg.go | 15 + .../gen_property_toot_indexable.go | 203 ++ .../type_hashtag/gen_type_toot_hashtag.go | 2 +- .../activity/streams/util.go | 6 +- ...roperty_activitystreams_actor_interface.go | 168 ++ ...roperty_activitystreams_anyOf_interface.go | 168 ++ ...ty_activitystreams_attachment_interface.go | 172 ++ ..._activitystreams_attributedTo_interface.go | 172 ++ ...erty_activitystreams_audience_interface.go | 172 ++ ..._property_activitystreams_bcc_interface.go | 167 ++ ..._property_activitystreams_bto_interface.go | 167 ++ ...n_property_activitystreams_cc_interface.go | 166 ++ ...operty_activitystreams_closed_interface.go | 168 ++ ...perty_activitystreams_context_interface.go | 169 ++ ...rty_activitystreams_describes_interface.go | 71 + ...ty_activitystreams_formerType_interface.go | 172 ++ ...rty_activitystreams_generator_interface.go | 172 ++ ...rty_activitystreams_inReplyTo_interface.go | 172 ++ ...ty_activitystreams_instrument_interface.go | 172 ++ ...roperty_activitystreams_items_interface.go | 168 ++ ...erty_activitystreams_location_interface.go | 172 ++ ...operty_activitystreams_object_interface.go | 168 ++ ...roperty_activitystreams_oneOf_interface.go | 168 ++ ..._activitystreams_orderedItems_interface.go | 172 ++ ...operty_activitystreams_origin_interface.go | 168 ++ ...perty_activitystreams_preview_interface.go | 169 ++ ..._activitystreams_relationship_interface.go | 172 ++ ...operty_activitystreams_result_interface.go | 168 ++ ...operty_activitystreams_source_interface.go | 71 + ...perty_activitystreams_subject_interface.go | 71 + ..._property_activitystreams_tag_interface.go | 167 ++ ...operty_activitystreams_target_interface.go | 168 ++ ...n_property_activitystreams_to_interface.go | 166 ++ ...en_property_gotosocial_always_interface.go | 5 +- ...y_gotosocial_approvalRequired_interface.go | 5 +- ..._gotosocial_automaticApproval_interface.go | 132 ++ ..._property_gotosocial_canQuote_interface.go | 156 ++ ..._gotosocial_interactingObject_interface.go | 130 ++ ..._gotosocial_interactionTarget_interface.go | 130 ++ ...rty_gotosocial_manualApproval_interface.go | 132 ++ .../gen_property_toot_focalPoint_interface.go | 130 ++ .../gen_property_toot_indexable_interface.go | 52 + ...e_activitystreams_application_interface.go | 5 + ...en_type_activitystreams_audio_interface.go | 5 + ...type_activitystreams_document_interface.go | 5 + ...en_type_activitystreams_group_interface.go | 5 + ...en_type_activitystreams_image_interface.go | 5 + ..._activitystreams_organization_interface.go | 5 + ...gen_type_activitystreams_page_interface.go | 5 + ...n_type_activitystreams_person_interface.go | 5 + ..._type_activitystreams_service_interface.go | 5 + ...en_type_activitystreams_video_interface.go | 5 + ...e_gotosocial_announceapproval_interface.go | 1 + ...osocial_announceauthorization_interface.go | 210 ++ ...pe_gotosocial_announcerequest_interface.go | 225 ++ ...n_type_gotosocial_canannounce_interface.go | 10 + .../gen_type_gotosocial_canlike_interface.go | 10 + .../gen_type_gotosocial_canquote_interface.go | 55 + .../gen_type_gotosocial_canreply_interface.go | 10 + ..._gotosocial_interactionpolicy_interface.go | 5 + ..._type_gotosocial_likeapproval_interface.go | 1 + ..._gotosocial_likeauthorization_interface.go | 210 ++ ...n_type_gotosocial_likerequest_interface.go | 225 ++ ...type_gotosocial_replyapproval_interface.go | 1 + ...gotosocial_replyauthorization_interface.go | 210 ++ ..._type_gotosocial_replyrequest_interface.go | 225 ++ vendor/modules.txt | 16 +- 216 files changed, 45857 insertions(+), 3130 deletions(-) create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go create mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go diff --git a/go.mod b/go.mod index 09796fba7..6313491d1 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( codeberg.org/gruf/go-sched v1.2.4 codeberg.org/gruf/go-storage v0.2.0 codeberg.org/gruf/go-structr v0.9.6 - codeberg.org/superseriousbusiness/activity v1.13.0-gts + codeberg.org/superseriousbusiness/activity v1.14.0 codeberg.org/superseriousbusiness/exif-terminator v0.10.0 codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB diff --git a/go.sum b/go.sum index 17885f27e..fb37eb1d3 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ codeberg.org/gruf/go-storage v0.2.0 h1:mKj3Lx6AavEkuXXtxqPhdq+akW9YwrnP16yQBF7K5 codeberg.org/gruf/go-storage v0.2.0/go.mod h1:o3GzMDE5QNUaRnm/daUzFqvuAaC4utlgXDXYO79sWKU= codeberg.org/gruf/go-structr v0.9.6 h1:FSbJ1A0ubTQB82rC0K4o6qyiqrDGH1t9ivttm8Zy64o= codeberg.org/gruf/go-structr v0.9.6/go.mod h1:9k5hYztZ4PsBS+m1v5hUTeFiVUBTLF5VA7d9cd1OEMs= -codeberg.org/superseriousbusiness/activity v1.13.0-gts h1:4WZLc/SNt+Vt5x2UjL2n6V5dHlIL9ECudUPx8Ld5rxw= -codeberg.org/superseriousbusiness/activity v1.13.0-gts/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o= +codeberg.org/superseriousbusiness/activity v1.14.0 h1:z+jBjAIane9+Oqu6vO+tNvvNoji+OLU8KYDJ+R+ih+I= +codeberg.org/superseriousbusiness/activity v1.14.0/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o= codeberg.org/superseriousbusiness/exif-terminator v0.10.0 h1:FiLX/AK07tzceS36I+kOP2aEH+aytjPSIlFoYePMEyg= codeberg.org/superseriousbusiness/exif-terminator v0.10.0/go.mod h1:c/mCytx/+fisOZeVXtjCpXld/SeZb3VsD1vj3oPAihA= codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB h1:v2shEkOPgydTL0n44EFPsDT9dsEP7KRG85aPnojCYkI= diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go index 3bda64dc7..4c40dabb3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go @@ -20,6 +20,12 @@ var ActivityStreamsAnnounceName string = "Announce" // GoToSocialAnnounceApprovalName is the string literal of the name for the AnnounceApproval type in the GoToSocial vocabulary. var GoToSocialAnnounceApprovalName string = "AnnounceApproval" +// GoToSocialAnnounceAuthorizationName is the string literal of the name for the AnnounceAuthorization type in the GoToSocial vocabulary. +var GoToSocialAnnounceAuthorizationName string = "AnnounceAuthorization" + +// GoToSocialAnnounceRequestName is the string literal of the name for the AnnounceRequest type in the GoToSocial vocabulary. +var GoToSocialAnnounceRequestName string = "AnnounceRequest" + // ActivityStreamsApplicationName is the string literal of the name for the Application type in the ActivityStreams vocabulary. var ActivityStreamsApplicationName string = "Application" @@ -44,6 +50,9 @@ var GoToSocialCanAnnounceName string = "CanAnnounce" // GoToSocialCanLikeName is the string literal of the name for the CanLike type in the GoToSocial vocabulary. var GoToSocialCanLikeName string = "CanLike" +// GoToSocialCanQuoteName is the string literal of the name for the CanQuote type in the GoToSocial vocabulary. +var GoToSocialCanQuoteName string = "CanQuote" + // GoToSocialCanReplyName is the string literal of the name for the CanReply type in the GoToSocial vocabulary. var GoToSocialCanReplyName string = "CanReply" @@ -119,6 +128,12 @@ var ActivityStreamsLikeName string = "Like" // GoToSocialLikeApprovalName is the string literal of the name for the LikeApproval type in the GoToSocial vocabulary. var GoToSocialLikeApprovalName string = "LikeApproval" +// GoToSocialLikeAuthorizationName is the string literal of the name for the LikeAuthorization type in the GoToSocial vocabulary. +var GoToSocialLikeAuthorizationName string = "LikeAuthorization" + +// GoToSocialLikeRequestName is the string literal of the name for the LikeRequest type in the GoToSocial vocabulary. +var GoToSocialLikeRequestName string = "LikeRequest" + // ActivityStreamsLinkName is the string literal of the name for the Link type in the ActivityStreams vocabulary. var ActivityStreamsLinkName string = "Link" @@ -185,6 +200,12 @@ var ActivityStreamsRemoveName string = "Remove" // GoToSocialReplyApprovalName is the string literal of the name for the ReplyApproval type in the GoToSocial vocabulary. var GoToSocialReplyApprovalName string = "ReplyApproval" +// GoToSocialReplyAuthorizationName is the string literal of the name for the ReplyAuthorization type in the GoToSocial vocabulary. +var GoToSocialReplyAuthorizationName string = "ReplyAuthorization" + +// GoToSocialReplyRequestName is the string literal of the name for the ReplyRequest type in the GoToSocial vocabulary. +var GoToSocialReplyRequestName string = "ReplyRequest" + // ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary. var ActivityStreamsServiceName string = "Service" @@ -248,6 +269,9 @@ var ActivityStreamsAttributedToPropertyName string = "attributedTo" // ActivityStreamsAudiencePropertyName is the string literal of the name for the audience property in the ActivityStreams vocabulary. var ActivityStreamsAudiencePropertyName string = "audience" +// GoToSocialAutomaticApprovalPropertyName is the string literal of the name for the automaticApproval property in the GoToSocial vocabulary. +var GoToSocialAutomaticApprovalPropertyName string = "automaticApproval" + // ActivityStreamsBccPropertyName is the string literal of the name for the bcc property in the ActivityStreams vocabulary. var ActivityStreamsBccPropertyName string = "bcc" @@ -263,6 +287,9 @@ var GoToSocialCanAnnouncePropertyName string = "canAnnounce" // GoToSocialCanLikePropertyName is the string literal of the name for the canLike property in the GoToSocial vocabulary. var GoToSocialCanLikePropertyName string = "canLike" +// GoToSocialCanQuotePropertyName is the string literal of the name for the canQuote property in the GoToSocial vocabulary. +var GoToSocialCanQuotePropertyName string = "canQuote" + // GoToSocialCanReplyPropertyName is the string literal of the name for the canReply property in the GoToSocial vocabulary. var GoToSocialCanReplyPropertyName string = "canReply" @@ -308,6 +335,9 @@ var TootFeaturedPropertyName string = "featured" // ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary. var ActivityStreamsFirstPropertyName string = "first" +// TootFocalPointPropertyName is the string literal of the name for the focalPoint property in the Toot vocabulary. +var TootFocalPointPropertyName string = "focalPoint" + // ActivityStreamsFollowersPropertyName is the string literal of the name for the followers property in the ActivityStreams vocabulary. var ActivityStreamsFollowersPropertyName string = "followers" @@ -341,12 +371,21 @@ var ActivityStreamsInReplyToPropertyName string = "inReplyTo" // ActivityStreamsInboxPropertyName is the string literal of the name for the inbox property in the ActivityStreams vocabulary. var ActivityStreamsInboxPropertyName string = "inbox" +// TootIndexablePropertyName is the string literal of the name for the indexable property in the Toot vocabulary. +var TootIndexablePropertyName string = "indexable" + // ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary. var ActivityStreamsInstrumentPropertyName string = "instrument" +// GoToSocialInteractingObjectPropertyName is the string literal of the name for the interactingObject property in the GoToSocial vocabulary. +var GoToSocialInteractingObjectPropertyName string = "interactingObject" + // GoToSocialInteractionPolicyPropertyName is the string literal of the name for the interactionPolicy property in the GoToSocial vocabulary. var GoToSocialInteractionPolicyPropertyName string = "interactionPolicy" +// GoToSocialInteractionTargetPropertyName is the string literal of the name for the interactionTarget property in the GoToSocial vocabulary. +var GoToSocialInteractionTargetPropertyName string = "interactionTarget" + // ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary. var ActivityStreamsItemsPropertyName string = "items" @@ -368,6 +407,9 @@ var ActivityStreamsLocationPropertyName string = "location" // ActivityStreamsLongitudePropertyName is the string literal of the name for the longitude property in the ActivityStreams vocabulary. var ActivityStreamsLongitudePropertyName string = "longitude" +// GoToSocialManualApprovalPropertyName is the string literal of the name for the manualApproval property in the GoToSocial vocabulary. +var GoToSocialManualApprovalPropertyName string = "manualApproval" + // ActivityStreamsManuallyApprovesFollowersPropertyName is the string literal of the name for the manuallyApprovesFollowers property in the ActivityStreams vocabulary. var ActivityStreamsManuallyApprovesFollowersPropertyName string = "manuallyApprovesFollowers" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go index 7441fa2db..5b55dee31 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go @@ -142,22 +142,36 @@ import ( propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" + propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval" propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce" propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike" + propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote" propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply" + propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject" propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy" + propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget" + propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval" typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value" typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash" propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable" propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured" + propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint" + propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable" propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm" propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount" @@ -322,22 +336,36 @@ func init() { propertyalways.SetManager(mgr) propertyapprovalrequired.SetManager(mgr) propertyapprovedby.SetManager(mgr) + propertyautomaticapproval.SetManager(mgr) propertycanannounce.SetManager(mgr) propertycanlike.SetManager(mgr) + propertycanquote.SetManager(mgr) propertycanreply.SetManager(mgr) + propertyinteractingobject.SetManager(mgr) propertyinteractionpolicy.SetManager(mgr) + propertyinteractiontarget.SetManager(mgr) + propertymanualapproval.SetManager(mgr) typeannounceapproval.SetManager(mgr) + typeannounceauthorization.SetManager(mgr) + typeannouncerequest.SetManager(mgr) typecanannounce.SetManager(mgr) typecanlike.SetManager(mgr) + typecanquote.SetManager(mgr) typecanreply.SetManager(mgr) typeinteractionpolicy.SetManager(mgr) typelikeapproval.SetManager(mgr) + typelikeauthorization.SetManager(mgr) + typelikerequest.SetManager(mgr) typereplyapproval.SetManager(mgr) + typereplyauthorization.SetManager(mgr) + typereplyrequest.SetManager(mgr) propertyvalue.SetManager(mgr) typepropertyvalue.SetManager(mgr) propertyblurhash.SetManager(mgr) propertydiscoverable.SetManager(mgr) propertyfeatured.SetManager(mgr) + propertyfocalpoint.SetManager(mgr) + propertyindexable.SetManager(mgr) propertysignaturealgorithm.SetManager(mgr) propertysignaturevalue.SetManager(mgr) propertyvoterscount.SetManager(mgr) @@ -408,12 +436,19 @@ func init() { typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty) typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeannounceauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeannouncerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty) typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecanquote.SetTypePropertyConstructor(NewJSONLDTypeProperty) typecanreply.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeinteractionpolicy.SetTypePropertyConstructor(NewJSONLDTypeProperty) typelikeapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelikeauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelikerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) typereplyapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typereplyauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typereplyrequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty) typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go index fc30ea78d..ca0191faf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go @@ -43,6 +43,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialAnnounceApproval) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialAnnounceAuthorization) error: + // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialAnnounceRequest) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsApplication) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsArrive) error: @@ -59,6 +63,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialCanLike) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialCanQuote) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialCanReply) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCollection) error: @@ -109,6 +115,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialLikeApproval) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialLikeAuthorization) error: + // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialLikeRequest) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsLink) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsListen) error: @@ -153,6 +163,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialReplyApproval) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialReplyAuthorization) error: + // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialReplyRequest) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsService) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTentativeAccept) error: @@ -354,6 +368,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"AnnounceAuthorization" { + v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"AnnounceRequest" { + v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceRequest) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Application" { v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap) if err != nil { @@ -442,6 +478,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"CanQuote" { + v, err := mgr.DeserializeCanQuoteGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialCanQuote) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch } else if typeString == GoToSocialAlias+"CanReply" { v, err := mgr.DeserializeCanReplyGoToSocial()(m, aliasMap) if err != nil { @@ -717,6 +764,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"LikeAuthorization" { + v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeAuthorization) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"LikeRequest" { + v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeRequest) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Link" { v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap) if err != nil { @@ -959,6 +1028,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"ReplyAuthorization" { + v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyAuthorization) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch + } else if typeString == GoToSocialAlias+"ReplyRequest" { + v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyRequest) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Service" { v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap) if err != nil { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go index 6c5377097..9f06e9b07 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go @@ -142,17 +142,29 @@ import ( propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" + propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval" propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce" propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike" + propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote" propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply" + propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject" propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy" + propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget" + propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval" typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" propertyid "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id" propertytype "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type" propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value" @@ -160,6 +172,8 @@ import ( propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash" propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable" propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured" + propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint" + propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable" propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm" propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount" @@ -321,6 +335,32 @@ func (this Manager) DeserializeAnnounceApprovalGoToSocial() func(map[string]inte } } +// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization method +// for the "GoToSocialAnnounceAuthorization" non-functional property in the +// vocabulary "GoToSocial" +func (this Manager) DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) { + i, err := typeannounceauthorization.DeserializeAnnounceAuthorization(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + +// DeserializeAnnounceRequestGoToSocial returns the deserialization method for the +// "GoToSocialAnnounceRequest" non-functional property in the vocabulary +// "GoToSocial" +func (this Manager) DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceRequest, error) { + i, err := typeannouncerequest.DeserializeAnnounceRequest(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeAnyOfPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsAnyOfProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -463,6 +503,19 @@ func (this Manager) DeserializeAudioActivityStreams() func(map[string]interface{ } } +// DeserializeAutomaticApprovalPropertyGoToSocial returns the deserialization +// method for the "GoToSocialAutomaticApprovalProperty" non-functional +// property in the vocabulary "GoToSocial" +func (this Manager) DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) { + i, err := propertyautomaticapproval.DeserializeAutomaticApprovalProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeBccPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsBccProperty" non-functional property in the vocabulary // "ActivityStreams" @@ -565,6 +618,31 @@ func (this Manager) DeserializeCanLikePropertyGoToSocial() func(map[string]inter } } +// DeserializeCanQuoteGoToSocial returns the deserialization method for the +// "GoToSocialCanQuote" non-functional property in the vocabulary "GoToSocial" +func (this Manager) DeserializeCanQuoteGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuote, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuote, error) { + i, err := typecanquote.DeserializeCanQuote(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + +// DeserializeCanQuotePropertyGoToSocial returns the deserialization method for +// the "GoToSocialCanQuoteProperty" non-functional property in the vocabulary +// "GoToSocial" +func (this Manager) DeserializeCanQuotePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuoteProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuoteProperty, error) { + i, err := propertycanquote.DeserializeCanQuoteProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeCanReplyGoToSocial returns the deserialization method for the // "GoToSocialCanReply" non-functional property in the vocabulary "GoToSocial" func (this Manager) DeserializeCanReplyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanReply, error) { @@ -886,6 +964,18 @@ func (this Manager) DeserializeFlagActivityStreams() func(map[string]interface{} } } +// DeserializeFocalPointPropertyToot returns the deserialization method for the +// "TootFocalPointProperty" non-functional property in the vocabulary "Toot" +func (this Manager) DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootFocalPointProperty, error) { + i, err := propertyfocalpoint.DeserializeFocalPointProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeFollowActivityStreams returns the deserialization method for the // "ActivityStreamsFollow" non-functional property in the vocabulary // "ActivityStreams" @@ -1117,6 +1207,18 @@ func (this Manager) DeserializeInboxPropertyActivityStreams() func(map[string]in } } +// DeserializeIndexablePropertyToot returns the deserialization method for the +// "TootIndexableProperty" non-functional property in the vocabulary "Toot" +func (this Manager) DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootIndexableProperty, error) { + i, err := propertyindexable.DeserializeIndexableProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeInstrumentPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsInstrumentProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -1130,6 +1232,19 @@ func (this Manager) DeserializeInstrumentPropertyActivityStreams() func(map[stri } } +// DeserializeInteractingObjectPropertyGoToSocial returns the deserialization +// method for the "GoToSocialInteractingObjectProperty" non-functional +// property in the vocabulary "GoToSocial" +func (this Manager) DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) { + i, err := propertyinteractingobject.DeserializeInteractingObjectProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeInteractionPolicyGoToSocial returns the deserialization method for // the "GoToSocialInteractionPolicy" non-functional property in the vocabulary // "GoToSocial" @@ -1156,6 +1271,19 @@ func (this Manager) DeserializeInteractionPolicyPropertyGoToSocial() func(map[st } } +// DeserializeInteractionTargetPropertyGoToSocial returns the deserialization +// method for the "GoToSocialInteractionTargetProperty" non-functional +// property in the vocabulary "GoToSocial" +func (this Manager) DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) { + i, err := propertyinteractiontarget.DeserializeInteractionTargetProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeIntransitiveActivityActivityStreams returns the deserialization // method for the "ActivityStreamsIntransitiveActivity" non-functional // property in the vocabulary "ActivityStreams" @@ -1285,6 +1413,32 @@ func (this Manager) DeserializeLikeApprovalGoToSocial() func(map[string]interfac } } +// DeserializeLikeAuthorizationGoToSocial returns the deserialization method for +// the "GoToSocialLikeAuthorization" non-functional property in the vocabulary +// "GoToSocial" +func (this Manager) DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeAuthorization, error) { + i, err := typelikeauthorization.DeserializeLikeAuthorization(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + +// DeserializeLikeRequestGoToSocial returns the deserialization method for the +// "GoToSocialLikeRequest" non-functional property in the vocabulary +// "GoToSocial" +func (this Manager) DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeRequest, error) { + i, err := typelikerequest.DeserializeLikeRequest(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeLikedPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsLikedProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -1363,6 +1517,19 @@ func (this Manager) DeserializeLongitudePropertyActivityStreams() func(map[strin } } +// DeserializeManualApprovalPropertyGoToSocial returns the deserialization method +// for the "GoToSocialManualApprovalProperty" non-functional property in the +// vocabulary "GoToSocial" +func (this Manager) DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialManualApprovalProperty, error) { + i, err := propertymanualapproval.DeserializeManualApprovalProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeManuallyApprovesFollowersPropertyActivityStreams returns the // deserialization method for the // "ActivityStreamsManuallyApprovesFollowersProperty" non-functional property @@ -1909,6 +2076,32 @@ func (this Manager) DeserializeReplyApprovalGoToSocial() func(map[string]interfa } } +// DeserializeReplyAuthorizationGoToSocial returns the deserialization method for +// the "GoToSocialReplyAuthorization" non-functional property in the +// vocabulary "GoToSocial" +func (this Manager) DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyAuthorization, error) { + i, err := typereplyauthorization.DeserializeReplyAuthorization(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + +// DeserializeReplyRequestGoToSocial returns the deserialization method for the +// "GoToSocialReplyRequest" non-functional property in the vocabulary +// "GoToSocial" +func (this Manager) DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyRequest, error) { + i, err := typereplyrequest.DeserializeReplyRequest(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeResultPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsResultProperty" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go index 37e71e219..0d18a263a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go @@ -4,12 +4,19 @@ package streams import ( typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" ) @@ -19,6 +26,18 @@ func GoToSocialAnnounceApprovalIsDisjointWith(other vocab.Type) bool { return typeannounceapproval.AnnounceApprovalIsDisjointWith(other) } +// GoToSocialAnnounceAuthorizationIsDisjointWith returns true if +// AnnounceAuthorization is disjoint with the other's type. +func GoToSocialAnnounceAuthorizationIsDisjointWith(other vocab.Type) bool { + return typeannounceauthorization.AnnounceAuthorizationIsDisjointWith(other) +} + +// GoToSocialAnnounceRequestIsDisjointWith returns true if AnnounceRequest is +// disjoint with the other's type. +func GoToSocialAnnounceRequestIsDisjointWith(other vocab.Type) bool { + return typeannouncerequest.AnnounceRequestIsDisjointWith(other) +} + // GoToSocialCanAnnounceIsDisjointWith returns true if CanAnnounce is disjoint // with the other's type. func GoToSocialCanAnnounceIsDisjointWith(other vocab.Type) bool { @@ -31,6 +50,12 @@ func GoToSocialCanLikeIsDisjointWith(other vocab.Type) bool { return typecanlike.CanLikeIsDisjointWith(other) } +// GoToSocialCanQuoteIsDisjointWith returns true if CanQuote is disjoint with the +// other's type. +func GoToSocialCanQuoteIsDisjointWith(other vocab.Type) bool { + return typecanquote.CanQuoteIsDisjointWith(other) +} + // GoToSocialCanReplyIsDisjointWith returns true if CanReply is disjoint with the // other's type. func GoToSocialCanReplyIsDisjointWith(other vocab.Type) bool { @@ -49,8 +74,32 @@ func GoToSocialLikeApprovalIsDisjointWith(other vocab.Type) bool { return typelikeapproval.LikeApprovalIsDisjointWith(other) } +// GoToSocialLikeAuthorizationIsDisjointWith returns true if LikeAuthorization is +// disjoint with the other's type. +func GoToSocialLikeAuthorizationIsDisjointWith(other vocab.Type) bool { + return typelikeauthorization.LikeAuthorizationIsDisjointWith(other) +} + +// GoToSocialLikeRequestIsDisjointWith returns true if LikeRequest is disjoint +// with the other's type. +func GoToSocialLikeRequestIsDisjointWith(other vocab.Type) bool { + return typelikerequest.LikeRequestIsDisjointWith(other) +} + // GoToSocialReplyApprovalIsDisjointWith returns true if ReplyApproval is disjoint // with the other's type. func GoToSocialReplyApprovalIsDisjointWith(other vocab.Type) bool { return typereplyapproval.ReplyApprovalIsDisjointWith(other) } + +// GoToSocialReplyAuthorizationIsDisjointWith returns true if ReplyAuthorization +// is disjoint with the other's type. +func GoToSocialReplyAuthorizationIsDisjointWith(other vocab.Type) bool { + return typereplyauthorization.ReplyAuthorizationIsDisjointWith(other) +} + +// GoToSocialReplyRequestIsDisjointWith returns true if ReplyRequest is disjoint +// with the other's type. +func GoToSocialReplyRequestIsDisjointWith(other vocab.Type) bool { + return typereplyrequest.ReplyRequestIsDisjointWith(other) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go index 0c17ac630..a6ebe8ac5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go @@ -4,12 +4,19 @@ package streams import ( typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" ) @@ -20,6 +27,20 @@ func GoToSocialAnnounceApprovalIsExtendedBy(other vocab.Type) bool { return typeannounceapproval.AnnounceApprovalIsExtendedBy(other) } +// GoToSocialAnnounceAuthorizationIsExtendedBy returns true if the other's type +// extends from AnnounceAuthorization. Note that it returns false if the types +// are the same; see the "IsOrExtends" variant instead. +func GoToSocialAnnounceAuthorizationIsExtendedBy(other vocab.Type) bool { + return typeannounceauthorization.AnnounceAuthorizationIsExtendedBy(other) +} + +// GoToSocialAnnounceRequestIsExtendedBy returns true if the other's type extends +// from AnnounceRequest. Note that it returns false if the types are the same; +// see the "IsOrExtends" variant instead. +func GoToSocialAnnounceRequestIsExtendedBy(other vocab.Type) bool { + return typeannouncerequest.AnnounceRequestIsExtendedBy(other) +} + // GoToSocialCanAnnounceIsExtendedBy returns true if the other's type extends from // CanAnnounce. Note that it returns false if the types are the same; see the // "IsOrExtends" variant instead. @@ -34,6 +55,13 @@ func GoToSocialCanLikeIsExtendedBy(other vocab.Type) bool { return typecanlike.CanLikeIsExtendedBy(other) } +// GoToSocialCanQuoteIsExtendedBy returns true if the other's type extends from +// CanQuote. Note that it returns false if the types are the same; see the +// "IsOrExtends" variant instead. +func GoToSocialCanQuoteIsExtendedBy(other vocab.Type) bool { + return typecanquote.CanQuoteIsExtendedBy(other) +} + // GoToSocialCanReplyIsExtendedBy returns true if the other's type extends from // CanReply. Note that it returns false if the types are the same; see the // "IsOrExtends" variant instead. @@ -55,9 +83,37 @@ func GoToSocialLikeApprovalIsExtendedBy(other vocab.Type) bool { return typelikeapproval.LikeApprovalIsExtendedBy(other) } +// GoToSocialLikeAuthorizationIsExtendedBy returns true if the other's type +// extends from LikeAuthorization. Note that it returns false if the types are +// the same; see the "IsOrExtends" variant instead. +func GoToSocialLikeAuthorizationIsExtendedBy(other vocab.Type) bool { + return typelikeauthorization.LikeAuthorizationIsExtendedBy(other) +} + +// GoToSocialLikeRequestIsExtendedBy returns true if the other's type extends from +// LikeRequest. Note that it returns false if the types are the same; see the +// "IsOrExtends" variant instead. +func GoToSocialLikeRequestIsExtendedBy(other vocab.Type) bool { + return typelikerequest.LikeRequestIsExtendedBy(other) +} + // GoToSocialReplyApprovalIsExtendedBy returns true if the other's type extends // from ReplyApproval. Note that it returns false if the types are the same; // see the "IsOrExtends" variant instead. func GoToSocialReplyApprovalIsExtendedBy(other vocab.Type) bool { return typereplyapproval.ReplyApprovalIsExtendedBy(other) } + +// GoToSocialReplyAuthorizationIsExtendedBy returns true if the other's type +// extends from ReplyAuthorization. Note that it returns false if the types +// are the same; see the "IsOrExtends" variant instead. +func GoToSocialReplyAuthorizationIsExtendedBy(other vocab.Type) bool { + return typereplyauthorization.ReplyAuthorizationIsExtendedBy(other) +} + +// GoToSocialReplyRequestIsExtendedBy returns true if the other's type extends +// from ReplyRequest. Note that it returns false if the types are the same; +// see the "IsOrExtends" variant instead. +func GoToSocialReplyRequestIsExtendedBy(other vocab.Type) bool { + return typereplyrequest.ReplyRequestIsExtendedBy(other) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go index 2de5b8fe5..814da6b22 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go @@ -4,12 +4,19 @@ package streams import ( typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" ) @@ -19,6 +26,18 @@ func GoToSocialGoToSocialAnnounceApprovalExtends(other vocab.Type) bool { return typeannounceapproval.GoToSocialAnnounceApprovalExtends(other) } +// GoToSocialGoToSocialAnnounceAuthorizationExtends returns true if +// AnnounceAuthorization extends from the other's type. +func GoToSocialGoToSocialAnnounceAuthorizationExtends(other vocab.Type) bool { + return typeannounceauthorization.GoToSocialAnnounceAuthorizationExtends(other) +} + +// GoToSocialGoToSocialAnnounceRequestExtends returns true if AnnounceRequest +// extends from the other's type. +func GoToSocialGoToSocialAnnounceRequestExtends(other vocab.Type) bool { + return typeannouncerequest.GoToSocialAnnounceRequestExtends(other) +} + // GoToSocialGoToSocialCanAnnounceExtends returns true if CanAnnounce extends from // the other's type. func GoToSocialGoToSocialCanAnnounceExtends(other vocab.Type) bool { @@ -31,6 +50,12 @@ func GoToSocialGoToSocialCanLikeExtends(other vocab.Type) bool { return typecanlike.GoToSocialCanLikeExtends(other) } +// GoToSocialGoToSocialCanQuoteExtends returns true if CanQuote extends from the +// other's type. +func GoToSocialGoToSocialCanQuoteExtends(other vocab.Type) bool { + return typecanquote.GoToSocialCanQuoteExtends(other) +} + // GoToSocialGoToSocialCanReplyExtends returns true if CanReply extends from the // other's type. func GoToSocialGoToSocialCanReplyExtends(other vocab.Type) bool { @@ -49,8 +74,32 @@ func GoToSocialGoToSocialLikeApprovalExtends(other vocab.Type) bool { return typelikeapproval.GoToSocialLikeApprovalExtends(other) } +// GoToSocialGoToSocialLikeAuthorizationExtends returns true if LikeAuthorization +// extends from the other's type. +func GoToSocialGoToSocialLikeAuthorizationExtends(other vocab.Type) bool { + return typelikeauthorization.GoToSocialLikeAuthorizationExtends(other) +} + +// GoToSocialGoToSocialLikeRequestExtends returns true if LikeRequest extends from +// the other's type. +func GoToSocialGoToSocialLikeRequestExtends(other vocab.Type) bool { + return typelikerequest.GoToSocialLikeRequestExtends(other) +} + // GoToSocialGoToSocialReplyApprovalExtends returns true if ReplyApproval extends // from the other's type. func GoToSocialGoToSocialReplyApprovalExtends(other vocab.Type) bool { return typereplyapproval.GoToSocialReplyApprovalExtends(other) } + +// GoToSocialGoToSocialReplyAuthorizationExtends returns true if +// ReplyAuthorization extends from the other's type. +func GoToSocialGoToSocialReplyAuthorizationExtends(other vocab.Type) bool { + return typereplyauthorization.GoToSocialReplyAuthorizationExtends(other) +} + +// GoToSocialGoToSocialReplyRequestExtends returns true if ReplyRequest extends +// from the other's type. +func GoToSocialGoToSocialReplyRequestExtends(other vocab.Type) bool { + return typereplyrequest.GoToSocialReplyRequestExtends(other) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go index e6c455f8f..0e50e365e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go @@ -4,12 +4,19 @@ package streams import ( typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" ) @@ -19,6 +26,19 @@ func IsOrExtendsGoToSocialAnnounceApproval(other vocab.Type) bool { return typeannounceapproval.IsOrExtendsAnnounceApproval(other) } +// IsOrExtendsGoToSocialAnnounceAuthorization returns true if the other provided +// type is the AnnounceAuthorization type or extends from the +// AnnounceAuthorization type. +func IsOrExtendsGoToSocialAnnounceAuthorization(other vocab.Type) bool { + return typeannounceauthorization.IsOrExtendsAnnounceAuthorization(other) +} + +// IsOrExtendsGoToSocialAnnounceRequest returns true if the other provided type is +// the AnnounceRequest type or extends from the AnnounceRequest type. +func IsOrExtendsGoToSocialAnnounceRequest(other vocab.Type) bool { + return typeannouncerequest.IsOrExtendsAnnounceRequest(other) +} + // IsOrExtendsGoToSocialCanAnnounce returns true if the other provided type is the // CanAnnounce type or extends from the CanAnnounce type. func IsOrExtendsGoToSocialCanAnnounce(other vocab.Type) bool { @@ -31,6 +51,12 @@ func IsOrExtendsGoToSocialCanLike(other vocab.Type) bool { return typecanlike.IsOrExtendsCanLike(other) } +// IsOrExtendsGoToSocialCanQuote returns true if the other provided type is the +// CanQuote type or extends from the CanQuote type. +func IsOrExtendsGoToSocialCanQuote(other vocab.Type) bool { + return typecanquote.IsOrExtendsCanQuote(other) +} + // IsOrExtendsGoToSocialCanReply returns true if the other provided type is the // CanReply type or extends from the CanReply type. func IsOrExtendsGoToSocialCanReply(other vocab.Type) bool { @@ -49,8 +75,32 @@ func IsOrExtendsGoToSocialLikeApproval(other vocab.Type) bool { return typelikeapproval.IsOrExtendsLikeApproval(other) } +// IsOrExtendsGoToSocialLikeAuthorization returns true if the other provided type +// is the LikeAuthorization type or extends from the LikeAuthorization type. +func IsOrExtendsGoToSocialLikeAuthorization(other vocab.Type) bool { + return typelikeauthorization.IsOrExtendsLikeAuthorization(other) +} + +// IsOrExtendsGoToSocialLikeRequest returns true if the other provided type is the +// LikeRequest type or extends from the LikeRequest type. +func IsOrExtendsGoToSocialLikeRequest(other vocab.Type) bool { + return typelikerequest.IsOrExtendsLikeRequest(other) +} + // IsOrExtendsGoToSocialReplyApproval returns true if the other provided type is // the ReplyApproval type or extends from the ReplyApproval type. func IsOrExtendsGoToSocialReplyApproval(other vocab.Type) bool { return typereplyapproval.IsOrExtendsReplyApproval(other) } + +// IsOrExtendsGoToSocialReplyAuthorization returns true if the other provided type +// is the ReplyAuthorization type or extends from the ReplyAuthorization type. +func IsOrExtendsGoToSocialReplyAuthorization(other vocab.Type) bool { + return typereplyauthorization.IsOrExtendsReplyAuthorization(other) +} + +// IsOrExtendsGoToSocialReplyRequest returns true if the other provided type is +// the ReplyRequest type or extends from the ReplyRequest type. +func IsOrExtendsGoToSocialReplyRequest(other vocab.Type) bool { + return typereplyrequest.IsOrExtendsReplyRequest(other) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go index 566b16c47..82e7f8bbe 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go @@ -6,10 +6,15 @@ import ( propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" + propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval" propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce" propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike" + propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote" propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply" + propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject" propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy" + propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget" + propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval" vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" ) @@ -30,6 +35,12 @@ func NewGoToSocialApprovedByProperty() vocab.GoToSocialApprovedByProperty { return propertyapprovedby.NewGoToSocialApprovedByProperty() } +// NewGoToSocialGoToSocialAutomaticApprovalProperty creates a new +// GoToSocialAutomaticApprovalProperty +func NewGoToSocialAutomaticApprovalProperty() vocab.GoToSocialAutomaticApprovalProperty { + return propertyautomaticapproval.NewGoToSocialAutomaticApprovalProperty() +} + // NewGoToSocialGoToSocialCanAnnounceProperty creates a new // GoToSocialCanAnnounceProperty func NewGoToSocialCanAnnounceProperty() vocab.GoToSocialCanAnnounceProperty { @@ -41,13 +52,36 @@ func NewGoToSocialCanLikeProperty() vocab.GoToSocialCanLikeProperty { return propertycanlike.NewGoToSocialCanLikeProperty() } +// NewGoToSocialGoToSocialCanQuoteProperty creates a new GoToSocialCanQuoteProperty +func NewGoToSocialCanQuoteProperty() vocab.GoToSocialCanQuoteProperty { + return propertycanquote.NewGoToSocialCanQuoteProperty() +} + // NewGoToSocialGoToSocialCanReplyProperty creates a new GoToSocialCanReplyProperty func NewGoToSocialCanReplyProperty() vocab.GoToSocialCanReplyProperty { return propertycanreply.NewGoToSocialCanReplyProperty() } +// NewGoToSocialGoToSocialInteractingObjectProperty creates a new +// GoToSocialInteractingObjectProperty +func NewGoToSocialInteractingObjectProperty() vocab.GoToSocialInteractingObjectProperty { + return propertyinteractingobject.NewGoToSocialInteractingObjectProperty() +} + // NewGoToSocialGoToSocialInteractionPolicyProperty creates a new // GoToSocialInteractionPolicyProperty func NewGoToSocialInteractionPolicyProperty() vocab.GoToSocialInteractionPolicyProperty { return propertyinteractionpolicy.NewGoToSocialInteractionPolicyProperty() } + +// NewGoToSocialGoToSocialInteractionTargetProperty creates a new +// GoToSocialInteractionTargetProperty +func NewGoToSocialInteractionTargetProperty() vocab.GoToSocialInteractionTargetProperty { + return propertyinteractiontarget.NewGoToSocialInteractionTargetProperty() +} + +// NewGoToSocialGoToSocialManualApprovalProperty creates a new +// GoToSocialManualApprovalProperty +func NewGoToSocialManualApprovalProperty() vocab.GoToSocialManualApprovalProperty { + return propertymanualapproval.NewGoToSocialManualApprovalProperty() +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go index e6418d666..b0281ca5a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go @@ -4,12 +4,19 @@ package streams import ( typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" + typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" ) @@ -18,6 +25,16 @@ func NewGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval { return typeannounceapproval.NewGoToSocialAnnounceApproval() } +// NewGoToSocialAnnounceAuthorization creates a new GoToSocialAnnounceAuthorization +func NewGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return typeannounceauthorization.NewGoToSocialAnnounceAuthorization() +} + +// NewGoToSocialAnnounceRequest creates a new GoToSocialAnnounceRequest +func NewGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return typeannouncerequest.NewGoToSocialAnnounceRequest() +} + // NewGoToSocialCanAnnounce creates a new GoToSocialCanAnnounce func NewGoToSocialCanAnnounce() vocab.GoToSocialCanAnnounce { return typecanannounce.NewGoToSocialCanAnnounce() @@ -28,6 +45,11 @@ func NewGoToSocialCanLike() vocab.GoToSocialCanLike { return typecanlike.NewGoToSocialCanLike() } +// NewGoToSocialCanQuote creates a new GoToSocialCanQuote +func NewGoToSocialCanQuote() vocab.GoToSocialCanQuote { + return typecanquote.NewGoToSocialCanQuote() +} + // NewGoToSocialCanReply creates a new GoToSocialCanReply func NewGoToSocialCanReply() vocab.GoToSocialCanReply { return typecanreply.NewGoToSocialCanReply() @@ -43,7 +65,27 @@ func NewGoToSocialLikeApproval() vocab.GoToSocialLikeApproval { return typelikeapproval.NewGoToSocialLikeApproval() } +// NewGoToSocialLikeAuthorization creates a new GoToSocialLikeAuthorization +func NewGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return typelikeauthorization.NewGoToSocialLikeAuthorization() +} + +// NewGoToSocialLikeRequest creates a new GoToSocialLikeRequest +func NewGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return typelikerequest.NewGoToSocialLikeRequest() +} + // NewGoToSocialReplyApproval creates a new GoToSocialReplyApproval func NewGoToSocialReplyApproval() vocab.GoToSocialReplyApproval { return typereplyapproval.NewGoToSocialReplyApproval() } + +// NewGoToSocialReplyAuthorization creates a new GoToSocialReplyAuthorization +func NewGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return typereplyauthorization.NewGoToSocialReplyAuthorization() +} + +// NewGoToSocialReplyRequest creates a new GoToSocialReplyRequest +func NewGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return typereplyrequest.NewGoToSocialReplyRequest() +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go index a3136eacf..b40fee654 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go @@ -6,6 +6,8 @@ import ( propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash" propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable" propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured" + propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint" + propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable" propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm" propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount" @@ -27,6 +29,16 @@ func NewTootFeaturedProperty() vocab.TootFeaturedProperty { return propertyfeatured.NewTootFeaturedProperty() } +// NewTootTootFocalPointProperty creates a new TootFocalPointProperty +func NewTootFocalPointProperty() vocab.TootFocalPointProperty { + return propertyfocalpoint.NewTootFocalPointProperty() +} + +// NewTootTootIndexableProperty creates a new TootIndexableProperty +func NewTootIndexableProperty() vocab.TootIndexableProperty { + return propertyindexable.NewTootIndexableProperty() +} + // NewTootTootSignatureAlgorithmProperty creates a new // TootSignatureAlgorithmProperty func NewTootSignatureAlgorithmProperty() vocab.TootSignatureAlgorithmProperty { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go index 6e90035e7..7ff667f0e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go @@ -64,6 +64,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.GoToSocialAnnounceApproval) error { t = i return nil + }, func(ctx context.Context, i vocab.GoToSocialAnnounceAuthorization) error { + t = i + return nil + }, func(ctx context.Context, i vocab.GoToSocialAnnounceRequest) error { + t = i + return nil }, func(ctx context.Context, i vocab.ActivityStreamsApplication) error { t = i return nil @@ -88,6 +94,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.GoToSocialCanLike) error { t = i return nil + }, func(ctx context.Context, i vocab.GoToSocialCanQuote) error { + t = i + return nil }, func(ctx context.Context, i vocab.GoToSocialCanReply) error { t = i return nil @@ -163,6 +172,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.GoToSocialLikeApproval) error { t = i return nil + }, func(ctx context.Context, i vocab.GoToSocialLikeAuthorization) error { + t = i + return nil + }, func(ctx context.Context, i vocab.GoToSocialLikeRequest) error { + t = i + return nil }, func(ctx context.Context, i vocab.ActivityStreamsLink) error { t = i return nil @@ -229,6 +244,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.GoToSocialReplyApproval) error { t = i return nil + }, func(ctx context.Context, i vocab.GoToSocialReplyAuthorization) error { + t = i + return nil + }, func(ctx context.Context, i vocab.GoToSocialReplyRequest) error { + t = i + return nil }, func(ctx context.Context, i vocab.ActivityStreamsService) error { t = i return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go index ab64ef497..f63f7e54d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go @@ -41,6 +41,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.GoToSocialAnnounceApproval) (bool, error): // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialAnnounceAuthorization) (bool, error): + // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialAnnounceRequest) (bool, error): + // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsApplication) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsArrive) (bool, error): @@ -57,6 +61,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.GoToSocialCanLike) (bool, error): // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialCanQuote) (bool, error): + // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.GoToSocialCanReply) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsCollection) (bool, error): @@ -107,6 +113,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.GoToSocialLikeApproval) (bool, error): // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialLikeAuthorization) (bool, error): + // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialLikeRequest) (bool, error): + // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsLink) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsListen) (bool, error): @@ -151,6 +161,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.GoToSocialReplyApproval) (bool, error): // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialReplyAuthorization) (bool, error): + // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.GoToSocialReplyRequest) (bool, error): + // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsService) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsTentativeAccept) (bool, error): @@ -256,6 +270,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceAuthorization" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialAnnounceAuthorization); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceRequest" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceRequest) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialAnnounceRequest); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } } else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Application" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsApplication) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsApplication); ok { @@ -344,6 +380,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanQuote" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialCanQuote) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialCanQuote); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanReply" { if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialCanReply) (bool, error)); ok { if v, ok := o.(vocab.GoToSocialCanReply); ok { @@ -619,6 +666,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeAuthorization" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeAuthorization) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialLikeAuthorization); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeRequest" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeRequest) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialLikeRequest); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } } else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Link" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsLink) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsLink); ok { @@ -861,6 +930,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyAuthorization" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyAuthorization) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialReplyAuthorization); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyRequest" { + if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyRequest) (bool, error)); ok { + if v, ok := o.(vocab.GoToSocialReplyRequest); ok { + predicatePasses, err = fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return false, errCannotTypeAssertType + } + } else { + return false, ErrPredicateUnmatched + } } else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Service" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsService) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsService); ok { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go index c7592e951..abe011567 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go @@ -40,6 +40,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialAnnounceApproval) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialAnnounceAuthorization) error: + // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialAnnounceRequest) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsApplication) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsArrive) error: @@ -56,6 +60,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialCanLike) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialCanQuote) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialCanReply) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCollection) error: @@ -106,6 +112,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialLikeApproval) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialLikeAuthorization) error: + // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialLikeRequest) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsLink) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsListen) error: @@ -150,6 +160,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.GoToSocialReplyApproval) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialReplyAuthorization) error: + // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.GoToSocialReplyRequest) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsService) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTentativeAccept) error: @@ -239,6 +253,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceAuthorization" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) error); ok { + if v, ok := o.(vocab.GoToSocialAnnounceAuthorization); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceRequest" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceRequest) error); ok { + if v, ok := o.(vocab.GoToSocialAnnounceRequest); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } } else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Application" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsApplication) error); ok { if v, ok := o.(vocab.ActivityStreamsApplication); ok { @@ -311,6 +343,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanQuote" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialCanQuote) error); ok { + if v, ok := o.(vocab.GoToSocialCanQuote); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanReply" { if fn, ok := i.(func(context.Context, vocab.GoToSocialCanReply) error); ok { if v, ok := o.(vocab.GoToSocialCanReply); ok { @@ -536,6 +577,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeAuthorization" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeAuthorization) error); ok { + if v, ok := o.(vocab.GoToSocialLikeAuthorization); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeRequest" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeRequest) error); ok { + if v, ok := o.(vocab.GoToSocialLikeRequest); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } } else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Link" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsLink) error); ok { if v, ok := o.(vocab.ActivityStreamsLink); ok { @@ -734,6 +793,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyAuthorization" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyAuthorization) error); ok { + if v, ok := o.(vocab.GoToSocialReplyAuthorization); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } + } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyRequest" { + if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyRequest) error); ok { + if v, ok := o.(vocab.GoToSocialReplyRequest); ok { + return fn(ctx, v) + } else { + // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code. + return errCannotTypeAssertType + } + } } else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Service" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsService) error); ok { if v, ok := o.(vocab.ActivityStreamsService); ok { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go index cc07f6107..98597ca10 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go index a9d81afdd..edc3e11e4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go @@ -22,6 +22,8 @@ type ActivityStreamsActorPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsActorPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsActorPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsActorPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsActorPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsActorPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "actor". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "actor". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "actor". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "actor". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "actor". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "actor". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "actor". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "actor". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "actor" func (this *ActivityStreamsActorProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceApproval(idx i } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "actor". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "actor". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "actor". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "actor". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "actor". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "actor". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "actor". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "actor". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "actor". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsActorProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "actor". Invalidates all iterators. func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "actor". Invalidates all iterators. func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "actor". func (this *ActivityStreamsActorProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsActorPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "actor". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "actor". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "actor". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "actor". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "actor". // Panics if the index is out of bounds. func (this *ActivityStreamsActorProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go index 362cb0825..8171e9d8e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go index 080f9e57c..ddb6ece2b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go @@ -22,6 +22,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAnyOfPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAnyOfPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAnyOfPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "anyOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "anyOf". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "anyOf". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "anyOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "anyOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "anyOf". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "anyOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "anyOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "anyOf" func (this *ActivityStreamsAnyOfProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceApproval(idx i } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "anyOf". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "anyOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "anyOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "anyOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "anyOf". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "anyOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "anyOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "anyOf". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "anyOf". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsAnyOfProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "anyOf". Invalidates all iterators. func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "anyOf". Invalidates all iterators. func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "anyOf". func (this *ActivityStreamsAnyOfProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "anyOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "anyOf". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "anyOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "anyOf". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "anyOf". // Panics if the index is out of bounds. func (this *ActivityStreamsAnyOfProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go index c055e7544..14e99f9c1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go index 711f53ab7..2b1e87bd1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go @@ -22,6 +22,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceAppro return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeApproval( return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyApproval return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAttachmentPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAttachmentPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAttachmentPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceAppr this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApprova this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceApproval( }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "attachment". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "attachment". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "attachment". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeApproval(v vo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "attachment". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "attachment". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "attachment". Invalidates iterators that are // traversing using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyApproval(v v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "attachment". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "attachment". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "attachment" func (this *ActivityStreamsAttachmentProperty) AppendIRI(v *url.URL) { @@ -5026,6 +5375,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceApproval( } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "attachment". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5043,6 +5426,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeApproval(idx } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "attachment". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "attachment". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5060,6 +5477,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "attachment". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "attachment". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5239,230 +5690,254 @@ func (this ActivityStreamsAttachmentProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6333,6 +6808,35 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceApproval } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "attachment". Invalidates all +// iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "attachment". Invalidates all iterators. func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6347,6 +6851,34 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "attachment". Invalidates all iterators. func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6361,6 +6893,34 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "attachment". func (this *ActivityStreamsAttachmentProperty) PrependIRI(v *url.URL) { @@ -7250,6 +7810,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "attachment". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "attachment". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "attachment". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7849,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeApproval(idx int } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "attachment". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "attachment". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "attachment". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7276,6 +7888,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyApproval(idx in } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "attachment". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "attachment". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "attachment". Panics if the index is out of bounds. func (this *ActivityStreamsAttachmentProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go index 2918f2260..3e89969ea 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go index acb72e3a7..add7ed9bf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go @@ -22,6 +22,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceApp return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeApprova return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyApprov return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAttributedToPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceAppr return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeApproval return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyApprova return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAttributedToPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAttributedToPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceAp this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApprov this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyAppro this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3936,6 +4213,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceApprova }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "attributedTo". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "attributedTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "attributedTo". Invalidates iterators that are traversing // using Prev. @@ -3948,6 +4249,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeApproval(v }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "attributedTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "attributedTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "attributedTo". Invalidates iterators that are // traversing using Prev. @@ -3960,6 +4285,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyApproval(v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "attributedTo". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "attributedTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "attributedTo" func (this *ActivityStreamsAttributedToProperty) AppendIRI(v *url.URL) { @@ -5067,6 +5416,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceApprova } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "attributedTo". Existing elements at +// that index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "attributedTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "attributedTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5084,6 +5467,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeApproval(id } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "attributedTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "attributedTo". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "attributedTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5101,6 +5518,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyApproval(i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "attributedTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "attributedTo". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property // "attributedTo". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -5280,230 +5731,254 @@ func (this ActivityStreamsAttributedToProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6375,6 +6850,35 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceApprov } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "attributedTo". Invalidates all +// iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "attributedTo". Invalidates all iterators. func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6389,6 +6893,34 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "attributedTo". Invalidates all iterators. func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6403,6 +6935,34 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval( } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "attributedTo". func (this *ActivityStreamsAttributedToProperty) PrependIRI(v *url.URL) { @@ -7292,6 +7852,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceApproval(i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "attributedTo". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "attributedTo". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "attributedTo". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7305,6 +7891,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeApproval(idx i } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "attributedTo". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "attributedTo". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "attributedTo". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7318,6 +7930,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyApproval(idx } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "attributedTo". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "attributedTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "attributedTo". Panics if the index is out of bounds. func (this *ActivityStreamsAttributedToProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go index 5b983aadf..25c056579 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go index 70d441900..45ecc34df 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go @@ -22,6 +22,8 @@ type ActivityStreamsAudiencePropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAudiencePropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAudiencePropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAudiencePropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeApproval() b return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAudiencePropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAudiencePropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceApprov this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval( this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "audience". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "audience". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "audience". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeApproval(v voca }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "audience". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "audience". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "audience". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyApproval(v voc }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "audience". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "audience". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "audience" func (this *ActivityStreamsAudienceProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ @@ -5024,6 +5373,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceApproval(id } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "audience". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "audience". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "audience". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeApproval(idx in } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "audience". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "audience". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "audience". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyApproval(idx i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "audience". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "audience". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "audience". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsAudienceProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "audience". Invalidates all +// iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "audience". Invalidates all iterators. func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v voc } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "audience". Invalidates all iterators. func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vo } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "audience". func (this *ActivityStreamsAudienceProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceApproval(idx i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "audience". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "audience". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "audience". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "audience". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "audience". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "audience". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "audience". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "audience". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "audience". Panics if the index is out of bounds. func (this *ActivityStreamsAudienceProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go index 1c491fec9..25fb6bd36 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go index 9d8c0fd8a..e4a37b31a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go @@ -22,6 +22,8 @@ type ActivityStreamsBccPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsBccPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsBccPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceApproval() v return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeApproval() vocab return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyApproval() voca return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsBccPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceApproval() bo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyApproval() bool return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsBccPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsBccPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceApproval(v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v voca this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v voc this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceApproval(v vocab }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "bcc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "bcc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "bcc". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoT }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "bcc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "bcc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "bcc". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyApproval(v vocab.Go }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "bcc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "bcc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "bcc" func (this *ActivityStreamsBccProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ @@ -5010,6 +5357,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceApproval(idx int } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "bcc". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "bcc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "bcc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeApproval(idx int, v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "bcc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "bcc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "bcc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "bcc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "bcc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "bcc". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsBccProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceApproval(v voca } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "bcc". Invalidates all iterators. func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.Go } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "bcc". Invalidates all iterators. func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.G } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "bcc". func (this *ActivityStreamsBccProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsBccPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "bcc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialLikeApproval(idx int, v voc } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "bcc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "bcc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialReplyApproval(idx int, v vo } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "bcc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "bcc". // Panics if the index is out of bounds. func (this *ActivityStreamsBccProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go index 19cb8ba79..2dc3d59f4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go index c8e0e7733..531f6b32a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go @@ -22,6 +22,8 @@ type ActivityStreamsBtoPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsBtoPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsBtoPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceApproval() v return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeApproval() vocab return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyApproval() voca return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsBtoPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceApproval() bo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyApproval() bool return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsBtoPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsBtoPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceApproval(v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v voca this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v voc this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceApproval(v vocab }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "bto". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "bto". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "bto". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoT }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "bto". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "bto". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "bto". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyApproval(v vocab.Go }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "bto". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "bto". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "bto" func (this *ActivityStreamsBtoProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ @@ -5010,6 +5357,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceApproval(idx int } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "bto". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "bto". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "bto". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeApproval(idx int, v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "bto". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "bto". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "bto". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "bto". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "bto". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "bto". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsBtoProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceApproval(v voca } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "bto". Invalidates all iterators. func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.Go } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "bto". Invalidates all iterators. func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.G } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "bto". func (this *ActivityStreamsBtoProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "bto". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeApproval(idx int, v voc } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "bto". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "bto". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyApproval(idx int, v vo } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "bto". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "bto". // Panics if the index is out of bounds. func (this *ActivityStreamsBtoProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go index a7f80de8a..b0fd8c31e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go index 65f85417e..b9ef61b61 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go @@ -22,6 +22,8 @@ type ActivityStreamsCcPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsCcPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsCcPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceApproval() vo return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeApproval() vocab. return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyApproval() vocab return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsCcPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceApproval() boo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsCcPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsCcPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceApproval(v v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v voca this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceApproval(v vocab. }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "cc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "cc". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoTo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "cc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "cc". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyApproval(v vocab.GoT }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "cc" func (this *ActivityStreamsCcProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ @@ -5010,6 +5357,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceApproval(idx int, } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "cc". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "cc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeApproval(idx int, v v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "cc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "cc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "cc". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsCcProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceApproval(v vocab } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "cc". Invalidates all iterators. func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoT } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "cc". Invalidates all iterators. func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.Go } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "cc". func (this *ActivityStreamsCcProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsCcPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "cc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialLikeApproval(idx int, v voca } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "cc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialReplyApproval(idx int, v voc } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "cc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "cc". // Panics if the index is out of bounds. func (this *ActivityStreamsCcProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go index ea795aad4..56ab1f681 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go index 65e4d87d2..6152d038f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go @@ -29,6 +29,8 @@ type ActivityStreamsClosedPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -57,6 +59,8 @@ type ActivityStreamsClosedPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -76,6 +80,8 @@ type ActivityStreamsClosedPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -167,6 +173,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsApplicationMember: v, @@ -335,6 +353,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsListenMember: v, @@ -449,6 +479,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsServiceMember: v, @@ -942,6 +984,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -949,6 +1005,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -956,6 +1026,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsClosedPropertyIterator) GetIRI() *url.URL { @@ -1015,6 +1099,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1099,6 +1189,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1156,6 +1252,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1215,6 +1317,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1243,6 +1347,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1262,6 +1368,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1693,6 +1801,21 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1700,6 +1823,20 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1707,6 +1844,20 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsClosedPropertyIterator) IsIRI() bool { @@ -1776,6 +1927,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1832,6 +1987,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1870,6 +2029,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1936,177 +2099,195 @@ func (this ActivityStreamsClosedPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 9 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 10 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 11 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 12 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 13 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 14 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 15 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 16 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 17 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 18 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 19 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 20 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 21 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 22 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 23 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 24 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 25 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 26 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 27 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 28 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 29 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 30 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 31 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 32 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 33 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 34 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 35 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 36 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 37 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 38 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 39 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 40 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 41 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 42 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 43 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 44 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 45 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 46 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 47 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 48 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 49 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 50 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 51 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 52 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 53 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 54 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 55 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 56 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 57 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 58 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 59 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 60 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 61 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 62 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 63 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 64 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 65 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 66 } + if this.IsFunkwhaleTrack() { + return 67 + } + if this.IsActivityStreamsTravel() { + return 68 + } + if this.IsActivityStreamsUndo() { + return 69 + } + if this.IsActivityStreamsUpdate() { + return 70 + } + if this.IsActivityStreamsVideo() { + return 71 + } + if this.IsActivityStreamsView() { + return 72 + } if this.IsIRI() { return -2 } @@ -2144,6 +2325,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2200,6 +2385,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2238,6 +2427,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2704,6 +2897,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2711,6 +2918,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2718,6 +2939,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2787,6 +3022,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2899,6 +3142,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2975,6 +3226,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -3048,6 +3307,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -3076,6 +3337,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3095,6 +3358,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3134,6 +3399,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3190,6 +3459,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3228,6 +3501,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3970,6 +4247,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "closed". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "closed". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "closed". Invalidates iterators that are traversing using // Prev. @@ -3982,6 +4283,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "closed". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "closed". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "closed". Invalidates iterators that are traversing // using Prev. @@ -3994,6 +4319,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "closed". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "closed". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "closed" func (this *ActivityStreamsClosedProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ @@ -5121,6 +5470,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "closed". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "closed". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "closed". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5138,6 +5521,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "closed". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "closed". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "closed". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5155,6 +5572,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "closed". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "closed". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "closed". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5378,230 +5829,254 @@ func (this ActivityStreamsClosedProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 10 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 11 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 39 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 40 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 41 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 60 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 61 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 62 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 65 { + } else if idx1 == 71 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 66 { + } else if idx1 == 72 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6472,6 +6947,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "closed". Invalidates all iterators. func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6486,6 +6989,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "closed". Invalidates all iterators. func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6500,6 +7031,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "closed". func (this *ActivityStreamsClosedProperty) PrependIRI(v *url.URL) { @@ -7419,6 +7978,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "closed". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "closed". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "closed". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7432,6 +8017,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "closed". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "closed". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "closed". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7445,6 +8056,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "closed". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "closed". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "closed". Panics if the index is out of bounds. func (this *ActivityStreamsClosedProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go index 28f3ce9d6..7b0b18630 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go index cdbd05549..1690c2ac2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go @@ -22,6 +22,8 @@ type ActivityStreamsContextPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsContextPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsContextPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeApproval() v return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsContextPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeApproval() bo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyApproval() b return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsContextPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsContextPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceApprova this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceApproval(v v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "context". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "context". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "context". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeApproval(v vocab }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "context". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "context". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "context". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyApproval(v voca }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "context". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "context". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "context" func (this *ActivityStreamsContextProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ @@ -5024,6 +5373,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "context". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "context". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "context". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeApproval(idx int } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "context". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "context". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "context". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyApproval(idx in } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "context". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "context". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "context". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsContextProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "context". Invalidates all iterators. func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6848,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v voca } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "context". Invalidates all iterators. func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6890,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v voc } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "context". func (this *ActivityStreamsContextProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7807,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceApproval(idx in } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "context". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "context". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "context". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7846,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "context". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "context". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "context". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7885,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "context". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "context". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "context". Panics if the index is out of bounds. func (this *ActivityStreamsContextProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go index ea9e6cc22..dc7aef898 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -140,6 +148,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeListenActivityStreams returns the deserialization method for // the "ActivityStreamsListen" non-functional property in the // vocabulary "ActivityStreams" @@ -217,6 +233,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go index c0be22be1..37cb924c0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go @@ -21,6 +21,8 @@ type ActivityStreamsDescribesProperty struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -48,6 +50,8 @@ type ActivityStreamsDescribesProperty struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMoveMember vocab.ActivityStreamsMove activitystreamsNoteMember vocab.ActivityStreamsNote @@ -66,6 +70,8 @@ type ActivityStreamsDescribesProperty struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -151,6 +157,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsApplicationMember: v, @@ -313,6 +331,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsListenMember: v, @@ -421,6 +451,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsServiceMember: v, @@ -507,6 +549,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -534,6 +578,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMoveMember = nil this.activitystreamsNoteMember = nil @@ -552,6 +598,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -961,6 +1009,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceApproval() voc return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -968,6 +1030,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeApproval() vocab.G return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -975,6 +1051,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyApproval() vocab. return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL { @@ -1025,6 +1115,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1106,6 +1202,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1160,6 +1262,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1203,6 +1311,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1230,6 +1340,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMove() || this.IsActivityStreamsNote() || @@ -1248,6 +1360,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1665,6 +1779,21 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceApproval() bool return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1672,6 +1801,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1679,6 +1822,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsDescribesProperty) IsIRI() bool { @@ -1725,6 +1882,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1779,6 +1940,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMove() { @@ -1815,6 +1980,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1872,171 +2041,189 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 6 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 7 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 8 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 9 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 10 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 11 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 12 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 13 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsFollow() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsGroup() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 30 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 31 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 32 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 33 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 34 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeApproval() { return 35 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeAuthorization() { return 36 } - if this.IsActivityStreamsOffer() { + if this.IsGoToSocialLikeRequest() { return 37 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsListen() { return 38 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 39 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 40 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 41 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 42 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 43 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 44 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 50 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 54 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 55 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 56 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 57 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 58 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 59 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 60 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 61 } + if this.IsFunkwhaleTrack() { + return 62 + } + if this.IsActivityStreamsTravel() { + return 63 + } + if this.IsActivityStreamsUndo() { + return 64 + } + if this.IsActivityStreamsUpdate() { + return 65 + } + if this.IsActivityStreamsVideo() { + return 66 + } + if this.IsActivityStreamsView() { + return 67 + } if this.IsIRI() { return -2 } @@ -2068,6 +2255,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2122,6 +2313,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMove() { @@ -2158,6 +2353,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2212,6 +2411,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2266,6 +2469,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMove() { @@ -2302,6 +2509,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -2727,6 +2938,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vo this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.Clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.Clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2734,6 +2959,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab. this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.Clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.Clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2741,6 +2980,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.Clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.Clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) { this.Clear() @@ -2799,6 +3052,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2907,6 +3168,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2979,6 +3248,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go index 2c3c0589d..26de9bede 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -140,6 +148,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeListenActivityStreams returns the deserialization method for // the "ActivityStreamsListen" non-functional property in the // vocabulary "ActivityStreams" @@ -217,6 +233,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go index 640028ff1..f1b4b898d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go @@ -24,6 +24,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -51,6 +53,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMoveMember vocab.ActivityStreamsMove activitystreamsNoteMember vocab.ActivityStreamsNote @@ -69,6 +73,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -154,6 +160,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsApplicationMember: v, @@ -316,6 +334,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsListenMember: v, @@ -424,6 +454,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsServiceMember: v, @@ -896,6 +938,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceAppro return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -903,6 +959,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeApproval( return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -910,6 +980,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyApproval return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsFormerTypePropertyIterator) GetIRI() *url.URL { @@ -960,6 +1044,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1041,6 +1131,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1095,6 +1191,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1145,6 +1247,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1172,6 +1276,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMove() || this.IsActivityStreamsNote() || @@ -1190,6 +1296,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1607,6 +1715,21 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1614,6 +1737,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1621,6 +1758,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsFormerTypePropertyIterator) IsIRI() bool { @@ -1674,6 +1825,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1728,6 +1883,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMove() { @@ -1764,6 +1923,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1824,171 +1987,189 @@ func (this ActivityStreamsFormerTypePropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 27 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 28 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 29 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 30 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 31 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 32 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 33 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 34 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 35 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeApproval() { return 36 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeAuthorization() { return 37 } - if this.IsActivityStreamsOffer() { + if this.IsGoToSocialLikeRequest() { return 38 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsListen() { return 39 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 40 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 41 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 42 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 43 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 44 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 45 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 46 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 47 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 48 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 49 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 50 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 51 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 52 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 53 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 54 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 55 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 56 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 57 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 58 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 59 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 60 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 61 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 62 } + if this.IsFunkwhaleTrack() { + return 63 + } + if this.IsActivityStreamsTravel() { + return 64 + } + if this.IsActivityStreamsUndo() { + return 65 + } + if this.IsActivityStreamsUpdate() { + return 66 + } + if this.IsActivityStreamsVideo() { + return 67 + } + if this.IsActivityStreamsView() { + return 68 + } if this.IsIRI() { return -2 } @@ -2022,6 +2203,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2076,6 +2261,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMove() { @@ -2112,6 +2301,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2564,6 +2757,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceAppr this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2571,6 +2778,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2578,6 +2799,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApprova this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2636,6 +2871,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2744,6 +2987,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2816,6 +3067,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2879,6 +3138,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2906,6 +3167,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMoveMember = nil this.activitystreamsNoteMember = nil @@ -2924,6 +3187,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -2959,6 +3224,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3013,6 +3282,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMove() { @@ -3049,6 +3322,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3777,6 +4054,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceApproval( }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "formerType". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "formerType". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "formerType". Invalidates iterators that are traversing // using Prev. @@ -3789,6 +4090,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeApproval(v vo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "formerType". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "formerType". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "formerType". Invalidates iterators that are // traversing using Prev. @@ -3801,6 +4126,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyApproval(v v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "formerType". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "formerType". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "formerType" func (this *ActivityStreamsFormerTypeProperty) AppendIRI(v *url.URL) { @@ -4874,6 +5223,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceApproval( } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "formerType". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -4891,6 +5274,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeApproval(idx } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "formerType". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "formerType". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -4908,6 +5325,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "formerType". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "formerType". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5088,222 +5539,246 @@ func (this ActivityStreamsFormerTypeProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 58 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 60 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6146,6 +6621,35 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceApproval } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "formerType". Invalidates all +// iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "formerType". Invalidates all iterators. func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6160,6 +6664,34 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "formerType". Invalidates all iterators. func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6174,6 +6706,34 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "formerType". func (this *ActivityStreamsFormerTypeProperty) PrependIRI(v *url.URL) { @@ -7038,6 +7598,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "formerType". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "formerType". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "formerType". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7051,6 +7637,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeApproval(idx int } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "formerType". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "formerType". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "formerType". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7064,6 +7676,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyApproval(idx in } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "formerType". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "formerType". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "formerType". Panics if the index is out of bounds. func (this *ActivityStreamsFormerTypeProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go index f95bf1def..765f6045b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go index 853cfe0ed..6d40fcf90 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go @@ -22,6 +22,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsGeneratorPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsGeneratorPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsGeneratorPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceAppro this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval( this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "generator". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "generator". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "generator". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeApproval(v voc }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "generator". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "generator". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "generator". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyApproval(v vo }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "generator". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "generator". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "generator" func (this *ActivityStreamsGeneratorProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ @@ -5024,6 +5373,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceApproval(i } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "generator". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "generator". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "generator". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeApproval(idx i } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "generator". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "generator". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "generator". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "generator". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "generator". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "generator". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsGeneratorProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceApproval( } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "generator". Invalidates all +// iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "generator". Invalidates all iterators. func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vo } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "generator". Invalidates all iterators. func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "generator". func (this *ActivityStreamsGeneratorProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "generator". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "generator". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "generator". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "generator". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "generator". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "generator". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyApproval(idx int } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "generator". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "generator". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "generator". Panics if the index is out of bounds. func (this *ActivityStreamsGeneratorProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go index 02fbf08be..bf2249fc1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go index d7ad7dae1..dc766b5ef 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go @@ -22,6 +22,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsInReplyToPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsInReplyToPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsInReplyToPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceAppro this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval( this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "inReplyTo". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "inReplyTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "inReplyTo". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeApproval(v voc }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "inReplyTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "inReplyTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "inReplyTo". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyApproval(v vo }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "inReplyTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "inReplyTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "inReplyTo" func (this *ActivityStreamsInReplyToProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ @@ -5024,6 +5373,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceApproval(i } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "inReplyTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "inReplyTo". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "inReplyTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeApproval(idx i } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "inReplyTo". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "inReplyTo". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "inReplyTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "inReplyTo". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "inReplyTo". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "inReplyTo". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsInReplyToProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceApproval( } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "inReplyTo". Invalidates all +// iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "inReplyTo". Invalidates all iterators. func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vo } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "inReplyTo". Invalidates all iterators. func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "inReplyTo". func (this *ActivityStreamsInReplyToProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "inReplyTo". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "inReplyTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "inReplyTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "inReplyTo". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyApproval(idx int } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "inReplyTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "inReplyTo". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "inReplyTo". Panics if the index is out of bounds. func (this *ActivityStreamsInReplyToProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go index b3d433ce9..2fe231bee 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go index 09ae36386..316aeaa27 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go @@ -22,6 +22,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceAppro return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeApproval( return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyApproval return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsInstrumentPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsInstrumentPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsInstrumentPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceAppr this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApprova this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceApproval( }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "instrument". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "instrument". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "instrument". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeApproval(v vo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "instrument". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "instrument". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "instrument". Invalidates iterators that are // traversing using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyApproval(v v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "instrument". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "instrument". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "instrument" func (this *ActivityStreamsInstrumentProperty) AppendIRI(v *url.URL) { @@ -5026,6 +5375,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceApproval( } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "instrument". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5043,6 +5426,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeApproval(idx } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "instrument". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "instrument". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5060,6 +5477,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "instrument". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "instrument". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5239,230 +5690,254 @@ func (this ActivityStreamsInstrumentProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6333,6 +6808,35 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceApproval } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "instrument". Invalidates all +// iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "instrument". Invalidates all iterators. func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6347,6 +6851,34 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "instrument". Invalidates all iterators. func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6361,6 +6893,34 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "instrument". func (this *ActivityStreamsInstrumentProperty) PrependIRI(v *url.URL) { @@ -7250,6 +7810,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "instrument". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "instrument". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "instrument". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7849,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeApproval(idx int } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "instrument". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "instrument". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "instrument". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7276,6 +7888,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyApproval(idx in } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "instrument". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "instrument". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "instrument". Panics if the index is out of bounds. func (this *ActivityStreamsInstrumentProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go index 3289ac3f3..4618c040e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go index f2cdb668f..09a73a7da 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go @@ -22,6 +22,8 @@ type ActivityStreamsItemsPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsItemsPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsItemsPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsItemsPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsItemsPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsItemsPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "items". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "items". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "items". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "items". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "items". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "items". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "items". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "items". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "items" func (this *ActivityStreamsItemsProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceApproval(idx i } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "items". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "items". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "items". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "items". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "items". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "items". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "items". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "items". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "items". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsItemsProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "items". Invalidates all iterators. func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "items". Invalidates all iterators. func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "items". func (this *ActivityStreamsItemsProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "items". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "items". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "items". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "items". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "items". // Panics if the index is out of bounds. func (this *ActivityStreamsItemsProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go index feba0ecc9..500eea9a8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go index 19e93d6cf..fbd644756 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go @@ -22,6 +22,8 @@ type ActivityStreamsLocationPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsLocationPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsLocationPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsLocationPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeApproval() b return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsLocationPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsLocationPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceApprov this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval( this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "location". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "location". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "location". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeApproval(v voca }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "location". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "location". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "location". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyApproval(v voc }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "location". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "location". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "location" func (this *ActivityStreamsLocationProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ @@ -5024,6 +5373,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceApproval(id } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "location". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "location". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "location". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeApproval(idx in } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "location". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "location". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "location". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyApproval(idx i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "location". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "location". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "location". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsLocationProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "location". Invalidates all +// iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "location". Invalidates all iterators. func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v voc } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "location". Invalidates all iterators. func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vo } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "location". func (this *ActivityStreamsLocationProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceApproval(idx i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "location". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "location". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "location". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "location". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "location". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "location". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "location". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "location". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "location". Panics if the index is out of bounds. func (this *ActivityStreamsLocationProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go index 8487a5a75..c40014c69 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go index 2a9ad14dd..b2b2d7ae5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go @@ -22,6 +22,8 @@ type ActivityStreamsObjectPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsObjectPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsObjectPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsObjectPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsObjectPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsObjectPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "object". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "object". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "object". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "object". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "object". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "object". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "object". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "object". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "object" func (this *ActivityStreamsObjectProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "object". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "object". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "object". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "object". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "object". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "object". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "object". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "object". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "object". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsObjectProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "object". Invalidates all iterators. func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "object". Invalidates all iterators. func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "object". func (this *ActivityStreamsObjectProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "object". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "object". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "object". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "object". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "object". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "object". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "object". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "object". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "object". Panics if the index is out of bounds. func (this *ActivityStreamsObjectProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go index e6ac8fb90..5dd21535c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go index 42b8aff52..5400d5c4b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go @@ -22,6 +22,8 @@ type ActivityStreamsOneOfPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsOneOfPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsOneOfPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOneOfPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOneOfPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsOneOfPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "oneOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "oneOf". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "oneOf". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "oneOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "oneOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "oneOf". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "oneOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "oneOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "oneOf" func (this *ActivityStreamsOneOfProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceApproval(idx i } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "oneOf". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "oneOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "oneOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "oneOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "oneOf". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "oneOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "oneOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "oneOf". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "oneOf". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsOneOfProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "oneOf". Invalidates all iterators. func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "oneOf". Invalidates all iterators. func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "oneOf". func (this *ActivityStreamsOneOfProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "oneOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "oneOf". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "oneOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "oneOf". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "oneOf". // Panics if the index is out of bounds. func (this *ActivityStreamsOneOfProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go index c32a38460..421d63a89 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go index d3e6cdef4..a3fa33989 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go @@ -22,6 +22,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceApp return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeApprova return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyApprov return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOrderedItemsPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceAppr return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeApproval return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyApprova return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOrderedItemsPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceAp this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApprov this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyAppro this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3936,6 +4213,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceApprova }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "orderedItems". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "orderedItems". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "orderedItems". Invalidates iterators that are traversing // using Prev. @@ -3948,6 +4249,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeApproval(v }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "orderedItems". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "orderedItems". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "orderedItems". Invalidates iterators that are // traversing using Prev. @@ -3960,6 +4285,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyApproval(v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "orderedItems". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "orderedItems". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "orderedItems" func (this *ActivityStreamsOrderedItemsProperty) AppendIRI(v *url.URL) { @@ -5067,6 +5416,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceApprova } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "orderedItems". Existing elements at +// that index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "orderedItems". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "orderedItems". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5084,6 +5467,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeApproval(id } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "orderedItems". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "orderedItems". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "orderedItems". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5101,6 +5518,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyApproval(i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "orderedItems". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "orderedItems". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property // "orderedItems". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -5280,230 +5731,254 @@ func (this ActivityStreamsOrderedItemsProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6375,6 +6850,35 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceApprov } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "orderedItems". Invalidates all +// iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "orderedItems". Invalidates all iterators. func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6389,6 +6893,34 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "orderedItems". Invalidates all iterators. func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6403,6 +6935,34 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval( } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "orderedItems". func (this *ActivityStreamsOrderedItemsProperty) PrependIRI(v *url.URL) { @@ -7292,6 +7852,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceApproval(i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "orderedItems". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "orderedItems". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "orderedItems". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7305,6 +7891,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeApproval(idx i } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "orderedItems". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "orderedItems". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "orderedItems". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7318,6 +7930,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyApproval(idx } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "orderedItems". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "orderedItems". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "orderedItems". Panics if the index is out of bounds. func (this *ActivityStreamsOrderedItemsProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go index 783f51b19..545c4f429 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go index 95f3ddc4e..978e86f21 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go @@ -22,6 +22,8 @@ type ActivityStreamsOriginPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsOriginPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsOriginPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOriginPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOriginPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsOriginPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "origin". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "origin". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "origin". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "origin". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "origin". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "origin". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "origin". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "origin". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "origin" func (this *ActivityStreamsOriginProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "origin". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "origin". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "origin". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "origin". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "origin". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "origin". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "origin". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "origin". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "origin". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsOriginProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "origin". Invalidates all iterators. func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "origin". Invalidates all iterators. func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "origin". func (this *ActivityStreamsOriginProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "origin". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "origin". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "origin". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "origin". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "origin". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "origin". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "origin". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "origin". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "origin". Panics if the index is out of bounds. func (this *ActivityStreamsOriginProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go index f16e6ecaf..a2a88880d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go index 4810f32ff..baf4e5ac1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go @@ -22,6 +22,8 @@ type ActivityStreamsPreviewPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsPreviewPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeApproval() v return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeApproval() bo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyApproval() b return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsPreviewPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceApprova this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceApproval(v v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "preview". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "preview". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "preview". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeApproval(v vocab }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "preview". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "preview". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "preview". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyApproval(v voca }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "preview". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "preview". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "preview" func (this *ActivityStreamsPreviewProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ @@ -5024,6 +5373,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "preview". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "preview". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "preview". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeApproval(idx int } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "preview". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "preview". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "preview". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyApproval(idx in } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "preview". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "preview". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "preview". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "preview". Invalidates all iterators. func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6848,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v voca } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "preview". Invalidates all iterators. func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6890,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v voc } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "preview". func (this *ActivityStreamsPreviewProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7807,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceApproval(idx in } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "preview". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "preview". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7846,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "preview". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "preview". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7885,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "preview". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "preview". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "preview". Panics if the index is out of bounds. func (this *ActivityStreamsPreviewProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go index 83f7b36c6..3ed75f19a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -140,6 +148,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeListenActivityStreams returns the deserialization method for // the "ActivityStreamsListen" non-functional property in the // vocabulary "ActivityStreams" @@ -217,6 +233,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go index a35c51eaf..28511e01d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go @@ -21,6 +21,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -48,6 +50,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMoveMember vocab.ActivityStreamsMove activitystreamsNoteMember vocab.ActivityStreamsNote @@ -66,6 +70,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -151,6 +157,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsApplicationMember: v, @@ -313,6 +331,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsListenMember: v, @@ -421,6 +451,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsServiceMember: v, @@ -885,6 +927,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceApp return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -892,6 +948,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeApprova return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -899,6 +969,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyApprov return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsRelationshipPropertyIterator) GetIRI() *url.URL { @@ -949,6 +1033,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1030,6 +1120,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1084,6 +1180,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1127,6 +1229,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1154,6 +1258,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMove() || this.IsActivityStreamsNote() || @@ -1172,6 +1278,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1589,6 +1697,21 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceAppr return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1596,6 +1719,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeApproval return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1603,6 +1740,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyApprova return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsRelationshipPropertyIterator) IsIRI() bool { @@ -1649,6 +1800,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1703,6 +1858,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMove() { @@ -1739,6 +1898,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1796,171 +1959,189 @@ func (this ActivityStreamsRelationshipPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 6 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 7 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 8 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 9 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 10 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 11 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 12 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 13 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsFollow() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsGroup() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 30 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 31 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 32 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 33 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 34 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeApproval() { return 35 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeAuthorization() { return 36 } - if this.IsActivityStreamsOffer() { + if this.IsGoToSocialLikeRequest() { return 37 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsListen() { return 38 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 39 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 40 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 41 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 42 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 43 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 44 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 50 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 54 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 55 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 56 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 57 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 58 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 59 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 60 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 61 } + if this.IsFunkwhaleTrack() { + return 62 + } + if this.IsActivityStreamsTravel() { + return 63 + } + if this.IsActivityStreamsUndo() { + return 64 + } + if this.IsActivityStreamsUpdate() { + return 65 + } + if this.IsActivityStreamsVideo() { + return 66 + } + if this.IsActivityStreamsView() { + return 67 + } if this.IsIRI() { return -2 } @@ -1992,6 +2173,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2046,6 +2231,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMove() { @@ -2082,6 +2271,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2534,6 +2727,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceAp this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2541,6 +2748,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApprov this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2548,6 +2769,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyAppro this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2606,6 +2841,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2714,6 +2957,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2786,6 +3037,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2840,6 +3099,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2867,6 +3128,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMoveMember = nil this.activitystreamsNoteMember = nil @@ -2885,6 +3148,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -2918,6 +3183,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2972,6 +3241,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMove() { @@ -3008,6 +3281,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3775,6 +4052,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceApprova }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "relationship". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "relationship". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "relationship". Invalidates iterators that are traversing // using Prev. @@ -3787,6 +4088,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeApproval(v }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "relationship". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "relationship". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "relationship". Invalidates iterators that are // traversing using Prev. @@ -3799,6 +4124,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyApproval(v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "relationship". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "relationship". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "relationship" func (this *ActivityStreamsRelationshipProperty) AppendIRI(v *url.URL) { @@ -4861,6 +5210,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceApprova } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "relationship". Existing elements at +// that index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "relationship". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "relationship". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -4878,6 +5261,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeApproval(id } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "relationship". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "relationship". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "relationship". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -4895,6 +5312,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyApproval(i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "relationship". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "relationship". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property // "relationship". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -5053,222 +5504,246 @@ func (this ActivityStreamsRelationshipProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 7 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 9 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 8 { + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 37 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 57 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 58 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 60 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6112,6 +6587,35 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceApprov } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "relationship". Invalidates all +// iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "relationship". Invalidates all iterators. func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6126,6 +6630,34 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "relationship". Invalidates all iterators. func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6140,6 +6672,34 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval( } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "relationship". func (this *ActivityStreamsRelationshipProperty) PrependIRI(v *url.URL) { @@ -6989,6 +7549,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceApproval(i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "relationship". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "relationship". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "relationship". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7002,6 +7588,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeApproval(idx i } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "relationship". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "relationship". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "relationship". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7015,6 +7627,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyApproval(idx } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "relationship". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "relationship". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "relationship". Panics if the index is out of bounds. func (this *ActivityStreamsRelationshipProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go index ad5b2ff62..df6752b36 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go index 9a20d2f01..2ee426a95 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go @@ -22,6 +22,8 @@ type ActivityStreamsResultPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsResultPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsResultPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsResultPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsResultPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsResultPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "result". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "result". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "result". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "result". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "result". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "result". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "result". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "result". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "result" func (this *ActivityStreamsResultProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "result". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "result". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "result". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "result". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "result". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "result". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "result". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "result". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "result". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsResultProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "result". Invalidates all iterators. func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "result". Invalidates all iterators. func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "result". func (this *ActivityStreamsResultProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "result". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "result". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "result". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "result". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "result". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "result". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "result". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "result". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "result". Panics if the index is out of bounds. func (this *ActivityStreamsResultProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go index 269814323..72e7b08eb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go index 488beedae..fcf87a858 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go @@ -22,6 +22,8 @@ type ActivityStreamsSourceProperty struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsSourceProperty struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsSourceProperty struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsServiceMember: v, @@ -529,6 +571,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -557,6 +601,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -576,6 +622,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -999,6 +1047,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceApproval() vocab. return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -1006,6 +1068,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialLikeApproval() vocab.GoTo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -1013,6 +1089,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialReplyApproval() vocab.GoT return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsSourceProperty) GetIRI() *url.URL { @@ -1072,6 +1162,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1156,6 +1252,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1213,6 +1315,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1257,6 +1365,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1285,6 +1395,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1304,6 +1416,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1735,6 +1849,21 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceApproval() bool { return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1742,6 +1871,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1749,6 +1892,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsSourceProperty) IsIRI() bool { @@ -1804,6 +1961,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1860,6 +2021,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1898,6 +2063,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1958,177 +2127,195 @@ func (this ActivityStreamsSourceProperty) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2162,6 +2349,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2218,6 +2409,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2256,6 +2451,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2312,6 +2511,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2368,6 +2571,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -2406,6 +2613,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.Clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.Clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoT this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.Clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.Clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.Go this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.Clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.Clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) { this.Clear() @@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go index 79f2ae5c9..3c5ee854a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go index 2fa8b44a3..592b738c5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go @@ -22,6 +22,8 @@ type ActivityStreamsSubjectProperty struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsSubjectProperty struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsSubjectProperty struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsServiceMember: v, @@ -529,6 +571,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -557,6 +601,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -576,6 +622,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -999,6 +1047,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceApproval() vocab return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -1006,6 +1068,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeApproval() vocab.GoT return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -1013,6 +1089,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyApproval() vocab.Go return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL { @@ -1072,6 +1162,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1156,6 +1252,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1213,6 +1315,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1257,6 +1365,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1285,6 +1395,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1304,6 +1416,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1735,6 +1849,21 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceApproval() bool { return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1742,6 +1871,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1749,6 +1892,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsSubjectProperty) IsIRI() bool { @@ -1804,6 +1961,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1860,6 +2021,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1898,6 +2063,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1958,177 +2127,195 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2162,6 +2349,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2218,6 +2409,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2256,6 +2451,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2312,6 +2511,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2368,6 +2571,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -2406,6 +2613,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v voca this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.Clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.Clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.Go this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.Clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.Clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.G this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.Clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.Clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) { this.Clear() @@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go index 35257972b..04b27f129 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go index 5bd53153f..44066b137 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go @@ -22,6 +22,8 @@ type ActivityStreamsTagPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsTagPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsTagPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceApproval() v return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeApproval() vocab return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyApproval() voca return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceApproval() bo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyApproval() bool return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsTagPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsTagPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceApproval(v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v voca this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v voc this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceApproval(v vocab }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "tag". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "tag". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "tag". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoT }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "tag". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "tag". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "tag". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyApproval(v vocab.Go }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "tag". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "tag". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "tag" func (this *ActivityStreamsTagProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ @@ -5010,6 +5357,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceApproval(idx int } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "tag". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "tag". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "tag". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeApproval(idx int, v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "tag". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "tag". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "tag". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "tag". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "tag". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "tag". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsTagProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceApproval(v voca } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "tag". Invalidates all iterators. func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.Go } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "tag". Invalidates all iterators. func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.G } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "tag". func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsTagPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "tag". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialLikeApproval(idx int, v voc } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "tag". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "tag". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialReplyApproval(idx int, v vo } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "tag". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "tag". // Panics if the index is out of bounds. func (this *ActivityStreamsTagProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go index 48446301e..01131ce07 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go index 1d0821938..401cf1386 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go @@ -22,6 +22,8 @@ type ActivityStreamsTargetPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsTargetPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsTargetPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsTargetPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsTargetPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsTargetPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "target". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "target". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "target". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "target". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "target". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "target". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "target". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "target". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "target" func (this *ActivityStreamsTargetProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ @@ -5014,6 +5363,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceApproval(idx } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "target". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "target". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "target". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "target". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "target". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "target". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "target". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "target". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "target". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsTargetProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "target". Invalidates all iterators. func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "target". Invalidates all iterators. func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property // "target". func (this *ActivityStreamsTargetProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "target". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "target". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "target". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "target". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "target". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "target". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "target". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "target". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "target". Panics if the index is out of bounds. func (this *ActivityStreamsTargetProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go index 73cd3ce6a..481fd6476 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go index 76d4195ce..69e1ea313 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go @@ -22,6 +22,8 @@ type ActivityStreamsToPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsToPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsToPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceApproval() vo return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeApproval() vocab. return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyApproval() vocab return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsToPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceApproval() boo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsToPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsToPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceApproval(v v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v voca this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceApproval(v vocab. }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "to". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "to". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "to". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoTo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "to". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "to". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "to". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialReplyApproval(v vocab.GoT }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "to". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "to". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "to" func (this *ActivityStreamsToProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ @@ -5010,6 +5357,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceApproval(idx int, } } +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "to". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "to". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified // index for a property "to". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialLikeApproval(idx int, v v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "to". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "to". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "to". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "to". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "to". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "to". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsToProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceApproval(v vocab } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "to". Invalidates all iterators. func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoT } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "to". Invalidates all iterators. func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.Go } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "to". func (this *ActivityStreamsToProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsToPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "to". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialLikeApproval(idx int, v voca } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "to". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "to". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialReplyApproval(idx int, v voc } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "to". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "to". // Panics if the index is out of bounds. func (this *ActivityStreamsToProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go index 00f8acaa5..dd1b8e6de 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go @@ -88,7 +88,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool { // Activity type. Note that it returns false if the types are the same; see // the "IsOrExtendsActivity" variant instead. func ActivityIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"} + extensions := []string{"Accept", "Add", "Announce", "AnnounceRequest", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeRequest", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "ReplyRequest", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"} for _, ext := range extensions { if ext == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go index 7fb8998c6..9c00e24f3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go index 92550fa6e..ad21cd307 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go @@ -40,6 +40,7 @@ type ActivityStreamsApplication struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -253,6 +254,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -431,6 +437,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsApplication) GetTootFeatured() vocab.TootFeaturedPrope return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsApplication) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsApplication) GetTypeName() string { return "Application" @@ -847,6 +861,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsApplication) SetTootFeatured(i vocab.TootFeaturedProp this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsApplication) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsApplication) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go index 649e13d05..017cd65be 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go index df38202ed..ea8e5d61b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go @@ -35,6 +35,7 @@ type ActivityStreamsAudio struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -197,6 +198,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -350,6 +356,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -648,6 +656,12 @@ func (this ActivityStreamsAudio) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsAudio) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsAudio) GetTypeName() string { return "Audio" @@ -686,6 +700,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -900,6 +915,20 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1363,6 +1392,14 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1754,6 +1791,11 @@ func (this *ActivityStreamsAudio) SetTootBlurhash(i vocab.TootBlurhashProperty) this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsAudio) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsAudio) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go index c36d68080..aafe2e5b2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go index ed7d701fe..5fdc732e7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go @@ -31,6 +31,7 @@ type ActivityStreamsDocument struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -173,6 +174,11 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -326,6 +332,8 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -649,6 +657,12 @@ func (this ActivityStreamsDocument) GetTootBlurhash() vocab.TootBlurhashProperty return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsDocument) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsDocument) GetTypeName() string { return "Document" @@ -687,6 +701,7 @@ func (this ActivityStreamsDocument) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -901,6 +916,20 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1364,6 +1393,14 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1755,6 +1792,11 @@ func (this *ActivityStreamsDocument) SetTootBlurhash(i vocab.TootBlurhashPropert this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsDocument) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsDocument) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go index 41a90ead5..1b80a5f34 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go index a488ddde8..8e7e9d883 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go @@ -40,6 +40,7 @@ type ActivityStreamsGroup struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsGroup) GetTootFeatured() vocab.TootFeaturedProperty { return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsGroup) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsGroup) GetTypeName() string { return "Group" @@ -847,6 +861,7 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsGroup) SetTootFeatured(i vocab.TootFeaturedProperty) this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsGroup) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsGroup) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go index cd8b58fb2..f10004083 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go index 00a22c403..af9bd1833 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go @@ -42,6 +42,7 @@ type ActivityStreamsImage struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsHeight vocab.ActivityStreamsHeightProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty @@ -186,6 +187,11 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -349,6 +355,8 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "height" { @@ -683,6 +691,12 @@ func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsImage) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsImage) GetTypeName() string { return "Image" @@ -721,6 +735,7 @@ func (this ActivityStreamsImage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsHeight, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) @@ -937,6 +952,20 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1428,6 +1457,14 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1845,6 +1882,11 @@ func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty) this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsImage) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsImage) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go index 0dd7b1ee9..0b59890f4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go @@ -200,7 +200,7 @@ func IsOrExtendsLink(other vocab.Type) bool { // LinkIsDisjointWith returns true if the other provided type is disjoint with the // Link type. func LinkIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go index 7b0af6770..97f390605 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go @@ -198,7 +198,7 @@ func IsOrExtendsMention(other vocab.Type) bool { // MentionIsDisjointWith returns true if the other provided type is disjoint with // the Mention type. func MentionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go index ba9ba9d12..6c278e0fa 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go @@ -397,7 +397,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool { // Object type. Note that it returns false if the types are the same; see the // "IsOrExtendsObject" variant instead. func ObjectIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, ext := range extensions { if ext == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go index d07eadafc..d1cca4d19 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go index 26d37e535..35257782c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go @@ -40,6 +40,7 @@ type ActivityStreamsOrganization struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsOrganization) GetTootFeatured() vocab.TootFeaturedProp return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsOrganization) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsOrganization) GetTypeName() string { return "Organization" @@ -847,6 +861,7 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsOrganization) SetTootFeatured(i vocab.TootFeaturedPro this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsOrganization) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsOrganization) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go index 7e9ad6eef..aa3bc61a3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go index 147a5cfbe..51b5f9ee0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go @@ -31,6 +31,7 @@ type ActivityStreamsPage struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -173,6 +174,11 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -326,6 +332,8 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -644,6 +652,12 @@ func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsPage) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsPage) GetTypeName() string { return "Page" @@ -682,6 +696,7 @@ func (this ActivityStreamsPage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -896,6 +911,20 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1359,6 +1388,14 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1750,6 +1787,11 @@ func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty) { this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsPage) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsPage) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go index c2fe15622..ed6162ae5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go index 418201f28..4fe3ff3d7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go @@ -40,6 +40,7 @@ type ActivityStreamsPerson struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty { return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsPerson) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsPerson) GetTypeName() string { return "Person" @@ -847,6 +861,7 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty) this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsPerson) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go index 31765e76c..ee042723a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go index b2fcb4765..98823e5b1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go @@ -40,6 +40,7 @@ type ActivityStreamsService struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsService) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsService) GetTypeName() string { return "Service" @@ -847,6 +861,7 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsService) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go index 5033b47fc..3eb42b64c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go index 328357c52..2618cf011 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go @@ -32,6 +32,7 @@ type ActivityStreamsVideo struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -174,6 +175,11 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -327,6 +333,8 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -645,6 +653,12 @@ func (this ActivityStreamsVideo) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsVideo) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsVideo) GetTypeName() string { return "Video" @@ -683,6 +697,7 @@ func (this ActivityStreamsVideo) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -897,6 +912,20 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1360,6 +1389,14 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1751,6 +1788,11 @@ func (this *ActivityStreamsVideo) SetTootBlurhash(i vocab.TootBlurhashProperty) this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsVideo) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsVideo) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go new file mode 100644 index 000000000..70135362b --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertyautomaticapproval contains the implementation for the +// automaticApproval property. All applications are strongly encouraged to use +// the interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertyautomaticapproval diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go new file mode 100644 index 000000000..d46f7b30a --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go @@ -0,0 +1,15 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyautomaticapproval + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface{} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go new file mode 100644 index 000000000..c79d76152 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go @@ -0,0 +1,511 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyautomaticapproval + +import ( + anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// GoToSocialAutomaticApprovalPropertyIterator is an iterator for a property. It +// is permitted to be a single nilable value type. +type GoToSocialAutomaticApprovalPropertyIterator struct { + xmlschemaAnyURIMember *url.URL + unknown interface{} + alias string + myIdx int + parent vocab.GoToSocialAutomaticApprovalProperty +} + +// NewGoToSocialAutomaticApprovalPropertyIterator creates a new +// GoToSocialAutomaticApproval property. +func NewGoToSocialAutomaticApprovalPropertyIterator() *GoToSocialAutomaticApprovalPropertyIterator { + return &GoToSocialAutomaticApprovalPropertyIterator{alias: ""} +} + +// deserializeGoToSocialAutomaticApprovalPropertyIterator creates an iterator from +// an element that has been unmarshalled from a text or binary format. +func deserializeGoToSocialAutomaticApprovalPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialAutomaticApprovalPropertyIterator, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + if v, err := anyuri.DeserializeAnyURI(i); err == nil { + this := &GoToSocialAutomaticApprovalPropertyIterator{ + alias: alias, + xmlschemaAnyURIMember: v, + } + return this, nil + } + this := &GoToSocialAutomaticApprovalPropertyIterator{ + alias: alias, + unknown: i, + } + return this, nil +} + +// Get returns the value of this property. When IsXMLSchemaAnyURI returns false, +// Get will return any arbitrary value. +func (this GoToSocialAutomaticApprovalPropertyIterator) Get() *url.URL { + return this.xmlschemaAnyURIMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this GoToSocialAutomaticApprovalPropertyIterator) GetIRI() *url.URL { + return this.xmlschemaAnyURIMember +} + +// HasAny returns true if the value or IRI is set. +func (this GoToSocialAutomaticApprovalPropertyIterator) HasAny() bool { + return this.IsXMLSchemaAnyURI() +} + +// IsIRI returns true if this property is an IRI. +func (this GoToSocialAutomaticApprovalPropertyIterator) IsIRI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// IsXMLSchemaAnyURI returns true if this property is set and not an IRI. +func (this GoToSocialAutomaticApprovalPropertyIterator) IsXMLSchemaAnyURI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialAutomaticApprovalPropertyIterator) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + var child map[string]string + + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this GoToSocialAutomaticApprovalPropertyIterator) KindIndex() int { + if this.IsXMLSchemaAnyURI() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialAutomaticApprovalPropertyIterator) LessThan(o vocab.GoToSocialAutomaticApprovalPropertyIterator) bool { + if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Both are unknowns. + return false + } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Values are always greater than unknown values. + return false + } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return anyuri.LessAnyURI(this.Get(), o.Get()) + } +} + +// Name returns the name of this property: "GoToSocialAutomaticApproval". +func (this GoToSocialAutomaticApprovalPropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "GoToSocialAutomaticApproval" + } else { + return "GoToSocialAutomaticApproval" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this GoToSocialAutomaticApprovalPropertyIterator) Next() vocab.GoToSocialAutomaticApprovalPropertyIterator { + if this.myIdx+1 >= this.parent.Len() { + return nil + } else { + return this.parent.At(this.myIdx + 1) + } +} + +// Prev returns the previous iterator, or nil if there is no previous iterator. +func (this GoToSocialAutomaticApprovalPropertyIterator) Prev() vocab.GoToSocialAutomaticApprovalPropertyIterator { + if this.myIdx-1 < 0 { + return nil + } else { + return this.parent.At(this.myIdx - 1) + } +} + +// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will +// return true. +func (this *GoToSocialAutomaticApprovalPropertyIterator) Set(v *url.URL) { + this.clear() + this.xmlschemaAnyURIMember = v +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *GoToSocialAutomaticApprovalPropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.Set(v) +} + +// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI +// afterwards will return false. +func (this *GoToSocialAutomaticApprovalPropertyIterator) clear() { + this.unknown = nil + this.xmlschemaAnyURIMember = nil +} + +// serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialAutomaticApprovalPropertyIterator) serialize() (interface{}, error) { + if this.IsXMLSchemaAnyURI() { + return anyuri.SerializeAnyURI(this.Get()) + } + return this.unknown, nil +} + +// GoToSocialAutomaticApprovalProperty is the non-functional property +// "automaticApproval". It is permitted to have one or more values, and of +// different value types. +type GoToSocialAutomaticApprovalProperty struct { + properties []*GoToSocialAutomaticApprovalPropertyIterator + alias string +} + +// DeserializeAutomaticApprovalProperty creates a "automaticApproval" property +// from an interface representation that has been unmarshalled from a text or +// binary format. +func DeserializeAutomaticApprovalProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + propName := "automaticApproval" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "automaticApproval") + } + i, ok := m[propName] + + if ok { + this := &GoToSocialAutomaticApprovalProperty{ + alias: alias, + properties: []*GoToSocialAutomaticApprovalPropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeGoToSocialAutomaticApprovalPropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeGoToSocialAutomaticApprovalPropertyIterator(i, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + // Set up the properties for iteration. + for idx, ele := range this.properties { + ele.parent = this + ele.myIdx = idx + } + return this, nil + } + return nil, nil +} + +// NewGoToSocialAutomaticApprovalProperty creates a new automaticApproval property. +func NewGoToSocialAutomaticApprovalProperty() *GoToSocialAutomaticApprovalProperty { + return &GoToSocialAutomaticApprovalProperty{alias: ""} +} + +// AppendIRI appends an IRI value to the back of a list of the property +// "automaticApproval" +func (this *GoToSocialAutomaticApprovalProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialAutomaticApprovalPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the +// property "automaticApproval". Invalidates iterators that are traversing +// using Prev. +func (this *GoToSocialAutomaticApprovalProperty) AppendXMLSchemaAnyURI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialAutomaticApprovalPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// At returns the property value for the specified index. Panics if the index is +// out of bounds. +func (this GoToSocialAutomaticApprovalProperty) At(index int) vocab.GoToSocialAutomaticApprovalPropertyIterator { + return this.properties[index] +} + +// Begin returns the first iterator, or nil if empty. Can be used with the +// iterator's Next method and this property's End method to iterate from front +// to back through all values. +func (this GoToSocialAutomaticApprovalProperty) Begin() vocab.GoToSocialAutomaticApprovalPropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this GoToSocialAutomaticApprovalProperty) Empty() bool { + return this.Len() == 0 +} + +// End returns beyond-the-last iterator, which is nil. Can be used with the +// iterator's Next method and this property's Begin method to iterate from +// front to back through all values. +func (this GoToSocialAutomaticApprovalProperty) End() vocab.GoToSocialAutomaticApprovalPropertyIterator { + return nil +} + +// Insert inserts an IRI value at the specified index for a property +// "automaticApproval". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *GoToSocialAutomaticApprovalProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialAutomaticApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a +// property "automaticApproval". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *GoToSocialAutomaticApprovalProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialAutomaticApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialAutomaticApprovalProperty) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + for _, elem := range this.properties { + child := elem.JSONLDContext() + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API method specifically needed only for alternate implementations +// for go-fed. Applications should not use this method. Panics if the index is +// out of bounds. +func (this GoToSocialAutomaticApprovalProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "automaticApproval" +// property. +func (this GoToSocialAutomaticApprovalProperty) Len() (length int) { + return len(this.properties) +} + +// Less computes whether another property is less than this one. Mixing types +// results in a consistent but arbitrary ordering +func (this GoToSocialAutomaticApprovalProperty) Less(i, j int) bool { + idx1 := this.KindIndex(i) + idx2 := this.KindIndex(j) + if idx1 < idx2 { + return true + } else if idx1 == idx2 { + if idx1 == 0 { + lhs := this.properties[i].Get() + rhs := this.properties[j].Get() + return anyuri.LessAnyURI(lhs, rhs) + } else if idx1 == -2 { + lhs := this.properties[i].GetIRI() + rhs := this.properties[j].GetIRI() + return lhs.String() < rhs.String() + } + } + return false +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialAutomaticApprovalProperty) LessThan(o vocab.GoToSocialAutomaticApprovalProperty) bool { + l1 := this.Len() + l2 := o.Len() + l := l1 + if l2 < l1 { + l = l2 + } + for i := 0; i < l; i++ { + if this.properties[i].LessThan(o.At(i)) { + return true + } else if o.At(i).LessThan(this.properties[i]) { + return false + } + } + return l1 < l2 +} + +// Name returns the name of this property ("automaticApproval") with any alias. +func (this GoToSocialAutomaticApprovalProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "automaticApproval" + } else { + return "automaticApproval" + } +} + +// PrependIRI prepends an IRI value to the front of a list of the property +// "automaticApproval". +func (this *GoToSocialAutomaticApprovalProperty) PrependIRI(v *url.URL) { + this.properties = append([]*GoToSocialAutomaticApprovalPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the +// property "automaticApproval". Invalidates all iterators. +func (this *GoToSocialAutomaticApprovalProperty) PrependXMLSchemaAnyURI(v *url.URL) { + this.properties = append([]*GoToSocialAutomaticApprovalPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Remove deletes an element at the specified index from a list of the property +// "automaticApproval", regardless of its type. Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *GoToSocialAutomaticApprovalProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &GoToSocialAutomaticApprovalPropertyIterator{} + this.properties = (this.properties)[:len(this.properties)-1] + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialAutomaticApprovalProperty) Serialize() (interface{}, error) { + s := make([]interface{}, 0, len(this.properties)) + for _, iterator := range this.properties { + if b, err := iterator.serialize(); err != nil { + return s, err + } else { + s = append(s, b) + } + } + // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. + if len(s) == 1 { + return s[0], nil + } + return s, nil +} + +// Set sets a anyURI value to be at the specified index for the property +// "automaticApproval". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *GoToSocialAutomaticApprovalProperty) Set(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialAutomaticApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property +// "automaticApproval". Panics if the index is out of bounds. +func (this *GoToSocialAutomaticApprovalProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialAutomaticApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// Swap swaps the location of values at two indices for the "automaticApproval" +// property. +func (this GoToSocialAutomaticApprovalProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go new file mode 100644 index 000000000..21077ff16 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertycanquote contains the implementation for the canQuote property. +// All applications are strongly encouraged to use the interface instead of +// this concrete definition. The interfaces allow applications to consume only +// the types and properties needed and be independent of the go-fed +// implementation if another alternative implementation is created. This +// package is code-generated and subject to the same license as the go-fed +// tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertycanquote diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go new file mode 100644 index 000000000..26d625911 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go @@ -0,0 +1,22 @@ +// Code generated by astool. DO NOT EDIT. + +package propertycanquote + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeCanQuoteGoToSocial returns the deserialization method for + // the "GoToSocialCanQuote" non-functional property in the vocabulary + // "GoToSocial" + DeserializeCanQuoteGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuote, error) +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go new file mode 100644 index 000000000..1ae1347bc --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go @@ -0,0 +1,618 @@ +// Code generated by astool. DO NOT EDIT. + +package propertycanquote + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// GoToSocialCanQuotePropertyIterator is an iterator for a property. It is +// permitted to be a single nilable value type. +type GoToSocialCanQuotePropertyIterator struct { + gotosocialCanQuoteMember vocab.GoToSocialCanQuote + unknown interface{} + iri *url.URL + alias string + myIdx int + parent vocab.GoToSocialCanQuoteProperty +} + +// NewGoToSocialCanQuotePropertyIterator creates a new GoToSocialCanQuote property. +func NewGoToSocialCanQuotePropertyIterator() *GoToSocialCanQuotePropertyIterator { + return &GoToSocialCanQuotePropertyIterator{alias: ""} +} + +// deserializeGoToSocialCanQuotePropertyIterator creates an iterator from an +// element that has been unmarshalled from a text or binary format. +func deserializeGoToSocialCanQuotePropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialCanQuotePropertyIterator, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + if s, ok := i.(string); ok { + u, err := url.Parse(s) + // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst + // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy + if err == nil && len(u.Scheme) > 0 { + this := &GoToSocialCanQuotePropertyIterator{ + alias: alias, + iri: u, + } + return this, nil + } + } + if m, ok := i.(map[string]interface{}); ok { + if v, err := mgr.DeserializeCanQuoteGoToSocial()(m, aliasMap); err == nil { + this := &GoToSocialCanQuotePropertyIterator{ + alias: alias, + gotosocialCanQuoteMember: v, + } + return this, nil + } + } + this := &GoToSocialCanQuotePropertyIterator{ + alias: alias, + unknown: i, + } + return this, nil +} + +// Get returns the value of this property. When IsGoToSocialCanQuote returns +// false, Get will return any arbitrary value. +func (this GoToSocialCanQuotePropertyIterator) Get() vocab.GoToSocialCanQuote { + return this.gotosocialCanQuoteMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this GoToSocialCanQuotePropertyIterator) GetIRI() *url.URL { + return this.iri +} + +// GetType returns the value in this property as a Type. Returns nil if the value +// is not an ActivityStreams type, such as an IRI or another value. +func (this GoToSocialCanQuotePropertyIterator) GetType() vocab.Type { + if this.IsGoToSocialCanQuote() { + return this.Get() + } + + return nil +} + +// HasAny returns true if the value or IRI is set. +func (this GoToSocialCanQuotePropertyIterator) HasAny() bool { + return this.IsGoToSocialCanQuote() || this.iri != nil +} + +// IsGoToSocialCanQuote returns true if this property is set and not an IRI. +func (this GoToSocialCanQuotePropertyIterator) IsGoToSocialCanQuote() bool { + return this.gotosocialCanQuoteMember != nil +} + +// IsIRI returns true if this property is an IRI. +func (this GoToSocialCanQuotePropertyIterator) IsIRI() bool { + return this.iri != nil +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialCanQuotePropertyIterator) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + var child map[string]string + if this.IsGoToSocialCanQuote() { + child = this.Get().JSONLDContext() + } + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this GoToSocialCanQuotePropertyIterator) KindIndex() int { + if this.IsGoToSocialCanQuote() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialCanQuotePropertyIterator) LessThan(o vocab.GoToSocialCanQuotePropertyIterator) bool { + // LessThan comparison for if either or both are IRIs. + if this.IsIRI() && o.IsIRI() { + return this.iri.String() < o.GetIRI().String() + } else if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsGoToSocialCanQuote() && !o.IsGoToSocialCanQuote() { + // Both are unknowns. + return false + } else if this.IsGoToSocialCanQuote() && !o.IsGoToSocialCanQuote() { + // Values are always greater than unknown values. + return false + } else if !this.IsGoToSocialCanQuote() && o.IsGoToSocialCanQuote() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return this.Get().LessThan(o.Get()) + } +} + +// Name returns the name of this property: "GoToSocialCanQuote". +func (this GoToSocialCanQuotePropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "GoToSocialCanQuote" + } else { + return "GoToSocialCanQuote" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this GoToSocialCanQuotePropertyIterator) Next() vocab.GoToSocialCanQuotePropertyIterator { + if this.myIdx+1 >= this.parent.Len() { + return nil + } else { + return this.parent.At(this.myIdx + 1) + } +} + +// Prev returns the previous iterator, or nil if there is no previous iterator. +func (this GoToSocialCanQuotePropertyIterator) Prev() vocab.GoToSocialCanQuotePropertyIterator { + if this.myIdx-1 < 0 { + return nil + } else { + return this.parent.At(this.myIdx - 1) + } +} + +// Set sets the value of this property. Calling IsGoToSocialCanQuote afterwards +// will return true. +func (this *GoToSocialCanQuotePropertyIterator) Set(v vocab.GoToSocialCanQuote) { + this.clear() + this.gotosocialCanQuoteMember = v +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *GoToSocialCanQuotePropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.iri = v +} + +// SetType attempts to set the property for the arbitrary type. Returns an error +// if it is not a valid type to set on this property. +func (this *GoToSocialCanQuotePropertyIterator) SetType(t vocab.Type) error { + if v, ok := t.(vocab.GoToSocialCanQuote); ok { + this.Set(v) + return nil + } + + return fmt.Errorf("illegal type to set on GoToSocialCanQuote property: %T", t) +} + +// clear ensures no value of this property is set. Calling IsGoToSocialCanQuote +// afterwards will return false. +func (this *GoToSocialCanQuotePropertyIterator) clear() { + this.unknown = nil + this.iri = nil + this.gotosocialCanQuoteMember = nil +} + +// serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialCanQuotePropertyIterator) serialize() (interface{}, error) { + if this.IsGoToSocialCanQuote() { + return this.Get().Serialize() + } else if this.IsIRI() { + return this.iri.String(), nil + } + return this.unknown, nil +} + +// GoToSocialCanQuoteProperty is the non-functional property "canQuote". It is +// permitted to have one or more values, and of different value types. +type GoToSocialCanQuoteProperty struct { + properties []*GoToSocialCanQuotePropertyIterator + alias string +} + +// DeserializeCanQuoteProperty creates a "canQuote" property from an interface +// representation that has been unmarshalled from a text or binary format. +func DeserializeCanQuoteProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuoteProperty, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + propName := "canQuote" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "canQuote") + } + i, ok := m[propName] + + if ok { + this := &GoToSocialCanQuoteProperty{ + alias: alias, + properties: []*GoToSocialCanQuotePropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeGoToSocialCanQuotePropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeGoToSocialCanQuotePropertyIterator(i, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + // Set up the properties for iteration. + for idx, ele := range this.properties { + ele.parent = this + ele.myIdx = idx + } + return this, nil + } + return nil, nil +} + +// NewGoToSocialCanQuoteProperty creates a new canQuote property. +func NewGoToSocialCanQuoteProperty() *GoToSocialCanQuoteProperty { + return &GoToSocialCanQuoteProperty{alias: ""} +} + +// AppendGoToSocialCanQuote appends a CanQuote value to the back of a list of the +// property "canQuote". Invalidates iterators that are traversing using Prev. +func (this *GoToSocialCanQuoteProperty) AppendGoToSocialCanQuote(v vocab.GoToSocialCanQuote) { + this.properties = append(this.properties, &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + gotosocialCanQuoteMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendIRI appends an IRI value to the back of a list of the property "canQuote" +func (this *GoToSocialCanQuoteProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + iri: v, + myIdx: this.Len(), + parent: this, + }) +} + +// PrependType prepends an arbitrary type value to the front of a list of the +// property "canQuote". Invalidates iterators that are traversing using Prev. +// Returns an error if the type is not a valid one to set for this property. +func (this *GoToSocialCanQuoteProperty) AppendType(t vocab.Type) error { + n := &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + } + if err := n.SetType(t); err != nil { + return err + } + this.properties = append(this.properties, n) + return nil +} + +// At returns the property value for the specified index. Panics if the index is +// out of bounds. +func (this GoToSocialCanQuoteProperty) At(index int) vocab.GoToSocialCanQuotePropertyIterator { + return this.properties[index] +} + +// Begin returns the first iterator, or nil if empty. Can be used with the +// iterator's Next method and this property's End method to iterate from front +// to back through all values. +func (this GoToSocialCanQuoteProperty) Begin() vocab.GoToSocialCanQuotePropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this GoToSocialCanQuoteProperty) Empty() bool { + return this.Len() == 0 +} + +// End returns beyond-the-last iterator, which is nil. Can be used with the +// iterator's Next method and this property's Begin method to iterate from +// front to back through all values. +func (this GoToSocialCanQuoteProperty) End() vocab.GoToSocialCanQuotePropertyIterator { + return nil +} + +// InsertGoToSocialCanQuote inserts a CanQuote value at the specified index for a +// property "canQuote". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *GoToSocialCanQuoteProperty) InsertGoToSocialCanQuote(idx int, v vocab.GoToSocialCanQuote) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + gotosocialCanQuoteMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Insert inserts an IRI value at the specified index for a property "canQuote". +// Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *GoToSocialCanQuoteProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + iri: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependType prepends an arbitrary type value to the front of a list of the +// property "canQuote". Invalidates all iterators. Returns an error if the +// type is not a valid one to set for this property. +func (this *GoToSocialCanQuoteProperty) InsertType(idx int, t vocab.Type) error { + n := &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + } + if err := n.SetType(t); err != nil { + return err + } + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = n + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } + return nil +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialCanQuoteProperty) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + for _, elem := range this.properties { + child := elem.JSONLDContext() + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API method specifically needed only for alternate implementations +// for go-fed. Applications should not use this method. Panics if the index is +// out of bounds. +func (this GoToSocialCanQuoteProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "canQuote" property. +func (this GoToSocialCanQuoteProperty) Len() (length int) { + return len(this.properties) +} + +// Less computes whether another property is less than this one. Mixing types +// results in a consistent but arbitrary ordering +func (this GoToSocialCanQuoteProperty) Less(i, j int) bool { + idx1 := this.KindIndex(i) + idx2 := this.KindIndex(j) + if idx1 < idx2 { + return true + } else if idx1 == idx2 { + if idx1 == 0 { + lhs := this.properties[i].Get() + rhs := this.properties[j].Get() + return lhs.LessThan(rhs) + } else if idx1 == -2 { + lhs := this.properties[i].GetIRI() + rhs := this.properties[j].GetIRI() + return lhs.String() < rhs.String() + } + } + return false +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialCanQuoteProperty) LessThan(o vocab.GoToSocialCanQuoteProperty) bool { + l1 := this.Len() + l2 := o.Len() + l := l1 + if l2 < l1 { + l = l2 + } + for i := 0; i < l; i++ { + if this.properties[i].LessThan(o.At(i)) { + return true + } else if o.At(i).LessThan(this.properties[i]) { + return false + } + } + return l1 < l2 +} + +// Name returns the name of this property ("canQuote") with any alias. +func (this GoToSocialCanQuoteProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "canQuote" + } else { + return "canQuote" + } +} + +// PrependGoToSocialCanQuote prepends a CanQuote value to the front of a list of +// the property "canQuote". Invalidates all iterators. +func (this *GoToSocialCanQuoteProperty) PrependGoToSocialCanQuote(v vocab.GoToSocialCanQuote) { + this.properties = append([]*GoToSocialCanQuotePropertyIterator{{ + alias: this.alias, + gotosocialCanQuoteMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependIRI prepends an IRI value to the front of a list of the property +// "canQuote". +func (this *GoToSocialCanQuoteProperty) PrependIRI(v *url.URL) { + this.properties = append([]*GoToSocialCanQuotePropertyIterator{{ + alias: this.alias, + iri: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependType prepends an arbitrary type value to the front of a list of the +// property "canQuote". Invalidates all iterators. Returns an error if the +// type is not a valid one to set for this property. +func (this *GoToSocialCanQuoteProperty) PrependType(t vocab.Type) error { + n := &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + myIdx: 0, + parent: this, + } + if err := n.SetType(t); err != nil { + return err + } + this.properties = append([]*GoToSocialCanQuotePropertyIterator{n}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } + return nil +} + +// Remove deletes an element at the specified index from a list of the property +// "canQuote", regardless of its type. Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *GoToSocialCanQuoteProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &GoToSocialCanQuotePropertyIterator{} + this.properties = (this.properties)[:len(this.properties)-1] + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialCanQuoteProperty) Serialize() (interface{}, error) { + s := make([]interface{}, 0, len(this.properties)) + for _, iterator := range this.properties { + if b, err := iterator.serialize(); err != nil { + return s, err + } else { + s = append(s, b) + } + } + // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. + if len(s) == 1 { + return s[0], nil + } + return s, nil +} + +// Set sets a CanQuote value to be at the specified index for the property +// "canQuote". Panics if the index is out of bounds. Invalidates all iterators. +func (this *GoToSocialCanQuoteProperty) Set(idx int, v vocab.GoToSocialCanQuote) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + gotosocialCanQuoteMember: v, + myIdx: idx, + parent: this, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property +// "canQuote". Panics if the index is out of bounds. +func (this *GoToSocialCanQuoteProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + iri: v, + myIdx: idx, + parent: this, + } +} + +// SetType sets an arbitrary type value to the specified index of the property +// "canQuote". Invalidates all iterators. Returns an error if the type is not +// a valid one to set for this property. Panics if the index is out of bounds. +func (this *GoToSocialCanQuoteProperty) SetType(idx int, t vocab.Type) error { + n := &GoToSocialCanQuotePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + } + if err := n.SetType(t); err != nil { + return err + } + (this.properties)[idx] = n + return nil +} + +// Swap swaps the location of values at two indices for the "canQuote" property. +func (this GoToSocialCanQuoteProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go new file mode 100644 index 000000000..742c63349 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertyinteractingobject contains the implementation for the +// interactingObject property. All applications are strongly encouraged to use +// the interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertyinteractingobject diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go new file mode 100644 index 000000000..20cb4d776 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go @@ -0,0 +1,15 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyinteractingobject + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface{} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go new file mode 100644 index 000000000..350547631 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go @@ -0,0 +1,511 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyinteractingobject + +import ( + anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// GoToSocialInteractingObjectPropertyIterator is an iterator for a property. It +// is permitted to be a single nilable value type. +type GoToSocialInteractingObjectPropertyIterator struct { + xmlschemaAnyURIMember *url.URL + unknown interface{} + alias string + myIdx int + parent vocab.GoToSocialInteractingObjectProperty +} + +// NewGoToSocialInteractingObjectPropertyIterator creates a new +// GoToSocialInteractingObject property. +func NewGoToSocialInteractingObjectPropertyIterator() *GoToSocialInteractingObjectPropertyIterator { + return &GoToSocialInteractingObjectPropertyIterator{alias: ""} +} + +// deserializeGoToSocialInteractingObjectPropertyIterator creates an iterator from +// an element that has been unmarshalled from a text or binary format. +func deserializeGoToSocialInteractingObjectPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialInteractingObjectPropertyIterator, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + if v, err := anyuri.DeserializeAnyURI(i); err == nil { + this := &GoToSocialInteractingObjectPropertyIterator{ + alias: alias, + xmlschemaAnyURIMember: v, + } + return this, nil + } + this := &GoToSocialInteractingObjectPropertyIterator{ + alias: alias, + unknown: i, + } + return this, nil +} + +// Get returns the value of this property. When IsXMLSchemaAnyURI returns false, +// Get will return any arbitrary value. +func (this GoToSocialInteractingObjectPropertyIterator) Get() *url.URL { + return this.xmlschemaAnyURIMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this GoToSocialInteractingObjectPropertyIterator) GetIRI() *url.URL { + return this.xmlschemaAnyURIMember +} + +// HasAny returns true if the value or IRI is set. +func (this GoToSocialInteractingObjectPropertyIterator) HasAny() bool { + return this.IsXMLSchemaAnyURI() +} + +// IsIRI returns true if this property is an IRI. +func (this GoToSocialInteractingObjectPropertyIterator) IsIRI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// IsXMLSchemaAnyURI returns true if this property is set and not an IRI. +func (this GoToSocialInteractingObjectPropertyIterator) IsXMLSchemaAnyURI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialInteractingObjectPropertyIterator) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + var child map[string]string + + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this GoToSocialInteractingObjectPropertyIterator) KindIndex() int { + if this.IsXMLSchemaAnyURI() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialInteractingObjectPropertyIterator) LessThan(o vocab.GoToSocialInteractingObjectPropertyIterator) bool { + if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Both are unknowns. + return false + } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Values are always greater than unknown values. + return false + } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return anyuri.LessAnyURI(this.Get(), o.Get()) + } +} + +// Name returns the name of this property: "GoToSocialInteractingObject". +func (this GoToSocialInteractingObjectPropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "GoToSocialInteractingObject" + } else { + return "GoToSocialInteractingObject" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this GoToSocialInteractingObjectPropertyIterator) Next() vocab.GoToSocialInteractingObjectPropertyIterator { + if this.myIdx+1 >= this.parent.Len() { + return nil + } else { + return this.parent.At(this.myIdx + 1) + } +} + +// Prev returns the previous iterator, or nil if there is no previous iterator. +func (this GoToSocialInteractingObjectPropertyIterator) Prev() vocab.GoToSocialInteractingObjectPropertyIterator { + if this.myIdx-1 < 0 { + return nil + } else { + return this.parent.At(this.myIdx - 1) + } +} + +// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will +// return true. +func (this *GoToSocialInteractingObjectPropertyIterator) Set(v *url.URL) { + this.clear() + this.xmlschemaAnyURIMember = v +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *GoToSocialInteractingObjectPropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.Set(v) +} + +// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI +// afterwards will return false. +func (this *GoToSocialInteractingObjectPropertyIterator) clear() { + this.unknown = nil + this.xmlschemaAnyURIMember = nil +} + +// serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialInteractingObjectPropertyIterator) serialize() (interface{}, error) { + if this.IsXMLSchemaAnyURI() { + return anyuri.SerializeAnyURI(this.Get()) + } + return this.unknown, nil +} + +// GoToSocialInteractingObjectProperty is the non-functional property +// "interactingObject". It is permitted to have one or more values, and of +// different value types. +type GoToSocialInteractingObjectProperty struct { + properties []*GoToSocialInteractingObjectPropertyIterator + alias string +} + +// DeserializeInteractingObjectProperty creates a "interactingObject" property +// from an interface representation that has been unmarshalled from a text or +// binary format. +func DeserializeInteractingObjectProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + propName := "interactingObject" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "interactingObject") + } + i, ok := m[propName] + + if ok { + this := &GoToSocialInteractingObjectProperty{ + alias: alias, + properties: []*GoToSocialInteractingObjectPropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeGoToSocialInteractingObjectPropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeGoToSocialInteractingObjectPropertyIterator(i, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + // Set up the properties for iteration. + for idx, ele := range this.properties { + ele.parent = this + ele.myIdx = idx + } + return this, nil + } + return nil, nil +} + +// NewGoToSocialInteractingObjectProperty creates a new interactingObject property. +func NewGoToSocialInteractingObjectProperty() *GoToSocialInteractingObjectProperty { + return &GoToSocialInteractingObjectProperty{alias: ""} +} + +// AppendIRI appends an IRI value to the back of a list of the property +// "interactingObject" +func (this *GoToSocialInteractingObjectProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialInteractingObjectPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the +// property "interactingObject". Invalidates iterators that are traversing +// using Prev. +func (this *GoToSocialInteractingObjectProperty) AppendXMLSchemaAnyURI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialInteractingObjectPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// At returns the property value for the specified index. Panics if the index is +// out of bounds. +func (this GoToSocialInteractingObjectProperty) At(index int) vocab.GoToSocialInteractingObjectPropertyIterator { + return this.properties[index] +} + +// Begin returns the first iterator, or nil if empty. Can be used with the +// iterator's Next method and this property's End method to iterate from front +// to back through all values. +func (this GoToSocialInteractingObjectProperty) Begin() vocab.GoToSocialInteractingObjectPropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this GoToSocialInteractingObjectProperty) Empty() bool { + return this.Len() == 0 +} + +// End returns beyond-the-last iterator, which is nil. Can be used with the +// iterator's Next method and this property's Begin method to iterate from +// front to back through all values. +func (this GoToSocialInteractingObjectProperty) End() vocab.GoToSocialInteractingObjectPropertyIterator { + return nil +} + +// Insert inserts an IRI value at the specified index for a property +// "interactingObject". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *GoToSocialInteractingObjectProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialInteractingObjectPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a +// property "interactingObject". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *GoToSocialInteractingObjectProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialInteractingObjectPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialInteractingObjectProperty) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + for _, elem := range this.properties { + child := elem.JSONLDContext() + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API method specifically needed only for alternate implementations +// for go-fed. Applications should not use this method. Panics if the index is +// out of bounds. +func (this GoToSocialInteractingObjectProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "interactingObject" +// property. +func (this GoToSocialInteractingObjectProperty) Len() (length int) { + return len(this.properties) +} + +// Less computes whether another property is less than this one. Mixing types +// results in a consistent but arbitrary ordering +func (this GoToSocialInteractingObjectProperty) Less(i, j int) bool { + idx1 := this.KindIndex(i) + idx2 := this.KindIndex(j) + if idx1 < idx2 { + return true + } else if idx1 == idx2 { + if idx1 == 0 { + lhs := this.properties[i].Get() + rhs := this.properties[j].Get() + return anyuri.LessAnyURI(lhs, rhs) + } else if idx1 == -2 { + lhs := this.properties[i].GetIRI() + rhs := this.properties[j].GetIRI() + return lhs.String() < rhs.String() + } + } + return false +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialInteractingObjectProperty) LessThan(o vocab.GoToSocialInteractingObjectProperty) bool { + l1 := this.Len() + l2 := o.Len() + l := l1 + if l2 < l1 { + l = l2 + } + for i := 0; i < l; i++ { + if this.properties[i].LessThan(o.At(i)) { + return true + } else if o.At(i).LessThan(this.properties[i]) { + return false + } + } + return l1 < l2 +} + +// Name returns the name of this property ("interactingObject") with any alias. +func (this GoToSocialInteractingObjectProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "interactingObject" + } else { + return "interactingObject" + } +} + +// PrependIRI prepends an IRI value to the front of a list of the property +// "interactingObject". +func (this *GoToSocialInteractingObjectProperty) PrependIRI(v *url.URL) { + this.properties = append([]*GoToSocialInteractingObjectPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the +// property "interactingObject". Invalidates all iterators. +func (this *GoToSocialInteractingObjectProperty) PrependXMLSchemaAnyURI(v *url.URL) { + this.properties = append([]*GoToSocialInteractingObjectPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Remove deletes an element at the specified index from a list of the property +// "interactingObject", regardless of its type. Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *GoToSocialInteractingObjectProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &GoToSocialInteractingObjectPropertyIterator{} + this.properties = (this.properties)[:len(this.properties)-1] + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialInteractingObjectProperty) Serialize() (interface{}, error) { + s := make([]interface{}, 0, len(this.properties)) + for _, iterator := range this.properties { + if b, err := iterator.serialize(); err != nil { + return s, err + } else { + s = append(s, b) + } + } + // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. + if len(s) == 1 { + return s[0], nil + } + return s, nil +} + +// Set sets a anyURI value to be at the specified index for the property +// "interactingObject". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *GoToSocialInteractingObjectProperty) Set(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialInteractingObjectPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property +// "interactingObject". Panics if the index is out of bounds. +func (this *GoToSocialInteractingObjectProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialInteractingObjectPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// Swap swaps the location of values at two indices for the "interactingObject" +// property. +func (this GoToSocialInteractingObjectProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go new file mode 100644 index 000000000..b7633ec1a --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertyinteractiontarget contains the implementation for the +// interactionTarget property. All applications are strongly encouraged to use +// the interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertyinteractiontarget diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go new file mode 100644 index 000000000..c957dc08e --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go @@ -0,0 +1,15 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyinteractiontarget + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface{} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go new file mode 100644 index 000000000..91e51a073 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go @@ -0,0 +1,511 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyinteractiontarget + +import ( + anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// GoToSocialInteractionTargetPropertyIterator is an iterator for a property. It +// is permitted to be a single nilable value type. +type GoToSocialInteractionTargetPropertyIterator struct { + xmlschemaAnyURIMember *url.URL + unknown interface{} + alias string + myIdx int + parent vocab.GoToSocialInteractionTargetProperty +} + +// NewGoToSocialInteractionTargetPropertyIterator creates a new +// GoToSocialInteractionTarget property. +func NewGoToSocialInteractionTargetPropertyIterator() *GoToSocialInteractionTargetPropertyIterator { + return &GoToSocialInteractionTargetPropertyIterator{alias: ""} +} + +// deserializeGoToSocialInteractionTargetPropertyIterator creates an iterator from +// an element that has been unmarshalled from a text or binary format. +func deserializeGoToSocialInteractionTargetPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialInteractionTargetPropertyIterator, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + if v, err := anyuri.DeserializeAnyURI(i); err == nil { + this := &GoToSocialInteractionTargetPropertyIterator{ + alias: alias, + xmlschemaAnyURIMember: v, + } + return this, nil + } + this := &GoToSocialInteractionTargetPropertyIterator{ + alias: alias, + unknown: i, + } + return this, nil +} + +// Get returns the value of this property. When IsXMLSchemaAnyURI returns false, +// Get will return any arbitrary value. +func (this GoToSocialInteractionTargetPropertyIterator) Get() *url.URL { + return this.xmlschemaAnyURIMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this GoToSocialInteractionTargetPropertyIterator) GetIRI() *url.URL { + return this.xmlschemaAnyURIMember +} + +// HasAny returns true if the value or IRI is set. +func (this GoToSocialInteractionTargetPropertyIterator) HasAny() bool { + return this.IsXMLSchemaAnyURI() +} + +// IsIRI returns true if this property is an IRI. +func (this GoToSocialInteractionTargetPropertyIterator) IsIRI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// IsXMLSchemaAnyURI returns true if this property is set and not an IRI. +func (this GoToSocialInteractionTargetPropertyIterator) IsXMLSchemaAnyURI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialInteractionTargetPropertyIterator) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + var child map[string]string + + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this GoToSocialInteractionTargetPropertyIterator) KindIndex() int { + if this.IsXMLSchemaAnyURI() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialInteractionTargetPropertyIterator) LessThan(o vocab.GoToSocialInteractionTargetPropertyIterator) bool { + if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Both are unknowns. + return false + } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Values are always greater than unknown values. + return false + } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return anyuri.LessAnyURI(this.Get(), o.Get()) + } +} + +// Name returns the name of this property: "GoToSocialInteractionTarget". +func (this GoToSocialInteractionTargetPropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "GoToSocialInteractionTarget" + } else { + return "GoToSocialInteractionTarget" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this GoToSocialInteractionTargetPropertyIterator) Next() vocab.GoToSocialInteractionTargetPropertyIterator { + if this.myIdx+1 >= this.parent.Len() { + return nil + } else { + return this.parent.At(this.myIdx + 1) + } +} + +// Prev returns the previous iterator, or nil if there is no previous iterator. +func (this GoToSocialInteractionTargetPropertyIterator) Prev() vocab.GoToSocialInteractionTargetPropertyIterator { + if this.myIdx-1 < 0 { + return nil + } else { + return this.parent.At(this.myIdx - 1) + } +} + +// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will +// return true. +func (this *GoToSocialInteractionTargetPropertyIterator) Set(v *url.URL) { + this.clear() + this.xmlschemaAnyURIMember = v +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *GoToSocialInteractionTargetPropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.Set(v) +} + +// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI +// afterwards will return false. +func (this *GoToSocialInteractionTargetPropertyIterator) clear() { + this.unknown = nil + this.xmlschemaAnyURIMember = nil +} + +// serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialInteractionTargetPropertyIterator) serialize() (interface{}, error) { + if this.IsXMLSchemaAnyURI() { + return anyuri.SerializeAnyURI(this.Get()) + } + return this.unknown, nil +} + +// GoToSocialInteractionTargetProperty is the non-functional property +// "interactionTarget". It is permitted to have one or more values, and of +// different value types. +type GoToSocialInteractionTargetProperty struct { + properties []*GoToSocialInteractionTargetPropertyIterator + alias string +} + +// DeserializeInteractionTargetProperty creates a "interactionTarget" property +// from an interface representation that has been unmarshalled from a text or +// binary format. +func DeserializeInteractionTargetProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + propName := "interactionTarget" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "interactionTarget") + } + i, ok := m[propName] + + if ok { + this := &GoToSocialInteractionTargetProperty{ + alias: alias, + properties: []*GoToSocialInteractionTargetPropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeGoToSocialInteractionTargetPropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeGoToSocialInteractionTargetPropertyIterator(i, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + // Set up the properties for iteration. + for idx, ele := range this.properties { + ele.parent = this + ele.myIdx = idx + } + return this, nil + } + return nil, nil +} + +// NewGoToSocialInteractionTargetProperty creates a new interactionTarget property. +func NewGoToSocialInteractionTargetProperty() *GoToSocialInteractionTargetProperty { + return &GoToSocialInteractionTargetProperty{alias: ""} +} + +// AppendIRI appends an IRI value to the back of a list of the property +// "interactionTarget" +func (this *GoToSocialInteractionTargetProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialInteractionTargetPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the +// property "interactionTarget". Invalidates iterators that are traversing +// using Prev. +func (this *GoToSocialInteractionTargetProperty) AppendXMLSchemaAnyURI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialInteractionTargetPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// At returns the property value for the specified index. Panics if the index is +// out of bounds. +func (this GoToSocialInteractionTargetProperty) At(index int) vocab.GoToSocialInteractionTargetPropertyIterator { + return this.properties[index] +} + +// Begin returns the first iterator, or nil if empty. Can be used with the +// iterator's Next method and this property's End method to iterate from front +// to back through all values. +func (this GoToSocialInteractionTargetProperty) Begin() vocab.GoToSocialInteractionTargetPropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this GoToSocialInteractionTargetProperty) Empty() bool { + return this.Len() == 0 +} + +// End returns beyond-the-last iterator, which is nil. Can be used with the +// iterator's Next method and this property's Begin method to iterate from +// front to back through all values. +func (this GoToSocialInteractionTargetProperty) End() vocab.GoToSocialInteractionTargetPropertyIterator { + return nil +} + +// Insert inserts an IRI value at the specified index for a property +// "interactionTarget". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *GoToSocialInteractionTargetProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialInteractionTargetPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a +// property "interactionTarget". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *GoToSocialInteractionTargetProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialInteractionTargetPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialInteractionTargetProperty) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + for _, elem := range this.properties { + child := elem.JSONLDContext() + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API method specifically needed only for alternate implementations +// for go-fed. Applications should not use this method. Panics if the index is +// out of bounds. +func (this GoToSocialInteractionTargetProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "interactionTarget" +// property. +func (this GoToSocialInteractionTargetProperty) Len() (length int) { + return len(this.properties) +} + +// Less computes whether another property is less than this one. Mixing types +// results in a consistent but arbitrary ordering +func (this GoToSocialInteractionTargetProperty) Less(i, j int) bool { + idx1 := this.KindIndex(i) + idx2 := this.KindIndex(j) + if idx1 < idx2 { + return true + } else if idx1 == idx2 { + if idx1 == 0 { + lhs := this.properties[i].Get() + rhs := this.properties[j].Get() + return anyuri.LessAnyURI(lhs, rhs) + } else if idx1 == -2 { + lhs := this.properties[i].GetIRI() + rhs := this.properties[j].GetIRI() + return lhs.String() < rhs.String() + } + } + return false +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialInteractionTargetProperty) LessThan(o vocab.GoToSocialInteractionTargetProperty) bool { + l1 := this.Len() + l2 := o.Len() + l := l1 + if l2 < l1 { + l = l2 + } + for i := 0; i < l; i++ { + if this.properties[i].LessThan(o.At(i)) { + return true + } else if o.At(i).LessThan(this.properties[i]) { + return false + } + } + return l1 < l2 +} + +// Name returns the name of this property ("interactionTarget") with any alias. +func (this GoToSocialInteractionTargetProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "interactionTarget" + } else { + return "interactionTarget" + } +} + +// PrependIRI prepends an IRI value to the front of a list of the property +// "interactionTarget". +func (this *GoToSocialInteractionTargetProperty) PrependIRI(v *url.URL) { + this.properties = append([]*GoToSocialInteractionTargetPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the +// property "interactionTarget". Invalidates all iterators. +func (this *GoToSocialInteractionTargetProperty) PrependXMLSchemaAnyURI(v *url.URL) { + this.properties = append([]*GoToSocialInteractionTargetPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Remove deletes an element at the specified index from a list of the property +// "interactionTarget", regardless of its type. Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *GoToSocialInteractionTargetProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &GoToSocialInteractionTargetPropertyIterator{} + this.properties = (this.properties)[:len(this.properties)-1] + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialInteractionTargetProperty) Serialize() (interface{}, error) { + s := make([]interface{}, 0, len(this.properties)) + for _, iterator := range this.properties { + if b, err := iterator.serialize(); err != nil { + return s, err + } else { + s = append(s, b) + } + } + // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. + if len(s) == 1 { + return s[0], nil + } + return s, nil +} + +// Set sets a anyURI value to be at the specified index for the property +// "interactionTarget". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *GoToSocialInteractionTargetProperty) Set(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialInteractionTargetPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property +// "interactionTarget". Panics if the index is out of bounds. +func (this *GoToSocialInteractionTargetProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialInteractionTargetPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// Swap swaps the location of values at two indices for the "interactionTarget" +// property. +func (this GoToSocialInteractionTargetProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go new file mode 100644 index 000000000..19ff2b245 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertymanualapproval contains the implementation for the +// manualApproval property. All applications are strongly encouraged to use +// the interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertymanualapproval diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go new file mode 100644 index 000000000..e9ee735e2 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go @@ -0,0 +1,15 @@ +// Code generated by astool. DO NOT EDIT. + +package propertymanualapproval + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface{} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go new file mode 100644 index 000000000..39180fb1b --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go @@ -0,0 +1,510 @@ +// Code generated by astool. DO NOT EDIT. + +package propertymanualapproval + +import ( + anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// GoToSocialManualApprovalPropertyIterator is an iterator for a property. It is +// permitted to be a single nilable value type. +type GoToSocialManualApprovalPropertyIterator struct { + xmlschemaAnyURIMember *url.URL + unknown interface{} + alias string + myIdx int + parent vocab.GoToSocialManualApprovalProperty +} + +// NewGoToSocialManualApprovalPropertyIterator creates a new +// GoToSocialManualApproval property. +func NewGoToSocialManualApprovalPropertyIterator() *GoToSocialManualApprovalPropertyIterator { + return &GoToSocialManualApprovalPropertyIterator{alias: ""} +} + +// deserializeGoToSocialManualApprovalPropertyIterator creates an iterator from an +// element that has been unmarshalled from a text or binary format. +func deserializeGoToSocialManualApprovalPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialManualApprovalPropertyIterator, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + if v, err := anyuri.DeserializeAnyURI(i); err == nil { + this := &GoToSocialManualApprovalPropertyIterator{ + alias: alias, + xmlschemaAnyURIMember: v, + } + return this, nil + } + this := &GoToSocialManualApprovalPropertyIterator{ + alias: alias, + unknown: i, + } + return this, nil +} + +// Get returns the value of this property. When IsXMLSchemaAnyURI returns false, +// Get will return any arbitrary value. +func (this GoToSocialManualApprovalPropertyIterator) Get() *url.URL { + return this.xmlschemaAnyURIMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this GoToSocialManualApprovalPropertyIterator) GetIRI() *url.URL { + return this.xmlschemaAnyURIMember +} + +// HasAny returns true if the value or IRI is set. +func (this GoToSocialManualApprovalPropertyIterator) HasAny() bool { + return this.IsXMLSchemaAnyURI() +} + +// IsIRI returns true if this property is an IRI. +func (this GoToSocialManualApprovalPropertyIterator) IsIRI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// IsXMLSchemaAnyURI returns true if this property is set and not an IRI. +func (this GoToSocialManualApprovalPropertyIterator) IsXMLSchemaAnyURI() bool { + return this.xmlschemaAnyURIMember != nil +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialManualApprovalPropertyIterator) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + var child map[string]string + + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this GoToSocialManualApprovalPropertyIterator) KindIndex() int { + if this.IsXMLSchemaAnyURI() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialManualApprovalPropertyIterator) LessThan(o vocab.GoToSocialManualApprovalPropertyIterator) bool { + if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Both are unknowns. + return false + } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() { + // Values are always greater than unknown values. + return false + } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return anyuri.LessAnyURI(this.Get(), o.Get()) + } +} + +// Name returns the name of this property: "GoToSocialManualApproval". +func (this GoToSocialManualApprovalPropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "GoToSocialManualApproval" + } else { + return "GoToSocialManualApproval" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this GoToSocialManualApprovalPropertyIterator) Next() vocab.GoToSocialManualApprovalPropertyIterator { + if this.myIdx+1 >= this.parent.Len() { + return nil + } else { + return this.parent.At(this.myIdx + 1) + } +} + +// Prev returns the previous iterator, or nil if there is no previous iterator. +func (this GoToSocialManualApprovalPropertyIterator) Prev() vocab.GoToSocialManualApprovalPropertyIterator { + if this.myIdx-1 < 0 { + return nil + } else { + return this.parent.At(this.myIdx - 1) + } +} + +// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will +// return true. +func (this *GoToSocialManualApprovalPropertyIterator) Set(v *url.URL) { + this.clear() + this.xmlschemaAnyURIMember = v +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *GoToSocialManualApprovalPropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.Set(v) +} + +// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI +// afterwards will return false. +func (this *GoToSocialManualApprovalPropertyIterator) clear() { + this.unknown = nil + this.xmlschemaAnyURIMember = nil +} + +// serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialManualApprovalPropertyIterator) serialize() (interface{}, error) { + if this.IsXMLSchemaAnyURI() { + return anyuri.SerializeAnyURI(this.Get()) + } + return this.unknown, nil +} + +// GoToSocialManualApprovalProperty is the non-functional property +// "manualApproval". It is permitted to have one or more values, and of +// different value types. +type GoToSocialManualApprovalProperty struct { + properties []*GoToSocialManualApprovalPropertyIterator + alias string +} + +// DeserializeManualApprovalProperty creates a "manualApproval" property from an +// interface representation that has been unmarshalled from a text or binary +// format. +func DeserializeManualApprovalProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialManualApprovalProperty, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + propName := "manualApproval" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "manualApproval") + } + i, ok := m[propName] + + if ok { + this := &GoToSocialManualApprovalProperty{ + alias: alias, + properties: []*GoToSocialManualApprovalPropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeGoToSocialManualApprovalPropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeGoToSocialManualApprovalPropertyIterator(i, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + // Set up the properties for iteration. + for idx, ele := range this.properties { + ele.parent = this + ele.myIdx = idx + } + return this, nil + } + return nil, nil +} + +// NewGoToSocialManualApprovalProperty creates a new manualApproval property. +func NewGoToSocialManualApprovalProperty() *GoToSocialManualApprovalProperty { + return &GoToSocialManualApprovalProperty{alias: ""} +} + +// AppendIRI appends an IRI value to the back of a list of the property +// "manualApproval" +func (this *GoToSocialManualApprovalProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialManualApprovalPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the +// property "manualApproval". Invalidates iterators that are traversing using +// Prev. +func (this *GoToSocialManualApprovalProperty) AppendXMLSchemaAnyURI(v *url.URL) { + this.properties = append(this.properties, &GoToSocialManualApprovalPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + xmlschemaAnyURIMember: v, + }) +} + +// At returns the property value for the specified index. Panics if the index is +// out of bounds. +func (this GoToSocialManualApprovalProperty) At(index int) vocab.GoToSocialManualApprovalPropertyIterator { + return this.properties[index] +} + +// Begin returns the first iterator, or nil if empty. Can be used with the +// iterator's Next method and this property's End method to iterate from front +// to back through all values. +func (this GoToSocialManualApprovalProperty) Begin() vocab.GoToSocialManualApprovalPropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this GoToSocialManualApprovalProperty) Empty() bool { + return this.Len() == 0 +} + +// End returns beyond-the-last iterator, which is nil. Can be used with the +// iterator's Next method and this property's Begin method to iterate from +// front to back through all values. +func (this GoToSocialManualApprovalProperty) End() vocab.GoToSocialManualApprovalPropertyIterator { + return nil +} + +// Insert inserts an IRI value at the specified index for a property +// "manualApproval". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *GoToSocialManualApprovalProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialManualApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a +// property "manualApproval". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *GoToSocialManualApprovalProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &GoToSocialManualApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this GoToSocialManualApprovalProperty) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + for _, elem := range this.properties { + child := elem.JSONLDContext() + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API method specifically needed only for alternate implementations +// for go-fed. Applications should not use this method. Panics if the index is +// out of bounds. +func (this GoToSocialManualApprovalProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "manualApproval" property. +func (this GoToSocialManualApprovalProperty) Len() (length int) { + return len(this.properties) +} + +// Less computes whether another property is less than this one. Mixing types +// results in a consistent but arbitrary ordering +func (this GoToSocialManualApprovalProperty) Less(i, j int) bool { + idx1 := this.KindIndex(i) + idx2 := this.KindIndex(j) + if idx1 < idx2 { + return true + } else if idx1 == idx2 { + if idx1 == 0 { + lhs := this.properties[i].Get() + rhs := this.properties[j].Get() + return anyuri.LessAnyURI(lhs, rhs) + } else if idx1 == -2 { + lhs := this.properties[i].GetIRI() + rhs := this.properties[j].GetIRI() + return lhs.String() < rhs.String() + } + } + return false +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this GoToSocialManualApprovalProperty) LessThan(o vocab.GoToSocialManualApprovalProperty) bool { + l1 := this.Len() + l2 := o.Len() + l := l1 + if l2 < l1 { + l = l2 + } + for i := 0; i < l; i++ { + if this.properties[i].LessThan(o.At(i)) { + return true + } else if o.At(i).LessThan(this.properties[i]) { + return false + } + } + return l1 < l2 +} + +// Name returns the name of this property ("manualApproval") with any alias. +func (this GoToSocialManualApprovalProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "manualApproval" + } else { + return "manualApproval" + } +} + +// PrependIRI prepends an IRI value to the front of a list of the property +// "manualApproval". +func (this *GoToSocialManualApprovalProperty) PrependIRI(v *url.URL) { + this.properties = append([]*GoToSocialManualApprovalPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the +// property "manualApproval". Invalidates all iterators. +func (this *GoToSocialManualApprovalProperty) PrependXMLSchemaAnyURI(v *url.URL) { + this.properties = append([]*GoToSocialManualApprovalPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + xmlschemaAnyURIMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Remove deletes an element at the specified index from a list of the property +// "manualApproval", regardless of its type. Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *GoToSocialManualApprovalProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &GoToSocialManualApprovalPropertyIterator{} + this.properties = (this.properties)[:len(this.properties)-1] + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this GoToSocialManualApprovalProperty) Serialize() (interface{}, error) { + s := make([]interface{}, 0, len(this.properties)) + for _, iterator := range this.properties { + if b, err := iterator.serialize(); err != nil { + return s, err + } else { + s = append(s, b) + } + } + // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. + if len(s) == 1 { + return s[0], nil + } + return s, nil +} + +// Set sets a anyURI value to be at the specified index for the property +// "manualApproval". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *GoToSocialManualApprovalProperty) Set(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialManualApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property +// "manualApproval". Panics if the index is out of bounds. +func (this *GoToSocialManualApprovalProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &GoToSocialManualApprovalPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + xmlschemaAnyURIMember: v, + } +} + +// Swap swaps the location of values at two indices for the "manualApproval" +// property. +func (this GoToSocialManualApprovalProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go index 49deeb0ad..5fa2f5921 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go @@ -8,6 +8,7 @@ import ( "strings" ) +// DEPRECATED: Use `AnnounceAuthorization` instead. type GoToSocialAnnounceApproval struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go new file mode 100644 index 000000000..549e0ed59 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typeannounceauthorization contains the implementation for the +// AnnounceAuthorization type. All applications are strongly encouraged to use +// the interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typeannounceauthorization diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go new file mode 100644 index 000000000..f69622be6 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go @@ -0,0 +1,189 @@ +// Code generated by astool. DO NOT EDIT. + +package typeannounceauthorization + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeInteractingObjectPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialInteractingObjectProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) + // DeserializeInteractionTargetPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialInteractionTargetProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // DeserializeSensitivePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSensitiveProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) + // DeserializeSharesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSharesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) + // DeserializeSourcePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSourceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) + // DeserializeStartTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsStartTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) + // DeserializeSummaryPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSummaryProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) + // DeserializeTagPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTagProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) + // DeserializeToPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsToProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error) + // DeserializeTypePropertyJSONLD returns the deserialization method for + // the "JSONLDTypeProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) + // DeserializeUpdatedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUpdatedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) + // DeserializeUrlPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUrlProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go new file mode 100644 index 000000000..199aafba2 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go @@ -0,0 +1,1726 @@ +// Code generated by astool. DO NOT EDIT. + +package typeannounceauthorization + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "strings" +) + +type GoToSocialAnnounceAuthorization struct { + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + GoToSocialInteractingObject vocab.GoToSocialInteractingObjectProperty + GoToSocialInteractionTarget vocab.GoToSocialInteractionTargetProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty + ActivityStreamsShares vocab.ActivityStreamsSharesProperty + ActivityStreamsSource vocab.ActivityStreamsSourceProperty + ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + ActivityStreamsTag vocab.ActivityStreamsTagProperty + ActivityStreamsTo vocab.ActivityStreamsToProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty + ActivityStreamsUrl vocab.ActivityStreamsUrlProperty + alias string + unknown map[string]interface{} +} + +// AnnounceAuthorizationIsDisjointWith returns true if the other provided type is +// disjoint with the AnnounceAuthorization type. +func AnnounceAuthorizationIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Hashtag", "Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// AnnounceAuthorizationIsExtendedBy returns true if the other provided type +// extends from the AnnounceAuthorization type. Note that it returns false if +// the types are the same; see the "IsOrExtendsAnnounceAuthorization" variant +// instead. +func AnnounceAuthorizationIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// DeserializeAnnounceAuthorization creates a AnnounceAuthorization from a map +// representation that has been unmarshalled from a text or binary format. +func DeserializeAnnounceAuthorization(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialAnnounceAuthorization, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &GoToSocialAnnounceAuthorization{ + alias: alias, + unknown: make(map[string]interface{}), + } + if typeValue, ok := m["type"]; !ok { + return nil, fmt.Errorf("no \"type\" property in map") + } else if typeString, ok := typeValue.(string); ok { + typeName := strings.TrimPrefix(typeString, aliasPrefix) + if typeName != "AnnounceAuthorization" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "AnnounceAuthorization", typeName) + } + // Fall through, success in finding a proper Type + } else if arrType, ok := typeValue.([]interface{}); ok { + found := false + for _, elemVal := range arrType { + if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "AnnounceAuthorization" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "AnnounceAuthorization") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeInteractingObjectPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialInteractingObject = p + } + if p, err := mgr.DeserializeInteractionTargetPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialInteractionTarget = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSensitive = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "interactingObject" { + continue + } else if k == "interactionTarget" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "sensitive" { + continue + } else if k == "shares" { + continue + } else if k == "source" { + continue + } else if k == "startTime" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "tag" { + continue + } else if k == "to" { + continue + } else if k == "type" { + continue + } else if k == "updated" { + continue + } else if k == "url" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialAnnounceAuthorizationExtends returns true if the +// AnnounceAuthorization type extends from the other type. +func GoToSocialAnnounceAuthorizationExtends(other vocab.Type) bool { + extensions := []string{"Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// IsOrExtendsAnnounceAuthorization returns true if the other provided type is the +// AnnounceAuthorization type or extends from the AnnounceAuthorization type. +func IsOrExtendsAnnounceAuthorization(other vocab.Type) bool { + if other.GetTypeName() == "AnnounceAuthorization" { + return true + } + return AnnounceAuthorizationIsExtendedBy(other) +} + +// NewGoToSocialAnnounceAuthorization creates a new AnnounceAuthorization type +func NewGoToSocialAnnounceAuthorization() *GoToSocialAnnounceAuthorization { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("AnnounceAuthorization") + return &GoToSocialAnnounceAuthorization{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { + return this.ActivityStreamsSensitive +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceAuthorization) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetGoToSocialInteractingObject returns the "interactingObject" property if it +// exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetGoToSocialInteractingObject() vocab.GoToSocialInteractingObjectProperty { + return this.GoToSocialInteractingObject +} + +// GetGoToSocialInteractionTarget returns the "interactionTarget" property if it +// exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetGoToSocialInteractionTarget() vocab.GoToSocialInteractionTargetProperty { + return this.GoToSocialInteractionTarget +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceAuthorization) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this GoToSocialAnnounceAuthorization) GetTypeName() string { + return "AnnounceAuthorization" +} + +// GetUnknownProperties returns the unknown properties for the +// AnnounceAuthorization type. Note that this should not be used by app +// developers. It is only used to help determine which implementation is +// LessThan the other. Developers who are creating a different implementation +// of this type's interface can use this method in their LessThan +// implementation, but routine ActivityPub applications should not use this to +// bypass the code generation tool. +func (this GoToSocialAnnounceAuthorization) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the AnnounceAuthorization type extends from the +// other type. +func (this GoToSocialAnnounceAuthorization) IsExtending(other vocab.Type) bool { + return GoToSocialAnnounceAuthorizationExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialAnnounceAuthorization) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.GoToSocialInteractingObject, m) + m = this.helperJSONLDContext(this.GoToSocialInteractionTarget, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) + m = this.helperJSONLDContext(this.ActivityStreamsShares, m) + m = this.helperJSONLDContext(this.ActivityStreamsSource, m) + m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.ActivityStreamsTag, m) + m = this.helperJSONLDContext(this.ActivityStreamsTo, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) + m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) + + return m +} + +// LessThan computes if this AnnounceAuthorization is lesser, with an arbitrary +// but stable determination. +func (this GoToSocialAnnounceAuthorization) LessThan(o vocab.GoToSocialAnnounceAuthorization) bool { + // Begin: Compare known properties + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "interactingObject" + if lhs, rhs := this.GoToSocialInteractingObject, o.GetGoToSocialInteractingObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "interactionTarget" + if lhs, rhs := this.GoToSocialInteractionTarget, o.GetGoToSocialInteractionTarget(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "sensitive" + if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "shares" + if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "source" + if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "startTime" + if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "summary" + if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "tag" + if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "to" + if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "type" + if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "updated" + if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "url" + if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialAnnounceAuthorization) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "AnnounceAuthorization" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "AnnounceAuthorization" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "interactingObject" + if this.GoToSocialInteractingObject != nil { + if i, err := this.GoToSocialInteractingObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialInteractingObject.Name()] = i + } + } + // Maybe serialize property "interactionTarget" + if this.GoToSocialInteractionTarget != nil { + if i, err := this.GoToSocialInteractionTarget.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialInteractionTarget.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "sensitive" + if this.ActivityStreamsSensitive != nil { + if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSensitive.Name()] = i + } + } + // Maybe serialize property "shares" + if this.ActivityStreamsShares != nil { + if i, err := this.ActivityStreamsShares.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsShares.Name()] = i + } + } + // Maybe serialize property "source" + if this.ActivityStreamsSource != nil { + if i, err := this.ActivityStreamsSource.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSource.Name()] = i + } + } + // Maybe serialize property "startTime" + if this.ActivityStreamsStartTime != nil { + if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsStartTime.Name()] = i + } + } + // Maybe serialize property "summary" + if this.ActivityStreamsSummary != nil { + if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSummary.Name()] = i + } + } + // Maybe serialize property "tag" + if this.ActivityStreamsTag != nil { + if i, err := this.ActivityStreamsTag.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTag.Name()] = i + } + } + // Maybe serialize property "to" + if this.ActivityStreamsTo != nil { + if i, err := this.ActivityStreamsTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTo.Name()] = i + } + } + // Maybe serialize property "type" + if this.JSONLDType != nil { + if i, err := this.JSONLDType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDType.Name()] = i + } + } + // Maybe serialize property "updated" + if this.ActivityStreamsUpdated != nil { + if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUpdated.Name()] = i + } + } + // Maybe serialize property "url" + if this.ActivityStreamsUrl != nil { + if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUrl.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetActivityStreamsAltitude sets the "altitude" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsSensitive sets the "sensitive" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { + this.ActivityStreamsSensitive = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetGoToSocialInteractingObject sets the "interactingObject" property. +func (this *GoToSocialAnnounceAuthorization) SetGoToSocialInteractingObject(i vocab.GoToSocialInteractingObjectProperty) { + this.GoToSocialInteractingObject = i +} + +// SetGoToSocialInteractionTarget sets the "interactionTarget" property. +func (this *GoToSocialAnnounceAuthorization) SetGoToSocialInteractionTarget(i vocab.GoToSocialInteractionTargetProperty) { + this.GoToSocialInteractionTarget = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialAnnounceAuthorization) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *GoToSocialAnnounceAuthorization) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialAnnounceAuthorization) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialAnnounceAuthorization) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go new file mode 100644 index 000000000..b615c2d3d --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typeannouncerequest contains the implementation for the AnnounceRequest +// type. All applications are strongly encouraged to use the interface instead +// of this concrete definition. The interfaces allow applications to consume +// only the types and properties needed and be independent of the go-fed +// implementation if another alternative implementation is created. This +// package is code-generated and subject to the same license as the go-fed +// tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typeannouncerequest diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go new file mode 100644 index 000000000..02aa92a75 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go @@ -0,0 +1,199 @@ +// Code generated by astool. DO NOT EDIT. + +package typeannouncerequest + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeActorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsActorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error) + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeInstrumentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsInstrumentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializeOriginPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsOriginProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // DeserializeResultPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsResultProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, error) + // DeserializeSensitivePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSensitiveProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) + // DeserializeSharesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSharesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) + // DeserializeSourcePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSourceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) + // DeserializeStartTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsStartTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) + // DeserializeSummaryPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSummaryProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) + // DeserializeTagPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTagProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) + // DeserializeTargetPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTargetProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) + // DeserializeToPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsToProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error) + // DeserializeTypePropertyJSONLD returns the deserialization method for + // the "JSONLDTypeProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) + // DeserializeUpdatedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUpdatedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) + // DeserializeUrlPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUrlProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go new file mode 100644 index 000000000..385186cd5 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go @@ -0,0 +1,1850 @@ +// Code generated by astool. DO NOT EDIT. + +package typeannouncerequest + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "strings" +) + +type GoToSocialAnnounceRequest struct { + ActivityStreamsActor vocab.ActivityStreamsActorProperty + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + ActivityStreamsResult vocab.ActivityStreamsResultProperty + ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty + ActivityStreamsShares vocab.ActivityStreamsSharesProperty + ActivityStreamsSource vocab.ActivityStreamsSourceProperty + ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + ActivityStreamsTag vocab.ActivityStreamsTagProperty + ActivityStreamsTarget vocab.ActivityStreamsTargetProperty + ActivityStreamsTo vocab.ActivityStreamsToProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty + ActivityStreamsUrl vocab.ActivityStreamsUrlProperty + alias string + unknown map[string]interface{} +} + +// AnnounceRequestIsDisjointWith returns true if the other provided type is +// disjoint with the AnnounceRequest type. +func AnnounceRequestIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Hashtag", "Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// AnnounceRequestIsExtendedBy returns true if the other provided type extends +// from the AnnounceRequest type. Note that it returns false if the types are +// the same; see the "IsOrExtendsAnnounceRequest" variant instead. +func AnnounceRequestIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// DeserializeAnnounceRequest creates a AnnounceRequest from a map representation +// that has been unmarshalled from a text or binary format. +func DeserializeAnnounceRequest(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialAnnounceRequest, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &GoToSocialAnnounceRequest{ + alias: alias, + unknown: make(map[string]interface{}), + } + if typeValue, ok := m["type"]; !ok { + return nil, fmt.Errorf("no \"type\" property in map") + } else if typeString, ok := typeValue.(string); ok { + typeName := strings.TrimPrefix(typeString, aliasPrefix) + if typeName != "AnnounceRequest" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "AnnounceRequest", typeName) + } + // Fall through, success in finding a proper Type + } else if arrType, ok := typeValue.([]interface{}); ok { + found := false + for _, elemVal := range arrType { + if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "AnnounceRequest" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "AnnounceRequest") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsActor = p + } + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInstrument = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsOrigin = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsResult = p + } + if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSensitive = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTarget = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "actor" { + continue + } else if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "instrument" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "origin" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "result" { + continue + } else if k == "sensitive" { + continue + } else if k == "shares" { + continue + } else if k == "source" { + continue + } else if k == "startTime" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "tag" { + continue + } else if k == "target" { + continue + } else if k == "to" { + continue + } else if k == "type" { + continue + } else if k == "updated" { + continue + } else if k == "url" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialAnnounceRequestExtends returns true if the AnnounceRequest type +// extends from the other type. +func GoToSocialAnnounceRequestExtends(other vocab.Type) bool { + extensions := []string{"Activity", "Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// IsOrExtendsAnnounceRequest returns true if the other provided type is the +// AnnounceRequest type or extends from the AnnounceRequest type. +func IsOrExtendsAnnounceRequest(other vocab.Type) bool { + if other.GetTypeName() == "AnnounceRequest" { + return true + } + return AnnounceRequestIsExtendedBy(other) +} + +// NewGoToSocialAnnounceRequest creates a new AnnounceRequest type +func NewGoToSocialAnnounceRequest() *GoToSocialAnnounceRequest { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("AnnounceRequest") + return &GoToSocialAnnounceRequest{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// GetActivityStreamsActor returns the "actor" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty { + return this.ActivityStreamsActor +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsInstrument returns the "instrument" property if it exists, +// and nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty { + return this.ActivityStreamsInstrument +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty { + return this.ActivityStreamsOrigin +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsResult returns the "result" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty { + return this.ActivityStreamsResult +} + +// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { + return this.ActivityStreamsSensitive +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTarget returns the "target" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty { + return this.ActivityStreamsTarget +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this GoToSocialAnnounceRequest) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceRequest) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this GoToSocialAnnounceRequest) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this GoToSocialAnnounceRequest) GetTypeName() string { + return "AnnounceRequest" +} + +// GetUnknownProperties returns the unknown properties for the AnnounceRequest +// type. Note that this should not be used by app developers. It is only used +// to help determine which implementation is LessThan the other. Developers +// who are creating a different implementation of this type's interface can +// use this method in their LessThan implementation, but routine ActivityPub +// applications should not use this to bypass the code generation tool. +func (this GoToSocialAnnounceRequest) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the AnnounceRequest type extends from the other +// type. +func (this GoToSocialAnnounceRequest) IsExtending(other vocab.Type) bool { + return GoToSocialAnnounceRequestExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialAnnounceRequest) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsActor, m) + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsInstrument, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsOrigin, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.ActivityStreamsResult, m) + m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) + m = this.helperJSONLDContext(this.ActivityStreamsShares, m) + m = this.helperJSONLDContext(this.ActivityStreamsSource, m) + m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.ActivityStreamsTag, m) + m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) + m = this.helperJSONLDContext(this.ActivityStreamsTo, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) + m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) + + return m +} + +// LessThan computes if this AnnounceRequest is lesser, with an arbitrary but +// stable determination. +func (this GoToSocialAnnounceRequest) LessThan(o vocab.GoToSocialAnnounceRequest) bool { + // Begin: Compare known properties + // Compare property "actor" + if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "instrument" + if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "origin" + if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "result" + if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "sensitive" + if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "shares" + if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "source" + if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "startTime" + if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "summary" + if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "tag" + if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "target" + if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "to" + if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "type" + if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "updated" + if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "url" + if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialAnnounceRequest) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "AnnounceRequest" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "AnnounceRequest" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "actor" + if this.ActivityStreamsActor != nil { + if i, err := this.ActivityStreamsActor.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsActor.Name()] = i + } + } + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "instrument" + if this.ActivityStreamsInstrument != nil { + if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInstrument.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "origin" + if this.ActivityStreamsOrigin != nil { + if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsOrigin.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "result" + if this.ActivityStreamsResult != nil { + if i, err := this.ActivityStreamsResult.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsResult.Name()] = i + } + } + // Maybe serialize property "sensitive" + if this.ActivityStreamsSensitive != nil { + if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSensitive.Name()] = i + } + } + // Maybe serialize property "shares" + if this.ActivityStreamsShares != nil { + if i, err := this.ActivityStreamsShares.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsShares.Name()] = i + } + } + // Maybe serialize property "source" + if this.ActivityStreamsSource != nil { + if i, err := this.ActivityStreamsSource.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSource.Name()] = i + } + } + // Maybe serialize property "startTime" + if this.ActivityStreamsStartTime != nil { + if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsStartTime.Name()] = i + } + } + // Maybe serialize property "summary" + if this.ActivityStreamsSummary != nil { + if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSummary.Name()] = i + } + } + // Maybe serialize property "tag" + if this.ActivityStreamsTag != nil { + if i, err := this.ActivityStreamsTag.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTag.Name()] = i + } + } + // Maybe serialize property "target" + if this.ActivityStreamsTarget != nil { + if i, err := this.ActivityStreamsTarget.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTarget.Name()] = i + } + } + // Maybe serialize property "to" + if this.ActivityStreamsTo != nil { + if i, err := this.ActivityStreamsTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTo.Name()] = i + } + } + // Maybe serialize property "type" + if this.JSONLDType != nil { + if i, err := this.JSONLDType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDType.Name()] = i + } + } + // Maybe serialize property "updated" + if this.ActivityStreamsUpdated != nil { + if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUpdated.Name()] = i + } + } + // Maybe serialize property "url" + if this.ActivityStreamsUrl != nil { + if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUrl.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetActivityStreamsActor sets the "actor" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) { + this.ActivityStreamsActor = i +} + +// SetActivityStreamsAltitude sets the "altitude" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsInstrument sets the "instrument" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) { + this.ActivityStreamsInstrument = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsOrigin sets the "origin" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) { + this.ActivityStreamsOrigin = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsResult sets the "result" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) { + this.ActivityStreamsResult = i +} + +// SetActivityStreamsSensitive sets the "sensitive" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { + this.ActivityStreamsSensitive = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTarget sets the "target" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) { + this.ActivityStreamsTarget = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *GoToSocialAnnounceRequest) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialAnnounceRequest) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *GoToSocialAnnounceRequest) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialAnnounceRequest) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialAnnounceRequest) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go index c67cbe257..70fb07bc4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go @@ -19,10 +19,19 @@ type privateManager interface { // deserialization method for the "GoToSocialApprovalRequiredProperty" // non-functional property in the vocabulary "GoToSocial" DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error) + // DeserializeAutomaticApprovalPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialAutomaticApprovalProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) // DeserializeIdPropertyJSONLD returns the deserialization method for the // "JSONLDIdProperty" non-functional property in the vocabulary // "JSONLD" DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeManualApprovalPropertyGoToSocial returns the deserialization + // method for the "GoToSocialManualApprovalProperty" non-functional + // property in the vocabulary "GoToSocial" + DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) } // jsonldContexter is a private interface to determine the JSON-LD contexts and diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go index 9100c87db..09d392e0a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go @@ -5,11 +5,13 @@ package typecanannounce import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" type GoToSocialCanAnnounce struct { - GoToSocialAlways vocab.GoToSocialAlwaysProperty - GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty - JSONLDId vocab.JSONLDIdProperty - alias string - unknown map[string]interface{} + GoToSocialAlways vocab.GoToSocialAlwaysProperty + GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty + GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty + JSONLDId vocab.JSONLDIdProperty + GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty + alias string + unknown map[string]interface{} } // CanAnnounceIsDisjointWith returns true if the other provided type is disjoint @@ -50,11 +52,21 @@ func DeserializeCanAnnounce(m map[string]interface{}, aliasMap map[string]string } else if p != nil { this.GoToSocialApprovalRequired = p } + if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialAutomaticApproval = p + } if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.JSONLDId = p } + if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialManualApproval = p + } // End: Known property deserialization // Begin: Unknown deserialization @@ -64,8 +76,12 @@ func DeserializeCanAnnounce(m map[string]interface{}, aliasMap map[string]string continue } else if k == "approvalRequired" { continue + } else if k == "automaticApproval" { + continue } else if k == "id" { continue + } else if k == "manualApproval" { + continue } // End: Code that ensures a property name is unknown this.unknown[k] = v @@ -111,6 +127,18 @@ func (this GoToSocialCanAnnounce) GetGoToSocialApprovalRequired() vocab.GoToSoci return this.GoToSocialApprovalRequired } +// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it +// exists, and nil otherwise. +func (this GoToSocialCanAnnounce) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty { + return this.GoToSocialAutomaticApproval +} + +// GetGoToSocialManualApproval returns the "manualApproval" property if it exists, +// and nil otherwise. +func (this GoToSocialCanAnnounce) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty { + return this.GoToSocialManualApproval +} + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this GoToSocialCanAnnounce) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -143,7 +171,9 @@ func (this GoToSocialCanAnnounce) JSONLDContext() map[string]string { m := map[string]string{"https://gotosocial.org/ns": this.alias} m = this.helperJSONLDContext(this.GoToSocialAlways, m) m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m) + m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m) m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.GoToSocialManualApproval, m) return m } @@ -180,6 +210,20 @@ func (this GoToSocialCanAnnounce) LessThan(o vocab.GoToSocialCanAnnounce) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "automaticApproval" + if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "id" if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -194,6 +238,20 @@ func (this GoToSocialCanAnnounce) LessThan(o vocab.GoToSocialCanAnnounce) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "manualApproval" + if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // End: Compare known properties // Begin: Compare unknown properties (only by number of them) @@ -228,6 +286,14 @@ func (this GoToSocialCanAnnounce) Serialize() (map[string]interface{}, error) { m[this.GoToSocialApprovalRequired.Name()] = i } } + // Maybe serialize property "automaticApproval" + if this.GoToSocialAutomaticApproval != nil { + if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialAutomaticApproval.Name()] = i + } + } // Maybe serialize property "id" if this.JSONLDId != nil { if i, err := this.JSONLDId.Serialize(); err != nil { @@ -236,6 +302,14 @@ func (this GoToSocialCanAnnounce) Serialize() (map[string]interface{}, error) { m[this.JSONLDId.Name()] = i } } + // Maybe serialize property "manualApproval" + if this.GoToSocialManualApproval != nil { + if i, err := this.GoToSocialManualApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialManualApproval.Name()] = i + } + } // End: Serialize known properties // Begin: Serialize unknown properties @@ -260,6 +334,16 @@ func (this *GoToSocialCanAnnounce) SetGoToSocialApprovalRequired(i vocab.GoToSoc this.GoToSocialApprovalRequired = i } +// SetGoToSocialAutomaticApproval sets the "automaticApproval" property. +func (this *GoToSocialCanAnnounce) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) { + this.GoToSocialAutomaticApproval = i +} + +// SetGoToSocialManualApproval sets the "manualApproval" property. +func (this *GoToSocialCanAnnounce) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) { + this.GoToSocialManualApproval = i +} + // SetJSONLDId sets the "id" property. func (this *GoToSocialCanAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go index 325b69b1f..a2baeeab0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go @@ -19,10 +19,19 @@ type privateManager interface { // deserialization method for the "GoToSocialApprovalRequiredProperty" // non-functional property in the vocabulary "GoToSocial" DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error) + // DeserializeAutomaticApprovalPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialAutomaticApprovalProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) // DeserializeIdPropertyJSONLD returns the deserialization method for the // "JSONLDIdProperty" non-functional property in the vocabulary // "JSONLD" DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeManualApprovalPropertyGoToSocial returns the deserialization + // method for the "GoToSocialManualApprovalProperty" non-functional + // property in the vocabulary "GoToSocial" + DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) } // jsonldContexter is a private interface to determine the JSON-LD contexts and diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go index 3c7d0666b..e31145f3d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go @@ -5,11 +5,13 @@ package typecanlike import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" type GoToSocialCanLike struct { - GoToSocialAlways vocab.GoToSocialAlwaysProperty - GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty - JSONLDId vocab.JSONLDIdProperty - alias string - unknown map[string]interface{} + GoToSocialAlways vocab.GoToSocialAlwaysProperty + GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty + GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty + JSONLDId vocab.JSONLDIdProperty + GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty + alias string + unknown map[string]interface{} } // CanLikeIsDisjointWith returns true if the other provided type is disjoint with @@ -50,11 +52,21 @@ func DeserializeCanLike(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.GoToSocialApprovalRequired = p } + if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialAutomaticApproval = p + } if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.JSONLDId = p } + if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialManualApproval = p + } // End: Known property deserialization // Begin: Unknown deserialization @@ -64,8 +76,12 @@ func DeserializeCanLike(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "approvalRequired" { continue + } else if k == "automaticApproval" { + continue } else if k == "id" { continue + } else if k == "manualApproval" { + continue } // End: Code that ensures a property name is unknown this.unknown[k] = v @@ -111,6 +127,18 @@ func (this GoToSocialCanLike) GetGoToSocialApprovalRequired() vocab.GoToSocialAp return this.GoToSocialApprovalRequired } +// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it +// exists, and nil otherwise. +func (this GoToSocialCanLike) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty { + return this.GoToSocialAutomaticApproval +} + +// GetGoToSocialManualApproval returns the "manualApproval" property if it exists, +// and nil otherwise. +func (this GoToSocialCanLike) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty { + return this.GoToSocialManualApproval +} + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this GoToSocialCanLike) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -143,7 +171,9 @@ func (this GoToSocialCanLike) JSONLDContext() map[string]string { m := map[string]string{"https://gotosocial.org/ns": this.alias} m = this.helperJSONLDContext(this.GoToSocialAlways, m) m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m) + m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m) m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.GoToSocialManualApproval, m) return m } @@ -180,6 +210,20 @@ func (this GoToSocialCanLike) LessThan(o vocab.GoToSocialCanLike) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "automaticApproval" + if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "id" if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -194,6 +238,20 @@ func (this GoToSocialCanLike) LessThan(o vocab.GoToSocialCanLike) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "manualApproval" + if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // End: Compare known properties // Begin: Compare unknown properties (only by number of them) @@ -228,6 +286,14 @@ func (this GoToSocialCanLike) Serialize() (map[string]interface{}, error) { m[this.GoToSocialApprovalRequired.Name()] = i } } + // Maybe serialize property "automaticApproval" + if this.GoToSocialAutomaticApproval != nil { + if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialAutomaticApproval.Name()] = i + } + } // Maybe serialize property "id" if this.JSONLDId != nil { if i, err := this.JSONLDId.Serialize(); err != nil { @@ -236,6 +302,14 @@ func (this GoToSocialCanLike) Serialize() (map[string]interface{}, error) { m[this.JSONLDId.Name()] = i } } + // Maybe serialize property "manualApproval" + if this.GoToSocialManualApproval != nil { + if i, err := this.GoToSocialManualApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialManualApproval.Name()] = i + } + } // End: Serialize known properties // Begin: Serialize unknown properties @@ -260,6 +334,16 @@ func (this *GoToSocialCanLike) SetGoToSocialApprovalRequired(i vocab.GoToSocialA this.GoToSocialApprovalRequired = i } +// SetGoToSocialAutomaticApproval sets the "automaticApproval" property. +func (this *GoToSocialCanLike) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) { + this.GoToSocialAutomaticApproval = i +} + +// SetGoToSocialManualApproval sets the "manualApproval" property. +func (this *GoToSocialCanLike) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) { + this.GoToSocialManualApproval = i +} + // SetJSONLDId sets the "id" property. func (this *GoToSocialCanLike) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go new file mode 100644 index 000000000..99859f18c --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typecanquote contains the implementation for the CanQuote type. All +// applications are strongly encouraged to use the interface instead of this +// concrete definition. The interfaces allow applications to consume only the +// types and properties needed and be independent of the go-fed implementation +// if another alternative implementation is created. This package is +// code-generated and subject to the same license as the go-fed tool used to +// generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typecanquote diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go new file mode 100644 index 000000000..7de8769fb --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go @@ -0,0 +1,63 @@ +// Code generated by astool. DO NOT EDIT. + +package typecanquote + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeAlwaysPropertyGoToSocial returns the deserialization method + // for the "GoToSocialAlwaysProperty" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAlwaysPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAlwaysProperty, error) + // DeserializeApprovalRequiredPropertyGoToSocial returns the + // deserialization method for the "GoToSocialApprovalRequiredProperty" + // non-functional property in the vocabulary "GoToSocial" + DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error) + // DeserializeAutomaticApprovalPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialAutomaticApprovalProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeManualApprovalPropertyGoToSocial returns the deserialization + // method for the "GoToSocialManualApprovalProperty" non-functional + // property in the vocabulary "GoToSocial" + DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go new file mode 100644 index 000000000..4cf8034ef --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go @@ -0,0 +1,372 @@ +// Code generated by astool. DO NOT EDIT. + +package typecanquote + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +type GoToSocialCanQuote struct { + GoToSocialAlways vocab.GoToSocialAlwaysProperty + GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty + GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty + JSONLDId vocab.JSONLDIdProperty + GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty + alias string + unknown map[string]interface{} +} + +// CanQuoteIsDisjointWith returns true if the other provided type is disjoint with +// the CanQuote type. +func CanQuoteIsDisjointWith(other vocab.Type) bool { + // Shortcut implementation: is not disjoint with anything. + return false +} + +// CanQuoteIsExtendedBy returns true if the other provided type extends from the +// CanQuote type. Note that it returns false if the types are the same; see +// the "IsOrExtendsCanQuote" variant instead. +func CanQuoteIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// DeserializeCanQuote creates a CanQuote from a map representation that has been +// unmarshalled from a text or binary format. +func DeserializeCanQuote(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialCanQuote, error) { + alias := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + } + this := &GoToSocialCanQuote{ + alias: alias, + unknown: make(map[string]interface{}), + } + + // Begin: Known property deserialization + if p, err := mgr.DeserializeAlwaysPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialAlways = p + } + if p, err := mgr.DeserializeApprovalRequiredPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialApprovalRequired = p + } + if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialAutomaticApproval = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialManualApproval = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "always" { + continue + } else if k == "approvalRequired" { + continue + } else if k == "automaticApproval" { + continue + } else if k == "id" { + continue + } else if k == "manualApproval" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialCanQuoteExtends returns true if the CanQuote type extends from the +// other type. +func GoToSocialCanQuoteExtends(other vocab.Type) bool { + // Shortcut implementation: this does not extend anything. + return false +} + +// IsOrExtendsCanQuote returns true if the other provided type is the CanQuote +// type or extends from the CanQuote type. +func IsOrExtendsCanQuote(other vocab.Type) bool { + if other.GetTypeName() == "CanQuote" { + return true + } + return CanQuoteIsExtendedBy(other) +} + +// NewGoToSocialCanQuote creates a new CanQuote type +func NewGoToSocialCanQuote() *GoToSocialCanQuote { + return &GoToSocialCanQuote{ + alias: "", + unknown: make(map[string]interface{}), + } +} + +// GetGoToSocialAlways returns the "always" property if it exists, and nil +// otherwise. +func (this GoToSocialCanQuote) GetGoToSocialAlways() vocab.GoToSocialAlwaysProperty { + return this.GoToSocialAlways +} + +// GetGoToSocialApprovalRequired returns the "approvalRequired" property if it +// exists, and nil otherwise. +func (this GoToSocialCanQuote) GetGoToSocialApprovalRequired() vocab.GoToSocialApprovalRequiredProperty { + return this.GoToSocialApprovalRequired +} + +// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it +// exists, and nil otherwise. +func (this GoToSocialCanQuote) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty { + return this.GoToSocialAutomaticApproval +} + +// GetGoToSocialManualApproval returns the "manualApproval" property if it exists, +// and nil otherwise. +func (this GoToSocialCanQuote) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty { + return this.GoToSocialManualApproval +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialCanQuote) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetTypeName returns the name of this type. +func (this GoToSocialCanQuote) GetTypeName() string { + return "CanQuote" +} + +// GetUnknownProperties returns the unknown properties for the CanQuote type. Note +// that this should not be used by app developers. It is only used to help +// determine which implementation is LessThan the other. Developers who are +// creating a different implementation of this type's interface can use this +// method in their LessThan implementation, but routine ActivityPub +// applications should not use this to bypass the code generation tool. +func (this GoToSocialCanQuote) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the CanQuote type extends from the other type. +func (this GoToSocialCanQuote) IsExtending(other vocab.Type) bool { + return GoToSocialCanQuoteExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialCanQuote) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.GoToSocialAlways, m) + m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m) + m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.GoToSocialManualApproval, m) + + return m +} + +// LessThan computes if this CanQuote is lesser, with an arbitrary but stable +// determination. +func (this GoToSocialCanQuote) LessThan(o vocab.GoToSocialCanQuote) bool { + // Begin: Compare known properties + // Compare property "always" + if lhs, rhs := this.GoToSocialAlways, o.GetGoToSocialAlways(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "approvalRequired" + if lhs, rhs := this.GoToSocialApprovalRequired, o.GetGoToSocialApprovalRequired(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "automaticApproval" + if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "manualApproval" + if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialCanQuote) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + // Begin: Serialize known properties + // Maybe serialize property "always" + if this.GoToSocialAlways != nil { + if i, err := this.GoToSocialAlways.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialAlways.Name()] = i + } + } + // Maybe serialize property "approvalRequired" + if this.GoToSocialApprovalRequired != nil { + if i, err := this.GoToSocialApprovalRequired.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialApprovalRequired.Name()] = i + } + } + // Maybe serialize property "automaticApproval" + if this.GoToSocialAutomaticApproval != nil { + if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialAutomaticApproval.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "manualApproval" + if this.GoToSocialManualApproval != nil { + if i, err := this.GoToSocialManualApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialManualApproval.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetGoToSocialAlways sets the "always" property. +func (this *GoToSocialCanQuote) SetGoToSocialAlways(i vocab.GoToSocialAlwaysProperty) { + this.GoToSocialAlways = i +} + +// SetGoToSocialApprovalRequired sets the "approvalRequired" property. +func (this *GoToSocialCanQuote) SetGoToSocialApprovalRequired(i vocab.GoToSocialApprovalRequiredProperty) { + this.GoToSocialApprovalRequired = i +} + +// SetGoToSocialAutomaticApproval sets the "automaticApproval" property. +func (this *GoToSocialCanQuote) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) { + this.GoToSocialAutomaticApproval = i +} + +// SetGoToSocialManualApproval sets the "manualApproval" property. +func (this *GoToSocialCanQuote) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) { + this.GoToSocialManualApproval = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialCanQuote) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialCanQuote) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialCanQuote) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go index e90fff4fa..20a991c1a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go @@ -19,10 +19,19 @@ type privateManager interface { // deserialization method for the "GoToSocialApprovalRequiredProperty" // non-functional property in the vocabulary "GoToSocial" DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error) + // DeserializeAutomaticApprovalPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialAutomaticApprovalProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) // DeserializeIdPropertyJSONLD returns the deserialization method for the // "JSONLDIdProperty" non-functional property in the vocabulary // "JSONLD" DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeManualApprovalPropertyGoToSocial returns the deserialization + // method for the "GoToSocialManualApprovalProperty" non-functional + // property in the vocabulary "GoToSocial" + DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) } // jsonldContexter is a private interface to determine the JSON-LD contexts and diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go index ec0834274..c0cfe9fed 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go @@ -5,11 +5,13 @@ package typecanreply import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" type GoToSocialCanReply struct { - GoToSocialAlways vocab.GoToSocialAlwaysProperty - GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty - JSONLDId vocab.JSONLDIdProperty - alias string - unknown map[string]interface{} + GoToSocialAlways vocab.GoToSocialAlwaysProperty + GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty + GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty + JSONLDId vocab.JSONLDIdProperty + GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty + alias string + unknown map[string]interface{} } // CanReplyIsDisjointWith returns true if the other provided type is disjoint with @@ -50,11 +52,21 @@ func DeserializeCanReply(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.GoToSocialApprovalRequired = p } + if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialAutomaticApproval = p + } if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.JSONLDId = p } + if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialManualApproval = p + } // End: Known property deserialization // Begin: Unknown deserialization @@ -64,8 +76,12 @@ func DeserializeCanReply(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "approvalRequired" { continue + } else if k == "automaticApproval" { + continue } else if k == "id" { continue + } else if k == "manualApproval" { + continue } // End: Code that ensures a property name is unknown this.unknown[k] = v @@ -111,6 +127,18 @@ func (this GoToSocialCanReply) GetGoToSocialApprovalRequired() vocab.GoToSocialA return this.GoToSocialApprovalRequired } +// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it +// exists, and nil otherwise. +func (this GoToSocialCanReply) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty { + return this.GoToSocialAutomaticApproval +} + +// GetGoToSocialManualApproval returns the "manualApproval" property if it exists, +// and nil otherwise. +func (this GoToSocialCanReply) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty { + return this.GoToSocialManualApproval +} + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this GoToSocialCanReply) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -143,7 +171,9 @@ func (this GoToSocialCanReply) JSONLDContext() map[string]string { m := map[string]string{"https://gotosocial.org/ns": this.alias} m = this.helperJSONLDContext(this.GoToSocialAlways, m) m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m) + m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m) m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.GoToSocialManualApproval, m) return m } @@ -180,6 +210,20 @@ func (this GoToSocialCanReply) LessThan(o vocab.GoToSocialCanReply) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "automaticApproval" + if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "id" if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -194,6 +238,20 @@ func (this GoToSocialCanReply) LessThan(o vocab.GoToSocialCanReply) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "manualApproval" + if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // End: Compare known properties // Begin: Compare unknown properties (only by number of them) @@ -228,6 +286,14 @@ func (this GoToSocialCanReply) Serialize() (map[string]interface{}, error) { m[this.GoToSocialApprovalRequired.Name()] = i } } + // Maybe serialize property "automaticApproval" + if this.GoToSocialAutomaticApproval != nil { + if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialAutomaticApproval.Name()] = i + } + } // Maybe serialize property "id" if this.JSONLDId != nil { if i, err := this.JSONLDId.Serialize(); err != nil { @@ -236,6 +302,14 @@ func (this GoToSocialCanReply) Serialize() (map[string]interface{}, error) { m[this.JSONLDId.Name()] = i } } + // Maybe serialize property "manualApproval" + if this.GoToSocialManualApproval != nil { + if i, err := this.GoToSocialManualApproval.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialManualApproval.Name()] = i + } + } // End: Serialize known properties // Begin: Serialize unknown properties @@ -260,6 +334,16 @@ func (this *GoToSocialCanReply) SetGoToSocialApprovalRequired(i vocab.GoToSocial this.GoToSocialApprovalRequired = i } +// SetGoToSocialAutomaticApproval sets the "automaticApproval" property. +func (this *GoToSocialCanReply) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) { + this.GoToSocialAutomaticApproval = i +} + +// SetGoToSocialManualApproval sets the "manualApproval" property. +func (this *GoToSocialCanReply) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) { + this.GoToSocialManualApproval = i +} + // SetJSONLDId sets the "id" property. func (this *GoToSocialCanReply) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go index bba9d6912..aa7273b19 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go @@ -19,6 +19,10 @@ type privateManager interface { // for the "GoToSocialCanLikeProperty" non-functional property in the // vocabulary "GoToSocial" DeserializeCanLikePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanLikeProperty, error) + // DeserializeCanQuotePropertyGoToSocial returns the deserialization + // method for the "GoToSocialCanQuoteProperty" non-functional property + // in the vocabulary "GoToSocial" + DeserializeCanQuotePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuoteProperty, error) // DeserializeCanReplyPropertyGoToSocial returns the deserialization // method for the "GoToSocialCanReplyProperty" non-functional property // in the vocabulary "GoToSocial" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go index ae2725f28..3c2600baf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go @@ -8,6 +8,7 @@ import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" type GoToSocialInteractionPolicy struct { GoToSocialCanAnnounce vocab.GoToSocialCanAnnounceProperty GoToSocialCanLike vocab.GoToSocialCanLikeProperty + GoToSocialCanQuote vocab.GoToSocialCanQuoteProperty GoToSocialCanReply vocab.GoToSocialCanReplyProperty JSONLDId vocab.JSONLDIdProperty alias string @@ -37,6 +38,11 @@ func DeserializeInteractionPolicy(m map[string]interface{}, aliasMap map[string] } else if p != nil { this.GoToSocialCanLike = p } + if p, err := mgr.DeserializeCanQuotePropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialCanQuote = p + } if p, err := mgr.DeserializeCanReplyPropertyGoToSocial()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -56,6 +62,8 @@ func DeserializeInteractionPolicy(m map[string]interface{}, aliasMap map[string] continue } else if k == "canLike" { continue + } else if k == "canQuote" { + continue } else if k == "canReply" { continue } else if k == "id" { @@ -120,6 +128,12 @@ func (this GoToSocialInteractionPolicy) GetGoToSocialCanLike() vocab.GoToSocialC return this.GoToSocialCanLike } +// GetGoToSocialCanQuote returns the "canQuote" property if it exists, and nil +// otherwise. +func (this GoToSocialInteractionPolicy) GetGoToSocialCanQuote() vocab.GoToSocialCanQuoteProperty { + return this.GoToSocialCanQuote +} + // GetGoToSocialCanReply returns the "canReply" property if it exists, and nil // otherwise. func (this GoToSocialInteractionPolicy) GetGoToSocialCanReply() vocab.GoToSocialCanReplyProperty { @@ -159,6 +173,7 @@ func (this GoToSocialInteractionPolicy) JSONLDContext() map[string]string { m := map[string]string{"https://gotosocial.org/ns": this.alias} m = this.helperJSONLDContext(this.GoToSocialCanAnnounce, m) m = this.helperJSONLDContext(this.GoToSocialCanLike, m) + m = this.helperJSONLDContext(this.GoToSocialCanQuote, m) m = this.helperJSONLDContext(this.GoToSocialCanReply, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -197,6 +212,20 @@ func (this GoToSocialInteractionPolicy) LessThan(o vocab.GoToSocialInteractionPo // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "canQuote" + if lhs, rhs := this.GoToSocialCanQuote, o.GetGoToSocialCanQuote(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "canReply" if lhs, rhs := this.GoToSocialCanReply, o.GetGoToSocialCanReply(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -259,6 +288,14 @@ func (this GoToSocialInteractionPolicy) Serialize() (map[string]interface{}, err m[this.GoToSocialCanLike.Name()] = i } } + // Maybe serialize property "canQuote" + if this.GoToSocialCanQuote != nil { + if i, err := this.GoToSocialCanQuote.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialCanQuote.Name()] = i + } + } // Maybe serialize property "canReply" if this.GoToSocialCanReply != nil { if i, err := this.GoToSocialCanReply.Serialize(); err != nil { @@ -299,6 +336,11 @@ func (this *GoToSocialInteractionPolicy) SetGoToSocialCanLike(i vocab.GoToSocial this.GoToSocialCanLike = i } +// SetGoToSocialCanQuote sets the "canQuote" property. +func (this *GoToSocialInteractionPolicy) SetGoToSocialCanQuote(i vocab.GoToSocialCanQuoteProperty) { + this.GoToSocialCanQuote = i +} + // SetGoToSocialCanReply sets the "canReply" property. func (this *GoToSocialInteractionPolicy) SetGoToSocialCanReply(i vocab.GoToSocialCanReplyProperty) { this.GoToSocialCanReply = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go index 96db9c645..36eeac229 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go @@ -8,6 +8,7 @@ import ( "strings" ) +// DEPRECATED: Use `LikeAuthorization` instead. type GoToSocialLikeApproval struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go new file mode 100644 index 000000000..b40a8815a --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typelikeauthorization contains the implementation for the +// LikeAuthorization type. All applications are strongly encouraged to use the +// interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typelikeauthorization diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go new file mode 100644 index 000000000..969bcc512 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go @@ -0,0 +1,189 @@ +// Code generated by astool. DO NOT EDIT. + +package typelikeauthorization + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeInteractingObjectPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialInteractingObjectProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) + // DeserializeInteractionTargetPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialInteractionTargetProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // DeserializeSensitivePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSensitiveProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) + // DeserializeSharesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSharesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) + // DeserializeSourcePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSourceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) + // DeserializeStartTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsStartTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) + // DeserializeSummaryPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSummaryProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) + // DeserializeTagPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTagProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) + // DeserializeToPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsToProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error) + // DeserializeTypePropertyJSONLD returns the deserialization method for + // the "JSONLDTypeProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) + // DeserializeUpdatedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUpdatedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) + // DeserializeUrlPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUrlProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go new file mode 100644 index 000000000..4c049fb39 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go @@ -0,0 +1,1724 @@ +// Code generated by astool. DO NOT EDIT. + +package typelikeauthorization + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "strings" +) + +type GoToSocialLikeAuthorization struct { + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + GoToSocialInteractingObject vocab.GoToSocialInteractingObjectProperty + GoToSocialInteractionTarget vocab.GoToSocialInteractionTargetProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty + ActivityStreamsShares vocab.ActivityStreamsSharesProperty + ActivityStreamsSource vocab.ActivityStreamsSourceProperty + ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + ActivityStreamsTag vocab.ActivityStreamsTagProperty + ActivityStreamsTo vocab.ActivityStreamsToProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty + ActivityStreamsUrl vocab.ActivityStreamsUrlProperty + alias string + unknown map[string]interface{} +} + +// DeserializeLikeAuthorization creates a LikeAuthorization from a map +// representation that has been unmarshalled from a text or binary format. +func DeserializeLikeAuthorization(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialLikeAuthorization, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &GoToSocialLikeAuthorization{ + alias: alias, + unknown: make(map[string]interface{}), + } + if typeValue, ok := m["type"]; !ok { + return nil, fmt.Errorf("no \"type\" property in map") + } else if typeString, ok := typeValue.(string); ok { + typeName := strings.TrimPrefix(typeString, aliasPrefix) + if typeName != "LikeAuthorization" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "LikeAuthorization", typeName) + } + // Fall through, success in finding a proper Type + } else if arrType, ok := typeValue.([]interface{}); ok { + found := false + for _, elemVal := range arrType { + if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "LikeAuthorization" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "LikeAuthorization") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeInteractingObjectPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialInteractingObject = p + } + if p, err := mgr.DeserializeInteractionTargetPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialInteractionTarget = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSensitive = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "interactingObject" { + continue + } else if k == "interactionTarget" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "sensitive" { + continue + } else if k == "shares" { + continue + } else if k == "source" { + continue + } else if k == "startTime" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "tag" { + continue + } else if k == "to" { + continue + } else if k == "type" { + continue + } else if k == "updated" { + continue + } else if k == "url" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialLikeAuthorizationExtends returns true if the LikeAuthorization type +// extends from the other type. +func GoToSocialLikeAuthorizationExtends(other vocab.Type) bool { + extensions := []string{"Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// IsOrExtendsLikeAuthorization returns true if the other provided type is the +// LikeAuthorization type or extends from the LikeAuthorization type. +func IsOrExtendsLikeAuthorization(other vocab.Type) bool { + if other.GetTypeName() == "LikeAuthorization" { + return true + } + return LikeAuthorizationIsExtendedBy(other) +} + +// LikeAuthorizationIsDisjointWith returns true if the other provided type is +// disjoint with the LikeAuthorization type. +func LikeAuthorizationIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Hashtag", "Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// LikeAuthorizationIsExtendedBy returns true if the other provided type extends +// from the LikeAuthorization type. Note that it returns false if the types +// are the same; see the "IsOrExtendsLikeAuthorization" variant instead. +func LikeAuthorizationIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// NewGoToSocialLikeAuthorization creates a new LikeAuthorization type +func NewGoToSocialLikeAuthorization() *GoToSocialLikeAuthorization { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("LikeAuthorization") + return &GoToSocialLikeAuthorization{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { + return this.ActivityStreamsSensitive +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeAuthorization) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetGoToSocialInteractingObject returns the "interactingObject" property if it +// exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetGoToSocialInteractingObject() vocab.GoToSocialInteractingObjectProperty { + return this.GoToSocialInteractingObject +} + +// GetGoToSocialInteractionTarget returns the "interactionTarget" property if it +// exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetGoToSocialInteractionTarget() vocab.GoToSocialInteractionTargetProperty { + return this.GoToSocialInteractionTarget +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this GoToSocialLikeAuthorization) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this GoToSocialLikeAuthorization) GetTypeName() string { + return "LikeAuthorization" +} + +// GetUnknownProperties returns the unknown properties for the LikeAuthorization +// type. Note that this should not be used by app developers. It is only used +// to help determine which implementation is LessThan the other. Developers +// who are creating a different implementation of this type's interface can +// use this method in their LessThan implementation, but routine ActivityPub +// applications should not use this to bypass the code generation tool. +func (this GoToSocialLikeAuthorization) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the LikeAuthorization type extends from the other +// type. +func (this GoToSocialLikeAuthorization) IsExtending(other vocab.Type) bool { + return GoToSocialLikeAuthorizationExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialLikeAuthorization) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.GoToSocialInteractingObject, m) + m = this.helperJSONLDContext(this.GoToSocialInteractionTarget, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) + m = this.helperJSONLDContext(this.ActivityStreamsShares, m) + m = this.helperJSONLDContext(this.ActivityStreamsSource, m) + m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.ActivityStreamsTag, m) + m = this.helperJSONLDContext(this.ActivityStreamsTo, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) + m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) + + return m +} + +// LessThan computes if this LikeAuthorization is lesser, with an arbitrary but +// stable determination. +func (this GoToSocialLikeAuthorization) LessThan(o vocab.GoToSocialLikeAuthorization) bool { + // Begin: Compare known properties + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "interactingObject" + if lhs, rhs := this.GoToSocialInteractingObject, o.GetGoToSocialInteractingObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "interactionTarget" + if lhs, rhs := this.GoToSocialInteractionTarget, o.GetGoToSocialInteractionTarget(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "sensitive" + if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "shares" + if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "source" + if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "startTime" + if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "summary" + if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "tag" + if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "to" + if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "type" + if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "updated" + if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "url" + if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialLikeAuthorization) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "LikeAuthorization" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "LikeAuthorization" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "interactingObject" + if this.GoToSocialInteractingObject != nil { + if i, err := this.GoToSocialInteractingObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialInteractingObject.Name()] = i + } + } + // Maybe serialize property "interactionTarget" + if this.GoToSocialInteractionTarget != nil { + if i, err := this.GoToSocialInteractionTarget.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialInteractionTarget.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "sensitive" + if this.ActivityStreamsSensitive != nil { + if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSensitive.Name()] = i + } + } + // Maybe serialize property "shares" + if this.ActivityStreamsShares != nil { + if i, err := this.ActivityStreamsShares.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsShares.Name()] = i + } + } + // Maybe serialize property "source" + if this.ActivityStreamsSource != nil { + if i, err := this.ActivityStreamsSource.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSource.Name()] = i + } + } + // Maybe serialize property "startTime" + if this.ActivityStreamsStartTime != nil { + if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsStartTime.Name()] = i + } + } + // Maybe serialize property "summary" + if this.ActivityStreamsSummary != nil { + if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSummary.Name()] = i + } + } + // Maybe serialize property "tag" + if this.ActivityStreamsTag != nil { + if i, err := this.ActivityStreamsTag.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTag.Name()] = i + } + } + // Maybe serialize property "to" + if this.ActivityStreamsTo != nil { + if i, err := this.ActivityStreamsTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTo.Name()] = i + } + } + // Maybe serialize property "type" + if this.JSONLDType != nil { + if i, err := this.JSONLDType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDType.Name()] = i + } + } + // Maybe serialize property "updated" + if this.ActivityStreamsUpdated != nil { + if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUpdated.Name()] = i + } + } + // Maybe serialize property "url" + if this.ActivityStreamsUrl != nil { + if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUrl.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetActivityStreamsAltitude sets the "altitude" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsSensitive sets the "sensitive" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { + this.ActivityStreamsSensitive = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *GoToSocialLikeAuthorization) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetGoToSocialInteractingObject sets the "interactingObject" property. +func (this *GoToSocialLikeAuthorization) SetGoToSocialInteractingObject(i vocab.GoToSocialInteractingObjectProperty) { + this.GoToSocialInteractingObject = i +} + +// SetGoToSocialInteractionTarget sets the "interactionTarget" property. +func (this *GoToSocialLikeAuthorization) SetGoToSocialInteractionTarget(i vocab.GoToSocialInteractionTargetProperty) { + this.GoToSocialInteractionTarget = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialLikeAuthorization) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *GoToSocialLikeAuthorization) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialLikeAuthorization) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialLikeAuthorization) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go new file mode 100644 index 000000000..c646e390d --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typelikerequest contains the implementation for the LikeRequest type. +// All applications are strongly encouraged to use the interface instead of +// this concrete definition. The interfaces allow applications to consume only +// the types and properties needed and be independent of the go-fed +// implementation if another alternative implementation is created. This +// package is code-generated and subject to the same license as the go-fed +// tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typelikerequest diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go new file mode 100644 index 000000000..d6aa37ba6 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go @@ -0,0 +1,199 @@ +// Code generated by astool. DO NOT EDIT. + +package typelikerequest + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeActorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsActorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error) + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeInstrumentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsInstrumentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializeOriginPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsOriginProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // DeserializeResultPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsResultProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, error) + // DeserializeSensitivePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSensitiveProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) + // DeserializeSharesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSharesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) + // DeserializeSourcePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSourceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) + // DeserializeStartTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsStartTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) + // DeserializeSummaryPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSummaryProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) + // DeserializeTagPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTagProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) + // DeserializeTargetPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTargetProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) + // DeserializeToPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsToProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error) + // DeserializeTypePropertyJSONLD returns the deserialization method for + // the "JSONLDTypeProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) + // DeserializeUpdatedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUpdatedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) + // DeserializeUrlPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUrlProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go new file mode 100644 index 000000000..20eaf0895 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go @@ -0,0 +1,1849 @@ +// Code generated by astool. DO NOT EDIT. + +package typelikerequest + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "strings" +) + +type GoToSocialLikeRequest struct { + ActivityStreamsActor vocab.ActivityStreamsActorProperty + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + ActivityStreamsResult vocab.ActivityStreamsResultProperty + ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty + ActivityStreamsShares vocab.ActivityStreamsSharesProperty + ActivityStreamsSource vocab.ActivityStreamsSourceProperty + ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + ActivityStreamsTag vocab.ActivityStreamsTagProperty + ActivityStreamsTarget vocab.ActivityStreamsTargetProperty + ActivityStreamsTo vocab.ActivityStreamsToProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty + ActivityStreamsUrl vocab.ActivityStreamsUrlProperty + alias string + unknown map[string]interface{} +} + +// DeserializeLikeRequest creates a LikeRequest from a map representation that has +// been unmarshalled from a text or binary format. +func DeserializeLikeRequest(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialLikeRequest, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &GoToSocialLikeRequest{ + alias: alias, + unknown: make(map[string]interface{}), + } + if typeValue, ok := m["type"]; !ok { + return nil, fmt.Errorf("no \"type\" property in map") + } else if typeString, ok := typeValue.(string); ok { + typeName := strings.TrimPrefix(typeString, aliasPrefix) + if typeName != "LikeRequest" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "LikeRequest", typeName) + } + // Fall through, success in finding a proper Type + } else if arrType, ok := typeValue.([]interface{}); ok { + found := false + for _, elemVal := range arrType { + if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "LikeRequest" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "LikeRequest") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsActor = p + } + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInstrument = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsOrigin = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsResult = p + } + if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSensitive = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTarget = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "actor" { + continue + } else if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "instrument" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "origin" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "result" { + continue + } else if k == "sensitive" { + continue + } else if k == "shares" { + continue + } else if k == "source" { + continue + } else if k == "startTime" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "tag" { + continue + } else if k == "target" { + continue + } else if k == "to" { + continue + } else if k == "type" { + continue + } else if k == "updated" { + continue + } else if k == "url" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialLikeRequestExtends returns true if the LikeRequest type extends from +// the other type. +func GoToSocialLikeRequestExtends(other vocab.Type) bool { + extensions := []string{"Activity", "Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// IsOrExtendsLikeRequest returns true if the other provided type is the +// LikeRequest type or extends from the LikeRequest type. +func IsOrExtendsLikeRequest(other vocab.Type) bool { + if other.GetTypeName() == "LikeRequest" { + return true + } + return LikeRequestIsExtendedBy(other) +} + +// LikeRequestIsDisjointWith returns true if the other provided type is disjoint +// with the LikeRequest type. +func LikeRequestIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Hashtag", "Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// LikeRequestIsExtendedBy returns true if the other provided type extends from +// the LikeRequest type. Note that it returns false if the types are the same; +// see the "IsOrExtendsLikeRequest" variant instead. +func LikeRequestIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// NewGoToSocialLikeRequest creates a new LikeRequest type +func NewGoToSocialLikeRequest() *GoToSocialLikeRequest { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("LikeRequest") + return &GoToSocialLikeRequest{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// GetActivityStreamsActor returns the "actor" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty { + return this.ActivityStreamsActor +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsInstrument returns the "instrument" property if it exists, +// and nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty { + return this.ActivityStreamsInstrument +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty { + return this.ActivityStreamsOrigin +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsResult returns the "result" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty { + return this.ActivityStreamsResult +} + +// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { + return this.ActivityStreamsSensitive +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTarget returns the "target" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty { + return this.ActivityStreamsTarget +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this GoToSocialLikeRequest) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialLikeRequest) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this GoToSocialLikeRequest) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this GoToSocialLikeRequest) GetTypeName() string { + return "LikeRequest" +} + +// GetUnknownProperties returns the unknown properties for the LikeRequest type. +// Note that this should not be used by app developers. It is only used to +// help determine which implementation is LessThan the other. Developers who +// are creating a different implementation of this type's interface can use +// this method in their LessThan implementation, but routine ActivityPub +// applications should not use this to bypass the code generation tool. +func (this GoToSocialLikeRequest) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the LikeRequest type extends from the other type. +func (this GoToSocialLikeRequest) IsExtending(other vocab.Type) bool { + return GoToSocialLikeRequestExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialLikeRequest) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsActor, m) + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsInstrument, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsOrigin, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.ActivityStreamsResult, m) + m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) + m = this.helperJSONLDContext(this.ActivityStreamsShares, m) + m = this.helperJSONLDContext(this.ActivityStreamsSource, m) + m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.ActivityStreamsTag, m) + m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) + m = this.helperJSONLDContext(this.ActivityStreamsTo, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) + m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) + + return m +} + +// LessThan computes if this LikeRequest is lesser, with an arbitrary but stable +// determination. +func (this GoToSocialLikeRequest) LessThan(o vocab.GoToSocialLikeRequest) bool { + // Begin: Compare known properties + // Compare property "actor" + if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "instrument" + if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "origin" + if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "result" + if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "sensitive" + if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "shares" + if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "source" + if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "startTime" + if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "summary" + if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "tag" + if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "target" + if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "to" + if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "type" + if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "updated" + if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "url" + if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialLikeRequest) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "LikeRequest" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "LikeRequest" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "actor" + if this.ActivityStreamsActor != nil { + if i, err := this.ActivityStreamsActor.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsActor.Name()] = i + } + } + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "instrument" + if this.ActivityStreamsInstrument != nil { + if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInstrument.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "origin" + if this.ActivityStreamsOrigin != nil { + if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsOrigin.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "result" + if this.ActivityStreamsResult != nil { + if i, err := this.ActivityStreamsResult.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsResult.Name()] = i + } + } + // Maybe serialize property "sensitive" + if this.ActivityStreamsSensitive != nil { + if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSensitive.Name()] = i + } + } + // Maybe serialize property "shares" + if this.ActivityStreamsShares != nil { + if i, err := this.ActivityStreamsShares.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsShares.Name()] = i + } + } + // Maybe serialize property "source" + if this.ActivityStreamsSource != nil { + if i, err := this.ActivityStreamsSource.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSource.Name()] = i + } + } + // Maybe serialize property "startTime" + if this.ActivityStreamsStartTime != nil { + if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsStartTime.Name()] = i + } + } + // Maybe serialize property "summary" + if this.ActivityStreamsSummary != nil { + if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSummary.Name()] = i + } + } + // Maybe serialize property "tag" + if this.ActivityStreamsTag != nil { + if i, err := this.ActivityStreamsTag.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTag.Name()] = i + } + } + // Maybe serialize property "target" + if this.ActivityStreamsTarget != nil { + if i, err := this.ActivityStreamsTarget.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTarget.Name()] = i + } + } + // Maybe serialize property "to" + if this.ActivityStreamsTo != nil { + if i, err := this.ActivityStreamsTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTo.Name()] = i + } + } + // Maybe serialize property "type" + if this.JSONLDType != nil { + if i, err := this.JSONLDType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDType.Name()] = i + } + } + // Maybe serialize property "updated" + if this.ActivityStreamsUpdated != nil { + if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUpdated.Name()] = i + } + } + // Maybe serialize property "url" + if this.ActivityStreamsUrl != nil { + if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUrl.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetActivityStreamsActor sets the "actor" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) { + this.ActivityStreamsActor = i +} + +// SetActivityStreamsAltitude sets the "altitude" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsInstrument sets the "instrument" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) { + this.ActivityStreamsInstrument = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsOrigin sets the "origin" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) { + this.ActivityStreamsOrigin = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsResult sets the "result" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) { + this.ActivityStreamsResult = i +} + +// SetActivityStreamsSensitive sets the "sensitive" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { + this.ActivityStreamsSensitive = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTarget sets the "target" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) { + this.ActivityStreamsTarget = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *GoToSocialLikeRequest) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialLikeRequest) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *GoToSocialLikeRequest) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialLikeRequest) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialLikeRequest) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go index 613fb72b5..c7c9bb38f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go @@ -8,6 +8,7 @@ import ( "strings" ) +// DEPRECATED: Use `ReplyAuthorization` instead. type GoToSocialReplyApproval struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go new file mode 100644 index 000000000..c25dc7ae7 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typereplyauthorization contains the implementation for the +// ReplyAuthorization type. All applications are strongly encouraged to use +// the interface instead of this concrete definition. The interfaces allow +// applications to consume only the types and properties needed and be +// independent of the go-fed implementation if another alternative +// implementation is created. This package is code-generated and subject to +// the same license as the go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typereplyauthorization diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go new file mode 100644 index 000000000..adcdec7e2 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go @@ -0,0 +1,189 @@ +// Code generated by astool. DO NOT EDIT. + +package typereplyauthorization + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeInteractingObjectPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialInteractingObjectProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) + // DeserializeInteractionTargetPropertyGoToSocial returns the + // deserialization method for the + // "GoToSocialInteractionTargetProperty" non-functional property in + // the vocabulary "GoToSocial" + DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // DeserializeSensitivePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSensitiveProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) + // DeserializeSharesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSharesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) + // DeserializeSourcePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSourceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) + // DeserializeStartTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsStartTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) + // DeserializeSummaryPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSummaryProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) + // DeserializeTagPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTagProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) + // DeserializeToPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsToProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error) + // DeserializeTypePropertyJSONLD returns the deserialization method for + // the "JSONLDTypeProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) + // DeserializeUpdatedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUpdatedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) + // DeserializeUrlPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUrlProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go new file mode 100644 index 000000000..380e1da85 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go @@ -0,0 +1,1724 @@ +// Code generated by astool. DO NOT EDIT. + +package typereplyauthorization + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "strings" +) + +type GoToSocialReplyAuthorization struct { + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + GoToSocialInteractingObject vocab.GoToSocialInteractingObjectProperty + GoToSocialInteractionTarget vocab.GoToSocialInteractionTargetProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty + ActivityStreamsShares vocab.ActivityStreamsSharesProperty + ActivityStreamsSource vocab.ActivityStreamsSourceProperty + ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + ActivityStreamsTag vocab.ActivityStreamsTagProperty + ActivityStreamsTo vocab.ActivityStreamsToProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty + ActivityStreamsUrl vocab.ActivityStreamsUrlProperty + alias string + unknown map[string]interface{} +} + +// DeserializeReplyAuthorization creates a ReplyAuthorization from a map +// representation that has been unmarshalled from a text or binary format. +func DeserializeReplyAuthorization(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialReplyAuthorization, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &GoToSocialReplyAuthorization{ + alias: alias, + unknown: make(map[string]interface{}), + } + if typeValue, ok := m["type"]; !ok { + return nil, fmt.Errorf("no \"type\" property in map") + } else if typeString, ok := typeValue.(string); ok { + typeName := strings.TrimPrefix(typeString, aliasPrefix) + if typeName != "ReplyAuthorization" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "ReplyAuthorization", typeName) + } + // Fall through, success in finding a proper Type + } else if arrType, ok := typeValue.([]interface{}); ok { + found := false + for _, elemVal := range arrType { + if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "ReplyAuthorization" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "ReplyAuthorization") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeInteractingObjectPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialInteractingObject = p + } + if p, err := mgr.DeserializeInteractionTargetPropertyGoToSocial()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.GoToSocialInteractionTarget = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSensitive = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "interactingObject" { + continue + } else if k == "interactionTarget" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "sensitive" { + continue + } else if k == "shares" { + continue + } else if k == "source" { + continue + } else if k == "startTime" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "tag" { + continue + } else if k == "to" { + continue + } else if k == "type" { + continue + } else if k == "updated" { + continue + } else if k == "url" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialReplyAuthorizationExtends returns true if the ReplyAuthorization type +// extends from the other type. +func GoToSocialReplyAuthorizationExtends(other vocab.Type) bool { + extensions := []string{"Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// IsOrExtendsReplyAuthorization returns true if the other provided type is the +// ReplyAuthorization type or extends from the ReplyAuthorization type. +func IsOrExtendsReplyAuthorization(other vocab.Type) bool { + if other.GetTypeName() == "ReplyAuthorization" { + return true + } + return ReplyAuthorizationIsExtendedBy(other) +} + +// NewGoToSocialReplyAuthorization creates a new ReplyAuthorization type +func NewGoToSocialReplyAuthorization() *GoToSocialReplyAuthorization { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("ReplyAuthorization") + return &GoToSocialReplyAuthorization{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// ReplyAuthorizationIsDisjointWith returns true if the other provided type is +// disjoint with the ReplyAuthorization type. +func ReplyAuthorizationIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Hashtag", "Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// ReplyAuthorizationIsExtendedBy returns true if the other provided type extends +// from the ReplyAuthorization type. Note that it returns false if the types +// are the same; see the "IsOrExtendsReplyAuthorization" variant instead. +func ReplyAuthorizationIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { + return this.ActivityStreamsSensitive +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyAuthorization) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetGoToSocialInteractingObject returns the "interactingObject" property if it +// exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetGoToSocialInteractingObject() vocab.GoToSocialInteractingObjectProperty { + return this.GoToSocialInteractingObject +} + +// GetGoToSocialInteractionTarget returns the "interactionTarget" property if it +// exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetGoToSocialInteractionTarget() vocab.GoToSocialInteractionTargetProperty { + return this.GoToSocialInteractionTarget +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this GoToSocialReplyAuthorization) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this GoToSocialReplyAuthorization) GetTypeName() string { + return "ReplyAuthorization" +} + +// GetUnknownProperties returns the unknown properties for the ReplyAuthorization +// type. Note that this should not be used by app developers. It is only used +// to help determine which implementation is LessThan the other. Developers +// who are creating a different implementation of this type's interface can +// use this method in their LessThan implementation, but routine ActivityPub +// applications should not use this to bypass the code generation tool. +func (this GoToSocialReplyAuthorization) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the ReplyAuthorization type extends from the other +// type. +func (this GoToSocialReplyAuthorization) IsExtending(other vocab.Type) bool { + return GoToSocialReplyAuthorizationExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialReplyAuthorization) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.GoToSocialInteractingObject, m) + m = this.helperJSONLDContext(this.GoToSocialInteractionTarget, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) + m = this.helperJSONLDContext(this.ActivityStreamsShares, m) + m = this.helperJSONLDContext(this.ActivityStreamsSource, m) + m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.ActivityStreamsTag, m) + m = this.helperJSONLDContext(this.ActivityStreamsTo, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) + m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) + + return m +} + +// LessThan computes if this ReplyAuthorization is lesser, with an arbitrary but +// stable determination. +func (this GoToSocialReplyAuthorization) LessThan(o vocab.GoToSocialReplyAuthorization) bool { + // Begin: Compare known properties + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "interactingObject" + if lhs, rhs := this.GoToSocialInteractingObject, o.GetGoToSocialInteractingObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "interactionTarget" + if lhs, rhs := this.GoToSocialInteractionTarget, o.GetGoToSocialInteractionTarget(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "sensitive" + if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "shares" + if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "source" + if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "startTime" + if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "summary" + if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "tag" + if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "to" + if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "type" + if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "updated" + if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "url" + if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialReplyAuthorization) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "ReplyAuthorization" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "ReplyAuthorization" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "interactingObject" + if this.GoToSocialInteractingObject != nil { + if i, err := this.GoToSocialInteractingObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialInteractingObject.Name()] = i + } + } + // Maybe serialize property "interactionTarget" + if this.GoToSocialInteractionTarget != nil { + if i, err := this.GoToSocialInteractionTarget.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.GoToSocialInteractionTarget.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "sensitive" + if this.ActivityStreamsSensitive != nil { + if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSensitive.Name()] = i + } + } + // Maybe serialize property "shares" + if this.ActivityStreamsShares != nil { + if i, err := this.ActivityStreamsShares.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsShares.Name()] = i + } + } + // Maybe serialize property "source" + if this.ActivityStreamsSource != nil { + if i, err := this.ActivityStreamsSource.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSource.Name()] = i + } + } + // Maybe serialize property "startTime" + if this.ActivityStreamsStartTime != nil { + if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsStartTime.Name()] = i + } + } + // Maybe serialize property "summary" + if this.ActivityStreamsSummary != nil { + if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSummary.Name()] = i + } + } + // Maybe serialize property "tag" + if this.ActivityStreamsTag != nil { + if i, err := this.ActivityStreamsTag.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTag.Name()] = i + } + } + // Maybe serialize property "to" + if this.ActivityStreamsTo != nil { + if i, err := this.ActivityStreamsTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTo.Name()] = i + } + } + // Maybe serialize property "type" + if this.JSONLDType != nil { + if i, err := this.JSONLDType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDType.Name()] = i + } + } + // Maybe serialize property "updated" + if this.ActivityStreamsUpdated != nil { + if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUpdated.Name()] = i + } + } + // Maybe serialize property "url" + if this.ActivityStreamsUrl != nil { + if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUrl.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetActivityStreamsAltitude sets the "altitude" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsSensitive sets the "sensitive" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { + this.ActivityStreamsSensitive = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *GoToSocialReplyAuthorization) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetGoToSocialInteractingObject sets the "interactingObject" property. +func (this *GoToSocialReplyAuthorization) SetGoToSocialInteractingObject(i vocab.GoToSocialInteractingObjectProperty) { + this.GoToSocialInteractingObject = i +} + +// SetGoToSocialInteractionTarget sets the "interactionTarget" property. +func (this *GoToSocialReplyAuthorization) SetGoToSocialInteractionTarget(i vocab.GoToSocialInteractionTargetProperty) { + this.GoToSocialInteractionTarget = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialReplyAuthorization) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *GoToSocialReplyAuthorization) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialReplyAuthorization) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialReplyAuthorization) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go new file mode 100644 index 000000000..1e20e43be --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typereplyrequest contains the implementation for the ReplyRequest type. +// All applications are strongly encouraged to use the interface instead of +// this concrete definition. The interfaces allow applications to consume only +// the types and properties needed and be independent of the go-fed +// implementation if another alternative implementation is created. This +// package is code-generated and subject to the same license as the go-fed +// tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package typereplyrequest diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go new file mode 100644 index 000000000..3a4e6793f --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go @@ -0,0 +1,199 @@ +// Code generated by astool. DO NOT EDIT. + +package typereplyrequest + +import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeActorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsActorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error) + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeInstrumentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsInstrumentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializeOriginPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsOriginProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // DeserializeResultPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsResultProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, error) + // DeserializeSensitivePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSensitiveProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) + // DeserializeSharesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSharesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) + // DeserializeSourcePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSourceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) + // DeserializeStartTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsStartTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) + // DeserializeSummaryPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsSummaryProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) + // DeserializeTagPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTagProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) + // DeserializeTargetPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsTargetProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) + // DeserializeToPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsToProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error) + // DeserializeTypePropertyJSONLD returns the deserialization method for + // the "JSONLDTypeProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) + // DeserializeUpdatedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUpdatedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) + // DeserializeUrlPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsUrlProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go new file mode 100644 index 000000000..1a5713092 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go @@ -0,0 +1,1849 @@ +// Code generated by astool. DO NOT EDIT. + +package typereplyrequest + +import ( + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "strings" +) + +type GoToSocialReplyRequest struct { + ActivityStreamsActor vocab.ActivityStreamsActorProperty + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + ActivityStreamsResult vocab.ActivityStreamsResultProperty + ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty + ActivityStreamsShares vocab.ActivityStreamsSharesProperty + ActivityStreamsSource vocab.ActivityStreamsSourceProperty + ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + ActivityStreamsTag vocab.ActivityStreamsTagProperty + ActivityStreamsTarget vocab.ActivityStreamsTargetProperty + ActivityStreamsTo vocab.ActivityStreamsToProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty + ActivityStreamsUrl vocab.ActivityStreamsUrlProperty + alias string + unknown map[string]interface{} +} + +// DeserializeReplyRequest creates a ReplyRequest from a map representation that +// has been unmarshalled from a text or binary format. +func DeserializeReplyRequest(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialReplyRequest, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["https://gotosocial.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &GoToSocialReplyRequest{ + alias: alias, + unknown: make(map[string]interface{}), + } + if typeValue, ok := m["type"]; !ok { + return nil, fmt.Errorf("no \"type\" property in map") + } else if typeString, ok := typeValue.(string); ok { + typeName := strings.TrimPrefix(typeString, aliasPrefix) + if typeName != "ReplyRequest" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "ReplyRequest", typeName) + } + // Fall through, success in finding a proper Type + } else if arrType, ok := typeValue.([]interface{}); ok { + found := false + for _, elemVal := range arrType { + if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "ReplyRequest" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "ReplyRequest") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsActor = p + } + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInstrument = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsOrigin = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsResult = p + } + if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSensitive = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTarget = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "actor" { + continue + } else if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "instrument" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "origin" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "result" { + continue + } else if k == "sensitive" { + continue + } else if k == "shares" { + continue + } else if k == "source" { + continue + } else if k == "startTime" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "tag" { + continue + } else if k == "target" { + continue + } else if k == "to" { + continue + } else if k == "type" { + continue + } else if k == "updated" { + continue + } else if k == "url" { + continue + } // End: Code that ensures a property name is unknown + + this.unknown[k] = v + } + // End: Unknown deserialization + + return this, nil +} + +// GoToSocialReplyRequestExtends returns true if the ReplyRequest type extends +// from the other type. +func GoToSocialReplyRequestExtends(other vocab.Type) bool { + extensions := []string{"Activity", "Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// IsOrExtendsReplyRequest returns true if the other provided type is the +// ReplyRequest type or extends from the ReplyRequest type. +func IsOrExtendsReplyRequest(other vocab.Type) bool { + if other.GetTypeName() == "ReplyRequest" { + return true + } + return ReplyRequestIsExtendedBy(other) +} + +// NewGoToSocialReplyRequest creates a new ReplyRequest type +func NewGoToSocialReplyRequest() *GoToSocialReplyRequest { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("ReplyRequest") + return &GoToSocialReplyRequest{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// ReplyRequestIsDisjointWith returns true if the other provided type is disjoint +// with the ReplyRequest type. +func ReplyRequestIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Hashtag", "Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// ReplyRequestIsExtendedBy returns true if the other provided type extends from +// the ReplyRequest type. Note that it returns false if the types are the +// same; see the "IsOrExtendsReplyRequest" variant instead. +func ReplyRequestIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// GetActivityStreamsActor returns the "actor" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty { + return this.ActivityStreamsActor +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsInstrument returns the "instrument" property if it exists, +// and nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty { + return this.ActivityStreamsInstrument +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty { + return this.ActivityStreamsOrigin +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsResult returns the "result" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty { + return this.ActivityStreamsResult +} + +// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { + return this.ActivityStreamsSensitive +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTarget returns the "target" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty { + return this.ActivityStreamsTarget +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this GoToSocialReplyRequest) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this GoToSocialReplyRequest) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this GoToSocialReplyRequest) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this GoToSocialReplyRequest) GetTypeName() string { + return "ReplyRequest" +} + +// GetUnknownProperties returns the unknown properties for the ReplyRequest type. +// Note that this should not be used by app developers. It is only used to +// help determine which implementation is LessThan the other. Developers who +// are creating a different implementation of this type's interface can use +// this method in their LessThan implementation, but routine ActivityPub +// applications should not use this to bypass the code generation tool. +func (this GoToSocialReplyRequest) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the ReplyRequest type extends from the other type. +func (this GoToSocialReplyRequest) IsExtending(other vocab.Type) bool { + return GoToSocialReplyRequestExtends(other) +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// type and the specific properties that are set. The value in the map is the +// alias used to import the type and its properties. +func (this GoToSocialReplyRequest) JSONLDContext() map[string]string { + m := map[string]string{"https://gotosocial.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsActor, m) + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsInstrument, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsOrigin, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.ActivityStreamsResult, m) + m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) + m = this.helperJSONLDContext(this.ActivityStreamsShares, m) + m = this.helperJSONLDContext(this.ActivityStreamsSource, m) + m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.ActivityStreamsTag, m) + m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) + m = this.helperJSONLDContext(this.ActivityStreamsTo, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) + m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) + + return m +} + +// LessThan computes if this ReplyRequest is lesser, with an arbitrary but stable +// determination. +func (this GoToSocialReplyRequest) LessThan(o vocab.GoToSocialReplyRequest) bool { + // Begin: Compare known properties + // Compare property "actor" + if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "instrument" + if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "origin" + if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "result" + if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "sensitive" + if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "shares" + if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "source" + if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "startTime" + if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "summary" + if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "tag" + if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "target" + if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "to" + if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "type" + if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "updated" + if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "url" + if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // End: Compare known properties + + // Begin: Compare unknown properties (only by number of them) + if len(this.unknown) < len(o.GetUnknownProperties()) { + return true + } else if len(o.GetUnknownProperties()) < len(this.unknown) { + return false + } // End: Compare unknown properties (only by number of them) + + // All properties are the same. + return false +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. +func (this GoToSocialReplyRequest) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "ReplyRequest" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "ReplyRequest" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "actor" + if this.ActivityStreamsActor != nil { + if i, err := this.ActivityStreamsActor.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsActor.Name()] = i + } + } + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "instrument" + if this.ActivityStreamsInstrument != nil { + if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInstrument.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "origin" + if this.ActivityStreamsOrigin != nil { + if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsOrigin.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "result" + if this.ActivityStreamsResult != nil { + if i, err := this.ActivityStreamsResult.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsResult.Name()] = i + } + } + // Maybe serialize property "sensitive" + if this.ActivityStreamsSensitive != nil { + if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSensitive.Name()] = i + } + } + // Maybe serialize property "shares" + if this.ActivityStreamsShares != nil { + if i, err := this.ActivityStreamsShares.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsShares.Name()] = i + } + } + // Maybe serialize property "source" + if this.ActivityStreamsSource != nil { + if i, err := this.ActivityStreamsSource.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSource.Name()] = i + } + } + // Maybe serialize property "startTime" + if this.ActivityStreamsStartTime != nil { + if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsStartTime.Name()] = i + } + } + // Maybe serialize property "summary" + if this.ActivityStreamsSummary != nil { + if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsSummary.Name()] = i + } + } + // Maybe serialize property "tag" + if this.ActivityStreamsTag != nil { + if i, err := this.ActivityStreamsTag.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTag.Name()] = i + } + } + // Maybe serialize property "target" + if this.ActivityStreamsTarget != nil { + if i, err := this.ActivityStreamsTarget.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTarget.Name()] = i + } + } + // Maybe serialize property "to" + if this.ActivityStreamsTo != nil { + if i, err := this.ActivityStreamsTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsTo.Name()] = i + } + } + // Maybe serialize property "type" + if this.JSONLDType != nil { + if i, err := this.JSONLDType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDType.Name()] = i + } + } + // Maybe serialize property "updated" + if this.ActivityStreamsUpdated != nil { + if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUpdated.Name()] = i + } + } + // Maybe serialize property "url" + if this.ActivityStreamsUrl != nil { + if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsUrl.Name()] = i + } + } + // End: Serialize known properties + + // Begin: Serialize unknown properties + for k, v := range this.unknown { + // To be safe, ensure we aren't overwriting a known property + if _, has := m[k]; !has { + m[k] = v + } + } + // End: Serialize unknown properties + + return m, nil +} + +// SetActivityStreamsActor sets the "actor" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) { + this.ActivityStreamsActor = i +} + +// SetActivityStreamsAltitude sets the "altitude" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsInstrument sets the "instrument" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) { + this.ActivityStreamsInstrument = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsOrigin sets the "origin" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) { + this.ActivityStreamsOrigin = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsResult sets the "result" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) { + this.ActivityStreamsResult = i +} + +// SetActivityStreamsSensitive sets the "sensitive" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { + this.ActivityStreamsSensitive = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTarget sets the "target" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) { + this.ActivityStreamsTarget = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *GoToSocialReplyRequest) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetJSONLDId sets the "id" property. +func (this *GoToSocialReplyRequest) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *GoToSocialReplyRequest) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this GoToSocialReplyRequest) VocabularyURI() string { + return "https://gotosocial.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this GoToSocialReplyRequest) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { + if i == nil { + return toMerge + } + for k, v := range i.JSONLDContext() { + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + toMerge[k] = v + } + return toMerge +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go new file mode 100644 index 000000000..150fd5c77 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertyfocalpoint contains the implementation for the focalPoint +// property. All applications are strongly encouraged to use the interface +// instead of this concrete definition. The interfaces allow applications to +// consume only the types and properties needed and be independent of the +// go-fed implementation if another alternative implementation is created. +// This package is code-generated and subject to the same license as the +// go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertyfocalpoint diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go new file mode 100644 index 000000000..2bebe7347 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go @@ -0,0 +1,15 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyfocalpoint + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface{} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go new file mode 100644 index 000000000..cb1eb304c --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go @@ -0,0 +1,531 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyfocalpoint + +import ( + float "codeberg.org/superseriousbusiness/activity/streams/values/float" + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// TootFocalPointPropertyIterator is an iterator for a property. It is permitted +// to be a single default-valued value type. +type TootFocalPointPropertyIterator struct { + xmlschemaFloatMember float64 + hasFloatMember bool + unknown interface{} + iri *url.URL + alias string + myIdx int + parent vocab.TootFocalPointProperty +} + +// NewTootFocalPointPropertyIterator creates a new TootFocalPoint property. +func NewTootFocalPointPropertyIterator() *TootFocalPointPropertyIterator { + return &TootFocalPointPropertyIterator{alias: ""} +} + +// deserializeTootFocalPointPropertyIterator creates an iterator from an element +// that has been unmarshalled from a text or binary format. +func deserializeTootFocalPointPropertyIterator(i interface{}, aliasMap map[string]string) (*TootFocalPointPropertyIterator, error) { + alias := "" + if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok { + alias = a + } + if s, ok := i.(string); ok { + u, err := url.Parse(s) + // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst + // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy + if err == nil && len(u.Scheme) > 0 { + this := &TootFocalPointPropertyIterator{ + alias: alias, + iri: u, + } + return this, nil + } + } + if v, err := float.DeserializeFloat(i); err == nil { + this := &TootFocalPointPropertyIterator{ + alias: alias, + hasFloatMember: true, + xmlschemaFloatMember: v, + } + return this, nil + } + this := &TootFocalPointPropertyIterator{ + alias: alias, + unknown: i, + } + return this, nil +} + +// Get returns the value of this property. When IsXMLSchemaFloat returns false, +// Get will return any arbitrary value. +func (this TootFocalPointPropertyIterator) Get() float64 { + return this.xmlschemaFloatMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this TootFocalPointPropertyIterator) GetIRI() *url.URL { + return this.iri +} + +// HasAny returns true if the value or IRI is set. +func (this TootFocalPointPropertyIterator) HasAny() bool { + return this.IsXMLSchemaFloat() || this.iri != nil +} + +// IsIRI returns true if this property is an IRI. +func (this TootFocalPointPropertyIterator) IsIRI() bool { + return this.iri != nil +} + +// IsXMLSchemaFloat returns true if this property is set and not an IRI. +func (this TootFocalPointPropertyIterator) IsXMLSchemaFloat() bool { + return this.hasFloatMember +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this TootFocalPointPropertyIterator) JSONLDContext() map[string]string { + m := map[string]string{"http://joinmastodon.org/ns": this.alias} + var child map[string]string + + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this TootFocalPointPropertyIterator) KindIndex() int { + if this.IsXMLSchemaFloat() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this TootFocalPointPropertyIterator) LessThan(o vocab.TootFocalPointPropertyIterator) bool { + // LessThan comparison for if either or both are IRIs. + if this.IsIRI() && o.IsIRI() { + return this.iri.String() < o.GetIRI().String() + } else if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsXMLSchemaFloat() && !o.IsXMLSchemaFloat() { + // Both are unknowns. + return false + } else if this.IsXMLSchemaFloat() && !o.IsXMLSchemaFloat() { + // Values are always greater than unknown values. + return false + } else if !this.IsXMLSchemaFloat() && o.IsXMLSchemaFloat() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return float.LessFloat(this.Get(), o.Get()) + } +} + +// Name returns the name of this property: "TootFocalPoint". +func (this TootFocalPointPropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "TootFocalPoint" + } else { + return "TootFocalPoint" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this TootFocalPointPropertyIterator) Next() vocab.TootFocalPointPropertyIterator { + if this.myIdx+1 >= this.parent.Len() { + return nil + } else { + return this.parent.At(this.myIdx + 1) + } +} + +// Prev returns the previous iterator, or nil if there is no previous iterator. +func (this TootFocalPointPropertyIterator) Prev() vocab.TootFocalPointPropertyIterator { + if this.myIdx-1 < 0 { + return nil + } else { + return this.parent.At(this.myIdx - 1) + } +} + +// Set sets the value of this property. Calling IsXMLSchemaFloat afterwards will +// return true. +func (this *TootFocalPointPropertyIterator) Set(v float64) { + this.clear() + this.xmlschemaFloatMember = v + this.hasFloatMember = true +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *TootFocalPointPropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.iri = v +} + +// clear ensures no value of this property is set. Calling IsXMLSchemaFloat +// afterwards will return false. +func (this *TootFocalPointPropertyIterator) clear() { + this.unknown = nil + this.iri = nil + this.hasFloatMember = false +} + +// serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this TootFocalPointPropertyIterator) serialize() (interface{}, error) { + if this.IsXMLSchemaFloat() { + return float.SerializeFloat(this.Get()) + } else if this.IsIRI() { + return this.iri.String(), nil + } + return this.unknown, nil +} + +// TootFocalPointProperty is the non-functional property "focalPoint". It is +// permitted to have one or more values, and of different value types. +type TootFocalPointProperty struct { + properties []*TootFocalPointPropertyIterator + alias string +} + +// DeserializeFocalPointProperty creates a "focalPoint" property from an interface +// representation that has been unmarshalled from a text or binary format. +func DeserializeFocalPointProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.TootFocalPointProperty, error) { + alias := "" + if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok { + alias = a + } + propName := "focalPoint" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "focalPoint") + } + i, ok := m[propName] + + if ok { + this := &TootFocalPointProperty{ + alias: alias, + properties: []*TootFocalPointPropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeTootFocalPointPropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeTootFocalPointPropertyIterator(i, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + // Set up the properties for iteration. + for idx, ele := range this.properties { + ele.parent = this + ele.myIdx = idx + } + return this, nil + } + return nil, nil +} + +// NewTootFocalPointProperty creates a new focalPoint property. +func NewTootFocalPointProperty() *TootFocalPointProperty { + return &TootFocalPointProperty{alias: ""} +} + +// AppendIRI appends an IRI value to the back of a list of the property +// "focalPoint" +func (this *TootFocalPointProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &TootFocalPointPropertyIterator{ + alias: this.alias, + iri: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendXMLSchemaFloat appends a float value to the back of a list of the +// property "focalPoint". Invalidates iterators that are traversing using Prev. +func (this *TootFocalPointProperty) AppendXMLSchemaFloat(v float64) { + this.properties = append(this.properties, &TootFocalPointPropertyIterator{ + alias: this.alias, + hasFloatMember: true, + myIdx: this.Len(), + parent: this, + xmlschemaFloatMember: v, + }) +} + +// At returns the property value for the specified index. Panics if the index is +// out of bounds. +func (this TootFocalPointProperty) At(index int) vocab.TootFocalPointPropertyIterator { + return this.properties[index] +} + +// Begin returns the first iterator, or nil if empty. Can be used with the +// iterator's Next method and this property's End method to iterate from front +// to back through all values. +func (this TootFocalPointProperty) Begin() vocab.TootFocalPointPropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this TootFocalPointProperty) Empty() bool { + return this.Len() == 0 +} + +// End returns beyond-the-last iterator, which is nil. Can be used with the +// iterator's Next method and this property's Begin method to iterate from +// front to back through all values. +func (this TootFocalPointProperty) End() vocab.TootFocalPointPropertyIterator { + return nil +} + +// Insert inserts an IRI value at the specified index for a property "focalPoint". +// Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *TootFocalPointProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &TootFocalPointPropertyIterator{ + alias: this.alias, + iri: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertXMLSchemaFloat inserts a float value at the specified index for a +// property "focalPoint". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *TootFocalPointProperty) InsertXMLSchemaFloat(idx int, v float64) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &TootFocalPointPropertyIterator{ + alias: this.alias, + hasFloatMember: true, + myIdx: idx, + parent: this, + xmlschemaFloatMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this TootFocalPointProperty) JSONLDContext() map[string]string { + m := map[string]string{"http://joinmastodon.org/ns": this.alias} + for _, elem := range this.properties { + child := elem.JSONLDContext() + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API method specifically needed only for alternate implementations +// for go-fed. Applications should not use this method. Panics if the index is +// out of bounds. +func (this TootFocalPointProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "focalPoint" property. +func (this TootFocalPointProperty) Len() (length int) { + return len(this.properties) +} + +// Less computes whether another property is less than this one. Mixing types +// results in a consistent but arbitrary ordering +func (this TootFocalPointProperty) Less(i, j int) bool { + idx1 := this.KindIndex(i) + idx2 := this.KindIndex(j) + if idx1 < idx2 { + return true + } else if idx1 == idx2 { + if idx1 == 0 { + lhs := this.properties[i].Get() + rhs := this.properties[j].Get() + return float.LessFloat(lhs, rhs) + } else if idx1 == -2 { + lhs := this.properties[i].GetIRI() + rhs := this.properties[j].GetIRI() + return lhs.String() < rhs.String() + } + } + return false +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this TootFocalPointProperty) LessThan(o vocab.TootFocalPointProperty) bool { + l1 := this.Len() + l2 := o.Len() + l := l1 + if l2 < l1 { + l = l2 + } + for i := 0; i < l; i++ { + if this.properties[i].LessThan(o.At(i)) { + return true + } else if o.At(i).LessThan(this.properties[i]) { + return false + } + } + return l1 < l2 +} + +// Name returns the name of this property ("focalPoint") with any alias. +func (this TootFocalPointProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "focalPoint" + } else { + return "focalPoint" + } +} + +// PrependIRI prepends an IRI value to the front of a list of the property +// "focalPoint". +func (this *TootFocalPointProperty) PrependIRI(v *url.URL) { + this.properties = append([]*TootFocalPointPropertyIterator{{ + alias: this.alias, + iri: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependXMLSchemaFloat prepends a float value to the front of a list of the +// property "focalPoint". Invalidates all iterators. +func (this *TootFocalPointProperty) PrependXMLSchemaFloat(v float64) { + this.properties = append([]*TootFocalPointPropertyIterator{{ + alias: this.alias, + hasFloatMember: true, + myIdx: 0, + parent: this, + xmlschemaFloatMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Remove deletes an element at the specified index from a list of the property +// "focalPoint", regardless of its type. Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *TootFocalPointProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &TootFocalPointPropertyIterator{} + this.properties = (this.properties)[:len(this.properties)-1] + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this TootFocalPointProperty) Serialize() (interface{}, error) { + s := make([]interface{}, 0, len(this.properties)) + for _, iterator := range this.properties { + if b, err := iterator.serialize(); err != nil { + return s, err + } else { + s = append(s, b) + } + } + // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. + if len(s) == 1 { + return s[0], nil + } + return s, nil +} + +// Set sets a float value to be at the specified index for the property +// "focalPoint". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *TootFocalPointProperty) Set(idx int, v float64) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &TootFocalPointPropertyIterator{ + alias: this.alias, + hasFloatMember: true, + myIdx: idx, + parent: this, + xmlschemaFloatMember: v, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property +// "focalPoint". Panics if the index is out of bounds. +func (this *TootFocalPointProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &TootFocalPointPropertyIterator{ + alias: this.alias, + iri: v, + myIdx: idx, + parent: this, + } +} + +// Swap swaps the location of values at two indices for the "focalPoint" property. +func (this TootFocalPointProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go new file mode 100644 index 000000000..256409d37 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertyindexable contains the implementation for the indexable +// property. All applications are strongly encouraged to use the interface +// instead of this concrete definition. The interfaces allow applications to +// consume only the types and properties needed and be independent of the +// go-fed implementation if another alternative implementation is created. +// This package is code-generated and subject to the same license as the +// go-fed tool used to generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertyindexable diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go new file mode 100644 index 000000000..9952e364b --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go @@ -0,0 +1,15 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyindexable + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface{} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go new file mode 100644 index 000000000..ea6742680 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go @@ -0,0 +1,203 @@ +// Code generated by astool. DO NOT EDIT. + +package propertyindexable + +import ( + boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean" + vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + "fmt" + "net/url" +) + +// TootIndexableProperty is the functional property "indexable". It is permitted +// to be a single default-valued value type. +type TootIndexableProperty struct { + xmlschemaBooleanMember bool + hasBooleanMember bool + unknown interface{} + iri *url.URL + alias string +} + +// DeserializeIndexableProperty creates a "indexable" property from an interface +// representation that has been unmarshalled from a text or binary format. +func DeserializeIndexableProperty(m map[string]interface{}, aliasMap map[string]string) (*TootIndexableProperty, error) { + alias := "" + if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok { + alias = a + } + propName := "indexable" + if len(alias) > 0 { + // Use alias both to find the property, and set within the property. + propName = fmt.Sprintf("%s:%s", alias, "indexable") + } + i, ok := m[propName] + + if ok { + if s, ok := i.(string); ok { + u, err := url.Parse(s) + // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst + // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy + if err == nil && len(u.Scheme) > 0 { + this := &TootIndexableProperty{ + alias: alias, + iri: u, + } + return this, nil + } + } + if v, err := boolean.DeserializeBoolean(i); err == nil { + this := &TootIndexableProperty{ + alias: alias, + hasBooleanMember: true, + xmlschemaBooleanMember: v, + } + return this, nil + } + this := &TootIndexableProperty{ + alias: alias, + unknown: i, + } + return this, nil + } + return nil, nil +} + +// NewTootIndexableProperty creates a new indexable property. +func NewTootIndexableProperty() *TootIndexableProperty { + return &TootIndexableProperty{alias: ""} +} + +// Clear ensures no value of this property is set. Calling IsXMLSchemaBoolean +// afterwards will return false. +func (this *TootIndexableProperty) Clear() { + this.unknown = nil + this.iri = nil + this.hasBooleanMember = false +} + +// Get returns the value of this property. When IsXMLSchemaBoolean returns false, +// Get will return any arbitrary value. +func (this TootIndexableProperty) Get() bool { + return this.xmlschemaBooleanMember +} + +// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will +// return any arbitrary value. +func (this TootIndexableProperty) GetIRI() *url.URL { + return this.iri +} + +// HasAny returns true if the value or IRI is set. +func (this TootIndexableProperty) HasAny() bool { + return this.IsXMLSchemaBoolean() || this.iri != nil +} + +// IsIRI returns true if this property is an IRI. +func (this TootIndexableProperty) IsIRI() bool { + return this.iri != nil +} + +// IsXMLSchemaBoolean returns true if this property is set and not an IRI. +func (this TootIndexableProperty) IsXMLSchemaBoolean() bool { + return this.hasBooleanMember +} + +// JSONLDContext returns the JSONLD URIs required in the context string for this +// property and the specific values that are set. The value in the map is the +// alias used to import the property's value or values. +func (this TootIndexableProperty) JSONLDContext() map[string]string { + m := map[string]string{"http://joinmastodon.org/ns": this.alias} + var child map[string]string + + /* + Since the literal maps in this function are determined at + code-generation time, this loop should not overwrite an existing key with a + new value. + */ + for k, v := range child { + m[k] = v + } + return m +} + +// KindIndex computes an arbitrary value for indexing this kind of value. This is +// a leaky API detail only for folks looking to replace the go-fed +// implementation. Applications should not use this method. +func (this TootIndexableProperty) KindIndex() int { + if this.IsXMLSchemaBoolean() { + return 0 + } + if this.IsIRI() { + return -2 + } + return -1 +} + +// LessThan compares two instances of this property with an arbitrary but stable +// comparison. Applications should not use this because it is only meant to +// help alternative implementations to go-fed to be able to normalize +// nonfunctional properties. +func (this TootIndexableProperty) LessThan(o vocab.TootIndexableProperty) bool { + // LessThan comparison for if either or both are IRIs. + if this.IsIRI() && o.IsIRI() { + return this.iri.String() < o.GetIRI().String() + } else if this.IsIRI() { + // IRIs are always less than other values, none, or unknowns + return true + } else if o.IsIRI() { + // This other, none, or unknown value is always greater than IRIs + return false + } + // LessThan comparison for the single value or unknown value. + if !this.IsXMLSchemaBoolean() && !o.IsXMLSchemaBoolean() { + // Both are unknowns. + return false + } else if this.IsXMLSchemaBoolean() && !o.IsXMLSchemaBoolean() { + // Values are always greater than unknown values. + return false + } else if !this.IsXMLSchemaBoolean() && o.IsXMLSchemaBoolean() { + // Unknowns are always less than known values. + return true + } else { + // Actual comparison. + return boolean.LessBoolean(this.Get(), o.Get()) + } +} + +// Name returns the name of this property: "indexable". +func (this TootIndexableProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "indexable" + } else { + return "indexable" + } +} + +// Serialize converts this into an interface representation suitable for +// marshalling into a text or binary format. Applications should not need this +// function as most typical use cases serialize types instead of individual +// properties. It is exposed for alternatives to go-fed implementations to use. +func (this TootIndexableProperty) Serialize() (interface{}, error) { + if this.IsXMLSchemaBoolean() { + return boolean.SerializeBoolean(this.Get()) + } else if this.IsIRI() { + return this.iri.String(), nil + } + return this.unknown, nil +} + +// Set sets the value of this property. Calling IsXMLSchemaBoolean afterwards will +// return true. +func (this *TootIndexableProperty) Set(v bool) { + this.Clear() + this.xmlschemaBooleanMember = v + this.hasBooleanMember = true +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards will return +// true. +func (this *TootIndexableProperty) SetIRI(v *url.URL) { + this.Clear() + this.iri = v +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go index b0e8f050d..02f8a8d98 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go @@ -179,7 +179,7 @@ func DeserializeHashtag(m map[string]interface{}, aliasMap map[string]string) (* // HashtagIsDisjointWith returns true if the other provided type is disjoint with // the Hashtag type. func HashtagIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go index c0e0e9e5e..cb9bf7253 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go @@ -14,9 +14,9 @@ const ( // only applicable to go-fed at code-generation time. jsonLDContext = "@context" - asNS = "https://www.w3.org/ns/activitystreams" - tootNS = "http://joinmastodon.org/ns" - schemaNS = "http://schema.org" + asNS = "https://www.w3.org/ns/activitystreams" + tootNS = "http://joinmastodon.org/ns" + schemaNS = "http://schema.org" ) // Map of inlines @context entries that may need to be added diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go index 9eff11664..95aa23eac 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsActorPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsActorPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsActorPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1060,14 +1131,38 @@ type ActivityStreamsActorProperty interface { // the back of a list of the property "actor". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "actor". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "actor". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "actor". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "actor". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "actor". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "actor". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "actor". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "actor". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "actor" AppendIRI(v *url.URL) @@ -1348,14 +1443,41 @@ type ActivityStreamsActorProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "actor". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "actor". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "actor". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "actor". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "actor". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "actor". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "actor". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "actor". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "actor". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1586,12 +1708,34 @@ type ActivityStreamsActorProperty interface { // the front of a list of the property "actor". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "actor". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "actor". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "actor". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "actor". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "actor". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "actor". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "actor". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "actor". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "actor". PrependIRI(v *url.URL) @@ -1857,14 +2001,38 @@ type ActivityStreamsActorProperty interface { // the specified index for the property "actor". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "actor". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "actor". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "actor". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "actor". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "actor". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "actor". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "actor". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "actor". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "actor". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go index cda3db5e1..2a3847f3b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsAnyOfPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsAnyOfPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsAnyOfPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1039,14 +1110,38 @@ type ActivityStreamsAnyOfProperty interface { // the back of a list of the property "anyOf". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "anyOf". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "anyOf". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "anyOf". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "anyOf". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "anyOf". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "anyOf". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "anyOf". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "anyOf". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "anyOf" AppendIRI(v *url.URL) @@ -1327,14 +1422,41 @@ type ActivityStreamsAnyOfProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "anyOf". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "anyOf". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "anyOf". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "anyOf". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "anyOf". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "anyOf". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "anyOf". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "anyOf". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "anyOf". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1565,12 +1687,34 @@ type ActivityStreamsAnyOfProperty interface { // the front of a list of the property "anyOf". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "anyOf". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "anyOf". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "anyOf". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "anyOf". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "anyOf". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "anyOf". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "anyOf". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "anyOf". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "anyOf". PrependIRI(v *url.URL) @@ -1836,14 +1980,38 @@ type ActivityStreamsAnyOfProperty interface { // the specified index for the property "anyOf". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "anyOf". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "anyOf". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "anyOf". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "anyOf". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "anyOf". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "anyOf". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "anyOf". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "anyOf". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "anyOf". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go index baf2e22f2..6f255aeab 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsAttachmentPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsAttachmentPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsAttachmentPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1034,14 +1105,38 @@ type ActivityStreamsAttachmentProperty interface { // the back of a list of the property "attachment". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "attachment". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "attachment". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "attachment". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "attachment". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "attachment". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "attachment". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "attachment". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "attachment". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "attachment" AppendIRI(v *url.URL) @@ -1327,16 +1422,46 @@ type ActivityStreamsAttachmentProperty interface { // at that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "attachment". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "attachment". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "attachment". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "attachment". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "attachment". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "attachment". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "attachment". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "attachment". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "attachment". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -1573,14 +1698,37 @@ type ActivityStreamsAttachmentProperty interface { // the front of a list of the property "attachment". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "attachment". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "attachment". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "attachment". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "attachment". Invalidates + // all iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "attachment". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "attachment". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "attachment". Invalidates + // all iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "attachment". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "attachment". PrependIRI(v *url.URL) @@ -1846,14 +1994,38 @@ type ActivityStreamsAttachmentProperty interface { // the specified index for the property "attachment". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "attachment". Panics + // if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "attachment". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "attachment". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "attachment". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "attachment". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "attachment". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "attachment". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "attachment". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "attachment". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go index 560d3a261..8817b523a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsAttributedToPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsAttributedToPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsAttributedToPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1051,14 +1122,38 @@ type ActivityStreamsAttributedToProperty interface { // the back of a list of the property "attributedTo". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "attributedTo". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "attributedTo". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "attributedTo". Invalidates iterators // that are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "attributedTo". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "attributedTo". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "attributedTo". Invalidates iterators // that are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "attributedTo". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "attributedTo". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "attributedTo" AppendIRI(v *url.URL) @@ -1344,16 +1439,46 @@ type ActivityStreamsAttributedToProperty interface { // elements at that index and higher are shifted back once. // Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "attributedTo". + // Existing elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "attributedTo". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "attributedTo". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "attributedTo". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "attributedTo". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "attributedTo". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "attributedTo". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "attributedTo". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "attributedTo". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -1590,14 +1715,37 @@ type ActivityStreamsAttributedToProperty interface { // the front of a list of the property "attributedTo". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "attributedTo". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "attributedTo". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "attributedTo". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "attributedTo". Invalidates + // all iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "attributedTo". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "attributedTo". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "attributedTo". Invalidates + // all iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "attributedTo". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "attributedTo". PrependIRI(v *url.URL) @@ -1863,14 +2011,38 @@ type ActivityStreamsAttributedToProperty interface { // the specified index for the property "attributedTo". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "attributedTo". + // Panics if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "attributedTo". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "attributedTo". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "attributedTo". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "attributedTo". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "attributedTo". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "attributedTo". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "attributedTo". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "attributedTo". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go index 9e69f9320..d5ee18c79 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsAudiencePropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsAudiencePropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsAudiencePropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1036,14 +1107,38 @@ type ActivityStreamsAudienceProperty interface { // the back of a list of the property "audience". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "audience". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "audience". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "audience". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "audience". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "audience". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "audience". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "audience". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "audience". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "audience" AppendIRI(v *url.URL) @@ -1329,16 +1424,46 @@ type ActivityStreamsAudienceProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "audience". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "audience". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "audience". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "audience". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "audience". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "audience". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "audience". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "audience". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "audience". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1574,14 +1699,37 @@ type ActivityStreamsAudienceProperty interface { // the front of a list of the property "audience". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "audience". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "audience". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "audience". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "audience". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "audience". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "audience". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "audience". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "audience". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "audience". PrependIRI(v *url.URL) @@ -1847,14 +1995,38 @@ type ActivityStreamsAudienceProperty interface { // the specified index for the property "audience". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "audience". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "audience". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "audience". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "audience". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "audience". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "audience". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "audience". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "audience". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "audience". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go index 0f065871c..4a607704e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsBccPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsBccPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsBccPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1032,14 +1103,38 @@ type ActivityStreamsBccProperty interface { // the back of a list of the property "bcc". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "bcc". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "bcc". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "bcc". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "bcc". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "bcc". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "bcc". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "bcc". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "bcc". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "bcc" AppendIRI(v *url.URL) @@ -1316,14 +1411,40 @@ type ActivityStreamsBccProperty interface { // the specified index for a property "bcc". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "bcc". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "bcc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "bcc". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "bcc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "bcc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "bcc". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "bcc". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "bcc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "bcc". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -1554,12 +1675,34 @@ type ActivityStreamsBccProperty interface { // the front of a list of the property "bcc". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "bcc". Invalidates all + // iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "bcc". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "bcc". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "bcc". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "bcc". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "bcc". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "bcc". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "bcc". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "bcc". PrependIRI(v *url.URL) @@ -1825,14 +1968,38 @@ type ActivityStreamsBccProperty interface { // the specified index for the property "bcc". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "bcc". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "bcc". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "bcc". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "bcc". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "bcc". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "bcc". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "bcc". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "bcc". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "bcc". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go index 3683a053e..2c7a956fd 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsBtoPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsBtoPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsBtoPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1032,14 +1103,38 @@ type ActivityStreamsBtoProperty interface { // the back of a list of the property "bto". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "bto". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "bto". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "bto". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "bto". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "bto". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "bto". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "bto". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "bto". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "bto" AppendIRI(v *url.URL) @@ -1316,14 +1411,40 @@ type ActivityStreamsBtoProperty interface { // the specified index for a property "bto". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "bto". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "bto". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "bto". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "bto". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "bto". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "bto". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "bto". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "bto". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "bto". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -1554,12 +1675,34 @@ type ActivityStreamsBtoProperty interface { // the front of a list of the property "bto". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "bto". Invalidates all + // iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "bto". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "bto". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "bto". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "bto". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "bto". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "bto". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "bto". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "bto". PrependIRI(v *url.URL) @@ -1825,14 +1968,38 @@ type ActivityStreamsBtoProperty interface { // the specified index for the property "bto". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "bto". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "bto". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "bto". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "bto". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "bto". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "bto". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "bto". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "bto". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "bto". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go index e059fd15f..31f5eae4f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsCcPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsCcPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsCcPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1030,14 +1101,38 @@ type ActivityStreamsCcProperty interface { // the back of a list of the property "cc". Invalidates iterators that // are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "cc". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "cc". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "cc". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "cc". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "cc". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "cc". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "cc". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "cc". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "cc" AppendIRI(v *url.URL) @@ -1312,14 +1407,40 @@ type ActivityStreamsCcProperty interface { // the specified index for a property "cc". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "cc". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "cc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "cc". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "cc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "cc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "cc". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "cc". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "cc". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property "cc". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -1548,12 +1669,33 @@ type ActivityStreamsCcProperty interface { // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to // the front of a list of the property "cc". Invalidates all iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "cc". Invalidates all + // iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "cc". Invalidates all iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "cc". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "cc". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "cc". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "cc". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "cc". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "cc". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "cc". PrependIRI(v *url.URL) @@ -1819,14 +1961,38 @@ type ActivityStreamsCcProperty interface { // the specified index for the property "cc". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "cc". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "cc". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "cc". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "cc". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "cc". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "cc". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "cc". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "cc". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "cc". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go index 04c05de1b..bcad48671 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go @@ -248,14 +248,38 @@ type ActivityStreamsClosedPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -540,14 +564,43 @@ type ActivityStreamsClosedPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -775,12 +828,30 @@ type ActivityStreamsClosedPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1053,14 +1124,38 @@ type ActivityStreamsClosedProperty interface { // the back of a list of the property "closed". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "closed". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "closed". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "closed". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "closed". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "closed". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "closed". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "closed". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "closed". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "closed" AppendIRI(v *url.URL) @@ -1349,14 +1444,41 @@ type ActivityStreamsClosedProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "closed". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "closed". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "closed". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "closed". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "closed". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "closed". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "closed". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "closed". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "closed". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1595,12 +1717,34 @@ type ActivityStreamsClosedProperty interface { // the front of a list of the property "closed". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "closed". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "closed". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "closed". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "closed". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "closed". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "closed". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "closed". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "closed". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "closed". PrependIRI(v *url.URL) @@ -1872,14 +2016,38 @@ type ActivityStreamsClosedProperty interface { // the specified index for the property "closed". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "closed". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "closed". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "closed". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "closed". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "closed". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "closed". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "closed". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "closed". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "closed". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go index 01fc24b71..086d48327 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsContextPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsContextPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsContextPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1046,14 +1117,38 @@ type ActivityStreamsContextProperty interface { // the back of a list of the property "context". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "context". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "context". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "context". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "context". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "context". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "context". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "context". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "context". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "context" AppendIRI(v *url.URL) @@ -1334,14 +1429,41 @@ type ActivityStreamsContextProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "context". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "context". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "context". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "context". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "context". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "context". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "context". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "context". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "context". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1576,14 +1698,37 @@ type ActivityStreamsContextProperty interface { // the front of a list of the property "context". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "context". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "context". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "context". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "context". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "context". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "context". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "context". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "context". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "context". PrependIRI(v *url.URL) @@ -1849,14 +1994,38 @@ type ActivityStreamsContextProperty interface { // the specified index for the property "context". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "context". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "context". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "context". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "context". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "context". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "context". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "context". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "context". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "context". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go index d2d0998a7..ea11c6032 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go @@ -252,14 +252,38 @@ type ActivityStreamsDescribesProperty interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -525,14 +549,43 @@ type ActivityStreamsDescribesProperty interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -743,12 +796,30 @@ type ActivityStreamsDescribesProperty interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go index 493b70fca..d31f1a72d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go @@ -237,14 +237,38 @@ type ActivityStreamsFormerTypePropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -514,14 +538,43 @@ type ActivityStreamsFormerTypePropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -735,12 +788,30 @@ type ActivityStreamsFormerTypePropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1001,14 +1072,38 @@ type ActivityStreamsFormerTypeProperty interface { // the back of a list of the property "formerType". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "formerType". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "formerType". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "formerType". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "formerType". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "formerType". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "formerType". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "formerType". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "formerType". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "formerType" AppendIRI(v *url.URL) @@ -1286,16 +1381,46 @@ type ActivityStreamsFormerTypeProperty interface { // at that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "formerType". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "formerType". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "formerType". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "formerType". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "formerType". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "formerType". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "formerType". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "formerType". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "formerType". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -1526,14 +1651,37 @@ type ActivityStreamsFormerTypeProperty interface { // the front of a list of the property "formerType". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "formerType". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "formerType". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "formerType". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "formerType". Invalidates + // all iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "formerType". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "formerType". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "formerType". Invalidates + // all iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "formerType". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "formerType". PrependIRI(v *url.URL) @@ -1791,14 +1939,38 @@ type ActivityStreamsFormerTypeProperty interface { // the specified index for the property "formerType". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "formerType". Panics + // if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "formerType". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "formerType". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "formerType". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "formerType". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "formerType". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "formerType". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "formerType". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "formerType". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go index ba6312e82..380de7732 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsGeneratorPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsGeneratorPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsGeneratorPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1032,14 +1103,38 @@ type ActivityStreamsGeneratorProperty interface { // the back of a list of the property "generator". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "generator". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "generator". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "generator". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "generator". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "generator". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "generator". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "generator". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "generator". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "generator" AppendIRI(v *url.URL) @@ -1325,16 +1420,46 @@ type ActivityStreamsGeneratorProperty interface { // at that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "generator". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "generator". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "generator". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "generator". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "generator". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "generator". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "generator". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "generator". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "generator". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1571,14 +1696,37 @@ type ActivityStreamsGeneratorProperty interface { // the front of a list of the property "generator". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "generator". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "generator". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "generator". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "generator". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "generator". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "generator". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "generator". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "generator". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "generator". PrependIRI(v *url.URL) @@ -1844,14 +1992,38 @@ type ActivityStreamsGeneratorProperty interface { // the specified index for the property "generator". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "generator". Panics + // if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "generator". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "generator". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "generator". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "generator". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "generator". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "generator". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "generator". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "generator". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go index eec2d6122..fcf1d5710 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsInReplyToPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsInReplyToPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsInReplyToPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1042,14 +1113,38 @@ type ActivityStreamsInReplyToProperty interface { // the back of a list of the property "inReplyTo". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "inReplyTo". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "inReplyTo". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "inReplyTo". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "inReplyTo". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "inReplyTo". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "inReplyTo". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "inReplyTo". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "inReplyTo". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "inReplyTo" AppendIRI(v *url.URL) @@ -1335,16 +1430,46 @@ type ActivityStreamsInReplyToProperty interface { // at that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "inReplyTo". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "inReplyTo". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "inReplyTo". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "inReplyTo". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "inReplyTo". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "inReplyTo". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "inReplyTo". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "inReplyTo". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "inReplyTo". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1581,14 +1706,37 @@ type ActivityStreamsInReplyToProperty interface { // the front of a list of the property "inReplyTo". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "inReplyTo". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "inReplyTo". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "inReplyTo". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "inReplyTo". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "inReplyTo". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "inReplyTo". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "inReplyTo". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "inReplyTo". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "inReplyTo". PrependIRI(v *url.URL) @@ -1854,14 +2002,38 @@ type ActivityStreamsInReplyToProperty interface { // the specified index for the property "inReplyTo". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "inReplyTo". Panics + // if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "inReplyTo". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "inReplyTo". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "inReplyTo". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "inReplyTo". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "inReplyTo". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "inReplyTo". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "inReplyTo". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "inReplyTo". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go index b9471eee1..7df49d1e1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsInstrumentPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsInstrumentPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsInstrumentPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1040,14 +1111,38 @@ type ActivityStreamsInstrumentProperty interface { // the back of a list of the property "instrument". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "instrument". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "instrument". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "instrument". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "instrument". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "instrument". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "instrument". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "instrument". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "instrument". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "instrument" AppendIRI(v *url.URL) @@ -1333,16 +1428,46 @@ type ActivityStreamsInstrumentProperty interface { // at that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "instrument". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "instrument". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "instrument". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "instrument". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "instrument". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "instrument". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "instrument". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "instrument". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "instrument". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -1579,14 +1704,37 @@ type ActivityStreamsInstrumentProperty interface { // the front of a list of the property "instrument". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "instrument". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "instrument". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "instrument". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "instrument". Invalidates + // all iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "instrument". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "instrument". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "instrument". Invalidates + // all iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "instrument". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "instrument". PrependIRI(v *url.URL) @@ -1852,14 +2000,38 @@ type ActivityStreamsInstrumentProperty interface { // the specified index for the property "instrument". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "instrument". Panics + // if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "instrument". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "instrument". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "instrument". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "instrument". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "instrument". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "instrument". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "instrument". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "instrument". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go index 083e27454..3e554b3e4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsItemsPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsItemsPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsItemsPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1039,14 +1110,38 @@ type ActivityStreamsItemsProperty interface { // the back of a list of the property "items". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "items". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "items". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "items". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "items". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "items". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "items". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "items". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "items". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "items" AppendIRI(v *url.URL) @@ -1327,14 +1422,41 @@ type ActivityStreamsItemsProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "items". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "items". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "items". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "items". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "items". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "items". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "items". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "items". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "items". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1565,12 +1687,34 @@ type ActivityStreamsItemsProperty interface { // the front of a list of the property "items". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "items". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "items". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "items". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "items". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "items". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "items". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "items". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "items". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "items". PrependIRI(v *url.URL) @@ -1836,14 +1980,38 @@ type ActivityStreamsItemsProperty interface { // the specified index for the property "items". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "items". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "items". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "items". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "items". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "items". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "items". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "items". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "items". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "items". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go index 81b5d7562..2401bbaea 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsLocationPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsLocationPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsLocationPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1038,14 +1109,38 @@ type ActivityStreamsLocationProperty interface { // the back of a list of the property "location". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "location". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "location". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "location". Invalidates iterators that // are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "location". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "location". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "location". Invalidates iterators that // are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "location". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "location". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "location" AppendIRI(v *url.URL) @@ -1331,16 +1426,46 @@ type ActivityStreamsLocationProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "location". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "location". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "location". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "location". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "location". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "location". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "location". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "location". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "location". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1576,14 +1701,37 @@ type ActivityStreamsLocationProperty interface { // the front of a list of the property "location". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "location". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "location". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "location". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "location". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "location". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "location". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "location". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "location". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "location". PrependIRI(v *url.URL) @@ -1849,14 +1997,38 @@ type ActivityStreamsLocationProperty interface { // the specified index for the property "location". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "location". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "location". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "location". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "location". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "location". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "location". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "location". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "location". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "location". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go index 109bc77bd..5ecc9b010 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsObjectPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsObjectPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsObjectPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1059,14 +1130,38 @@ type ActivityStreamsObjectProperty interface { // the back of a list of the property "object". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "object". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "object". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "object". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "object". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "object". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "object". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "object". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "object". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "object" AppendIRI(v *url.URL) @@ -1347,14 +1442,41 @@ type ActivityStreamsObjectProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "object". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "object". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "object". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "object". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "object". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "object". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "object". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "object". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "object". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1585,12 +1707,34 @@ type ActivityStreamsObjectProperty interface { // the front of a list of the property "object". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "object". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "object". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "object". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "object". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "object". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "object". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "object". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "object". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "object". PrependIRI(v *url.URL) @@ -1856,14 +2000,38 @@ type ActivityStreamsObjectProperty interface { // the specified index for the property "object". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "object". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "object". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "object". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "object". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "object". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "object". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "object". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "object". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "object". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go index a4f5b093e..bde8a7953 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsOneOfPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsOneOfPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsOneOfPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1039,14 +1110,38 @@ type ActivityStreamsOneOfProperty interface { // the back of a list of the property "oneOf". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "oneOf". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "oneOf". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "oneOf". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "oneOf". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "oneOf". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "oneOf". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "oneOf". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "oneOf". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "oneOf" AppendIRI(v *url.URL) @@ -1327,14 +1422,41 @@ type ActivityStreamsOneOfProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "oneOf". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "oneOf". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "oneOf". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "oneOf". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "oneOf". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "oneOf". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "oneOf". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "oneOf". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "oneOf". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1565,12 +1687,34 @@ type ActivityStreamsOneOfProperty interface { // the front of a list of the property "oneOf". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "oneOf". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "oneOf". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "oneOf". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "oneOf". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "oneOf". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "oneOf". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "oneOf". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "oneOf". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "oneOf". PrependIRI(v *url.URL) @@ -1836,14 +1980,38 @@ type ActivityStreamsOneOfProperty interface { // the specified index for the property "oneOf". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "oneOf". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "oneOf". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "oneOf". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "oneOf". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "oneOf". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "oneOf". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "oneOf". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "oneOf". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "oneOf". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go index 6d6399f09..0af6120f8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1040,14 +1111,38 @@ type ActivityStreamsOrderedItemsProperty interface { // the back of a list of the property "orderedItems". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "orderedItems". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "orderedItems". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "orderedItems". Invalidates iterators // that are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "orderedItems". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "orderedItems". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "orderedItems". Invalidates iterators // that are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "orderedItems". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "orderedItems". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "orderedItems" AppendIRI(v *url.URL) @@ -1333,16 +1428,46 @@ type ActivityStreamsOrderedItemsProperty interface { // elements at that index and higher are shifted back once. // Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "orderedItems". + // Existing elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "orderedItems". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "orderedItems". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "orderedItems". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "orderedItems". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "orderedItems". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "orderedItems". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "orderedItems". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "orderedItems". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -1579,14 +1704,37 @@ type ActivityStreamsOrderedItemsProperty interface { // the front of a list of the property "orderedItems". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "orderedItems". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "orderedItems". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "orderedItems". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "orderedItems". Invalidates + // all iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "orderedItems". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "orderedItems". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "orderedItems". Invalidates + // all iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "orderedItems". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "orderedItems". PrependIRI(v *url.URL) @@ -1852,14 +2000,38 @@ type ActivityStreamsOrderedItemsProperty interface { // the specified index for the property "orderedItems". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "orderedItems". + // Panics if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "orderedItems". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "orderedItems". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "orderedItems". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "orderedItems". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "orderedItems". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "orderedItems". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "orderedItems". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "orderedItems". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go index f93bf0c4f..43afc1b56 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsOriginPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsOriginPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsOriginPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1040,14 +1111,38 @@ type ActivityStreamsOriginProperty interface { // the back of a list of the property "origin". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "origin". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "origin". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "origin". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "origin". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "origin". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "origin". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "origin". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "origin". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "origin" AppendIRI(v *url.URL) @@ -1328,14 +1423,41 @@ type ActivityStreamsOriginProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "origin". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "origin". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "origin". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "origin". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "origin". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "origin". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "origin". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "origin". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "origin". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1566,12 +1688,34 @@ type ActivityStreamsOriginProperty interface { // the front of a list of the property "origin". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "origin". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "origin". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "origin". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "origin". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "origin". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "origin". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "origin". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "origin". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "origin". PrependIRI(v *url.URL) @@ -1837,14 +1981,38 @@ type ActivityStreamsOriginProperty interface { // the specified index for the property "origin". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "origin". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "origin". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "origin". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "origin". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "origin". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "origin". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "origin". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "origin". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "origin". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go index 870629847..210f801f0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsPreviewPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsPreviewPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsPreviewPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1037,14 +1108,38 @@ type ActivityStreamsPreviewProperty interface { // the back of a list of the property "preview". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "preview". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "preview". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "preview". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "preview". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "preview". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "preview". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "preview". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "preview". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "preview" AppendIRI(v *url.URL) @@ -1325,14 +1420,41 @@ type ActivityStreamsPreviewProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "preview". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "preview". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "preview". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "preview". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "preview". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "preview". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "preview". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "preview". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "preview". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1567,14 +1689,37 @@ type ActivityStreamsPreviewProperty interface { // the front of a list of the property "preview". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "preview". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "preview". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "preview". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "preview". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "preview". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "preview". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "preview". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "preview". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "preview". PrependIRI(v *url.URL) @@ -1840,14 +1985,38 @@ type ActivityStreamsPreviewProperty interface { // the specified index for the property "preview". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "preview". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "preview". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "preview". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "preview". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "preview". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "preview". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "preview". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "preview". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "preview". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go index bef57ed28..c355348ed 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go @@ -237,14 +237,38 @@ type ActivityStreamsRelationshipPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -510,14 +534,43 @@ type ActivityStreamsRelationshipPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -727,12 +780,30 @@ type ActivityStreamsRelationshipPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -999,14 +1070,38 @@ type ActivityStreamsRelationshipProperty interface { // the back of a list of the property "relationship". Invalidates // iterators that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "relationship". + // Invalidates iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "relationship". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "relationship". Invalidates iterators // that are traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "relationship". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "relationship". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "relationship". Invalidates iterators // that are traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "relationship". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "relationship". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "relationship" AppendIRI(v *url.URL) @@ -1280,16 +1375,46 @@ type ActivityStreamsRelationshipProperty interface { // elements at that index and higher are shifted back once. // Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "relationship". + // Existing elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "relationship". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "relationship". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "relationship". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "relationship". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "relationship". Existing elements at // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "relationship". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "relationship". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "relationship". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -1516,14 +1641,37 @@ type ActivityStreamsRelationshipProperty interface { // the front of a list of the property "relationship". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "relationship". + // Invalidates all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "relationship". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "relationship". Invalidates all // iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "relationship". Invalidates + // all iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "relationship". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "relationship". Invalidates all // iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "relationship". Invalidates + // all iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "relationship". Invalidates all + // iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "relationship". PrependIRI(v *url.URL) @@ -1778,14 +1926,38 @@ type ActivityStreamsRelationshipProperty interface { // the specified index for the property "relationship". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "relationship". + // Panics if the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "relationship". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "relationship". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "relationship". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "relationship". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "relationship". Panics if the // index is out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "relationship". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "relationship". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "relationship". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go index 2d5417f52..d81de3303 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsResultPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsResultPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsResultPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1038,14 +1109,38 @@ type ActivityStreamsResultProperty interface { // the back of a list of the property "result". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "result". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "result". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "result". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "result". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "result". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "result". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "result". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "result". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "result" AppendIRI(v *url.URL) @@ -1326,14 +1421,41 @@ type ActivityStreamsResultProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "result". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "result". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "result". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "result". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "result". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "result". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "result". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "result". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "result". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1564,12 +1686,34 @@ type ActivityStreamsResultProperty interface { // the front of a list of the property "result". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "result". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "result". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "result". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "result". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "result". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "result". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "result". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "result". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "result". PrependIRI(v *url.URL) @@ -1835,14 +1979,38 @@ type ActivityStreamsResultProperty interface { // the specified index for the property "result". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "result". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "result". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "result". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "result". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "result". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "result". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "result". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "result". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "result". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go index 3b03c616c..9bb00e4b8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go @@ -270,14 +270,38 @@ type ActivityStreamsSourceProperty interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -554,14 +578,43 @@ type ActivityStreamsSourceProperty interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -782,12 +835,30 @@ type ActivityStreamsSourceProperty interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go index d95d2b145..55ab81707 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go @@ -265,14 +265,38 @@ type ActivityStreamsSubjectProperty interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -549,14 +573,43 @@ type ActivityStreamsSubjectProperty interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -777,12 +830,30 @@ type ActivityStreamsSubjectProperty interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go index 713049d0e..9e6e6df5e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsTagPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsTagPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsTagPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1036,14 +1107,38 @@ type ActivityStreamsTagProperty interface { // the back of a list of the property "tag". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "tag". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "tag". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "tag". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "tag". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "tag". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "tag". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "tag". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "tag". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "tag" AppendIRI(v *url.URL) @@ -1320,14 +1415,40 @@ type ActivityStreamsTagProperty interface { // the specified index for a property "tag". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "tag". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "tag". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "tag". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "tag". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "tag". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "tag". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "tag". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "tag". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "tag". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -1558,12 +1679,34 @@ type ActivityStreamsTagProperty interface { // the front of a list of the property "tag". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "tag". Invalidates all + // iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "tag". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "tag". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "tag". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "tag". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "tag". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "tag". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "tag". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "tag". PrependIRI(v *url.URL) @@ -1829,14 +1972,38 @@ type ActivityStreamsTagProperty interface { // the specified index for the property "tag". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "tag". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "tag". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "tag". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "tag". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "tag". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "tag". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "tag". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "tag". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "tag". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go index 58015337d..e94c4138e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsTargetPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsTargetPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsTargetPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1047,14 +1118,38 @@ type ActivityStreamsTargetProperty interface { // the back of a list of the property "target". Invalidates iterators // that are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "target". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "target". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "target". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "target". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "target". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "target". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "target". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "target". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "target" AppendIRI(v *url.URL) @@ -1335,14 +1430,41 @@ type ActivityStreamsTargetProperty interface { // that index and higher are shifted back once. Invalidates all // iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "target". Existing + // elements at that index and higher are shifted back once. + // Invalidates all iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "target". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "target". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "target". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "target". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "target". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "target". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "target". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property // "target". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -1573,12 +1695,34 @@ type ActivityStreamsTargetProperty interface { // the front of a list of the property "target". Invalidates all // iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "target". Invalidates + // all iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "target". Invalidates all + // iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "target". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "target". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "target". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "target". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "target". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "target". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "target". PrependIRI(v *url.URL) @@ -1844,14 +1988,38 @@ type ActivityStreamsTargetProperty interface { // the specified index for the property "target". Panics if the index // is out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "target". Panics if + // the index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "target". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "target". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "target". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "target". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "target". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "target". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "target". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "target". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go index 3ca40db54..c625fff15 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go @@ -245,14 +245,38 @@ type ActivityStreamsToPropertyIterator interface { // IsGoToSocialAnnounceApproval returns false, // GetGoToSocialAnnounceApproval will return an arbitrary value. GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval + // GetGoToSocialAnnounceAuthorization returns the value of this property. + // When IsGoToSocialAnnounceAuthorization returns false, + // GetGoToSocialAnnounceAuthorization will return an arbitrary value. + GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization + // GetGoToSocialAnnounceRequest returns the value of this property. When + // IsGoToSocialAnnounceRequest returns false, + // GetGoToSocialAnnounceRequest will return an arbitrary value. + GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval // will return an arbitrary value. GetGoToSocialLikeApproval() GoToSocialLikeApproval + // GetGoToSocialLikeAuthorization returns the value of this property. When + // IsGoToSocialLikeAuthorization returns false, + // GetGoToSocialLikeAuthorization will return an arbitrary value. + GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization + // GetGoToSocialLikeRequest returns the value of this property. When + // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest + // will return an arbitrary value. + GetGoToSocialLikeRequest() GoToSocialLikeRequest // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval // will return an arbitrary value. GetGoToSocialReplyApproval() GoToSocialReplyApproval + // GetGoToSocialReplyAuthorization returns the value of this property. + // When IsGoToSocialReplyAuthorization returns false, + // GetGoToSocialReplyAuthorization will return an arbitrary value. + GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization + // GetGoToSocialReplyRequest returns the value of this property. When + // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest + // will return an arbitrary value. + GetGoToSocialReplyRequest() GoToSocialReplyRequest // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL @@ -529,14 +553,43 @@ type ActivityStreamsToPropertyIterator interface { // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval // methods to access and set this property. IsGoToSocialAnnounceApproval() bool + // IsGoToSocialAnnounceAuthorization returns true if this property has a + // type of "AnnounceAuthorization". When true, use the + // GetGoToSocialAnnounceAuthorization and + // SetGoToSocialAnnounceAuthorization methods to access and set this + // property. + IsGoToSocialAnnounceAuthorization() bool + // IsGoToSocialAnnounceRequest returns true if this property has a type of + // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest + // and SetGoToSocialAnnounceRequest methods to access and set this + // property. + IsGoToSocialAnnounceRequest() bool // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. IsGoToSocialLikeApproval() bool + // IsGoToSocialLikeAuthorization returns true if this property has a type + // of "LikeAuthorization". When true, use the + // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization + // methods to access and set this property. + IsGoToSocialLikeAuthorization() bool + // IsGoToSocialLikeRequest returns true if this property has a type of + // "LikeRequest". When true, use the GetGoToSocialLikeRequest and + // SetGoToSocialLikeRequest methods to access and set this property. + IsGoToSocialLikeRequest() bool // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. IsGoToSocialReplyApproval() bool + // IsGoToSocialReplyAuthorization returns true if this property has a type + // of "ReplyAuthorization". When true, use the + // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization + // methods to access and set this property. + IsGoToSocialReplyAuthorization() bool + // IsGoToSocialReplyRequest returns true if this property has a type of + // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and + // SetGoToSocialReplyRequest methods to access and set this property. + IsGoToSocialReplyRequest() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -756,12 +809,30 @@ type ActivityStreamsToPropertyIterator interface { // SetGoToSocialAnnounceApproval sets the value of this property. Calling // IsGoToSocialAnnounceApproval afterwards returns true. SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets the value of this property. + // Calling IsGoToSocialAnnounceAuthorization afterwards returns true. + SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets the value of this property. Calling + // IsGoToSocialAnnounceRequest afterwards returns true. + SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. SetGoToSocialLikeApproval(v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets the value of this property. Calling + // IsGoToSocialLikeAuthorization afterwards returns true. + SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets the value of this property. Calling + // IsGoToSocialLikeRequest afterwards returns true. + SetGoToSocialLikeRequest(v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. SetGoToSocialReplyApproval(v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets the value of this property. + // Calling IsGoToSocialReplyAuthorization afterwards returns true. + SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets the value of this property. Calling + // IsGoToSocialReplyRequest afterwards returns true. + SetGoToSocialReplyRequest(v GoToSocialReplyRequest) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) @@ -1030,14 +1101,38 @@ type ActivityStreamsToProperty interface { // the back of a list of the property "to". Invalidates iterators that // are traversing using Prev. AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization + // value to the back of a list of the property "to". Invalidates + // iterators that are traversing using Prev. + AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the + // back of a list of the property "to". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // AppendGoToSocialLikeApproval appends a LikeApproval value to the back // of a list of the property "to". Invalidates iterators that are // traversing using Prev. AppendGoToSocialLikeApproval(v GoToSocialLikeApproval) + // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to + // the back of a list of the property "to". Invalidates iterators that + // are traversing using Prev. + AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of + // a list of the property "to". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialLikeRequest(v GoToSocialLikeRequest) // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back // of a list of the property "to". Invalidates iterators that are // traversing using Prev. AppendGoToSocialReplyApproval(v GoToSocialReplyApproval) + // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value + // to the back of a list of the property "to". Invalidates iterators + // that are traversing using Prev. + AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back + // of a list of the property "to". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialReplyRequest(v GoToSocialReplyRequest) // AppendIRI appends an IRI value to the back of a list of the property // "to" AppendIRI(v *url.URL) @@ -1312,14 +1407,40 @@ type ActivityStreamsToProperty interface { // the specified index for a property "to". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization + // value at the specified index for a property "to". Existing elements + // at that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the + // specified index for a property "to". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // InsertGoToSocialLikeApproval inserts a LikeApproval value at the // specified index for a property "to". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at + // the specified index for a property "to". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // InsertGoToSocialLikeRequest inserts a LikeRequest value at the + // specified index for a property "to". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the // specified index for a property "to". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value + // at the specified index for a property "to". Existing elements at + // that index and higher are shifted back once. Invalidates all + // iterators. + InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the + // specified index for a property "to". Existing elements at that + // index and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // Insert inserts an IRI value at the specified index for a property "to". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -1548,12 +1669,33 @@ type ActivityStreamsToProperty interface { // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to // the front of a list of the property "to". Invalidates all iterators. PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval) + // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization + // value to the front of a list of the property "to". Invalidates all + // iterators. + PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization) + // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to + // the front of a list of the property "to". Invalidates all iterators. + PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest) // PrependGoToSocialLikeApproval prepends a LikeApproval value to the // front of a list of the property "to". Invalidates all iterators. PrependGoToSocialLikeApproval(v GoToSocialLikeApproval) + // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value + // to the front of a list of the property "to". Invalidates all + // iterators. + PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization) + // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front + // of a list of the property "to". Invalidates all iterators. + PrependGoToSocialLikeRequest(v GoToSocialLikeRequest) // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the // front of a list of the property "to". Invalidates all iterators. PrependGoToSocialReplyApproval(v GoToSocialReplyApproval) + // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value + // to the front of a list of the property "to". Invalidates all + // iterators. + PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization) + // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the + // front of a list of the property "to". Invalidates all iterators. + PrependGoToSocialReplyRequest(v GoToSocialReplyRequest) // PrependIRI prepends an IRI value to the front of a list of the property // "to". PrependIRI(v *url.URL) @@ -1819,14 +1961,38 @@ type ActivityStreamsToProperty interface { // the specified index for the property "to". Panics if the index is // out of bounds. Invalidates all iterators. SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval) + // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value + // to be at the specified index for the property "to". Panics if the + // index is out of bounds. Invalidates all iterators. + SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization) + // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the + // specified index for the property "to". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest) // SetGoToSocialLikeApproval sets a LikeApproval value to be at the // specified index for the property "to". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval) + // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at + // the specified index for the property "to". Panics if the index is + // out of bounds. Invalidates all iterators. + SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization) + // SetGoToSocialLikeRequest sets a LikeRequest value to be at the + // specified index for the property "to". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest) // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the // specified index for the property "to". Panics if the index is out // of bounds. Invalidates all iterators. SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval) + // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be + // at the specified index for the property "to". Panics if the index + // is out of bounds. Invalidates all iterators. + SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization) + // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the + // specified index for the property "to". Panics if the index is out + // of bounds. Invalidates all iterators. + SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest) // SetIRI sets an IRI value to be at the specified index for the property // "to". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go index 54e8c8106..2ed2009b2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go @@ -48,8 +48,9 @@ type GoToSocialAlwaysPropertyIterator interface { SetIRI(v *url.URL) } -// Indicates zero or more URI/IDs that can perform an interaction without -// requiring approval by the Object AttributedTo Actor. +// DEPRECATED: Use `automaticApproval` instead. Indicates zero or more URI/IDs +// that can perform an interaction without requiring approval by the Object +// AttributedTo Actor. type GoToSocialAlwaysProperty interface { // AppendIRI appends an IRI value to the back of a list of the property // "always" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go index 4e4364d22..a677f1372 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go @@ -48,8 +48,9 @@ type GoToSocialApprovalRequiredPropertyIterator interface { SetIRI(v *url.URL) } -// Indicates zero or more URI/IDs that require approval by the Object AttributedTo -// Actor in order to perform an interaction. +// DEPRECATED: Use `manualApproval` instead. Indicates zero or more URI/IDs that +// require approval by the Object AttributedTo Actor in order to perform an +// interaction. type GoToSocialApprovalRequiredProperty interface { // AppendIRI appends an IRI value to the back of a list of the property // "approvalRequired" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go new file mode 100644 index 000000000..b4f02850c --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go @@ -0,0 +1,132 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// GoToSocialAutomaticApprovalPropertyIterator represents a single value for the +// "automaticApproval" property. +type GoToSocialAutomaticApprovalPropertyIterator interface { + // Get returns the value of this property. When IsXMLSchemaAnyURI returns + // false, Get will return any arbitrary value. + Get() *url.URL + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // IsXMLSchemaAnyURI returns true if this property is set and not an IRI. + IsXMLSchemaAnyURI() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialAutomaticApprovalPropertyIterator) bool + // Name returns the name of this property: "GoToSocialAutomaticApproval". + Name() string + // Next returns the next iterator, or nil if there is no next iterator. + Next() GoToSocialAutomaticApprovalPropertyIterator + // Prev returns the previous iterator, or nil if there is no previous + // iterator. + Prev() GoToSocialAutomaticApprovalPropertyIterator + // Set sets the value of this property. Calling IsXMLSchemaAnyURI + // afterwards will return true. + Set(v *url.URL) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) +} + +// Indicates zero or more URI/IDs that can perform an interaction without +// requiring manual approval by the Object AttributedTo Actor. +type GoToSocialAutomaticApprovalProperty interface { + // AppendIRI appends an IRI value to the back of a list of the property + // "automaticApproval" + AppendIRI(v *url.URL) + // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of + // the property "automaticApproval". Invalidates iterators that are + // traversing using Prev. + AppendXMLSchemaAnyURI(v *url.URL) + // At returns the property value for the specified index. Panics if the + // index is out of bounds. + At(index int) GoToSocialAutomaticApprovalPropertyIterator + // Begin returns the first iterator, or nil if empty. Can be used with the + // iterator's Next method and this property's End method to iterate + // from front to back through all values. + Begin() GoToSocialAutomaticApprovalPropertyIterator + // Empty returns returns true if there are no elements. + Empty() bool + // End returns beyond-the-last iterator, which is nil. Can be used with + // the iterator's Next method and this property's Begin method to + // iterate from front to back through all values. + End() GoToSocialAutomaticApprovalPropertyIterator + // Insert inserts an IRI value at the specified index for a property + // "automaticApproval". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertIRI(idx int, v *url.URL) + // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for + // a property "automaticApproval". Existing elements at that index and + // higher are shifted back once. Invalidates all iterators. + InsertXMLSchemaAnyURI(idx int, v *url.URL) + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API method specifically needed only for alternate + // implementations for go-fed. Applications should not use this + // method. Panics if the index is out of bounds. + KindIndex(idx int) int + // Len returns the number of values that exist for the "automaticApproval" + // property. + Len() (length int) + // Less computes whether another property is less than this one. Mixing + // types results in a consistent but arbitrary ordering + Less(i, j int) bool + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialAutomaticApprovalProperty) bool + // Name returns the name of this property ("automaticApproval") with any + // alias. + Name() string + // PrependIRI prepends an IRI value to the front of a list of the property + // "automaticApproval". + PrependIRI(v *url.URL) + // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list + // of the property "automaticApproval". Invalidates all iterators. + PrependXMLSchemaAnyURI(v *url.URL) + // Remove deletes an element at the specified index from a list of the + // property "automaticApproval", regardless of its type. Panics if the + // index is out of bounds. Invalidates all iterators. + Remove(idx int) + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets a anyURI value to be at the specified index for the property + // "automaticApproval". Panics if the index is out of bounds. + // Invalidates all iterators. + Set(idx int, v *url.URL) + // SetIRI sets an IRI value to be at the specified index for the property + // "automaticApproval". Panics if the index is out of bounds. + SetIRI(idx int, v *url.URL) + // Swap swaps the location of values at two indices for the + // "automaticApproval" property. + Swap(i, j int) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go new file mode 100644 index 000000000..4fd12a2c6 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go @@ -0,0 +1,156 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// GoToSocialCanQuotePropertyIterator represents a single value for the "canQuote" +// property. +type GoToSocialCanQuotePropertyIterator interface { + // Get returns the value of this property. When IsGoToSocialCanQuote + // returns false, Get will return any arbitrary value. + Get() GoToSocialCanQuote + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // GetType returns the value in this property as a Type. Returns nil if + // the value is not an ActivityStreams type, such as an IRI or another + // value. + GetType() Type + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsGoToSocialCanQuote returns true if this property is set and not an + // IRI. + IsGoToSocialCanQuote() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialCanQuotePropertyIterator) bool + // Name returns the name of this property: "GoToSocialCanQuote". + Name() string + // Next returns the next iterator, or nil if there is no next iterator. + Next() GoToSocialCanQuotePropertyIterator + // Prev returns the previous iterator, or nil if there is no previous + // iterator. + Prev() GoToSocialCanQuotePropertyIterator + // Set sets the value of this property. Calling IsGoToSocialCanQuote + // afterwards will return true. + Set(v GoToSocialCanQuote) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) + // SetType attempts to set the property for the arbitrary type. Returns an + // error if it is not a valid type to set on this property. + SetType(t Type) error +} + +// Defines who can Create a new Object that quotes the Object to which this +// interactionPolicy is attached. +type GoToSocialCanQuoteProperty interface { + // AppendGoToSocialCanQuote appends a CanQuote value to the back of a list + // of the property "canQuote". Invalidates iterators that are + // traversing using Prev. + AppendGoToSocialCanQuote(v GoToSocialCanQuote) + // AppendIRI appends an IRI value to the back of a list of the property + // "canQuote" + AppendIRI(v *url.URL) + // PrependType prepends an arbitrary type value to the front of a list of + // the property "canQuote". Invalidates iterators that are traversing + // using Prev. Returns an error if the type is not a valid one to set + // for this property. + AppendType(t Type) error + // At returns the property value for the specified index. Panics if the + // index is out of bounds. + At(index int) GoToSocialCanQuotePropertyIterator + // Begin returns the first iterator, or nil if empty. Can be used with the + // iterator's Next method and this property's End method to iterate + // from front to back through all values. + Begin() GoToSocialCanQuotePropertyIterator + // Empty returns returns true if there are no elements. + Empty() bool + // End returns beyond-the-last iterator, which is nil. Can be used with + // the iterator's Next method and this property's Begin method to + // iterate from front to back through all values. + End() GoToSocialCanQuotePropertyIterator + // InsertGoToSocialCanQuote inserts a CanQuote value at the specified + // index for a property "canQuote". Existing elements at that index + // and higher are shifted back once. Invalidates all iterators. + InsertGoToSocialCanQuote(idx int, v GoToSocialCanQuote) + // Insert inserts an IRI value at the specified index for a property + // "canQuote". Existing elements at that index and higher are shifted + // back once. Invalidates all iterators. + InsertIRI(idx int, v *url.URL) + // PrependType prepends an arbitrary type value to the front of a list of + // the property "canQuote". Invalidates all iterators. Returns an + // error if the type is not a valid one to set for this property. + InsertType(idx int, t Type) error + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API method specifically needed only for alternate + // implementations for go-fed. Applications should not use this + // method. Panics if the index is out of bounds. + KindIndex(idx int) int + // Len returns the number of values that exist for the "canQuote" property. + Len() (length int) + // Less computes whether another property is less than this one. Mixing + // types results in a consistent but arbitrary ordering + Less(i, j int) bool + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialCanQuoteProperty) bool + // Name returns the name of this property ("canQuote") with any alias. + Name() string + // PrependGoToSocialCanQuote prepends a CanQuote value to the front of a + // list of the property "canQuote". Invalidates all iterators. + PrependGoToSocialCanQuote(v GoToSocialCanQuote) + // PrependIRI prepends an IRI value to the front of a list of the property + // "canQuote". + PrependIRI(v *url.URL) + // PrependType prepends an arbitrary type value to the front of a list of + // the property "canQuote". Invalidates all iterators. Returns an + // error if the type is not a valid one to set for this property. + PrependType(t Type) error + // Remove deletes an element at the specified index from a list of the + // property "canQuote", regardless of its type. Panics if the index is + // out of bounds. Invalidates all iterators. + Remove(idx int) + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets a CanQuote value to be at the specified index for the property + // "canQuote". Panics if the index is out of bounds. Invalidates all + // iterators. + Set(idx int, v GoToSocialCanQuote) + // SetIRI sets an IRI value to be at the specified index for the property + // "canQuote". Panics if the index is out of bounds. + SetIRI(idx int, v *url.URL) + // SetType sets an arbitrary type value to the specified index of the + // property "canQuote". Invalidates all iterators. Returns an error if + // the type is not a valid one to set for this property. Panics if the + // index is out of bounds. + SetType(idx int, t Type) error + // Swap swaps the location of values at two indices for the "canQuote" + // property. + Swap(i, j int) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go new file mode 100644 index 000000000..53addb567 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go @@ -0,0 +1,130 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// GoToSocialInteractingObjectPropertyIterator represents a single value for the +// "interactingObject" property. +type GoToSocialInteractingObjectPropertyIterator interface { + // Get returns the value of this property. When IsXMLSchemaAnyURI returns + // false, Get will return any arbitrary value. + Get() *url.URL + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // IsXMLSchemaAnyURI returns true if this property is set and not an IRI. + IsXMLSchemaAnyURI() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialInteractingObjectPropertyIterator) bool + // Name returns the name of this property: "GoToSocialInteractingObject". + Name() string + // Next returns the next iterator, or nil if there is no next iterator. + Next() GoToSocialInteractingObjectPropertyIterator + // Prev returns the previous iterator, or nil if there is no previous + // iterator. + Prev() GoToSocialInteractingObjectPropertyIterator + // Set sets the value of this property. Calling IsXMLSchemaAnyURI + // afterwards will return true. + Set(v *url.URL) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) +} + +type GoToSocialInteractingObjectProperty interface { + // AppendIRI appends an IRI value to the back of a list of the property + // "interactingObject" + AppendIRI(v *url.URL) + // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of + // the property "interactingObject". Invalidates iterators that are + // traversing using Prev. + AppendXMLSchemaAnyURI(v *url.URL) + // At returns the property value for the specified index. Panics if the + // index is out of bounds. + At(index int) GoToSocialInteractingObjectPropertyIterator + // Begin returns the first iterator, or nil if empty. Can be used with the + // iterator's Next method and this property's End method to iterate + // from front to back through all values. + Begin() GoToSocialInteractingObjectPropertyIterator + // Empty returns returns true if there are no elements. + Empty() bool + // End returns beyond-the-last iterator, which is nil. Can be used with + // the iterator's Next method and this property's Begin method to + // iterate from front to back through all values. + End() GoToSocialInteractingObjectPropertyIterator + // Insert inserts an IRI value at the specified index for a property + // "interactingObject". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertIRI(idx int, v *url.URL) + // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for + // a property "interactingObject". Existing elements at that index and + // higher are shifted back once. Invalidates all iterators. + InsertXMLSchemaAnyURI(idx int, v *url.URL) + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API method specifically needed only for alternate + // implementations for go-fed. Applications should not use this + // method. Panics if the index is out of bounds. + KindIndex(idx int) int + // Len returns the number of values that exist for the "interactingObject" + // property. + Len() (length int) + // Less computes whether another property is less than this one. Mixing + // types results in a consistent but arbitrary ordering + Less(i, j int) bool + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialInteractingObjectProperty) bool + // Name returns the name of this property ("interactingObject") with any + // alias. + Name() string + // PrependIRI prepends an IRI value to the front of a list of the property + // "interactingObject". + PrependIRI(v *url.URL) + // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list + // of the property "interactingObject". Invalidates all iterators. + PrependXMLSchemaAnyURI(v *url.URL) + // Remove deletes an element at the specified index from a list of the + // property "interactingObject", regardless of its type. Panics if the + // index is out of bounds. Invalidates all iterators. + Remove(idx int) + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets a anyURI value to be at the specified index for the property + // "interactingObject". Panics if the index is out of bounds. + // Invalidates all iterators. + Set(idx int, v *url.URL) + // SetIRI sets an IRI value to be at the specified index for the property + // "interactingObject". Panics if the index is out of bounds. + SetIRI(idx int, v *url.URL) + // Swap swaps the location of values at two indices for the + // "interactingObject" property. + Swap(i, j int) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go new file mode 100644 index 000000000..60805cfbe --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go @@ -0,0 +1,130 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// GoToSocialInteractionTargetPropertyIterator represents a single value for the +// "interactionTarget" property. +type GoToSocialInteractionTargetPropertyIterator interface { + // Get returns the value of this property. When IsXMLSchemaAnyURI returns + // false, Get will return any arbitrary value. + Get() *url.URL + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // IsXMLSchemaAnyURI returns true if this property is set and not an IRI. + IsXMLSchemaAnyURI() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialInteractionTargetPropertyIterator) bool + // Name returns the name of this property: "GoToSocialInteractionTarget". + Name() string + // Next returns the next iterator, or nil if there is no next iterator. + Next() GoToSocialInteractionTargetPropertyIterator + // Prev returns the previous iterator, or nil if there is no previous + // iterator. + Prev() GoToSocialInteractionTargetPropertyIterator + // Set sets the value of this property. Calling IsXMLSchemaAnyURI + // afterwards will return true. + Set(v *url.URL) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) +} + +type GoToSocialInteractionTargetProperty interface { + // AppendIRI appends an IRI value to the back of a list of the property + // "interactionTarget" + AppendIRI(v *url.URL) + // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of + // the property "interactionTarget". Invalidates iterators that are + // traversing using Prev. + AppendXMLSchemaAnyURI(v *url.URL) + // At returns the property value for the specified index. Panics if the + // index is out of bounds. + At(index int) GoToSocialInteractionTargetPropertyIterator + // Begin returns the first iterator, or nil if empty. Can be used with the + // iterator's Next method and this property's End method to iterate + // from front to back through all values. + Begin() GoToSocialInteractionTargetPropertyIterator + // Empty returns returns true if there are no elements. + Empty() bool + // End returns beyond-the-last iterator, which is nil. Can be used with + // the iterator's Next method and this property's Begin method to + // iterate from front to back through all values. + End() GoToSocialInteractionTargetPropertyIterator + // Insert inserts an IRI value at the specified index for a property + // "interactionTarget". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertIRI(idx int, v *url.URL) + // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for + // a property "interactionTarget". Existing elements at that index and + // higher are shifted back once. Invalidates all iterators. + InsertXMLSchemaAnyURI(idx int, v *url.URL) + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API method specifically needed only for alternate + // implementations for go-fed. Applications should not use this + // method. Panics if the index is out of bounds. + KindIndex(idx int) int + // Len returns the number of values that exist for the "interactionTarget" + // property. + Len() (length int) + // Less computes whether another property is less than this one. Mixing + // types results in a consistent but arbitrary ordering + Less(i, j int) bool + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialInteractionTargetProperty) bool + // Name returns the name of this property ("interactionTarget") with any + // alias. + Name() string + // PrependIRI prepends an IRI value to the front of a list of the property + // "interactionTarget". + PrependIRI(v *url.URL) + // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list + // of the property "interactionTarget". Invalidates all iterators. + PrependXMLSchemaAnyURI(v *url.URL) + // Remove deletes an element at the specified index from a list of the + // property "interactionTarget", regardless of its type. Panics if the + // index is out of bounds. Invalidates all iterators. + Remove(idx int) + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets a anyURI value to be at the specified index for the property + // "interactionTarget". Panics if the index is out of bounds. + // Invalidates all iterators. + Set(idx int, v *url.URL) + // SetIRI sets an IRI value to be at the specified index for the property + // "interactionTarget". Panics if the index is out of bounds. + SetIRI(idx int, v *url.URL) + // Swap swaps the location of values at two indices for the + // "interactionTarget" property. + Swap(i, j int) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go new file mode 100644 index 000000000..828df0571 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go @@ -0,0 +1,132 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// GoToSocialManualApprovalPropertyIterator represents a single value for the +// "manualApproval" property. +type GoToSocialManualApprovalPropertyIterator interface { + // Get returns the value of this property. When IsXMLSchemaAnyURI returns + // false, Get will return any arbitrary value. + Get() *url.URL + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // IsXMLSchemaAnyURI returns true if this property is set and not an IRI. + IsXMLSchemaAnyURI() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialManualApprovalPropertyIterator) bool + // Name returns the name of this property: "GoToSocialManualApproval". + Name() string + // Next returns the next iterator, or nil if there is no next iterator. + Next() GoToSocialManualApprovalPropertyIterator + // Prev returns the previous iterator, or nil if there is no previous + // iterator. + Prev() GoToSocialManualApprovalPropertyIterator + // Set sets the value of this property. Calling IsXMLSchemaAnyURI + // afterwards will return true. + Set(v *url.URL) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) +} + +// Indicates zero or more URI/IDs that require manual approval by the Object +// AttributedTo Actor in order to perform an interaction. +type GoToSocialManualApprovalProperty interface { + // AppendIRI appends an IRI value to the back of a list of the property + // "manualApproval" + AppendIRI(v *url.URL) + // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of + // the property "manualApproval". Invalidates iterators that are + // traversing using Prev. + AppendXMLSchemaAnyURI(v *url.URL) + // At returns the property value for the specified index. Panics if the + // index is out of bounds. + At(index int) GoToSocialManualApprovalPropertyIterator + // Begin returns the first iterator, or nil if empty. Can be used with the + // iterator's Next method and this property's End method to iterate + // from front to back through all values. + Begin() GoToSocialManualApprovalPropertyIterator + // Empty returns returns true if there are no elements. + Empty() bool + // End returns beyond-the-last iterator, which is nil. Can be used with + // the iterator's Next method and this property's Begin method to + // iterate from front to back through all values. + End() GoToSocialManualApprovalPropertyIterator + // Insert inserts an IRI value at the specified index for a property + // "manualApproval". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertIRI(idx int, v *url.URL) + // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for + // a property "manualApproval". Existing elements at that index and + // higher are shifted back once. Invalidates all iterators. + InsertXMLSchemaAnyURI(idx int, v *url.URL) + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API method specifically needed only for alternate + // implementations for go-fed. Applications should not use this + // method. Panics if the index is out of bounds. + KindIndex(idx int) int + // Len returns the number of values that exist for the "manualApproval" + // property. + Len() (length int) + // Less computes whether another property is less than this one. Mixing + // types results in a consistent but arbitrary ordering + Less(i, j int) bool + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o GoToSocialManualApprovalProperty) bool + // Name returns the name of this property ("manualApproval") with any + // alias. + Name() string + // PrependIRI prepends an IRI value to the front of a list of the property + // "manualApproval". + PrependIRI(v *url.URL) + // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list + // of the property "manualApproval". Invalidates all iterators. + PrependXMLSchemaAnyURI(v *url.URL) + // Remove deletes an element at the specified index from a list of the + // property "manualApproval", regardless of its type. Panics if the + // index is out of bounds. Invalidates all iterators. + Remove(idx int) + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets a anyURI value to be at the specified index for the property + // "manualApproval". Panics if the index is out of bounds. Invalidates + // all iterators. + Set(idx int, v *url.URL) + // SetIRI sets an IRI value to be at the specified index for the property + // "manualApproval". Panics if the index is out of bounds. + SetIRI(idx int, v *url.URL) + // Swap swaps the location of values at two indices for the + // "manualApproval" property. + Swap(i, j int) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go new file mode 100644 index 000000000..32ceec47a --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go @@ -0,0 +1,130 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// TootFocalPointPropertyIterator represents a single value for the "focalPoint" +// property. +type TootFocalPointPropertyIterator interface { + // Get returns the value of this property. When IsXMLSchemaFloat returns + // false, Get will return any arbitrary value. + Get() float64 + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // IsXMLSchemaFloat returns true if this property is set and not an IRI. + IsXMLSchemaFloat() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o TootFocalPointPropertyIterator) bool + // Name returns the name of this property: "TootFocalPoint". + Name() string + // Next returns the next iterator, or nil if there is no next iterator. + Next() TootFocalPointPropertyIterator + // Prev returns the previous iterator, or nil if there is no previous + // iterator. + Prev() TootFocalPointPropertyIterator + // Set sets the value of this property. Calling IsXMLSchemaFloat + // afterwards will return true. + Set(v float64) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) +} + +// null +type TootFocalPointProperty interface { + // AppendIRI appends an IRI value to the back of a list of the property + // "focalPoint" + AppendIRI(v *url.URL) + // AppendXMLSchemaFloat appends a float value to the back of a list of the + // property "focalPoint". Invalidates iterators that are traversing + // using Prev. + AppendXMLSchemaFloat(v float64) + // At returns the property value for the specified index. Panics if the + // index is out of bounds. + At(index int) TootFocalPointPropertyIterator + // Begin returns the first iterator, or nil if empty. Can be used with the + // iterator's Next method and this property's End method to iterate + // from front to back through all values. + Begin() TootFocalPointPropertyIterator + // Empty returns returns true if there are no elements. + Empty() bool + // End returns beyond-the-last iterator, which is nil. Can be used with + // the iterator's Next method and this property's Begin method to + // iterate from front to back through all values. + End() TootFocalPointPropertyIterator + // Insert inserts an IRI value at the specified index for a property + // "focalPoint". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertIRI(idx int, v *url.URL) + // InsertXMLSchemaFloat inserts a float value at the specified index for a + // property "focalPoint". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertXMLSchemaFloat(idx int, v float64) + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API method specifically needed only for alternate + // implementations for go-fed. Applications should not use this + // method. Panics if the index is out of bounds. + KindIndex(idx int) int + // Len returns the number of values that exist for the "focalPoint" + // property. + Len() (length int) + // Less computes whether another property is less than this one. Mixing + // types results in a consistent but arbitrary ordering + Less(i, j int) bool + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o TootFocalPointProperty) bool + // Name returns the name of this property ("focalPoint") with any alias. + Name() string + // PrependIRI prepends an IRI value to the front of a list of the property + // "focalPoint". + PrependIRI(v *url.URL) + // PrependXMLSchemaFloat prepends a float value to the front of a list of + // the property "focalPoint". Invalidates all iterators. + PrependXMLSchemaFloat(v float64) + // Remove deletes an element at the specified index from a list of the + // property "focalPoint", regardless of its type. Panics if the index + // is out of bounds. Invalidates all iterators. + Remove(idx int) + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets a float value to be at the specified index for the property + // "focalPoint". Panics if the index is out of bounds. Invalidates all + // iterators. + Set(idx int, v float64) + // SetIRI sets an IRI value to be at the specified index for the property + // "focalPoint". Panics if the index is out of bounds. + SetIRI(idx int, v *url.URL) + // Swap swaps the location of values at two indices for the "focalPoint" + // property. + Swap(i, j int) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go new file mode 100644 index 000000000..59be4b5c0 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go @@ -0,0 +1,52 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +import "net/url" + +// null +type TootIndexableProperty interface { + // Clear ensures no value of this property is set. Calling + // IsXMLSchemaBoolean afterwards will return false. + Clear() + // Get returns the value of this property. When IsXMLSchemaBoolean returns + // false, Get will return any arbitrary value. + Get() bool + // GetIRI returns the IRI of this property. When IsIRI returns false, + // GetIRI will return any arbitrary value. + GetIRI() *url.URL + // HasAny returns true if the value or IRI is set. + HasAny() bool + // IsIRI returns true if this property is an IRI. + IsIRI() bool + // IsXMLSchemaBoolean returns true if this property is set and not an IRI. + IsXMLSchemaBoolean() bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string + // KindIndex computes an arbitrary value for indexing this kind of value. + // This is a leaky API detail only for folks looking to replace the + // go-fed implementation. Applications should not use this method. + KindIndex() int + // LessThan compares two instances of this property with an arbitrary but + // stable comparison. Applications should not use this because it is + // only meant to help alternative implementations to go-fed to be able + // to normalize nonfunctional properties. + LessThan(o TootIndexableProperty) bool + // Name returns the name of this property: "indexable". + Name() string + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. Applications should not + // need this function as most typical use cases serialize types + // instead of individual properties. It is exposed for alternatives to + // go-fed implementations to use. + Serialize() (interface{}, error) + // Set sets the value of this property. Calling IsXMLSchemaBoolean + // afterwards will return true. + Set(v bool) + // SetIRI sets the value of this property. Calling IsIRI afterwards will + // return true. + SetIRI(v *url.URL) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go index a5bb05332..70cf3c500 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go @@ -152,6 +152,9 @@ type ActivityStreamsApplication interface { // GetTootFeatured returns the "featured" property if it exists, and nil // otherwise. GetTootFeatured() TootFeaturedProperty + // GetTootIndexable returns the "indexable" property if it exists, and nil + // otherwise. + GetTootIndexable() TootIndexableProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Application @@ -274,6 +277,8 @@ type ActivityStreamsApplication interface { SetTootDiscoverable(i TootDiscoverableProperty) // SetTootFeatured sets the "featured" property. SetTootFeatured(i TootFeaturedProperty) + // SetTootIndexable sets the "indexable" property. + SetTootIndexable(i TootIndexableProperty) // SetW3IDSecurityV1PublicKey sets the "publicKey" property. SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go index 22ed205fa..70ad5d20a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go @@ -126,6 +126,9 @@ type ActivityStreamsAudio interface { // GetTootBlurhash returns the "blurhash" property if it exists, and nil // otherwise. GetTootBlurhash() TootBlurhashProperty + // GetTootFocalPoint returns the "focalPoint" property if it exists, and + // nil otherwise. + GetTootFocalPoint() TootFocalPointProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Audio type. @@ -222,6 +225,8 @@ type ActivityStreamsAudio interface { SetJSONLDType(i JSONLDTypeProperty) // SetTootBlurhash sets the "blurhash" property. SetTootBlurhash(i TootBlurhashProperty) + // SetTootFocalPoint sets the "focalPoint" property. + SetTootFocalPoint(i TootFocalPointProperty) // VocabularyURI returns the vocabulary's URI as a string. VocabularyURI() string } diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go index 96ccd1e56..f417c9452 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go @@ -122,6 +122,9 @@ type ActivityStreamsDocument interface { // GetTootBlurhash returns the "blurhash" property if it exists, and nil // otherwise. GetTootBlurhash() TootBlurhashProperty + // GetTootFocalPoint returns the "focalPoint" property if it exists, and + // nil otherwise. + GetTootFocalPoint() TootFocalPointProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Document @@ -219,6 +222,8 @@ type ActivityStreamsDocument interface { SetJSONLDType(i JSONLDTypeProperty) // SetTootBlurhash sets the "blurhash" property. SetTootBlurhash(i TootBlurhashProperty) + // SetTootFocalPoint sets the "focalPoint" property. + SetTootFocalPoint(i TootFocalPointProperty) // VocabularyURI returns the vocabulary's URI as a string. VocabularyURI() string } diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go index 52d01aaa4..1153f8537 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go @@ -152,6 +152,9 @@ type ActivityStreamsGroup interface { // GetTootFeatured returns the "featured" property if it exists, and nil // otherwise. GetTootFeatured() TootFeaturedProperty + // GetTootIndexable returns the "indexable" property if it exists, and nil + // otherwise. + GetTootIndexable() TootIndexableProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Group type. @@ -273,6 +276,8 @@ type ActivityStreamsGroup interface { SetTootDiscoverable(i TootDiscoverableProperty) // SetTootFeatured sets the "featured" property. SetTootFeatured(i TootFeaturedProperty) + // SetTootIndexable sets the "indexable" property. + SetTootIndexable(i TootIndexableProperty) // SetW3IDSecurityV1PublicKey sets the "publicKey" property. SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go index 94a26db46..5073d044a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go @@ -139,6 +139,9 @@ type ActivityStreamsImage interface { // GetTootBlurhash returns the "blurhash" property if it exists, and nil // otherwise. GetTootBlurhash() TootBlurhashProperty + // GetTootFocalPoint returns the "focalPoint" property if it exists, and + // nil otherwise. + GetTootFocalPoint() TootFocalPointProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Image type. @@ -239,6 +242,8 @@ type ActivityStreamsImage interface { SetJSONLDType(i JSONLDTypeProperty) // SetTootBlurhash sets the "blurhash" property. SetTootBlurhash(i TootBlurhashProperty) + // SetTootFocalPoint sets the "focalPoint" property. + SetTootFocalPoint(i TootFocalPointProperty) // VocabularyURI returns the vocabulary's URI as a string. VocabularyURI() string } diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go index 6d7ca9a1e..8b10c848a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go @@ -152,6 +152,9 @@ type ActivityStreamsOrganization interface { // GetTootFeatured returns the "featured" property if it exists, and nil // otherwise. GetTootFeatured() TootFeaturedProperty + // GetTootIndexable returns the "indexable" property if it exists, and nil + // otherwise. + GetTootIndexable() TootIndexableProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the @@ -274,6 +277,8 @@ type ActivityStreamsOrganization interface { SetTootDiscoverable(i TootDiscoverableProperty) // SetTootFeatured sets the "featured" property. SetTootFeatured(i TootFeaturedProperty) + // SetTootIndexable sets the "indexable" property. + SetTootIndexable(i TootIndexableProperty) // SetW3IDSecurityV1PublicKey sets the "publicKey" property. SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go index 5f50757d4..635dab3b2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go @@ -122,6 +122,9 @@ type ActivityStreamsPage interface { // GetTootBlurhash returns the "blurhash" property if it exists, and nil // otherwise. GetTootBlurhash() TootBlurhashProperty + // GetTootFocalPoint returns the "focalPoint" property if it exists, and + // nil otherwise. + GetTootFocalPoint() TootFocalPointProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Page type. @@ -218,6 +221,8 @@ type ActivityStreamsPage interface { SetJSONLDType(i JSONLDTypeProperty) // SetTootBlurhash sets the "blurhash" property. SetTootBlurhash(i TootBlurhashProperty) + // SetTootFocalPoint sets the "focalPoint" property. + SetTootFocalPoint(i TootFocalPointProperty) // VocabularyURI returns the vocabulary's URI as a string. VocabularyURI() string } diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go index 028db6b81..66446bd11 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go @@ -152,6 +152,9 @@ type ActivityStreamsPerson interface { // GetTootFeatured returns the "featured" property if it exists, and nil // otherwise. GetTootFeatured() TootFeaturedProperty + // GetTootIndexable returns the "indexable" property if it exists, and nil + // otherwise. + GetTootIndexable() TootIndexableProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Person @@ -273,6 +276,8 @@ type ActivityStreamsPerson interface { SetTootDiscoverable(i TootDiscoverableProperty) // SetTootFeatured sets the "featured" property. SetTootFeatured(i TootFeaturedProperty) + // SetTootIndexable sets the "indexable" property. + SetTootIndexable(i TootIndexableProperty) // SetW3IDSecurityV1PublicKey sets the "publicKey" property. SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go index 4138af9a8..fb21b5c21 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go @@ -152,6 +152,9 @@ type ActivityStreamsService interface { // GetTootFeatured returns the "featured" property if it exists, and nil // otherwise. GetTootFeatured() TootFeaturedProperty + // GetTootIndexable returns the "indexable" property if it exists, and nil + // otherwise. + GetTootIndexable() TootIndexableProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Service @@ -274,6 +277,8 @@ type ActivityStreamsService interface { SetTootDiscoverable(i TootDiscoverableProperty) // SetTootFeatured sets the "featured" property. SetTootFeatured(i TootFeaturedProperty) + // SetTootIndexable sets the "indexable" property. + SetTootIndexable(i TootIndexableProperty) // SetW3IDSecurityV1PublicKey sets the "publicKey" property. SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go index 491c97481..c42dd635a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go @@ -123,6 +123,9 @@ type ActivityStreamsVideo interface { // GetTootBlurhash returns the "blurhash" property if it exists, and nil // otherwise. GetTootBlurhash() TootBlurhashProperty + // GetTootFocalPoint returns the "focalPoint" property if it exists, and + // nil otherwise. + GetTootFocalPoint() TootFocalPointProperty // GetTypeName returns the name of this type. GetTypeName() string // GetUnknownProperties returns the unknown properties for the Video type. @@ -219,6 +222,8 @@ type ActivityStreamsVideo interface { SetJSONLDType(i JSONLDTypeProperty) // SetTootBlurhash sets the "blurhash" property. SetTootBlurhash(i TootBlurhashProperty) + // SetTootFocalPoint sets the "focalPoint" property. + SetTootFocalPoint(i TootFocalPointProperty) // VocabularyURI returns the vocabulary's URI as a string. VocabularyURI() string } diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go index 42059fbdf..576b4efe9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go @@ -2,6 +2,7 @@ package vocab +// DEPRECATED: Use `AnnounceAuthorization` instead. type GoToSocialAnnounceApproval interface { // GetActivityStreamsAltitude returns the "altitude" property if it // exists, and nil otherwise. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go new file mode 100644 index 000000000..7e08fe47a --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go @@ -0,0 +1,210 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialAnnounceAuthorization interface { + // GetActivityStreamsAltitude returns the "altitude" property if it + // exists, and nil otherwise. + GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty + // GetActivityStreamsAttachment returns the "attachment" property if it + // exists, and nil otherwise. + GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsAudience returns the "audience" property if it + // exists, and nil otherwise. + GetActivityStreamsAudience() ActivityStreamsAudienceProperty + // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil + // otherwise. + GetActivityStreamsBcc() ActivityStreamsBccProperty + // GetActivityStreamsBto returns the "bto" property if it exists, and nil + // otherwise. + GetActivityStreamsBto() ActivityStreamsBtoProperty + // GetActivityStreamsCc returns the "cc" property if it exists, and nil + // otherwise. + GetActivityStreamsCc() ActivityStreamsCcProperty + // GetActivityStreamsContent returns the "content" property if it exists, + // and nil otherwise. + GetActivityStreamsContent() ActivityStreamsContentProperty + // GetActivityStreamsContext returns the "context" property if it exists, + // and nil otherwise. + GetActivityStreamsContext() ActivityStreamsContextProperty + // GetActivityStreamsDuration returns the "duration" property if it + // exists, and nil otherwise. + GetActivityStreamsDuration() ActivityStreamsDurationProperty + // GetActivityStreamsEndTime returns the "endTime" property if it exists, + // and nil otherwise. + GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty + // GetActivityStreamsGenerator returns the "generator" property if it + // exists, and nil otherwise. + GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty + // GetActivityStreamsIcon returns the "icon" property if it exists, and + // nil otherwise. + GetActivityStreamsIcon() ActivityStreamsIconProperty + // GetActivityStreamsImage returns the "image" property if it exists, and + // nil otherwise. + GetActivityStreamsImage() ActivityStreamsImageProperty + // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it + // exists, and nil otherwise. + GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty + // GetActivityStreamsLikes returns the "likes" property if it exists, and + // nil otherwise. + GetActivityStreamsLikes() ActivityStreamsLikesProperty + // GetActivityStreamsLocation returns the "location" property if it + // exists, and nil otherwise. + GetActivityStreamsLocation() ActivityStreamsLocationProperty + // GetActivityStreamsMediaType returns the "mediaType" property if it + // exists, and nil otherwise. + GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty + // GetActivityStreamsName returns the "name" property if it exists, and + // nil otherwise. + GetActivityStreamsName() ActivityStreamsNameProperty + // GetActivityStreamsObject returns the "object" property if it exists, + // and nil otherwise. + GetActivityStreamsObject() ActivityStreamsObjectProperty + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsPublished returns the "published" property if it + // exists, and nil otherwise. + GetActivityStreamsPublished() ActivityStreamsPublishedProperty + // GetActivityStreamsReplies returns the "replies" property if it exists, + // and nil otherwise. + GetActivityStreamsReplies() ActivityStreamsRepliesProperty + // GetActivityStreamsSensitive returns the "sensitive" property if it + // exists, and nil otherwise. + GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetGoToSocialInteractingObject returns the "interactingObject" property + // if it exists, and nil otherwise. + GetGoToSocialInteractingObject() GoToSocialInteractingObjectProperty + // GetGoToSocialInteractionTarget returns the "interactionTarget" property + // if it exists, and nil otherwise. + GetGoToSocialInteractionTarget() GoToSocialInteractionTargetProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the + // AnnounceAuthorization type. Note that this should not be used by + // app developers. It is only used to help determine which + // implementation is LessThan the other. Developers who are creating a + // different implementation of this type's interface can use this + // method in their LessThan implementation, but routine ActivityPub + // applications should not use this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the AnnounceAuthorization type extends from + // the other type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this AnnounceAuthorization is lesser, with an + // arbitrary but stable determination. + LessThan(o GoToSocialAnnounceAuthorization) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetActivityStreamsAltitude sets the "altitude" property. + SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) + // SetActivityStreamsAttachment sets the "attachment" property. + SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsAudience sets the "audience" property. + SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) + // SetActivityStreamsBcc sets the "bcc" property. + SetActivityStreamsBcc(i ActivityStreamsBccProperty) + // SetActivityStreamsBto sets the "bto" property. + SetActivityStreamsBto(i ActivityStreamsBtoProperty) + // SetActivityStreamsCc sets the "cc" property. + SetActivityStreamsCc(i ActivityStreamsCcProperty) + // SetActivityStreamsContent sets the "content" property. + SetActivityStreamsContent(i ActivityStreamsContentProperty) + // SetActivityStreamsContext sets the "context" property. + SetActivityStreamsContext(i ActivityStreamsContextProperty) + // SetActivityStreamsDuration sets the "duration" property. + SetActivityStreamsDuration(i ActivityStreamsDurationProperty) + // SetActivityStreamsEndTime sets the "endTime" property. + SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) + // SetActivityStreamsGenerator sets the "generator" property. + SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) + // SetActivityStreamsIcon sets the "icon" property. + SetActivityStreamsIcon(i ActivityStreamsIconProperty) + // SetActivityStreamsImage sets the "image" property. + SetActivityStreamsImage(i ActivityStreamsImageProperty) + // SetActivityStreamsInReplyTo sets the "inReplyTo" property. + SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) + // SetActivityStreamsLikes sets the "likes" property. + SetActivityStreamsLikes(i ActivityStreamsLikesProperty) + // SetActivityStreamsLocation sets the "location" property. + SetActivityStreamsLocation(i ActivityStreamsLocationProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsObject sets the "object" property. + SetActivityStreamsObject(i ActivityStreamsObjectProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsPublished sets the "published" property. + SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) + // SetActivityStreamsReplies sets the "replies" property. + SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) + // SetActivityStreamsSensitive sets the "sensitive" property. + SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetGoToSocialInteractingObject sets the "interactingObject" property. + SetGoToSocialInteractingObject(i GoToSocialInteractingObjectProperty) + // SetGoToSocialInteractionTarget sets the "interactionTarget" property. + SetGoToSocialInteractionTarget(i GoToSocialInteractionTargetProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go new file mode 100644 index 000000000..599ac798b --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go @@ -0,0 +1,225 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialAnnounceRequest interface { + // GetActivityStreamsActor returns the "actor" property if it exists, and + // nil otherwise. + GetActivityStreamsActor() ActivityStreamsActorProperty + // GetActivityStreamsAltitude returns the "altitude" property if it + // exists, and nil otherwise. + GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty + // GetActivityStreamsAttachment returns the "attachment" property if it + // exists, and nil otherwise. + GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsAudience returns the "audience" property if it + // exists, and nil otherwise. + GetActivityStreamsAudience() ActivityStreamsAudienceProperty + // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil + // otherwise. + GetActivityStreamsBcc() ActivityStreamsBccProperty + // GetActivityStreamsBto returns the "bto" property if it exists, and nil + // otherwise. + GetActivityStreamsBto() ActivityStreamsBtoProperty + // GetActivityStreamsCc returns the "cc" property if it exists, and nil + // otherwise. + GetActivityStreamsCc() ActivityStreamsCcProperty + // GetActivityStreamsContent returns the "content" property if it exists, + // and nil otherwise. + GetActivityStreamsContent() ActivityStreamsContentProperty + // GetActivityStreamsContext returns the "context" property if it exists, + // and nil otherwise. + GetActivityStreamsContext() ActivityStreamsContextProperty + // GetActivityStreamsDuration returns the "duration" property if it + // exists, and nil otherwise. + GetActivityStreamsDuration() ActivityStreamsDurationProperty + // GetActivityStreamsEndTime returns the "endTime" property if it exists, + // and nil otherwise. + GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty + // GetActivityStreamsGenerator returns the "generator" property if it + // exists, and nil otherwise. + GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty + // GetActivityStreamsIcon returns the "icon" property if it exists, and + // nil otherwise. + GetActivityStreamsIcon() ActivityStreamsIconProperty + // GetActivityStreamsImage returns the "image" property if it exists, and + // nil otherwise. + GetActivityStreamsImage() ActivityStreamsImageProperty + // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it + // exists, and nil otherwise. + GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty + // GetActivityStreamsInstrument returns the "instrument" property if it + // exists, and nil otherwise. + GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty + // GetActivityStreamsLikes returns the "likes" property if it exists, and + // nil otherwise. + GetActivityStreamsLikes() ActivityStreamsLikesProperty + // GetActivityStreamsLocation returns the "location" property if it + // exists, and nil otherwise. + GetActivityStreamsLocation() ActivityStreamsLocationProperty + // GetActivityStreamsMediaType returns the "mediaType" property if it + // exists, and nil otherwise. + GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty + // GetActivityStreamsName returns the "name" property if it exists, and + // nil otherwise. + GetActivityStreamsName() ActivityStreamsNameProperty + // GetActivityStreamsObject returns the "object" property if it exists, + // and nil otherwise. + GetActivityStreamsObject() ActivityStreamsObjectProperty + // GetActivityStreamsOrigin returns the "origin" property if it exists, + // and nil otherwise. + GetActivityStreamsOrigin() ActivityStreamsOriginProperty + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsPublished returns the "published" property if it + // exists, and nil otherwise. + GetActivityStreamsPublished() ActivityStreamsPublishedProperty + // GetActivityStreamsReplies returns the "replies" property if it exists, + // and nil otherwise. + GetActivityStreamsReplies() ActivityStreamsRepliesProperty + // GetActivityStreamsResult returns the "result" property if it exists, + // and nil otherwise. + GetActivityStreamsResult() ActivityStreamsResultProperty + // GetActivityStreamsSensitive returns the "sensitive" property if it + // exists, and nil otherwise. + GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTarget returns the "target" property if it exists, + // and nil otherwise. + GetActivityStreamsTarget() ActivityStreamsTargetProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the + // AnnounceRequest type. Note that this should not be used by app + // developers. It is only used to help determine which implementation + // is LessThan the other. Developers who are creating a different + // implementation of this type's interface can use this method in + // their LessThan implementation, but routine ActivityPub applications + // should not use this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the AnnounceRequest type extends from the + // other type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this AnnounceRequest is lesser, with an arbitrary + // but stable determination. + LessThan(o GoToSocialAnnounceRequest) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetActivityStreamsActor sets the "actor" property. + SetActivityStreamsActor(i ActivityStreamsActorProperty) + // SetActivityStreamsAltitude sets the "altitude" property. + SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) + // SetActivityStreamsAttachment sets the "attachment" property. + SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsAudience sets the "audience" property. + SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) + // SetActivityStreamsBcc sets the "bcc" property. + SetActivityStreamsBcc(i ActivityStreamsBccProperty) + // SetActivityStreamsBto sets the "bto" property. + SetActivityStreamsBto(i ActivityStreamsBtoProperty) + // SetActivityStreamsCc sets the "cc" property. + SetActivityStreamsCc(i ActivityStreamsCcProperty) + // SetActivityStreamsContent sets the "content" property. + SetActivityStreamsContent(i ActivityStreamsContentProperty) + // SetActivityStreamsContext sets the "context" property. + SetActivityStreamsContext(i ActivityStreamsContextProperty) + // SetActivityStreamsDuration sets the "duration" property. + SetActivityStreamsDuration(i ActivityStreamsDurationProperty) + // SetActivityStreamsEndTime sets the "endTime" property. + SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) + // SetActivityStreamsGenerator sets the "generator" property. + SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) + // SetActivityStreamsIcon sets the "icon" property. + SetActivityStreamsIcon(i ActivityStreamsIconProperty) + // SetActivityStreamsImage sets the "image" property. + SetActivityStreamsImage(i ActivityStreamsImageProperty) + // SetActivityStreamsInReplyTo sets the "inReplyTo" property. + SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) + // SetActivityStreamsInstrument sets the "instrument" property. + SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty) + // SetActivityStreamsLikes sets the "likes" property. + SetActivityStreamsLikes(i ActivityStreamsLikesProperty) + // SetActivityStreamsLocation sets the "location" property. + SetActivityStreamsLocation(i ActivityStreamsLocationProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsObject sets the "object" property. + SetActivityStreamsObject(i ActivityStreamsObjectProperty) + // SetActivityStreamsOrigin sets the "origin" property. + SetActivityStreamsOrigin(i ActivityStreamsOriginProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsPublished sets the "published" property. + SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) + // SetActivityStreamsReplies sets the "replies" property. + SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) + // SetActivityStreamsResult sets the "result" property. + SetActivityStreamsResult(i ActivityStreamsResultProperty) + // SetActivityStreamsSensitive sets the "sensitive" property. + SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTarget sets the "target" property. + SetActivityStreamsTarget(i ActivityStreamsTargetProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go index 7ce82cde8..e80c483bb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go @@ -9,6 +9,12 @@ type GoToSocialCanAnnounce interface { // GetGoToSocialApprovalRequired returns the "approvalRequired" property // if it exists, and nil otherwise. GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty + // GetGoToSocialAutomaticApproval returns the "automaticApproval" property + // if it exists, and nil otherwise. + GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty + // GetGoToSocialManualApproval returns the "manualApproval" property if it + // exists, and nil otherwise. + GetGoToSocialManualApproval() GoToSocialManualApprovalProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetTypeName returns the name of this type. @@ -38,6 +44,10 @@ type GoToSocialCanAnnounce interface { SetGoToSocialAlways(i GoToSocialAlwaysProperty) // SetGoToSocialApprovalRequired sets the "approvalRequired" property. SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty) + // SetGoToSocialAutomaticApproval sets the "automaticApproval" property. + SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty) + // SetGoToSocialManualApproval sets the "manualApproval" property. + SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go index 91da1f79e..e417bd4f0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go @@ -9,6 +9,12 @@ type GoToSocialCanLike interface { // GetGoToSocialApprovalRequired returns the "approvalRequired" property // if it exists, and nil otherwise. GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty + // GetGoToSocialAutomaticApproval returns the "automaticApproval" property + // if it exists, and nil otherwise. + GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty + // GetGoToSocialManualApproval returns the "manualApproval" property if it + // exists, and nil otherwise. + GetGoToSocialManualApproval() GoToSocialManualApprovalProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetTypeName returns the name of this type. @@ -38,6 +44,10 @@ type GoToSocialCanLike interface { SetGoToSocialAlways(i GoToSocialAlwaysProperty) // SetGoToSocialApprovalRequired sets the "approvalRequired" property. SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty) + // SetGoToSocialAutomaticApproval sets the "automaticApproval" property. + SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty) + // SetGoToSocialManualApproval sets the "manualApproval" property. + SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go new file mode 100644 index 000000000..98e09421c --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go @@ -0,0 +1,55 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialCanQuote interface { + // GetGoToSocialAlways returns the "always" property if it exists, and nil + // otherwise. + GetGoToSocialAlways() GoToSocialAlwaysProperty + // GetGoToSocialApprovalRequired returns the "approvalRequired" property + // if it exists, and nil otherwise. + GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty + // GetGoToSocialAutomaticApproval returns the "automaticApproval" property + // if it exists, and nil otherwise. + GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty + // GetGoToSocialManualApproval returns the "manualApproval" property if it + // exists, and nil otherwise. + GetGoToSocialManualApproval() GoToSocialManualApprovalProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the CanQuote + // type. Note that this should not be used by app developers. It is + // only used to help determine which implementation is LessThan the + // other. Developers who are creating a different implementation of + // this type's interface can use this method in their LessThan + // implementation, but routine ActivityPub applications should not use + // this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the CanQuote type extends from the other + // type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this CanQuote is lesser, with an arbitrary but + // stable determination. + LessThan(o GoToSocialCanQuote) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetGoToSocialAlways sets the "always" property. + SetGoToSocialAlways(i GoToSocialAlwaysProperty) + // SetGoToSocialApprovalRequired sets the "approvalRequired" property. + SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty) + // SetGoToSocialAutomaticApproval sets the "automaticApproval" property. + SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty) + // SetGoToSocialManualApproval sets the "manualApproval" property. + SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go index 57e5d0b1b..2a0db5448 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go @@ -9,6 +9,12 @@ type GoToSocialCanReply interface { // GetGoToSocialApprovalRequired returns the "approvalRequired" property // if it exists, and nil otherwise. GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty + // GetGoToSocialAutomaticApproval returns the "automaticApproval" property + // if it exists, and nil otherwise. + GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty + // GetGoToSocialManualApproval returns the "manualApproval" property if it + // exists, and nil otherwise. + GetGoToSocialManualApproval() GoToSocialManualApprovalProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetTypeName returns the name of this type. @@ -38,6 +44,10 @@ type GoToSocialCanReply interface { SetGoToSocialAlways(i GoToSocialAlwaysProperty) // SetGoToSocialApprovalRequired sets the "approvalRequired" property. SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty) + // SetGoToSocialAutomaticApproval sets the "automaticApproval" property. + SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty) + // SetGoToSocialManualApproval sets the "manualApproval" property. + SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // VocabularyURI returns the vocabulary's URI as a string. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go index e66805a33..a2497a44a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go @@ -10,6 +10,9 @@ type GoToSocialInteractionPolicy interface { // GetGoToSocialCanLike returns the "canLike" property if it exists, and // nil otherwise. GetGoToSocialCanLike() GoToSocialCanLikeProperty + // GetGoToSocialCanQuote returns the "canQuote" property if it exists, and + // nil otherwise. + GetGoToSocialCanQuote() GoToSocialCanQuoteProperty // GetGoToSocialCanReply returns the "canReply" property if it exists, and // nil otherwise. GetGoToSocialCanReply() GoToSocialCanReplyProperty @@ -42,6 +45,8 @@ type GoToSocialInteractionPolicy interface { SetGoToSocialCanAnnounce(i GoToSocialCanAnnounceProperty) // SetGoToSocialCanLike sets the "canLike" property. SetGoToSocialCanLike(i GoToSocialCanLikeProperty) + // SetGoToSocialCanQuote sets the "canQuote" property. + SetGoToSocialCanQuote(i GoToSocialCanQuoteProperty) // SetGoToSocialCanReply sets the "canReply" property. SetGoToSocialCanReply(i GoToSocialCanReplyProperty) // SetJSONLDId sets the "id" property. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go index c1827bfdf..602abef07 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go @@ -2,6 +2,7 @@ package vocab +// DEPRECATED: Use `LikeAuthorization` instead. type GoToSocialLikeApproval interface { // GetActivityStreamsAltitude returns the "altitude" property if it // exists, and nil otherwise. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go new file mode 100644 index 000000000..02e176fb4 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go @@ -0,0 +1,210 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialLikeAuthorization interface { + // GetActivityStreamsAltitude returns the "altitude" property if it + // exists, and nil otherwise. + GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty + // GetActivityStreamsAttachment returns the "attachment" property if it + // exists, and nil otherwise. + GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsAudience returns the "audience" property if it + // exists, and nil otherwise. + GetActivityStreamsAudience() ActivityStreamsAudienceProperty + // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil + // otherwise. + GetActivityStreamsBcc() ActivityStreamsBccProperty + // GetActivityStreamsBto returns the "bto" property if it exists, and nil + // otherwise. + GetActivityStreamsBto() ActivityStreamsBtoProperty + // GetActivityStreamsCc returns the "cc" property if it exists, and nil + // otherwise. + GetActivityStreamsCc() ActivityStreamsCcProperty + // GetActivityStreamsContent returns the "content" property if it exists, + // and nil otherwise. + GetActivityStreamsContent() ActivityStreamsContentProperty + // GetActivityStreamsContext returns the "context" property if it exists, + // and nil otherwise. + GetActivityStreamsContext() ActivityStreamsContextProperty + // GetActivityStreamsDuration returns the "duration" property if it + // exists, and nil otherwise. + GetActivityStreamsDuration() ActivityStreamsDurationProperty + // GetActivityStreamsEndTime returns the "endTime" property if it exists, + // and nil otherwise. + GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty + // GetActivityStreamsGenerator returns the "generator" property if it + // exists, and nil otherwise. + GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty + // GetActivityStreamsIcon returns the "icon" property if it exists, and + // nil otherwise. + GetActivityStreamsIcon() ActivityStreamsIconProperty + // GetActivityStreamsImage returns the "image" property if it exists, and + // nil otherwise. + GetActivityStreamsImage() ActivityStreamsImageProperty + // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it + // exists, and nil otherwise. + GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty + // GetActivityStreamsLikes returns the "likes" property if it exists, and + // nil otherwise. + GetActivityStreamsLikes() ActivityStreamsLikesProperty + // GetActivityStreamsLocation returns the "location" property if it + // exists, and nil otherwise. + GetActivityStreamsLocation() ActivityStreamsLocationProperty + // GetActivityStreamsMediaType returns the "mediaType" property if it + // exists, and nil otherwise. + GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty + // GetActivityStreamsName returns the "name" property if it exists, and + // nil otherwise. + GetActivityStreamsName() ActivityStreamsNameProperty + // GetActivityStreamsObject returns the "object" property if it exists, + // and nil otherwise. + GetActivityStreamsObject() ActivityStreamsObjectProperty + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsPublished returns the "published" property if it + // exists, and nil otherwise. + GetActivityStreamsPublished() ActivityStreamsPublishedProperty + // GetActivityStreamsReplies returns the "replies" property if it exists, + // and nil otherwise. + GetActivityStreamsReplies() ActivityStreamsRepliesProperty + // GetActivityStreamsSensitive returns the "sensitive" property if it + // exists, and nil otherwise. + GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetGoToSocialInteractingObject returns the "interactingObject" property + // if it exists, and nil otherwise. + GetGoToSocialInteractingObject() GoToSocialInteractingObjectProperty + // GetGoToSocialInteractionTarget returns the "interactionTarget" property + // if it exists, and nil otherwise. + GetGoToSocialInteractionTarget() GoToSocialInteractionTargetProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the + // LikeAuthorization type. Note that this should not be used by app + // developers. It is only used to help determine which implementation + // is LessThan the other. Developers who are creating a different + // implementation of this type's interface can use this method in + // their LessThan implementation, but routine ActivityPub applications + // should not use this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the LikeAuthorization type extends from the + // other type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this LikeAuthorization is lesser, with an + // arbitrary but stable determination. + LessThan(o GoToSocialLikeAuthorization) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetActivityStreamsAltitude sets the "altitude" property. + SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) + // SetActivityStreamsAttachment sets the "attachment" property. + SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsAudience sets the "audience" property. + SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) + // SetActivityStreamsBcc sets the "bcc" property. + SetActivityStreamsBcc(i ActivityStreamsBccProperty) + // SetActivityStreamsBto sets the "bto" property. + SetActivityStreamsBto(i ActivityStreamsBtoProperty) + // SetActivityStreamsCc sets the "cc" property. + SetActivityStreamsCc(i ActivityStreamsCcProperty) + // SetActivityStreamsContent sets the "content" property. + SetActivityStreamsContent(i ActivityStreamsContentProperty) + // SetActivityStreamsContext sets the "context" property. + SetActivityStreamsContext(i ActivityStreamsContextProperty) + // SetActivityStreamsDuration sets the "duration" property. + SetActivityStreamsDuration(i ActivityStreamsDurationProperty) + // SetActivityStreamsEndTime sets the "endTime" property. + SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) + // SetActivityStreamsGenerator sets the "generator" property. + SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) + // SetActivityStreamsIcon sets the "icon" property. + SetActivityStreamsIcon(i ActivityStreamsIconProperty) + // SetActivityStreamsImage sets the "image" property. + SetActivityStreamsImage(i ActivityStreamsImageProperty) + // SetActivityStreamsInReplyTo sets the "inReplyTo" property. + SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) + // SetActivityStreamsLikes sets the "likes" property. + SetActivityStreamsLikes(i ActivityStreamsLikesProperty) + // SetActivityStreamsLocation sets the "location" property. + SetActivityStreamsLocation(i ActivityStreamsLocationProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsObject sets the "object" property. + SetActivityStreamsObject(i ActivityStreamsObjectProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsPublished sets the "published" property. + SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) + // SetActivityStreamsReplies sets the "replies" property. + SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) + // SetActivityStreamsSensitive sets the "sensitive" property. + SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetGoToSocialInteractingObject sets the "interactingObject" property. + SetGoToSocialInteractingObject(i GoToSocialInteractingObjectProperty) + // SetGoToSocialInteractionTarget sets the "interactionTarget" property. + SetGoToSocialInteractionTarget(i GoToSocialInteractionTargetProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go new file mode 100644 index 000000000..8490ea228 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go @@ -0,0 +1,225 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialLikeRequest interface { + // GetActivityStreamsActor returns the "actor" property if it exists, and + // nil otherwise. + GetActivityStreamsActor() ActivityStreamsActorProperty + // GetActivityStreamsAltitude returns the "altitude" property if it + // exists, and nil otherwise. + GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty + // GetActivityStreamsAttachment returns the "attachment" property if it + // exists, and nil otherwise. + GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsAudience returns the "audience" property if it + // exists, and nil otherwise. + GetActivityStreamsAudience() ActivityStreamsAudienceProperty + // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil + // otherwise. + GetActivityStreamsBcc() ActivityStreamsBccProperty + // GetActivityStreamsBto returns the "bto" property if it exists, and nil + // otherwise. + GetActivityStreamsBto() ActivityStreamsBtoProperty + // GetActivityStreamsCc returns the "cc" property if it exists, and nil + // otherwise. + GetActivityStreamsCc() ActivityStreamsCcProperty + // GetActivityStreamsContent returns the "content" property if it exists, + // and nil otherwise. + GetActivityStreamsContent() ActivityStreamsContentProperty + // GetActivityStreamsContext returns the "context" property if it exists, + // and nil otherwise. + GetActivityStreamsContext() ActivityStreamsContextProperty + // GetActivityStreamsDuration returns the "duration" property if it + // exists, and nil otherwise. + GetActivityStreamsDuration() ActivityStreamsDurationProperty + // GetActivityStreamsEndTime returns the "endTime" property if it exists, + // and nil otherwise. + GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty + // GetActivityStreamsGenerator returns the "generator" property if it + // exists, and nil otherwise. + GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty + // GetActivityStreamsIcon returns the "icon" property if it exists, and + // nil otherwise. + GetActivityStreamsIcon() ActivityStreamsIconProperty + // GetActivityStreamsImage returns the "image" property if it exists, and + // nil otherwise. + GetActivityStreamsImage() ActivityStreamsImageProperty + // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it + // exists, and nil otherwise. + GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty + // GetActivityStreamsInstrument returns the "instrument" property if it + // exists, and nil otherwise. + GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty + // GetActivityStreamsLikes returns the "likes" property if it exists, and + // nil otherwise. + GetActivityStreamsLikes() ActivityStreamsLikesProperty + // GetActivityStreamsLocation returns the "location" property if it + // exists, and nil otherwise. + GetActivityStreamsLocation() ActivityStreamsLocationProperty + // GetActivityStreamsMediaType returns the "mediaType" property if it + // exists, and nil otherwise. + GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty + // GetActivityStreamsName returns the "name" property if it exists, and + // nil otherwise. + GetActivityStreamsName() ActivityStreamsNameProperty + // GetActivityStreamsObject returns the "object" property if it exists, + // and nil otherwise. + GetActivityStreamsObject() ActivityStreamsObjectProperty + // GetActivityStreamsOrigin returns the "origin" property if it exists, + // and nil otherwise. + GetActivityStreamsOrigin() ActivityStreamsOriginProperty + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsPublished returns the "published" property if it + // exists, and nil otherwise. + GetActivityStreamsPublished() ActivityStreamsPublishedProperty + // GetActivityStreamsReplies returns the "replies" property if it exists, + // and nil otherwise. + GetActivityStreamsReplies() ActivityStreamsRepliesProperty + // GetActivityStreamsResult returns the "result" property if it exists, + // and nil otherwise. + GetActivityStreamsResult() ActivityStreamsResultProperty + // GetActivityStreamsSensitive returns the "sensitive" property if it + // exists, and nil otherwise. + GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTarget returns the "target" property if it exists, + // and nil otherwise. + GetActivityStreamsTarget() ActivityStreamsTargetProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the LikeRequest + // type. Note that this should not be used by app developers. It is + // only used to help determine which implementation is LessThan the + // other. Developers who are creating a different implementation of + // this type's interface can use this method in their LessThan + // implementation, but routine ActivityPub applications should not use + // this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the LikeRequest type extends from the other + // type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this LikeRequest is lesser, with an arbitrary but + // stable determination. + LessThan(o GoToSocialLikeRequest) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetActivityStreamsActor sets the "actor" property. + SetActivityStreamsActor(i ActivityStreamsActorProperty) + // SetActivityStreamsAltitude sets the "altitude" property. + SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) + // SetActivityStreamsAttachment sets the "attachment" property. + SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsAudience sets the "audience" property. + SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) + // SetActivityStreamsBcc sets the "bcc" property. + SetActivityStreamsBcc(i ActivityStreamsBccProperty) + // SetActivityStreamsBto sets the "bto" property. + SetActivityStreamsBto(i ActivityStreamsBtoProperty) + // SetActivityStreamsCc sets the "cc" property. + SetActivityStreamsCc(i ActivityStreamsCcProperty) + // SetActivityStreamsContent sets the "content" property. + SetActivityStreamsContent(i ActivityStreamsContentProperty) + // SetActivityStreamsContext sets the "context" property. + SetActivityStreamsContext(i ActivityStreamsContextProperty) + // SetActivityStreamsDuration sets the "duration" property. + SetActivityStreamsDuration(i ActivityStreamsDurationProperty) + // SetActivityStreamsEndTime sets the "endTime" property. + SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) + // SetActivityStreamsGenerator sets the "generator" property. + SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) + // SetActivityStreamsIcon sets the "icon" property. + SetActivityStreamsIcon(i ActivityStreamsIconProperty) + // SetActivityStreamsImage sets the "image" property. + SetActivityStreamsImage(i ActivityStreamsImageProperty) + // SetActivityStreamsInReplyTo sets the "inReplyTo" property. + SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) + // SetActivityStreamsInstrument sets the "instrument" property. + SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty) + // SetActivityStreamsLikes sets the "likes" property. + SetActivityStreamsLikes(i ActivityStreamsLikesProperty) + // SetActivityStreamsLocation sets the "location" property. + SetActivityStreamsLocation(i ActivityStreamsLocationProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsObject sets the "object" property. + SetActivityStreamsObject(i ActivityStreamsObjectProperty) + // SetActivityStreamsOrigin sets the "origin" property. + SetActivityStreamsOrigin(i ActivityStreamsOriginProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsPublished sets the "published" property. + SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) + // SetActivityStreamsReplies sets the "replies" property. + SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) + // SetActivityStreamsResult sets the "result" property. + SetActivityStreamsResult(i ActivityStreamsResultProperty) + // SetActivityStreamsSensitive sets the "sensitive" property. + SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTarget sets the "target" property. + SetActivityStreamsTarget(i ActivityStreamsTargetProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go index 9ba0698e0..616dcbdf4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go @@ -2,6 +2,7 @@ package vocab +// DEPRECATED: Use `ReplyAuthorization` instead. type GoToSocialReplyApproval interface { // GetActivityStreamsAltitude returns the "altitude" property if it // exists, and nil otherwise. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go new file mode 100644 index 000000000..4d3975153 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go @@ -0,0 +1,210 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialReplyAuthorization interface { + // GetActivityStreamsAltitude returns the "altitude" property if it + // exists, and nil otherwise. + GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty + // GetActivityStreamsAttachment returns the "attachment" property if it + // exists, and nil otherwise. + GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsAudience returns the "audience" property if it + // exists, and nil otherwise. + GetActivityStreamsAudience() ActivityStreamsAudienceProperty + // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil + // otherwise. + GetActivityStreamsBcc() ActivityStreamsBccProperty + // GetActivityStreamsBto returns the "bto" property if it exists, and nil + // otherwise. + GetActivityStreamsBto() ActivityStreamsBtoProperty + // GetActivityStreamsCc returns the "cc" property if it exists, and nil + // otherwise. + GetActivityStreamsCc() ActivityStreamsCcProperty + // GetActivityStreamsContent returns the "content" property if it exists, + // and nil otherwise. + GetActivityStreamsContent() ActivityStreamsContentProperty + // GetActivityStreamsContext returns the "context" property if it exists, + // and nil otherwise. + GetActivityStreamsContext() ActivityStreamsContextProperty + // GetActivityStreamsDuration returns the "duration" property if it + // exists, and nil otherwise. + GetActivityStreamsDuration() ActivityStreamsDurationProperty + // GetActivityStreamsEndTime returns the "endTime" property if it exists, + // and nil otherwise. + GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty + // GetActivityStreamsGenerator returns the "generator" property if it + // exists, and nil otherwise. + GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty + // GetActivityStreamsIcon returns the "icon" property if it exists, and + // nil otherwise. + GetActivityStreamsIcon() ActivityStreamsIconProperty + // GetActivityStreamsImage returns the "image" property if it exists, and + // nil otherwise. + GetActivityStreamsImage() ActivityStreamsImageProperty + // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it + // exists, and nil otherwise. + GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty + // GetActivityStreamsLikes returns the "likes" property if it exists, and + // nil otherwise. + GetActivityStreamsLikes() ActivityStreamsLikesProperty + // GetActivityStreamsLocation returns the "location" property if it + // exists, and nil otherwise. + GetActivityStreamsLocation() ActivityStreamsLocationProperty + // GetActivityStreamsMediaType returns the "mediaType" property if it + // exists, and nil otherwise. + GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty + // GetActivityStreamsName returns the "name" property if it exists, and + // nil otherwise. + GetActivityStreamsName() ActivityStreamsNameProperty + // GetActivityStreamsObject returns the "object" property if it exists, + // and nil otherwise. + GetActivityStreamsObject() ActivityStreamsObjectProperty + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsPublished returns the "published" property if it + // exists, and nil otherwise. + GetActivityStreamsPublished() ActivityStreamsPublishedProperty + // GetActivityStreamsReplies returns the "replies" property if it exists, + // and nil otherwise. + GetActivityStreamsReplies() ActivityStreamsRepliesProperty + // GetActivityStreamsSensitive returns the "sensitive" property if it + // exists, and nil otherwise. + GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetGoToSocialInteractingObject returns the "interactingObject" property + // if it exists, and nil otherwise. + GetGoToSocialInteractingObject() GoToSocialInteractingObjectProperty + // GetGoToSocialInteractionTarget returns the "interactionTarget" property + // if it exists, and nil otherwise. + GetGoToSocialInteractionTarget() GoToSocialInteractionTargetProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the + // ReplyAuthorization type. Note that this should not be used by app + // developers. It is only used to help determine which implementation + // is LessThan the other. Developers who are creating a different + // implementation of this type's interface can use this method in + // their LessThan implementation, but routine ActivityPub applications + // should not use this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the ReplyAuthorization type extends from + // the other type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this ReplyAuthorization is lesser, with an + // arbitrary but stable determination. + LessThan(o GoToSocialReplyAuthorization) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetActivityStreamsAltitude sets the "altitude" property. + SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) + // SetActivityStreamsAttachment sets the "attachment" property. + SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsAudience sets the "audience" property. + SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) + // SetActivityStreamsBcc sets the "bcc" property. + SetActivityStreamsBcc(i ActivityStreamsBccProperty) + // SetActivityStreamsBto sets the "bto" property. + SetActivityStreamsBto(i ActivityStreamsBtoProperty) + // SetActivityStreamsCc sets the "cc" property. + SetActivityStreamsCc(i ActivityStreamsCcProperty) + // SetActivityStreamsContent sets the "content" property. + SetActivityStreamsContent(i ActivityStreamsContentProperty) + // SetActivityStreamsContext sets the "context" property. + SetActivityStreamsContext(i ActivityStreamsContextProperty) + // SetActivityStreamsDuration sets the "duration" property. + SetActivityStreamsDuration(i ActivityStreamsDurationProperty) + // SetActivityStreamsEndTime sets the "endTime" property. + SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) + // SetActivityStreamsGenerator sets the "generator" property. + SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) + // SetActivityStreamsIcon sets the "icon" property. + SetActivityStreamsIcon(i ActivityStreamsIconProperty) + // SetActivityStreamsImage sets the "image" property. + SetActivityStreamsImage(i ActivityStreamsImageProperty) + // SetActivityStreamsInReplyTo sets the "inReplyTo" property. + SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) + // SetActivityStreamsLikes sets the "likes" property. + SetActivityStreamsLikes(i ActivityStreamsLikesProperty) + // SetActivityStreamsLocation sets the "location" property. + SetActivityStreamsLocation(i ActivityStreamsLocationProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsObject sets the "object" property. + SetActivityStreamsObject(i ActivityStreamsObjectProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsPublished sets the "published" property. + SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) + // SetActivityStreamsReplies sets the "replies" property. + SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) + // SetActivityStreamsSensitive sets the "sensitive" property. + SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetGoToSocialInteractingObject sets the "interactingObject" property. + SetGoToSocialInteractingObject(i GoToSocialInteractingObjectProperty) + // SetGoToSocialInteractionTarget sets the "interactionTarget" property. + SetGoToSocialInteractionTarget(i GoToSocialInteractionTargetProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go new file mode 100644 index 000000000..b6572c357 --- /dev/null +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go @@ -0,0 +1,225 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +type GoToSocialReplyRequest interface { + // GetActivityStreamsActor returns the "actor" property if it exists, and + // nil otherwise. + GetActivityStreamsActor() ActivityStreamsActorProperty + // GetActivityStreamsAltitude returns the "altitude" property if it + // exists, and nil otherwise. + GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty + // GetActivityStreamsAttachment returns the "attachment" property if it + // exists, and nil otherwise. + GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsAudience returns the "audience" property if it + // exists, and nil otherwise. + GetActivityStreamsAudience() ActivityStreamsAudienceProperty + // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil + // otherwise. + GetActivityStreamsBcc() ActivityStreamsBccProperty + // GetActivityStreamsBto returns the "bto" property if it exists, and nil + // otherwise. + GetActivityStreamsBto() ActivityStreamsBtoProperty + // GetActivityStreamsCc returns the "cc" property if it exists, and nil + // otherwise. + GetActivityStreamsCc() ActivityStreamsCcProperty + // GetActivityStreamsContent returns the "content" property if it exists, + // and nil otherwise. + GetActivityStreamsContent() ActivityStreamsContentProperty + // GetActivityStreamsContext returns the "context" property if it exists, + // and nil otherwise. + GetActivityStreamsContext() ActivityStreamsContextProperty + // GetActivityStreamsDuration returns the "duration" property if it + // exists, and nil otherwise. + GetActivityStreamsDuration() ActivityStreamsDurationProperty + // GetActivityStreamsEndTime returns the "endTime" property if it exists, + // and nil otherwise. + GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty + // GetActivityStreamsGenerator returns the "generator" property if it + // exists, and nil otherwise. + GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty + // GetActivityStreamsIcon returns the "icon" property if it exists, and + // nil otherwise. + GetActivityStreamsIcon() ActivityStreamsIconProperty + // GetActivityStreamsImage returns the "image" property if it exists, and + // nil otherwise. + GetActivityStreamsImage() ActivityStreamsImageProperty + // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it + // exists, and nil otherwise. + GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty + // GetActivityStreamsInstrument returns the "instrument" property if it + // exists, and nil otherwise. + GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty + // GetActivityStreamsLikes returns the "likes" property if it exists, and + // nil otherwise. + GetActivityStreamsLikes() ActivityStreamsLikesProperty + // GetActivityStreamsLocation returns the "location" property if it + // exists, and nil otherwise. + GetActivityStreamsLocation() ActivityStreamsLocationProperty + // GetActivityStreamsMediaType returns the "mediaType" property if it + // exists, and nil otherwise. + GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty + // GetActivityStreamsName returns the "name" property if it exists, and + // nil otherwise. + GetActivityStreamsName() ActivityStreamsNameProperty + // GetActivityStreamsObject returns the "object" property if it exists, + // and nil otherwise. + GetActivityStreamsObject() ActivityStreamsObjectProperty + // GetActivityStreamsOrigin returns the "origin" property if it exists, + // and nil otherwise. + GetActivityStreamsOrigin() ActivityStreamsOriginProperty + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsPublished returns the "published" property if it + // exists, and nil otherwise. + GetActivityStreamsPublished() ActivityStreamsPublishedProperty + // GetActivityStreamsReplies returns the "replies" property if it exists, + // and nil otherwise. + GetActivityStreamsReplies() ActivityStreamsRepliesProperty + // GetActivityStreamsResult returns the "result" property if it exists, + // and nil otherwise. + GetActivityStreamsResult() ActivityStreamsResultProperty + // GetActivityStreamsSensitive returns the "sensitive" property if it + // exists, and nil otherwise. + GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTarget returns the "target" property if it exists, + // and nil otherwise. + GetActivityStreamsTarget() ActivityStreamsTargetProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the + // ReplyRequest type. Note that this should not be used by app + // developers. It is only used to help determine which implementation + // is LessThan the other. Developers who are creating a different + // implementation of this type's interface can use this method in + // their LessThan implementation, but routine ActivityPub applications + // should not use this to bypass the code generation tool. + GetUnknownProperties() map[string]interface{} + // IsExtending returns true if the ReplyRequest type extends from the + // other type. + IsExtending(other Type) bool + // JSONLDContext returns the JSONLD URIs required in the context string + // for this type and the specific properties that are set. The value + // in the map is the alias used to import the type and its properties. + JSONLDContext() map[string]string + // LessThan computes if this ReplyRequest is lesser, with an arbitrary but + // stable determination. + LessThan(o GoToSocialReplyRequest) bool + // Serialize converts this into an interface representation suitable for + // marshalling into a text or binary format. + Serialize() (map[string]interface{}, error) + // SetActivityStreamsActor sets the "actor" property. + SetActivityStreamsActor(i ActivityStreamsActorProperty) + // SetActivityStreamsAltitude sets the "altitude" property. + SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) + // SetActivityStreamsAttachment sets the "attachment" property. + SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsAudience sets the "audience" property. + SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) + // SetActivityStreamsBcc sets the "bcc" property. + SetActivityStreamsBcc(i ActivityStreamsBccProperty) + // SetActivityStreamsBto sets the "bto" property. + SetActivityStreamsBto(i ActivityStreamsBtoProperty) + // SetActivityStreamsCc sets the "cc" property. + SetActivityStreamsCc(i ActivityStreamsCcProperty) + // SetActivityStreamsContent sets the "content" property. + SetActivityStreamsContent(i ActivityStreamsContentProperty) + // SetActivityStreamsContext sets the "context" property. + SetActivityStreamsContext(i ActivityStreamsContextProperty) + // SetActivityStreamsDuration sets the "duration" property. + SetActivityStreamsDuration(i ActivityStreamsDurationProperty) + // SetActivityStreamsEndTime sets the "endTime" property. + SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) + // SetActivityStreamsGenerator sets the "generator" property. + SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) + // SetActivityStreamsIcon sets the "icon" property. + SetActivityStreamsIcon(i ActivityStreamsIconProperty) + // SetActivityStreamsImage sets the "image" property. + SetActivityStreamsImage(i ActivityStreamsImageProperty) + // SetActivityStreamsInReplyTo sets the "inReplyTo" property. + SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) + // SetActivityStreamsInstrument sets the "instrument" property. + SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty) + // SetActivityStreamsLikes sets the "likes" property. + SetActivityStreamsLikes(i ActivityStreamsLikesProperty) + // SetActivityStreamsLocation sets the "location" property. + SetActivityStreamsLocation(i ActivityStreamsLocationProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsObject sets the "object" property. + SetActivityStreamsObject(i ActivityStreamsObjectProperty) + // SetActivityStreamsOrigin sets the "origin" property. + SetActivityStreamsOrigin(i ActivityStreamsOriginProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsPublished sets the "published" property. + SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) + // SetActivityStreamsReplies sets the "replies" property. + SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) + // SetActivityStreamsResult sets the "result" property. + SetActivityStreamsResult(i ActivityStreamsResultProperty) + // SetActivityStreamsSensitive sets the "sensitive" property. + SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTarget sets the "target" property. + SetActivityStreamsTarget(i ActivityStreamsTargetProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/modules.txt b/vendor/modules.txt index c0b7298f3..ae358fc29 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -66,7 +66,7 @@ codeberg.org/gruf/go-storage/s3 # codeberg.org/gruf/go-structr v0.9.6 ## explicit; go 1.22 codeberg.org/gruf/go-structr -# codeberg.org/superseriousbusiness/activity v1.13.0-gts +# codeberg.org/superseriousbusiness/activity v1.14.0 ## explicit; go 1.21 codeberg.org/superseriousbusiness/activity/pub codeberg.org/superseriousbusiness/activity/streams @@ -209,17 +209,29 @@ codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization +codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value @@ -227,6 +239,8 @@ codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalu codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured +codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint +codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount From 723c0af647fbe8e43194574ebcb00ee0496e08df Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 25 Apr 2025 15:15:36 +0200 Subject: [PATCH 03/31] [chore] Move deps to code.superseriousbusiness.org (#4054) --- README.md | 8 +- go.mod | 13 +- go.sum | 29 +- internal/ap/activitystreams.go | 2 +- internal/ap/activitystreams_test.go | 2 +- internal/ap/ap_test.go | 4 +- internal/ap/collections.go | 4 +- internal/ap/collections_test.go | 6 +- internal/ap/extract.go | 4 +- internal/ap/extractattachments_test.go | 2 +- internal/ap/extractmentions_test.go | 2 +- internal/ap/extractpubkey_test.go | 4 +- internal/ap/interfaces.go | 2 +- internal/ap/interfaces_test.go | 2 +- internal/ap/normalize.go | 4 +- internal/ap/normalize_test.go | 2 +- internal/ap/properties.go | 4 +- internal/ap/resolve.go | 6 +- internal/ap/serialize.go | 4 +- internal/ap/util.go | 2 +- .../api/activitypub/users/inboxpost_test.go | 6 +- .../api/activitypub/users/outboxget_test.go | 4 +- .../api/activitypub/users/repliesget_test.go | 4 +- .../api/activitypub/users/statusget_test.go | 4 +- .../api/activitypub/users/userget_test.go | 4 +- internal/api/auth/revoke.go | 2 +- internal/api/util/auth.go | 2 +- internal/federation/authenticate.go | 6 +- internal/federation/clock.go | 2 +- internal/federation/commonbehavior.go | 4 +- internal/federation/dereferencing/account.go | 2 +- .../federation/dereferencing/account_test.go | 4 +- .../federation/dereferencing/collection.go | 2 +- .../dereferencing/dereferencer_test.go | 2 +- .../federation/dereferencing/status_test.go | 2 +- internal/federation/dereferencing/thread.go | 2 +- internal/federation/federatingactor.go | 4 +- internal/federation/federatingdb/accept.go | 2 +- internal/federation/federatingdb/announce.go | 2 +- .../federation/federatingdb/announce_test.go | 2 +- internal/federation/federatingdb/block.go | 2 +- internal/federation/federatingdb/create.go | 2 +- .../federation/federatingdb/create_test.go | 4 +- internal/federation/federatingdb/db.go | 4 +- internal/federation/federatingdb/flag.go | 2 +- internal/federation/federatingdb/follow.go | 2 +- internal/federation/federatingdb/followers.go | 2 +- internal/federation/federatingdb/following.go | 2 +- internal/federation/federatingdb/get.go | 2 +- internal/federation/federatingdb/inbox.go | 4 +- internal/federation/federatingdb/like.go | 2 +- internal/federation/federatingdb/liked.go | 4 +- internal/federation/federatingdb/move.go | 2 +- internal/federation/federatingdb/move_test.go | 4 +- internal/federation/federatingdb/outbox.go | 4 +- internal/federation/federatingdb/reject.go | 2 +- .../federation/federatingdb/reject_test.go | 2 +- internal/federation/federatingdb/undo.go | 2 +- internal/federation/federatingdb/update.go | 2 +- internal/federation/federatingdb/util.go | 4 +- internal/federation/federatingprotocol.go | 6 +- .../federation/federatingprotocol_test.go | 2 +- internal/federation/federator.go | 2 +- internal/federation/transport.go | 2 +- internal/gtscontext/context.go | 2 +- internal/media/metadata.go | 2 +- internal/messages/messages.go | 4 +- internal/middleware/signaturecheck.go | 2 +- internal/middleware/tokencheck.go | 2 +- internal/oauth/clientstore.go | 4 +- internal/oauth/errors.go | 2 +- internal/oauth/handlers/handlers.go | 8 +- internal/oauth/server.go | 8 +- internal/oauth/tokenstore.go | 4 +- internal/processing/fedi/collections.go | 2 +- internal/processing/fedi/status.go | 2 +- internal/processing/oauth.go | 2 +- internal/processing/user/create.go | 2 +- internal/processing/workers/federate.go | 4 +- internal/transport/controller.go | 2 +- internal/transport/signing.go | 2 +- internal/transport/transport.go | 2 +- internal/typeutils/astointernal_test.go | 4 +- internal/typeutils/converter_test.go | 2 +- internal/typeutils/internaltoas.go | 6 +- internal/typeutils/wrap.go | 4 +- testrig/testmodels.go | 6 +- testrig/transportcontroller.go | 6 +- .../activity/LICENSE | 0 .../activity/pub/README.md | 2 +- .../activity/pub/activity.go | 2 +- .../activity/pub/actor.go | 2 +- .../activity/pub/base_actor.go | 4 +- .../activity/pub/clock.go | 0 .../activity/pub/common_behavior.go | 2 +- .../activity/pub/database.go | 2 +- .../activity/pub/delegate_actor.go | 2 +- .../activity/pub/doc.go | 0 .../activity/pub/federating_protocol.go | 2 +- .../pub/federating_wrapped_callbacks.go | 4 +- .../activity/pub/handlers.go | 2 +- .../activity/pub/property_interfaces.go | 2 +- .../activity/pub/side_effect_actor.go | 4 +- .../activity/pub/social_protocol.go | 2 +- .../activity/pub/social_wrapped_callbacks.go | 4 +- .../activity/pub/transport.go | 2 +- .../activity/pub/util.go | 4 +- .../activity/pub/version.go | 0 .../activity/streams/README.md | 0 .../activity/streams/gen_consts.go | 0 .../activity/streams/gen_doc.go | 0 .../activity/streams/gen_init.go | 457 +++++++++++++++ .../activity/streams/gen_json_resolver.go | 2 +- .../activity/streams/gen_manager.go | 364 ++++++------ .../gen_pkg_activitystreams_disjoint.go | 112 ++-- .../gen_pkg_activitystreams_extendedby.go | 112 ++-- .../gen_pkg_activitystreams_extends.go | 112 ++-- .../gen_pkg_activitystreams_isorextends.go | 112 ++-- ...g_activitystreams_property_constructors.go | 156 ++--- ...n_pkg_activitystreams_type_constructors.go | 112 ++-- .../streams/gen_pkg_funkwhale_disjoint.go | 10 +- .../streams/gen_pkg_funkwhale_extendedby.go | 10 +- .../streams/gen_pkg_funkwhale_extends.go | 10 +- .../streams/gen_pkg_funkwhale_isorextends.go | 10 +- .../gen_pkg_funkwhale_type_constructors.go | 10 +- .../streams/gen_pkg_gotosocial_disjoint.go | 30 +- .../streams/gen_pkg_gotosocial_extendedby.go | 30 +- .../streams/gen_pkg_gotosocial_extends.go | 30 +- .../streams/gen_pkg_gotosocial_isorextends.go | 30 +- ...en_pkg_gotosocial_property_constructors.go | 26 +- .../gen_pkg_gotosocial_type_constructors.go | 30 +- .../gen_pkg_jsonld_property_constructors.go | 6 +- .../streams/gen_pkg_schema_disjoint.go | 4 +- .../streams/gen_pkg_schema_extendedby.go | 4 +- .../streams/gen_pkg_schema_extends.go | 4 +- .../streams/gen_pkg_schema_isorextends.go | 4 +- .../gen_pkg_schema_property_constructors.go | 4 +- .../gen_pkg_schema_type_constructors.go | 4 +- .../activity/streams/gen_pkg_toot_disjoint.go | 8 +- .../streams/gen_pkg_toot_extendedby.go | 8 +- .../activity/streams/gen_pkg_toot_extends.go | 8 +- .../streams/gen_pkg_toot_isorextends.go | 8 +- .../gen_pkg_toot_property_constructors.go | 18 +- .../streams/gen_pkg_toot_type_constructors.go | 8 +- .../gen_pkg_w3idsecurityv1_disjoint.go | 4 +- .../gen_pkg_w3idsecurityv1_extendedby.go | 4 +- .../streams/gen_pkg_w3idsecurityv1_extends.go | 4 +- .../gen_pkg_w3idsecurityv1_isorextends.go | 4 +- ...kg_w3idsecurityv1_property_constructors.go | 8 +- ...en_pkg_w3idsecurityv1_type_constructors.go | 4 +- .../activity/streams/gen_resolver_utils.go | 2 +- .../streams/gen_type_predicated_resolver.go | 2 +- .../activity/streams/gen_type_resolver.go | 2 +- .../property_accuracy/gen_doc.go | 0 .../property_accuracy/gen_pkg.go | 0 .../gen_property_activitystreams_accuracy.go | 4 +- .../activitystreams/property_actor/gen_doc.go | 0 .../activitystreams/property_actor/gen_pkg.go | 2 +- .../gen_property_activitystreams_actor.go | 2 +- .../property_alsoknownas/gen_doc.go | 0 .../property_alsoknownas/gen_pkg.go | 0 ...en_property_activitystreams_alsoKnownAs.go | 4 +- .../property_altitude/gen_doc.go | 0 .../property_altitude/gen_pkg.go | 0 .../gen_property_activitystreams_altitude.go | 4 +- .../activitystreams/property_anyof/gen_doc.go | 0 .../activitystreams/property_anyof/gen_pkg.go | 2 +- .../gen_property_activitystreams_anyOf.go | 2 +- .../property_attachment/gen_doc.go | 0 .../property_attachment/gen_pkg.go | 2 +- ...gen_property_activitystreams_attachment.go | 2 +- .../property_attributedto/gen_doc.go | 0 .../property_attributedto/gen_pkg.go | 2 +- ...n_property_activitystreams_attributedTo.go | 2 +- .../property_audience/gen_doc.go | 0 .../property_audience/gen_pkg.go | 2 +- .../gen_property_activitystreams_audience.go | 2 +- .../activitystreams/property_bcc/gen_doc.go | 0 .../activitystreams/property_bcc/gen_pkg.go | 2 +- .../gen_property_activitystreams_bcc.go | 2 +- .../activitystreams/property_bto/gen_doc.go | 0 .../activitystreams/property_bto/gen_pkg.go | 2 +- .../gen_property_activitystreams_bto.go | 2 +- .../activitystreams/property_cc/gen_doc.go | 0 .../activitystreams/property_cc/gen_pkg.go | 2 +- .../gen_property_activitystreams_cc.go | 2 +- .../property_closed/gen_doc.go | 0 .../property_closed/gen_pkg.go | 2 +- .../gen_property_activitystreams_closed.go | 6 +- .../property_content/gen_doc.go | 0 .../property_content/gen_pkg.go | 0 .../gen_property_activitystreams_content.go | 6 +- .../property_context/gen_doc.go | 0 .../property_context/gen_pkg.go | 2 +- .../gen_property_activitystreams_context.go | 2 +- .../property_current/gen_doc.go | 0 .../property_current/gen_pkg.go | 2 +- .../gen_property_activitystreams_current.go | 2 +- .../property_deleted/gen_doc.go | 0 .../property_deleted/gen_pkg.go | 0 .../gen_property_activitystreams_deleted.go | 4 +- .../property_describes/gen_doc.go | 0 .../property_describes/gen_pkg.go | 2 +- .../gen_property_activitystreams_describes.go | 2 +- .../property_duration/gen_doc.go | 0 .../property_duration/gen_pkg.go | 0 .../gen_property_activitystreams_duration.go | 4 +- .../property_endpoints/gen_doc.go | 0 .../property_endpoints/gen_pkg.go | 2 +- .../gen_property_activitystreams_endpoints.go | 2 +- .../property_endtime/gen_doc.go | 0 .../property_endtime/gen_pkg.go | 0 .../gen_property_activitystreams_endTime.go | 4 +- .../activitystreams/property_first/gen_doc.go | 0 .../activitystreams/property_first/gen_pkg.go | 2 +- .../gen_property_activitystreams_first.go | 2 +- .../property_followers/gen_doc.go | 0 .../property_followers/gen_pkg.go | 2 +- .../gen_property_activitystreams_followers.go | 2 +- .../property_following/gen_doc.go | 0 .../property_following/gen_pkg.go | 2 +- .../gen_property_activitystreams_following.go | 2 +- .../property_formertype/gen_doc.go | 0 .../property_formertype/gen_pkg.go | 2 +- ...gen_property_activitystreams_formerType.go | 4 +- .../property_generator/gen_doc.go | 0 .../property_generator/gen_pkg.go | 2 +- .../gen_property_activitystreams_generator.go | 2 +- .../property_height/gen_doc.go | 0 .../property_height/gen_pkg.go | 0 .../gen_property_activitystreams_height.go | 4 +- .../activitystreams/property_href/gen_doc.go | 0 .../activitystreams/property_href/gen_pkg.go | 0 .../gen_property_activitystreams_href.go | 4 +- .../property_hreflang/gen_doc.go | 0 .../property_hreflang/gen_pkg.go | 0 .../gen_property_activitystreams_hreflang.go | 4 +- .../activitystreams/property_icon/gen_doc.go | 0 .../activitystreams/property_icon/gen_pkg.go | 2 +- .../gen_property_activitystreams_icon.go | 2 +- .../activitystreams/property_image/gen_doc.go | 0 .../activitystreams/property_image/gen_pkg.go | 2 +- .../gen_property_activitystreams_image.go | 2 +- .../activitystreams/property_inbox/gen_doc.go | 0 .../activitystreams/property_inbox/gen_pkg.go | 2 +- .../gen_property_activitystreams_inbox.go | 2 +- .../property_inreplyto/gen_doc.go | 0 .../property_inreplyto/gen_pkg.go | 2 +- .../gen_property_activitystreams_inReplyTo.go | 2 +- .../property_instrument/gen_doc.go | 0 .../property_instrument/gen_pkg.go | 2 +- ...gen_property_activitystreams_instrument.go | 2 +- .../activitystreams/property_items/gen_doc.go | 0 .../activitystreams/property_items/gen_pkg.go | 2 +- .../gen_property_activitystreams_items.go | 2 +- .../activitystreams/property_last/gen_doc.go | 0 .../activitystreams/property_last/gen_pkg.go | 2 +- .../gen_property_activitystreams_last.go | 2 +- .../property_latitude/gen_doc.go | 0 .../property_latitude/gen_pkg.go | 0 .../gen_property_activitystreams_latitude.go | 4 +- .../activitystreams/property_liked/gen_doc.go | 0 .../activitystreams/property_liked/gen_pkg.go | 2 +- .../gen_property_activitystreams_liked.go | 2 +- .../activitystreams/property_likes/gen_doc.go | 0 .../activitystreams/property_likes/gen_pkg.go | 2 +- .../gen_property_activitystreams_likes.go | 2 +- .../property_location/gen_doc.go | 0 .../property_location/gen_pkg.go | 2 +- .../gen_property_activitystreams_location.go | 2 +- .../property_longitude/gen_doc.go | 0 .../property_longitude/gen_pkg.go | 0 .../gen_property_activitystreams_longitude.go | 4 +- .../gen_doc.go | 0 .../gen_pkg.go | 0 ...tivitystreams_manuallyApprovesFollowers.go | 4 +- .../property_mediatype/gen_doc.go | 0 .../property_mediatype/gen_pkg.go | 0 .../gen_property_activitystreams_mediaType.go | 4 +- .../property_movedto/gen_doc.go | 0 .../property_movedto/gen_pkg.go | 0 .../gen_property_activitystreams_movedTo.go | 4 +- .../activitystreams/property_name/gen_doc.go | 0 .../activitystreams/property_name/gen_pkg.go | 0 .../gen_property_activitystreams_name.go | 6 +- .../activitystreams/property_next/gen_doc.go | 0 .../activitystreams/property_next/gen_pkg.go | 2 +- .../gen_property_activitystreams_next.go | 2 +- .../property_object/gen_doc.go | 0 .../property_object/gen_pkg.go | 2 +- .../gen_property_activitystreams_object.go | 2 +- .../activitystreams/property_oneof/gen_doc.go | 0 .../activitystreams/property_oneof/gen_pkg.go | 2 +- .../gen_property_activitystreams_oneOf.go | 2 +- .../property_ordereditems/gen_doc.go | 0 .../property_ordereditems/gen_pkg.go | 2 +- ...n_property_activitystreams_orderedItems.go | 2 +- .../property_origin/gen_doc.go | 0 .../property_origin/gen_pkg.go | 2 +- .../gen_property_activitystreams_origin.go | 2 +- .../property_outbox/gen_doc.go | 0 .../property_outbox/gen_pkg.go | 2 +- .../gen_property_activitystreams_outbox.go | 2 +- .../property_partof/gen_doc.go | 0 .../property_partof/gen_pkg.go | 2 +- .../gen_property_activitystreams_partOf.go | 2 +- .../property_preferredusername/gen_doc.go | 0 .../property_preferredusername/gen_pkg.go | 0 ...perty_activitystreams_preferredUsername.go | 6 +- .../activitystreams/property_prev/gen_doc.go | 0 .../activitystreams/property_prev/gen_pkg.go | 2 +- .../gen_property_activitystreams_prev.go | 2 +- .../property_preview/gen_doc.go | 0 .../property_preview/gen_pkg.go | 2 +- .../gen_property_activitystreams_preview.go | 2 +- .../property_published/gen_doc.go | 0 .../property_published/gen_pkg.go | 0 .../gen_property_activitystreams_published.go | 4 +- .../property_radius/gen_doc.go | 0 .../property_radius/gen_pkg.go | 0 .../gen_property_activitystreams_radius.go | 4 +- .../activitystreams/property_rel/gen_doc.go | 0 .../activitystreams/property_rel/gen_pkg.go | 0 .../gen_property_activitystreams_rel.go | 4 +- .../property_relationship/gen_doc.go | 0 .../property_relationship/gen_pkg.go | 2 +- ...n_property_activitystreams_relationship.go | 2 +- .../property_replies/gen_doc.go | 0 .../property_replies/gen_pkg.go | 2 +- .../gen_property_activitystreams_replies.go | 2 +- .../property_result/gen_doc.go | 0 .../property_result/gen_pkg.go | 2 +- .../gen_property_activitystreams_result.go | 2 +- .../property_sensitive/gen_doc.go | 0 .../property_sensitive/gen_pkg.go | 0 .../gen_property_activitystreams_sensitive.go | 4 +- .../property_sharedinbox/gen_doc.go | 0 .../property_sharedinbox/gen_pkg.go | 0 ...en_property_activitystreams_sharedInbox.go | 4 +- .../property_shares/gen_doc.go | 0 .../property_shares/gen_pkg.go | 2 +- .../gen_property_activitystreams_shares.go | 2 +- .../property_source/gen_doc.go | 0 .../property_source/gen_pkg.go | 2 +- .../gen_property_activitystreams_source.go | 2 +- .../property_startindex/gen_doc.go | 0 .../property_startindex/gen_pkg.go | 0 ...gen_property_activitystreams_startIndex.go | 4 +- .../property_starttime/gen_doc.go | 0 .../property_starttime/gen_pkg.go | 0 .../gen_property_activitystreams_startTime.go | 4 +- .../property_streams/gen_doc.go | 0 .../property_streams/gen_pkg.go | 2 +- .../gen_property_activitystreams_streams.go | 2 +- .../property_subject/gen_doc.go | 0 .../property_subject/gen_pkg.go | 2 +- .../gen_property_activitystreams_subject.go | 2 +- .../property_summary/gen_doc.go | 0 .../property_summary/gen_pkg.go | 0 .../gen_property_activitystreams_summary.go | 6 +- .../activitystreams/property_tag/gen_doc.go | 0 .../activitystreams/property_tag/gen_pkg.go | 2 +- .../gen_property_activitystreams_tag.go | 2 +- .../property_target/gen_doc.go | 0 .../property_target/gen_pkg.go | 2 +- .../gen_property_activitystreams_target.go | 2 +- .../activitystreams/property_to/gen_doc.go | 0 .../activitystreams/property_to/gen_pkg.go | 2 +- .../gen_property_activitystreams_to.go | 2 +- .../property_totalitems/gen_doc.go | 0 .../property_totalitems/gen_pkg.go | 0 ...gen_property_activitystreams_totalItems.go | 4 +- .../activitystreams/property_units/gen_doc.go | 0 .../activitystreams/property_units/gen_pkg.go | 0 .../gen_property_activitystreams_units.go | 6 +- .../property_updated/gen_doc.go | 0 .../property_updated/gen_pkg.go | 0 .../gen_property_activitystreams_updated.go | 4 +- .../activitystreams/property_url/gen_doc.go | 0 .../activitystreams/property_url/gen_pkg.go | 2 +- .../gen_property_activitystreams_url.go | 4 +- .../activitystreams/property_width/gen_doc.go | 0 .../activitystreams/property_width/gen_pkg.go | 0 .../gen_property_activitystreams_width.go | 4 +- .../activitystreams/type_accept/gen_doc.go | 0 .../activitystreams/type_accept/gen_pkg.go | 2 +- .../gen_type_activitystreams_accept.go | 2 +- .../activitystreams/type_activity/gen_doc.go | 0 .../activitystreams/type_activity/gen_pkg.go | 2 +- .../gen_type_activitystreams_activity.go | 2 +- .../impl/activitystreams/type_add/gen_doc.go | 0 .../impl/activitystreams/type_add/gen_pkg.go | 2 +- .../type_add/gen_type_activitystreams_add.go | 2 +- .../activitystreams/type_announce/gen_doc.go | 0 .../activitystreams/type_announce/gen_pkg.go | 2 +- .../gen_type_activitystreams_announce.go | 2 +- .../type_application/gen_doc.go | 0 .../type_application/gen_pkg.go | 2 +- .../gen_type_activitystreams_application.go | 2 +- .../activitystreams/type_arrive/gen_doc.go | 0 .../activitystreams/type_arrive/gen_pkg.go | 2 +- .../gen_type_activitystreams_arrive.go | 2 +- .../activitystreams/type_article/gen_doc.go | 0 .../activitystreams/type_article/gen_pkg.go | 2 +- .../gen_type_activitystreams_article.go | 2 +- .../activitystreams/type_audio/gen_doc.go | 0 .../activitystreams/type_audio/gen_pkg.go | 2 +- .../gen_type_activitystreams_audio.go | 2 +- .../activitystreams/type_block/gen_doc.go | 0 .../activitystreams/type_block/gen_pkg.go | 2 +- .../gen_type_activitystreams_block.go | 2 +- .../type_collection/gen_doc.go | 0 .../type_collection/gen_pkg.go | 2 +- .../gen_type_activitystreams_collection.go | 2 +- .../type_collectionpage/gen_doc.go | 0 .../type_collectionpage/gen_pkg.go | 2 +- ...gen_type_activitystreams_collectionpage.go | 2 +- .../activitystreams/type_create/gen_doc.go | 0 .../activitystreams/type_create/gen_pkg.go | 2 +- .../gen_type_activitystreams_create.go | 2 +- .../activitystreams/type_delete/gen_doc.go | 0 .../activitystreams/type_delete/gen_pkg.go | 2 +- .../gen_type_activitystreams_delete.go | 2 +- .../activitystreams/type_dislike/gen_doc.go | 0 .../activitystreams/type_dislike/gen_pkg.go | 2 +- .../gen_type_activitystreams_dislike.go | 2 +- .../activitystreams/type_document/gen_doc.go | 0 .../activitystreams/type_document/gen_pkg.go | 2 +- .../gen_type_activitystreams_document.go | 2 +- .../activitystreams/type_endpoints/gen_doc.go | 0 .../activitystreams/type_endpoints/gen_pkg.go | 2 +- .../gen_type_activitystreams_endpoints.go | 2 +- .../activitystreams/type_event/gen_doc.go | 0 .../activitystreams/type_event/gen_pkg.go | 2 +- .../gen_type_activitystreams_event.go | 2 +- .../impl/activitystreams/type_flag/gen_doc.go | 0 .../impl/activitystreams/type_flag/gen_pkg.go | 2 +- .../gen_type_activitystreams_flag.go | 2 +- .../activitystreams/type_follow/gen_doc.go | 0 .../activitystreams/type_follow/gen_pkg.go | 2 +- .../gen_type_activitystreams_follow.go | 2 +- .../activitystreams/type_group/gen_doc.go | 0 .../activitystreams/type_group/gen_pkg.go | 2 +- .../gen_type_activitystreams_group.go | 2 +- .../activitystreams/type_ignore/gen_doc.go | 0 .../activitystreams/type_ignore/gen_pkg.go | 2 +- .../gen_type_activitystreams_ignore.go | 2 +- .../activitystreams/type_image/gen_doc.go | 0 .../activitystreams/type_image/gen_pkg.go | 2 +- .../gen_type_activitystreams_image.go | 2 +- .../type_intransitiveactivity/gen_doc.go | 0 .../type_intransitiveactivity/gen_pkg.go | 2 +- ...pe_activitystreams_intransitiveactivity.go | 2 +- .../activitystreams/type_invite/gen_doc.go | 0 .../activitystreams/type_invite/gen_pkg.go | 2 +- .../gen_type_activitystreams_invite.go | 2 +- .../impl/activitystreams/type_join/gen_doc.go | 0 .../impl/activitystreams/type_join/gen_pkg.go | 2 +- .../gen_type_activitystreams_join.go | 2 +- .../activitystreams/type_leave/gen_doc.go | 0 .../activitystreams/type_leave/gen_pkg.go | 2 +- .../gen_type_activitystreams_leave.go | 2 +- .../impl/activitystreams/type_like/gen_doc.go | 0 .../impl/activitystreams/type_like/gen_pkg.go | 2 +- .../gen_type_activitystreams_like.go | 2 +- .../impl/activitystreams/type_link/gen_doc.go | 0 .../impl/activitystreams/type_link/gen_pkg.go | 2 +- .../gen_type_activitystreams_link.go | 2 +- .../activitystreams/type_listen/gen_doc.go | 0 .../activitystreams/type_listen/gen_pkg.go | 2 +- .../gen_type_activitystreams_listen.go | 2 +- .../activitystreams/type_mention/gen_doc.go | 0 .../activitystreams/type_mention/gen_pkg.go | 2 +- .../gen_type_activitystreams_mention.go | 2 +- .../impl/activitystreams/type_move/gen_doc.go | 0 .../impl/activitystreams/type_move/gen_pkg.go | 2 +- .../gen_type_activitystreams_move.go | 2 +- .../impl/activitystreams/type_note/gen_doc.go | 0 .../impl/activitystreams/type_note/gen_pkg.go | 2 +- .../gen_type_activitystreams_note.go | 2 +- .../activitystreams/type_object/gen_doc.go | 0 .../activitystreams/type_object/gen_pkg.go | 2 +- .../gen_type_activitystreams_object.go | 2 +- .../activitystreams/type_offer/gen_doc.go | 0 .../activitystreams/type_offer/gen_pkg.go | 2 +- .../gen_type_activitystreams_offer.go | 2 +- .../type_orderedcollection/gen_doc.go | 0 .../type_orderedcollection/gen_pkg.go | 2 +- ..._type_activitystreams_orderedcollection.go | 2 +- .../type_orderedcollectionpage/gen_doc.go | 0 .../type_orderedcollectionpage/gen_pkg.go | 2 +- ...e_activitystreams_orderedcollectionpage.go | 2 +- .../type_organization/gen_doc.go | 0 .../type_organization/gen_pkg.go | 2 +- .../gen_type_activitystreams_organization.go | 2 +- .../impl/activitystreams/type_page/gen_doc.go | 0 .../impl/activitystreams/type_page/gen_pkg.go | 2 +- .../gen_type_activitystreams_page.go | 2 +- .../activitystreams/type_person/gen_doc.go | 0 .../activitystreams/type_person/gen_pkg.go | 2 +- .../gen_type_activitystreams_person.go | 2 +- .../activitystreams/type_place/gen_doc.go | 0 .../activitystreams/type_place/gen_pkg.go | 2 +- .../gen_type_activitystreams_place.go | 2 +- .../activitystreams/type_profile/gen_doc.go | 0 .../activitystreams/type_profile/gen_pkg.go | 2 +- .../gen_type_activitystreams_profile.go | 2 +- .../activitystreams/type_question/gen_doc.go | 0 .../activitystreams/type_question/gen_pkg.go | 2 +- .../gen_type_activitystreams_question.go | 2 +- .../impl/activitystreams/type_read/gen_doc.go | 0 .../impl/activitystreams/type_read/gen_pkg.go | 2 +- .../gen_type_activitystreams_read.go | 2 +- .../activitystreams/type_reject/gen_doc.go | 0 .../activitystreams/type_reject/gen_pkg.go | 2 +- .../gen_type_activitystreams_reject.go | 2 +- .../type_relationship/gen_doc.go | 0 .../type_relationship/gen_pkg.go | 2 +- .../gen_type_activitystreams_relationship.go | 2 +- .../activitystreams/type_remove/gen_doc.go | 0 .../activitystreams/type_remove/gen_pkg.go | 2 +- .../gen_type_activitystreams_remove.go | 2 +- .../activitystreams/type_service/gen_doc.go | 0 .../activitystreams/type_service/gen_pkg.go | 2 +- .../gen_type_activitystreams_service.go | 2 +- .../type_tentativeaccept/gen_doc.go | 0 .../type_tentativeaccept/gen_pkg.go | 2 +- ...en_type_activitystreams_tentativeaccept.go | 2 +- .../type_tentativereject/gen_doc.go | 0 .../type_tentativereject/gen_pkg.go | 2 +- ...en_type_activitystreams_tentativereject.go | 2 +- .../activitystreams/type_tombstone/gen_doc.go | 0 .../activitystreams/type_tombstone/gen_pkg.go | 2 +- .../gen_type_activitystreams_tombstone.go | 2 +- .../activitystreams/type_travel/gen_doc.go | 0 .../activitystreams/type_travel/gen_pkg.go | 2 +- .../gen_type_activitystreams_travel.go | 2 +- .../impl/activitystreams/type_undo/gen_doc.go | 0 .../impl/activitystreams/type_undo/gen_pkg.go | 2 +- .../gen_type_activitystreams_undo.go | 2 +- .../activitystreams/type_update/gen_doc.go | 0 .../activitystreams/type_update/gen_pkg.go | 2 +- .../gen_type_activitystreams_update.go | 2 +- .../activitystreams/type_video/gen_doc.go | 0 .../activitystreams/type_video/gen_pkg.go | 2 +- .../gen_type_activitystreams_video.go | 2 +- .../impl/activitystreams/type_view/gen_doc.go | 0 .../impl/activitystreams/type_view/gen_pkg.go | 2 +- .../gen_type_activitystreams_view.go | 2 +- .../impl/funkwhale/type_album/gen_doc.go | 0 .../impl/funkwhale/type_album/gen_pkg.go | 2 +- .../type_album/gen_type_funkwhale_album.go | 2 +- .../impl/funkwhale/type_artist/gen_doc.go | 0 .../impl/funkwhale/type_artist/gen_pkg.go | 2 +- .../type_artist/gen_type_funkwhale_artist.go | 2 +- .../impl/funkwhale/type_library/gen_doc.go | 0 .../impl/funkwhale/type_library/gen_pkg.go | 2 +- .../gen_type_funkwhale_library.go | 2 +- .../impl/funkwhale/type_track/gen_doc.go | 0 .../impl/funkwhale/type_track/gen_pkg.go | 2 +- .../type_track/gen_type_funkwhale_track.go | 2 +- .../gotosocial/property_always/gen_doc.go | 0 .../gotosocial/property_always/gen_pkg.go | 0 .../gen_property_gotosocial_always.go | 4 +- .../property_approvalrequired/gen_doc.go | 0 .../property_approvalrequired/gen_pkg.go | 0 ...en_property_gotosocial_approvalRequired.go | 4 +- .../gotosocial/property_approvedby/gen_doc.go | 0 .../gotosocial/property_approvedby/gen_pkg.go | 0 .../gen_property_gotosocial_approvedBy.go | 4 +- .../property_automaticapproval/gen_doc.go | 0 .../property_automaticapproval/gen_pkg.go | 0 ...n_property_gotosocial_automaticApproval.go | 4 +- .../property_canannounce/gen_doc.go | 0 .../property_canannounce/gen_pkg.go | 2 +- .../gen_property_gotosocial_canAnnounce.go | 2 +- .../gotosocial/property_canlike/gen_doc.go | 0 .../gotosocial/property_canlike/gen_pkg.go | 2 +- .../gen_property_gotosocial_canLike.go | 2 +- .../gotosocial/property_canquote/gen_doc.go | 0 .../gotosocial/property_canquote/gen_pkg.go | 2 +- .../gen_property_gotosocial_canQuote.go | 2 +- .../gotosocial/property_canreply/gen_doc.go | 0 .../gotosocial/property_canreply/gen_pkg.go | 2 +- .../gen_property_gotosocial_canReply.go | 2 +- .../property_interactingobject/gen_doc.go | 0 .../property_interactingobject/gen_pkg.go | 0 ...n_property_gotosocial_interactingObject.go | 4 +- .../property_interactionpolicy/gen_doc.go | 0 .../property_interactionpolicy/gen_pkg.go | 2 +- ...n_property_gotosocial_interactionPolicy.go | 2 +- .../property_interactiontarget/gen_doc.go | 0 .../property_interactiontarget/gen_pkg.go | 0 ...n_property_gotosocial_interactionTarget.go | 4 +- .../property_manualapproval/gen_doc.go | 0 .../property_manualapproval/gen_pkg.go | 0 .../gen_property_gotosocial_manualApproval.go | 4 +- .../type_announceapproval/gen_doc.go | 0 .../type_announceapproval/gen_pkg.go | 2 +- .../gen_type_gotosocial_announceapproval.go | 2 +- .../type_announceauthorization/gen_doc.go | 0 .../type_announceauthorization/gen_pkg.go | 2 +- ...n_type_gotosocial_announceauthorization.go | 2 +- .../type_announcerequest/gen_doc.go | 0 .../type_announcerequest/gen_pkg.go | 2 +- .../gen_type_gotosocial_announcerequest.go | 2 +- .../gotosocial/type_canannounce/gen_doc.go | 0 .../gotosocial/type_canannounce/gen_pkg.go | 2 +- .../gen_type_gotosocial_canannounce.go | 2 +- .../impl/gotosocial/type_canlike/gen_doc.go | 0 .../impl/gotosocial/type_canlike/gen_pkg.go | 2 +- .../gen_type_gotosocial_canlike.go | 2 +- .../impl/gotosocial/type_canquote/gen_doc.go | 0 .../impl/gotosocial/type_canquote/gen_pkg.go | 2 +- .../gen_type_gotosocial_canquote.go | 2 +- .../impl/gotosocial/type_canreply/gen_doc.go | 0 .../impl/gotosocial/type_canreply/gen_pkg.go | 2 +- .../gen_type_gotosocial_canreply.go | 2 +- .../type_interactionpolicy/gen_doc.go | 0 .../type_interactionpolicy/gen_pkg.go | 2 +- .../gen_type_gotosocial_interactionpolicy.go | 2 +- .../gotosocial/type_likeapproval/gen_doc.go | 0 .../gotosocial/type_likeapproval/gen_pkg.go | 2 +- .../gen_type_gotosocial_likeapproval.go | 2 +- .../type_likeauthorization/gen_doc.go | 0 .../type_likeauthorization/gen_pkg.go | 2 +- .../gen_type_gotosocial_likeauthorization.go | 2 +- .../gotosocial/type_likerequest/gen_doc.go | 0 .../gotosocial/type_likerequest/gen_pkg.go | 2 +- .../gen_type_gotosocial_likerequest.go | 2 +- .../gotosocial/type_replyapproval/gen_doc.go | 0 .../gotosocial/type_replyapproval/gen_pkg.go | 2 +- .../gen_type_gotosocial_replyapproval.go | 2 +- .../type_replyauthorization/gen_doc.go | 0 .../type_replyauthorization/gen_pkg.go | 2 +- .../gen_type_gotosocial_replyauthorization.go | 2 +- .../gotosocial/type_replyrequest/gen_doc.go | 0 .../gotosocial/type_replyrequest/gen_pkg.go | 2 +- .../gen_type_gotosocial_replyrequest.go | 2 +- .../impl/jsonld/property_id/gen_doc.go | 0 .../impl/jsonld/property_id/gen_pkg.go | 0 .../property_id/gen_property_jsonld_id.go | 4 +- .../impl/jsonld/property_type/gen_doc.go | 0 .../impl/jsonld/property_type/gen_pkg.go | 0 .../property_type/gen_property_jsonld_type.go | 6 +- .../impl/schema/property_value/gen_doc.go | 0 .../impl/schema/property_value/gen_pkg.go | 0 .../gen_property_schema_value.go | 4 +- .../impl/schema/type_propertyvalue/gen_doc.go | 0 .../impl/schema/type_propertyvalue/gen_pkg.go | 2 +- .../gen_type_schema_propertyvalue.go | 2 +- .../impl/toot/property_blurhash/gen_doc.go | 0 .../impl/toot/property_blurhash/gen_pkg.go | 0 .../gen_property_toot_blurhash.go | 4 +- .../toot/property_discoverable/gen_doc.go | 0 .../toot/property_discoverable/gen_pkg.go | 0 .../gen_property_toot_discoverable.go | 4 +- .../impl/toot/property_featured/gen_doc.go | 0 .../impl/toot/property_featured/gen_pkg.go | 2 +- .../gen_property_toot_featured.go | 2 +- .../impl/toot/property_focalpoint/gen_doc.go | 0 .../impl/toot/property_focalpoint/gen_pkg.go | 0 .../gen_property_toot_focalPoint.go | 4 +- .../impl/toot/property_indexable/gen_doc.go | 0 .../impl/toot/property_indexable/gen_pkg.go | 0 .../gen_property_toot_indexable.go | 4 +- .../property_signaturealgorithm/gen_doc.go | 0 .../property_signaturealgorithm/gen_pkg.go | 0 .../gen_property_toot_signatureAlgorithm.go | 4 +- .../toot/property_signaturevalue/gen_doc.go | 0 .../toot/property_signaturevalue/gen_pkg.go | 0 .../gen_property_toot_signatureValue.go | 4 +- .../impl/toot/property_voterscount/gen_doc.go | 0 .../impl/toot/property_voterscount/gen_pkg.go | 0 .../gen_property_toot_votersCount.go | 4 +- .../streams/impl/toot/type_emoji/gen_doc.go | 0 .../streams/impl/toot/type_emoji/gen_pkg.go | 2 +- .../toot/type_emoji/gen_type_toot_emoji.go | 2 +- .../streams/impl/toot/type_hashtag/gen_doc.go | 0 .../streams/impl/toot/type_hashtag/gen_pkg.go | 2 +- .../type_hashtag/gen_type_toot_hashtag.go | 2 +- .../impl/toot/type_identityproof/gen_doc.go | 0 .../impl/toot/type_identityproof/gen_pkg.go | 2 +- .../gen_type_toot_identityproof.go | 2 +- .../w3idsecurityv1/property_owner/gen_doc.go | 0 .../w3idsecurityv1/property_owner/gen_pkg.go | 0 .../gen_property_w3idsecurityv1_owner.go | 4 +- .../property_publickey/gen_doc.go | 0 .../property_publickey/gen_pkg.go | 2 +- .../gen_property_w3idsecurityv1_publicKey.go | 2 +- .../property_publickeypem/gen_doc.go | 0 .../property_publickeypem/gen_pkg.go | 0 ...en_property_w3idsecurityv1_publicKeyPem.go | 4 +- .../w3idsecurityv1/type_publickey/gen_doc.go | 0 .../w3idsecurityv1/type_publickey/gen_pkg.go | 2 +- .../gen_type_w3idsecurityv1_publickey.go | 2 +- .../activity/streams/util.go | 2 +- .../streams/values/anyURI/gen_anyURI.go | 0 .../streams/values/bcp47/gen_bcp47.go | 0 .../streams/values/boolean/gen_boolean.go | 0 .../streams/values/dateTime/gen_dateTime.go | 0 .../streams/values/duration/gen_duration.go | 0 .../streams/values/float/gen_float.go | 0 .../values/langString/gen_langString.go | 0 .../gen_nonNegativeInteger.go | 0 .../streams/values/rfc2045/gen_rfc2045.go | 0 .../streams/values/rfc5988/gen_rfc5988.go | 0 .../streams/values/string/gen_string.go | 0 .../activity/streams/vocab/gen_doc.go | 0 .../activity/streams/vocab/gen_pkg.go | 0 ...erty_activitystreams_accuracy_interface.go | 0 ...roperty_activitystreams_actor_interface.go | 0 ...y_activitystreams_alsoKnownAs_interface.go | 0 ...erty_activitystreams_altitude_interface.go | 0 ...roperty_activitystreams_anyOf_interface.go | 0 ...ty_activitystreams_attachment_interface.go | 0 ..._activitystreams_attributedTo_interface.go | 0 ...erty_activitystreams_audience_interface.go | 0 ..._property_activitystreams_bcc_interface.go | 0 ..._property_activitystreams_bto_interface.go | 0 ...n_property_activitystreams_cc_interface.go | 0 ...operty_activitystreams_closed_interface.go | 0 ...perty_activitystreams_content_interface.go | 0 ...perty_activitystreams_context_interface.go | 0 ...perty_activitystreams_current_interface.go | 0 ...perty_activitystreams_deleted_interface.go | 0 ...rty_activitystreams_describes_interface.go | 0 ...erty_activitystreams_duration_interface.go | 0 ...perty_activitystreams_endTime_interface.go | 0 ...rty_activitystreams_endpoints_interface.go | 0 ...roperty_activitystreams_first_interface.go | 0 ...rty_activitystreams_followers_interface.go | 0 ...rty_activitystreams_following_interface.go | 0 ...ty_activitystreams_formerType_interface.go | 0 ...rty_activitystreams_generator_interface.go | 0 ...operty_activitystreams_height_interface.go | 0 ...property_activitystreams_href_interface.go | 0 ...erty_activitystreams_hreflang_interface.go | 0 ...property_activitystreams_icon_interface.go | 0 ...roperty_activitystreams_image_interface.go | 0 ...rty_activitystreams_inReplyTo_interface.go | 0 ...roperty_activitystreams_inbox_interface.go | 0 ...ty_activitystreams_instrument_interface.go | 0 ...roperty_activitystreams_items_interface.go | 0 ...property_activitystreams_last_interface.go | 0 ...erty_activitystreams_latitude_interface.go | 0 ...roperty_activitystreams_liked_interface.go | 0 ...roperty_activitystreams_likes_interface.go | 0 ...erty_activitystreams_location_interface.go | 0 ...rty_activitystreams_longitude_interface.go | 0 ...ams_manuallyApprovesFollowers_interface.go | 0 ...rty_activitystreams_mediaType_interface.go | 0 ...perty_activitystreams_movedTo_interface.go | 0 ...property_activitystreams_name_interface.go | 0 ...property_activitystreams_next_interface.go | 0 ...operty_activitystreams_object_interface.go | 0 ...roperty_activitystreams_oneOf_interface.go | 0 ..._activitystreams_orderedItems_interface.go | 0 ...operty_activitystreams_origin_interface.go | 0 ...operty_activitystreams_outbox_interface.go | 0 ...operty_activitystreams_partOf_interface.go | 0 ...vitystreams_preferredUsername_interface.go | 0 ...property_activitystreams_prev_interface.go | 0 ...perty_activitystreams_preview_interface.go | 0 ...rty_activitystreams_published_interface.go | 0 ...operty_activitystreams_radius_interface.go | 0 ..._property_activitystreams_rel_interface.go | 0 ..._activitystreams_relationship_interface.go | 0 ...perty_activitystreams_replies_interface.go | 0 ...operty_activitystreams_result_interface.go | 0 ...rty_activitystreams_sensitive_interface.go | 0 ...y_activitystreams_sharedInbox_interface.go | 0 ...operty_activitystreams_shares_interface.go | 0 ...operty_activitystreams_source_interface.go | 0 ...ty_activitystreams_startIndex_interface.go | 0 ...rty_activitystreams_startTime_interface.go | 0 ...perty_activitystreams_streams_interface.go | 0 ...perty_activitystreams_subject_interface.go | 0 ...perty_activitystreams_summary_interface.go | 0 ..._property_activitystreams_tag_interface.go | 0 ...operty_activitystreams_target_interface.go | 0 ...n_property_activitystreams_to_interface.go | 0 ...ty_activitystreams_totalItems_interface.go | 0 ...roperty_activitystreams_units_interface.go | 0 ...perty_activitystreams_updated_interface.go | 0 ..._property_activitystreams_url_interface.go | 0 ...roperty_activitystreams_width_interface.go | 0 ...en_property_gotosocial_always_interface.go | 0 ...y_gotosocial_approvalRequired_interface.go | 0 ...roperty_gotosocial_approvedBy_interface.go | 0 ..._gotosocial_automaticApproval_interface.go | 0 ...operty_gotosocial_canAnnounce_interface.go | 0 ...n_property_gotosocial_canLike_interface.go | 0 ..._property_gotosocial_canQuote_interface.go | 0 ..._property_gotosocial_canReply_interface.go | 0 ..._gotosocial_interactingObject_interface.go | 0 ..._gotosocial_interactionPolicy_interface.go | 0 ..._gotosocial_interactionTarget_interface.go | 0 ...rty_gotosocial_manualApproval_interface.go | 0 .../vocab/gen_property_jsonld_id_interface.go | 0 .../gen_property_jsonld_type_interface.go | 0 .../gen_property_schema_value_interface.go | 0 .../gen_property_toot_blurhash_interface.go | 0 ...en_property_toot_discoverable_interface.go | 0 .../gen_property_toot_featured_interface.go | 0 .../gen_property_toot_focalPoint_interface.go | 0 .../gen_property_toot_indexable_interface.go | 0 ...perty_toot_signatureAlgorithm_interface.go | 0 ..._property_toot_signatureValue_interface.go | 0 ...gen_property_toot_votersCount_interface.go | 0 ...property_w3idsecurityv1_owner_interface.go | 0 ...y_w3idsecurityv1_publicKeyPem_interface.go | 0 ...erty_w3idsecurityv1_publicKey_interface.go | 0 ...n_type_activitystreams_accept_interface.go | 0 ...type_activitystreams_activity_interface.go | 0 .../gen_type_activitystreams_add_interface.go | 0 ...type_activitystreams_announce_interface.go | 0 ...e_activitystreams_application_interface.go | 0 ...n_type_activitystreams_arrive_interface.go | 0 ..._type_activitystreams_article_interface.go | 0 ...en_type_activitystreams_audio_interface.go | 0 ...en_type_activitystreams_block_interface.go | 0 ...pe_activitystreams_collection_interface.go | 0 ...ctivitystreams_collectionpage_interface.go | 0 ...n_type_activitystreams_create_interface.go | 0 ...n_type_activitystreams_delete_interface.go | 0 ..._type_activitystreams_dislike_interface.go | 0 ...type_activitystreams_document_interface.go | 0 ...ype_activitystreams_endpoints_interface.go | 0 ...en_type_activitystreams_event_interface.go | 0 ...gen_type_activitystreams_flag_interface.go | 0 ...n_type_activitystreams_follow_interface.go | 0 ...en_type_activitystreams_group_interface.go | 0 ...n_type_activitystreams_ignore_interface.go | 0 ...en_type_activitystreams_image_interface.go | 0 ...ystreams_intransitiveactivity_interface.go | 0 ...n_type_activitystreams_invite_interface.go | 0 ...gen_type_activitystreams_join_interface.go | 0 ...en_type_activitystreams_leave_interface.go | 0 ...gen_type_activitystreams_like_interface.go | 0 ...gen_type_activitystreams_link_interface.go | 0 ...n_type_activitystreams_listen_interface.go | 0 ..._type_activitystreams_mention_interface.go | 0 ...gen_type_activitystreams_move_interface.go | 0 ...gen_type_activitystreams_note_interface.go | 0 ...n_type_activitystreams_object_interface.go | 0 ...en_type_activitystreams_offer_interface.go | 0 ...vitystreams_orderedcollection_interface.go | 0 ...streams_orderedcollectionpage_interface.go | 0 ..._activitystreams_organization_interface.go | 0 ...gen_type_activitystreams_page_interface.go | 0 ...n_type_activitystreams_person_interface.go | 0 ...en_type_activitystreams_place_interface.go | 0 ..._type_activitystreams_profile_interface.go | 0 ...type_activitystreams_question_interface.go | 0 ...gen_type_activitystreams_read_interface.go | 0 ...n_type_activitystreams_reject_interface.go | 0 ..._activitystreams_relationship_interface.go | 0 ...n_type_activitystreams_remove_interface.go | 0 ..._type_activitystreams_service_interface.go | 0 ...tivitystreams_tentativeaccept_interface.go | 0 ...tivitystreams_tentativereject_interface.go | 0 ...ype_activitystreams_tombstone_interface.go | 0 ...n_type_activitystreams_travel_interface.go | 0 ...gen_type_activitystreams_undo_interface.go | 0 ...n_type_activitystreams_update_interface.go | 0 ...en_type_activitystreams_video_interface.go | 0 ...gen_type_activitystreams_view_interface.go | 0 .../gen_type_funkwhale_album_interface.go | 0 .../gen_type_funkwhale_artist_interface.go | 0 .../gen_type_funkwhale_library_interface.go | 0 .../gen_type_funkwhale_track_interface.go | 0 ...e_gotosocial_announceapproval_interface.go | 0 ...osocial_announceauthorization_interface.go | 0 ...pe_gotosocial_announcerequest_interface.go | 0 ...n_type_gotosocial_canannounce_interface.go | 0 .../gen_type_gotosocial_canlike_interface.go | 0 .../gen_type_gotosocial_canquote_interface.go | 0 .../gen_type_gotosocial_canreply_interface.go | 0 ..._gotosocial_interactionpolicy_interface.go | 0 ..._type_gotosocial_likeapproval_interface.go | 0 ..._gotosocial_likeauthorization_interface.go | 0 ...n_type_gotosocial_likerequest_interface.go | 0 ...type_gotosocial_replyapproval_interface.go | 0 ...gotosocial_replyauthorization_interface.go | 0 ..._type_gotosocial_replyrequest_interface.go | 0 ...gen_type_schema_propertyvalue_interface.go | 0 .../vocab/gen_type_toot_emoji_interface.go | 0 .../vocab/gen_type_toot_hashtag_interface.go | 0 .../gen_type_toot_identityproof_interface.go | 0 ...type_w3idsecurityv1_publickey_interface.go | 0 .../exif-terminator/LICENSE | 0 .../exif-terminator/README.md | 18 +- .../exif-terminator/exif.go | 0 .../exif-terminator/jpeg.go | 2 +- .../exif-terminator/png.go | 2 +- .../exif-terminator/terminator.go | 4 +- .../exif-terminator/webp.go | 0 .../go-jpeg-image-structure/v2/.MODULE_ROOT | 0 .../go-jpeg-image-structure/v2/LICENSE | 0 .../go-jpeg-image-structure/v2/README.md | 0 .../go-jpeg-image-structure/v2/markers.go | 0 .../v2/media_parser.go | 0 .../go-jpeg-image-structure/v2/segment.go | 0 .../v2/segment_list.go | 0 .../go-jpeg-image-structure/v2/splitter.go | 0 .../v2/testing_common.go | 0 .../go-jpeg-image-structure/v2/utility.go | 0 .../go-png-image-structure/v2/.MODULE_ROOT | 0 .../go-png-image-structure/v2/LICENSE | 0 .../v2/chunk_decoder.go | 0 .../go-png-image-structure/v2/media_parser.go | 0 .../go-png-image-structure/v2/png.go | 0 .../v2/testing_common.go | 0 .../go-png-image-structure/v2/utility.go | 0 .../httpsig/LICENSE | 0 .../httpsig/README.md | 4 +- .../httpsig/algorithms.go | 0 .../httpsig/digest.go | 0 .../httpsig/httpsig.go | 0 .../httpsig/signing.go | 0 .../httpsig/verifying.go | 0 .../oauth2/v4/.gitignore | 0 .../oauth2/v4/LICENSE | 0 .../oauth2/v4/README.md | 0 .../oauth2/v4/const.go | 0 .../oauth2/v4/doc.go | 6 +- .../oauth2/v4/errors/error.go | 0 .../oauth2/v4/errors/response.go | 0 .../oauth2/v4/generate.go | 0 .../oauth2/v4/generates/access.go | 2 +- .../oauth2/v4/generates/authorize.go | 2 +- .../oauth2/v4/generates/jwt_access.go | 4 +- .../oauth2/v4/go.test.sh | 0 .../oauth2/v4/manage.go | 0 .../oauth2/v4/manage/config.go | 0 .../oauth2/v4/manage/manager.go | 8 +- .../oauth2/v4/manage/util.go | 2 +- .../oauth2/v4/model.go | 0 .../oauth2/v4/models/client.go | 0 .../oauth2/v4/models/token.go | 2 +- .../oauth2/v4/server/config.go | 2 +- .../oauth2/v4/server/handler.go | 4 +- .../oauth2/v4/server/server.go | 4 +- .../oauth2/v4/server/server_config.go | 2 +- .../oauth2/v4/store.go | 0 .../activity/streams/gen_init.go | 457 --------------- vendor/github.com/go-fed/httpsig/LICENSE | 29 - vendor/github.com/go-fed/httpsig/README.md | 94 ---- .../github.com/go-fed/httpsig/algorithms.go | 532 ------------------ vendor/github.com/go-fed/httpsig/digest.go | 120 ---- vendor/github.com/go-fed/httpsig/httpsig.go | 361 ------------ vendor/github.com/go-fed/httpsig/signing.go | 334 ----------- vendor/github.com/go-fed/httpsig/verifying.go | 184 ------ vendor/modules.txt | 437 +++++++------- 955 files changed, 1970 insertions(+), 3639 deletions(-) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/LICENSE (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/README.md (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/activity.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/actor.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/base_actor.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/clock.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/common_behavior.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/database.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/delegate_actor.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/federating_protocol.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/federating_wrapped_callbacks.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/handlers.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/property_interfaces.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/side_effect_actor.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/social_protocol.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/social_wrapped_callbacks.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/transport.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/util.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/pub/version.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/README.md (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_consts.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_doc.go (100%) create mode 100644 vendor/code.superseriousbusiness.org/activity/streams/gen_init.go rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_json_resolver.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_manager.go (84%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_activitystreams_disjoint.go (68%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_activitystreams_extendedby.go (75%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_activitystreams_extends.go (70%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_activitystreams_isorextends.go (71%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_activitystreams_property_constructors.go (69%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_activitystreams_type_constructors.go (64%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_funkwhale_disjoint.go (67%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_funkwhale_extendedby.go (73%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_funkwhale_extends.go (67%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_funkwhale_isorextends.go (69%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_funkwhale_type_constructors.go (59%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_gotosocial_disjoint.go (68%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_gotosocial_extendedby.go (74%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_gotosocial_extends.go (69%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_gotosocial_isorextends.go (71%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_gotosocial_property_constructors.go (67%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_gotosocial_type_constructors.go (63%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_jsonld_property_constructors.go (61%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_schema_disjoint.go (64%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_schema_extendedby.go (69%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_schema_extends.go (63%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_schema_isorextends.go (66%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_schema_property_constructors.go (60%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_schema_type_constructors.go (58%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_toot_disjoint.go (66%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_toot_extendedby.go (73%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_toot_extends.go (65%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_toot_isorextends.go (69%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_toot_property_constructors.go (64%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_toot_type_constructors.go (58%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go (63%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go (69%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_w3idsecurityv1_extends.go (65%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go (65%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go (67%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go (60%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_resolver_utils.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_type_predicated_resolver.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/gen_type_resolver.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_accuracy/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_accuracy/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_actor/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_actor/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_alsoknownas/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_alsoknownas/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_altitude/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_altitude/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_anyof/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_attachment/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_attributedto/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_audience/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_audience/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_bcc/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_bto/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_bto/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_cc/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_cc/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_closed/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_closed/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_content/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_content/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_context/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_context/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_current/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_current/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_deleted/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_deleted/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_describes/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_describes/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_duration/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_duration/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_endpoints/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go (91%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_endtime/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_endtime/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_first/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_first/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_followers/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_followers/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_following/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_following/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_formertype/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_generator/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_generator/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_height/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_height/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_href/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_href/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_hreflang/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_hreflang/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_icon/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_icon/gen_pkg.go (95%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_image/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_image/gen_pkg.go (95%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_inbox/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go (94%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_inreplyto/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_instrument/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_items/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_items/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_last/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_last/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_latitude/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_latitude/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_liked/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_liked/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_likes/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_likes/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_location/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_location/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_longitude/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_longitude/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_mediatype/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_mediatype/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_movedto/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_movedto/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_name/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_name/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_next/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_next/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_object/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_object/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_oneof/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_ordereditems/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_origin/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_origin/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_outbox/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go (94%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_partof/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_partof/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_preferredusername/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_preferredusername/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_prev/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_prev/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_preview/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_preview/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_published/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_published/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_radius/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_radius/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_rel/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_rel/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_relationship/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_replies/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_replies/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_result/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_result/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_sensitive/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_sensitive/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_sharedinbox/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_sharedinbox/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_shares/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_shares/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_source/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_source/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_startindex/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_startindex/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_starttime/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_starttime/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_streams/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_streams/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_subject/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_subject/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_summary/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_summary/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_tag/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_tag/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_target/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_target/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_to/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_to/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_totalitems/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_totalitems/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_units/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_units/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_updated/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_updated/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_url/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_url/gen_pkg.go (94%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_width/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_width/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_accept/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_accept/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_activity/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_activity/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_add/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_add/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_announce/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_announce/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_application/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_application/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_arrive/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_article/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_article/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_audio/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_audio/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_block/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_block/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_collection/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_collection/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_collectionpage/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_create/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_create/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_delete/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_delete/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_dislike/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_document/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_document/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_endpoints/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_event/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_event/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_flag/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_flag/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_follow/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_follow/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_group/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_group/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_ignore/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_image/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_image/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_invite/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_invite/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_join/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_join/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_leave/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_leave/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_like/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_like/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_link/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_link/gen_pkg.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_listen/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_listen/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_mention/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_mention/gen_pkg.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_move/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_move/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_note/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_note/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_object/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_object/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_offer/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_offer/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_orderedcollection/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_organization/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_organization/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_page/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_page/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_person/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_person/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_place/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_place/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_profile/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_profile/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_question/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_question/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_read/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_read/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_reject/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_reject/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_relationship/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_remove/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_remove/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_service/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_service/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tentativeaccept/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tentativereject/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tombstone/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_travel/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_travel/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_undo/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_undo/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_update/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_update/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_video/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_video/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_view/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_view/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_album/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_album/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_artist/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_artist/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_library/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_library/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_track/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_track/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_always/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_always/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_approvalrequired/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_approvalrequired/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_approvedby/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_approvedby/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canannounce/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go (91%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canlike/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go (90%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canquote/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go (90%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canreply/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go (90%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactionpolicy/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go (91%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canannounce/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canlike/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canquote/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canreply/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_interactionpolicy/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/jsonld/property_id/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/jsonld/property_id/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/jsonld/property_type/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/jsonld/property_type/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/schema/property_value/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/schema/property_value/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/schema/property_value/gen_property_schema_value.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/schema/type_propertyvalue/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_blurhash/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_blurhash/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_discoverable/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_discoverable/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_featured/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_featured/gen_pkg.go (94%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_focalpoint/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_focalpoint/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_indexable/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_indexable/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_signaturealgorithm/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_signaturealgorithm/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_signaturevalue/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_signaturevalue/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_voterscount/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_voterscount/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_emoji/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_emoji/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_hashtag/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_hashtag/gen_pkg.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_identityproof/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_identityproof/gen_pkg.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_owner/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_owner/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_publickey/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go (91%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/type_publickey/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/util.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/anyURI/gen_anyURI.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/bcp47/gen_bcp47.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/boolean/gen_boolean.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/dateTime/gen_dateTime.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/duration/gen_duration.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/float/gen_float.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/langString/gen_langString.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/nonNegativeInteger/gen_nonNegativeInteger.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/rfc2045/gen_rfc2045.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/rfc5988/gen_rfc5988.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/values/string/gen_string.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_doc.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_pkg.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_accuracy_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_actor_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_alsoKnownAs_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_altitude_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_audience_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_bto_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_cc_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_closed_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_content_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_context_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_current_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_deleted_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_describes_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_duration_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_endTime_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_endpoints_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_first_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_followers_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_following_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_generator_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_height_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_href_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_hreflang_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_icon_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_image_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_inbox_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_items_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_last_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_latitude_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_liked_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_likes_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_location_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_longitude_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_mediaType_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_movedTo_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_name_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_next_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_object_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_origin_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_outbox_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_preferredUsername_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_prev_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_preview_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_published_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_radius_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_rel_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_replies_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_result_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_sensitive_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_sharedInbox_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_shares_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_source_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_startIndex_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_startTime_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_streams_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_subject_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_summary_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_tag_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_target_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_to_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_totalItems_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_units_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_updated_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_url_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_activitystreams_width_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_always_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_canAnnounce_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_canLike_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_canReply_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_interactionPolicy_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_jsonld_id_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_jsonld_type_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_schema_value_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_blurhash_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_discoverable_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_featured_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_focalPoint_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_indexable_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_signatureAlgorithm_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_signatureValue_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_toot_votersCount_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_w3idsecurityv1_owner_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_w3idsecurityv1_publicKeyPem_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_property_w3idsecurityv1_publicKey_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_accept_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_activity_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_add_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_announce_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_application_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_article_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_audio_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_block_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_collection_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_create_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_delete_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_document_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_endpoints_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_event_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_flag_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_follow_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_group_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_image_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_invite_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_join_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_leave_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_like_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_link_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_listen_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_mention_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_move_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_note_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_object_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_offer_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_organization_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_page_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_person_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_place_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_profile_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_question_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_read_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_reject_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_remove_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_service_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_travel_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_undo_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_update_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_video_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_activitystreams_view_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_funkwhale_album_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_funkwhale_artist_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_funkwhale_library_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_funkwhale_track_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_toot_emoji_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_toot_hashtag_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_toot_identityproof_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/activity/streams/vocab/gen_type_w3idsecurityv1_publickey_interface.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/LICENSE (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/README.md (83%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/exif.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/jpeg.go (97%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/png.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/terminator.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/exif-terminator/webp.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/.MODULE_ROOT (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/LICENSE (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/README.md (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/markers.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/media_parser.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/segment.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/segment_list.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/splitter.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/testing_common.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-jpeg-image-structure/v2/utility.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/.MODULE_ROOT (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/LICENSE (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/chunk_decoder.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/media_parser.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/png.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/testing_common.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/go-png-image-structure/v2/utility.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/LICENSE (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/README.md (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/algorithms.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/digest.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/httpsig.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/signing.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/httpsig/verifying.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/.gitignore (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/LICENSE (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/README.md (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/const.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/doc.go (79%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/errors/error.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/errors/response.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/generate.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/generates/access.go (95%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/generates/authorize.go (94%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/generates/jwt_access.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/go.test.sh (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/manage.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/manage/config.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/manage/manager.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/manage/util.go (91%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/model.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/models/client.go (100%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/models/token.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/server/config.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/server/handler.go (96%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/server/server.go (99%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/server/server_config.go (98%) rename vendor/{codeberg.org/superseriousbusiness => code.superseriousbusiness.org}/oauth2/v4/store.go (100%) delete mode 100644 vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go delete mode 100644 vendor/github.com/go-fed/httpsig/LICENSE delete mode 100644 vendor/github.com/go-fed/httpsig/README.md delete mode 100644 vendor/github.com/go-fed/httpsig/algorithms.go delete mode 100644 vendor/github.com/go-fed/httpsig/digest.go delete mode 100644 vendor/github.com/go-fed/httpsig/httpsig.go delete mode 100644 vendor/github.com/go-fed/httpsig/signing.go delete mode 100644 vendor/github.com/go-fed/httpsig/verifying.go diff --git a/README.md b/README.md index 23209336d..7c7f736e2 100644 --- a/README.md +++ b/README.md @@ -433,10 +433,10 @@ The following open source libraries, frameworks, and tools are used by GoToSocia - [spf13/viper](https://github.com/spf13/viper); configuration management. [Apache-2.0 License](https://spdx.org/licenses/Apache-2.0.html). - [stretchr/testify](https://github.com/stretchr/testify); test framework. [MIT License](https://spdx.org/licenses/MIT.html). - superseriousbusiness: - - [superseriousbusiness/activity](https://codeberg.org/superseriousbusiness/activity) forked from [go-fed/activity](https://github.com/go-fed/activity); Golang ActivityPub/ActivityStreams library. [BSD-3-Clause License](https://spdx.org/licenses/BSD-3-Clause.html). - - [superseriousbusiness/exif-terminator](https://codeberg.org/superseriousbusiness/exif-terminator); EXIF data removal. [GNU AGPL v3 LICENSE](https://spdx.org/licenses/AGPL-3.0-or-later.html). - - [superseriousbusiness/httpsig](https://codeberg.org/superseriousbusiness/httpsig) forked from [go-fed/httpsig](https://github.com/go-fed/httpsig); secure HTTP signature library. [BSD-3-Clause License](https://spdx.org/licenses/BSD-3-Clause.html). - - [superseriousbusiness/oauth2](https://codeberg.org/superseriousbusiness/oauth2) forked from [go-oauth2/oauth2](https://github.com/go-oauth2/oauth2); OAuth server framework and token handling. [MIT License](https://spdx.org/licenses/MIT.html). + - [superseriousbusiness/activity](https://code.superseriousbusiness.org/activity) forked from [go-fed/activity](https://github.com/go-fed/activity); Golang ActivityPub/ActivityStreams library. [BSD-3-Clause License](https://spdx.org/licenses/BSD-3-Clause.html). + - [superseriousbusiness/exif-terminator](https://code.superseriousbusiness.org/exif-terminator); EXIF data removal. [GNU AGPL v3 LICENSE](https://spdx.org/licenses/AGPL-3.0-or-later.html). + - [superseriousbusiness/httpsig](https://code.superseriousbusiness.org/httpsig) forked from [go-fed/httpsig](https://github.com/go-fed/httpsig); secure HTTP signature library. [BSD-3-Clause License](https://spdx.org/licenses/BSD-3-Clause.html). + - [superseriousbusiness/oauth2](https://code.superseriousbusiness.org/oauth2) forked from [go-oauth2/oauth2](https://github.com/go-oauth2/oauth2); OAuth server framework and token handling. [MIT License](https://spdx.org/licenses/MIT.html). - [temoto/robotstxt](https://github.com/temoto/robotstxt); robots.txt parsing. [MIT License](https://spdx.org/licenses/MIT.html). - [tdewolff/minify](https://github.com/tdewolff/minify); HTML minification for Markdown-submitted posts. [MIT License](https://spdx.org/licenses/MIT.html). - [uber-go/automaxprocs](https://github.com/uber-go/automaxprocs); GOMAXPROCS automation. [MIT License](https://spdx.org/licenses/MIT.html). diff --git a/go.mod b/go.mod index 6313491d1..143da6208 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,10 @@ replace github.com/go-swagger/go-swagger => codeberg.org/superseriousbusiness/go replace modernc.org/sqlite => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.37.0-concurrency-workaround require ( + code.superseriousbusiness.org/activity v1.15.0 + code.superseriousbusiness.org/exif-terminator v0.11.0 + code.superseriousbusiness.org/httpsig v1.4.0 + code.superseriousbusiness.org/oauth2/v4 v4.8.0 codeberg.org/gruf/go-bytes v1.0.2 codeberg.org/gruf/go-bytesize v1.0.3 codeberg.org/gruf/go-byteutil v1.3.0 @@ -28,10 +32,6 @@ require ( codeberg.org/gruf/go-sched v1.2.4 codeberg.org/gruf/go-storage v0.2.0 codeberg.org/gruf/go-structr v0.9.6 - codeberg.org/superseriousbusiness/activity v1.14.0 - codeberg.org/superseriousbusiness/exif-terminator v0.10.0 - codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB - codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB github.com/DmitriyVTitov/size v1.5.0 github.com/KimMachineGun/automemlimit v0.7.1 github.com/SherClockHolmes/webpush-go v1.4.0 @@ -96,11 +96,11 @@ require ( ) require ( + code.superseriousbusiness.org/go-jpeg-image-structure/v2 v2.3.0 // indirect + code.superseriousbusiness.org/go-png-image-structure/v2 v2.3.0 // indirect codeberg.org/gruf/go-fastpath/v2 v2.0.0 // indirect codeberg.org/gruf/go-mangler v1.4.4 // indirect codeberg.org/gruf/go-maps v1.0.4 // indirect - codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB // indirect - codeberg.org/superseriousbusiness/go-png-image-structure/v2 v2.1.0-SSB // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.2.1 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect @@ -125,7 +125,6 @@ require ( github.com/gabriel-vasile/mimetype v1.4.8 // indirect github.com/gin-contrib/sse v1.0.0 // indirect github.com/go-errors/errors v1.1.1 // indirect - github.com/go-fed/httpsig v1.1.0 // indirect github.com/go-ini/ini v1.67.0 // indirect github.com/go-jose/go-jose/v4 v4.0.5 // indirect github.com/go-logr/logr v1.4.2 // indirect diff --git a/go.sum b/go.sum index fb37eb1d3..79c9df464 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,15 @@ +code.superseriousbusiness.org/activity v1.15.0 h1:XwdO/1ssry8GCLWDFlUxSb+lNpUvdjkKG3HVHTEkvi4= +code.superseriousbusiness.org/activity v1.15.0/go.mod h1:BTMWJIAuwDH1w+ieRP5N+T5LipbXjw35U6KZy0V/xdg= +code.superseriousbusiness.org/exif-terminator v0.11.0 h1:Hof0MCcsa+1fS17gf86fTTZ8AQnMY9h9kzcc+2C6mVg= +code.superseriousbusiness.org/exif-terminator v0.11.0/go.mod h1:9sutT1axa/kSdlPLlRFjCNKmyo/KNx8eX3XZvWBlAEY= +code.superseriousbusiness.org/go-jpeg-image-structure/v2 v2.3.0 h1:r9uq8StaSHYKJ8DklR9Xy+E9c40G1Z8yj5TRGi8L6+4= +code.superseriousbusiness.org/go-jpeg-image-structure/v2 v2.3.0/go.mod h1:IK1OlR6APjVB3E9tuYGvf0qXMrwP+TrzcHS5rf4wffQ= +code.superseriousbusiness.org/go-png-image-structure/v2 v2.3.0 h1:I512jiIeXDC4//2BeSPrRM2ZS4wpBKUaPeTPxakMNGA= +code.superseriousbusiness.org/go-png-image-structure/v2 v2.3.0/go.mod h1:SNHomXNW88o1pFfLHpD4KsCZLfcr4z5dm+xcX5SV10A= +code.superseriousbusiness.org/httpsig v1.4.0 h1:g9+KQMoTG0oR0II5gYb5pVVdNjbc7CiiuqK8vcZjeQg= +code.superseriousbusiness.org/httpsig v1.4.0/go.mod h1:i2AKpj/WbA/o/UTvia9TAREzt0jP1AH3T1Uxjyhdzlw= +code.superseriousbusiness.org/oauth2/v4 v4.8.0 h1:4LVXoPJXKgmDfwDegzBQPNpsdleMaL6YmDgFi6UDgEE= +code.superseriousbusiness.org/oauth2/v4 v4.8.0/go.mod h1:+RLRBXPkjP/VhIC/46dcZkx3t5IvBSJYOjVCPgeWors= codeberg.org/gruf/go-bytes v1.0.2 h1:malqE42Ni+h1nnYWBUAJaDDtEzF4aeN4uPN8DfMNNvo= codeberg.org/gruf/go-bytes v1.0.2/go.mod h1:1v/ibfaosfXSZtRdW2rWaVrDXMc9E3bsi/M9Ekx39cg= codeberg.org/gruf/go-bytesize v1.0.3 h1:Tz8tCxhPLeyM5VryuBNjUHgKmLj4Bx9RbPaUSA3qg6g= @@ -40,20 +52,8 @@ codeberg.org/gruf/go-storage v0.2.0 h1:mKj3Lx6AavEkuXXtxqPhdq+akW9YwrnP16yQBF7K5 codeberg.org/gruf/go-storage v0.2.0/go.mod h1:o3GzMDE5QNUaRnm/daUzFqvuAaC4utlgXDXYO79sWKU= codeberg.org/gruf/go-structr v0.9.6 h1:FSbJ1A0ubTQB82rC0K4o6qyiqrDGH1t9ivttm8Zy64o= codeberg.org/gruf/go-structr v0.9.6/go.mod h1:9k5hYztZ4PsBS+m1v5hUTeFiVUBTLF5VA7d9cd1OEMs= -codeberg.org/superseriousbusiness/activity v1.14.0 h1:z+jBjAIane9+Oqu6vO+tNvvNoji+OLU8KYDJ+R+ih+I= -codeberg.org/superseriousbusiness/activity v1.14.0/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o= -codeberg.org/superseriousbusiness/exif-terminator v0.10.0 h1:FiLX/AK07tzceS36I+kOP2aEH+aytjPSIlFoYePMEyg= -codeberg.org/superseriousbusiness/exif-terminator v0.10.0/go.mod h1:c/mCytx/+fisOZeVXtjCpXld/SeZb3VsD1vj3oPAihA= -codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB h1:v2shEkOPgydTL0n44EFPsDT9dsEP7KRG85aPnojCYkI= -codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB/go.mod h1:Ba/VzIqzDHqqKk5jg+7uFpUsHmdDOsuWLodbamD80jU= -codeberg.org/superseriousbusiness/go-png-image-structure/v2 v2.1.0-SSB h1:Lqi70gvqNuHyik0gUNrBwElvFUP7A3W1FYLVV5lUmbQ= -codeberg.org/superseriousbusiness/go-png-image-structure/v2 v2.1.0-SSB/go.mod h1:99rP8gsZoCSUj+/lLdpV9+i86ujLdKSoUjvuxbgvN4M= codeberg.org/superseriousbusiness/go-swagger v0.31.0-gts-go1.23-fix h1:+JvBZqsQfdT+ROnk2DkvXsKQ9QBorKKKBk5fBqw62I8= codeberg.org/superseriousbusiness/go-swagger v0.31.0-gts-go1.23-fix/go.mod h1:WSigRRWEig8zV6t6Sm8Y+EmUjlzA/HoaZJ5edupq7po= -codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB h1:0a2fQSgMZA3/k+zjb2Ot+kwzpWFHOVEGQR2t49NhglA= -codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB/go.mod h1:mkfkHGdE2SCbNBHySjJZSDr3LHtwZb1Yjgc6GYPwAQM= -codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB h1:UAFZKgUaeQEoHDmawh9DWXFopJnADfkiDo/CLAtWISc= -codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB/go.mod h1:fAEs7S0vD9yB+h7zBUWfAqwdbVqF4n8FcTnXpJC//AM= github.com/DmitriyVTitov/size v1.5.0 h1:/PzqxYrOyOUX1BXj6J9OuVRVGe+66VL4D9FlUaW515g= github.com/DmitriyVTitov/size v1.5.0/go.mod h1:le6rNI4CoLQV1b9gzp1+3d7hMAD/uu2QcJ+aYbNgiU0= github.com/KimMachineGun/automemlimit v0.7.1 h1:QcG/0iCOLChjfUweIMC3YL5Xy9C3VBeNmCZHrZfJMBw= @@ -149,8 +149,6 @@ github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm github.com/go-errors/errors v1.0.2/go.mod h1:psDX2osz5VnTOnFWbDeWwS7yejl+uV3FEWEp4lssFEs= github.com/go-errors/errors v1.1.1 h1:ljK/pL5ltg3qoN+OtN6yCv9HWSfMwxSx90GJCZQxYNg= github.com/go-errors/errors v1.1.1/go.mod h1:psDX2osz5VnTOnFWbDeWwS7yejl+uV3FEWEp4lssFEs= -github.com/go-fed/httpsig v1.1.0 h1:9M+hb0jkEICD8/cAiNqEB66R87tTINszBRTjwjQzWcI= -github.com/go-fed/httpsig v1.1.0/go.mod h1:RCMrTZvN1bJYtofsG4rd5NaO5obxQ5xBkdiS7xsT7bM= github.com/go-ini/ini v1.67.0 h1:z6ZrTEZqSWOTyH2FlglNbNgARyHG8oLW9gMELqKr06A= github.com/go-ini/ini v1.67.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-jose/go-jose/v4 v4.0.5 h1:M6T8+mKZl/+fNNuFHvGIzDz7BTLQPIounk/b9dw3AaE= @@ -524,7 +522,6 @@ go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN8 golang.org/x/arch v0.16.0 h1:foMtLTdyOmIniqWCHjY6+JxuC54XP1fDwx4N0ASyW+U= golang.org/x/arch v0.16.0/go.mod h1:JmwW7aLIoRUKgaTzhkiEFxvcEiQGyOg9BMonBJUS7EE= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= @@ -545,7 +542,6 @@ golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU= golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200320220750-118fecf932d8/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -574,7 +570,6 @@ golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.13.0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610= golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/internal/ap/activitystreams.go b/internal/ap/activitystreams.go index 0d1bc62c9..56ebc4909 100644 --- a/internal/ap/activitystreams.go +++ b/internal/ap/activitystreams.go @@ -20,7 +20,7 @@ package ap import ( "net/url" - "codeberg.org/superseriousbusiness/activity/pub" + "code.superseriousbusiness.org/activity/pub" ) // PublicURI returns a fresh copy of the *url.URL version of the diff --git a/internal/ap/activitystreams_test.go b/internal/ap/activitystreams_test.go index 09fc13c65..fbeef262c 100644 --- a/internal/ap/activitystreams_test.go +++ b/internal/ap/activitystreams_test.go @@ -21,7 +21,7 @@ import ( "net/url" "testing" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/assert" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/paging" diff --git a/internal/ap/ap_test.go b/internal/ap/ap_test.go index 5a6518ef0..8455426e4 100644 --- a/internal/ap/ap_test.go +++ b/internal/ap/ap_test.go @@ -23,8 +23,8 @@ import ( "encoding/json" "io" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/ap/collections.go b/internal/ap/collections.go index d86abe623..08a91e5cd 100644 --- a/internal/ap/collections.go +++ b/internal/ap/collections.go @@ -21,8 +21,8 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/paging" ) diff --git a/internal/ap/collections_test.go b/internal/ap/collections_test.go index 4aefe78e4..f5fec6b31 100644 --- a/internal/ap/collections_test.go +++ b/internal/ap/collections_test.go @@ -22,9 +22,9 @@ import ( "slices" "testing" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" ) diff --git a/internal/ap/extract.go b/internal/ap/extract.go index d454d69f6..cc8129f04 100644 --- a/internal/ap/extract.go +++ b/internal/ap/extract.go @@ -28,8 +28,8 @@ import ( "strings" "time" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "github.com/superseriousbusiness/gotosocial/internal/text" diff --git a/internal/ap/extractattachments_test.go b/internal/ap/extractattachments_test.go index 609d811f8..b9192bfb0 100644 --- a/internal/ap/extractattachments_test.go +++ b/internal/ap/extractattachments_test.go @@ -22,7 +22,7 @@ import ( "encoding/json" "testing" - "codeberg.org/superseriousbusiness/activity/streams" + "code.superseriousbusiness.org/activity/streams" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" ) diff --git a/internal/ap/extractmentions_test.go b/internal/ap/extractmentions_test.go index 8a19783bc..96d7ca656 100644 --- a/internal/ap/extractmentions_test.go +++ b/internal/ap/extractmentions_test.go @@ -20,7 +20,7 @@ package ap_test import ( "testing" - "codeberg.org/superseriousbusiness/activity/streams" + "code.superseriousbusiness.org/activity/streams" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/testrig" diff --git a/internal/ap/extractpubkey_test.go b/internal/ap/extractpubkey_test.go index cf468a1e7..eeffaa1b2 100644 --- a/internal/ap/extractpubkey_test.go +++ b/internal/ap/extractpubkey_test.go @@ -22,8 +22,8 @@ import ( "encoding/json" "testing" - "codeberg.org/superseriousbusiness/activity/streams" - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" + "code.superseriousbusiness.org/activity/streams" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" ) diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go index 4c91c57f6..1dcc6afef 100644 --- a/internal/ap/interfaces.go +++ b/internal/ap/interfaces.go @@ -20,7 +20,7 @@ package ap import ( "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // IsActivityable returns whether AS vocab type name is acceptable as Activityable. diff --git a/internal/ap/interfaces_test.go b/internal/ap/interfaces_test.go index e59c32347..507a0c59c 100644 --- a/internal/ap/interfaces_test.go +++ b/internal/ap/interfaces_test.go @@ -18,7 +18,7 @@ package ap_test import ( - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" ) diff --git a/internal/ap/normalize.go b/internal/ap/normalize.go index ffe90733c..b2c4b727e 100644 --- a/internal/ap/normalize.go +++ b/internal/ap/normalize.go @@ -18,8 +18,8 @@ package ap import ( - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/text" ) diff --git a/internal/ap/normalize_test.go b/internal/ap/normalize_test.go index 9db8b43fe..14de3c93c 100644 --- a/internal/ap/normalize_test.go +++ b/internal/ap/normalize_test.go @@ -20,7 +20,7 @@ package ap_test import ( "testing" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/testrig" diff --git a/internal/ap/properties.go b/internal/ap/properties.go index e1dea22f0..ea925457a 100644 --- a/internal/ap/properties.go +++ b/internal/ap/properties.go @@ -22,8 +22,8 @@ import ( "net/url" "time" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) diff --git a/internal/ap/resolve.go b/internal/ap/resolve.go index 9d6bc73ab..596de1a99 100644 --- a/internal/ap/resolve.go +++ b/internal/ap/resolve.go @@ -25,9 +25,9 @@ import ( "io" "net/http" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) diff --git a/internal/ap/serialize.go b/internal/ap/serialize.go index 65ba69ba1..b18fcc959 100644 --- a/internal/ap/serialize.go +++ b/internal/ap/serialize.go @@ -18,8 +18,8 @@ package ap import ( - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) diff --git a/internal/ap/util.go b/internal/ap/util.go index 50e5a4c3b..4f7d696e9 100644 --- a/internal/ap/util.go +++ b/internal/ap/util.go @@ -21,7 +21,7 @@ import ( "net/url" "sync" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) const mapmax = 256 diff --git a/internal/api/activitypub/users/inboxpost_test.go b/internal/api/activitypub/users/inboxpost_test.go index 4c23ba27b..a2faa078f 100644 --- a/internal/api/activitypub/users/inboxpost_test.go +++ b/internal/api/activitypub/users/inboxpost_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" diff --git a/internal/api/activitypub/users/outboxget_test.go b/internal/api/activitypub/users/outboxget_test.go index 5734abdd2..2f56b2153 100644 --- a/internal/api/activitypub/users/outboxget_test.go +++ b/internal/api/activitypub/users/outboxget_test.go @@ -27,8 +27,8 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" diff --git a/internal/api/activitypub/users/repliesget_test.go b/internal/api/activitypub/users/repliesget_test.go index 418b5c035..ce3b20985 100644 --- a/internal/api/activitypub/users/repliesget_test.go +++ b/internal/api/activitypub/users/repliesget_test.go @@ -26,8 +26,8 @@ import ( "net/http/httptest" "testing" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/internal/api/activitypub/users/statusget_test.go b/internal/api/activitypub/users/statusget_test.go index 3a2d5e6f7..ec7a032ae 100644 --- a/internal/api/activitypub/users/statusget_test.go +++ b/internal/api/activitypub/users/statusget_test.go @@ -26,8 +26,8 @@ import ( "strings" "testing" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" diff --git a/internal/api/activitypub/users/userget_test.go b/internal/api/activitypub/users/userget_test.go index 11434a5dd..d70d1504b 100644 --- a/internal/api/activitypub/users/userget_test.go +++ b/internal/api/activitypub/users/userget_test.go @@ -25,8 +25,8 @@ import ( "net/http/httptest" "testing" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" diff --git a/internal/api/auth/revoke.go b/internal/api/auth/revoke.go index 7bd565308..932e83dbc 100644 --- a/internal/api/auth/revoke.go +++ b/internal/api/auth/revoke.go @@ -20,7 +20,7 @@ package auth import ( "net/http" - oautherr "codeberg.org/superseriousbusiness/oauth2/v4/errors" + oautherr "code.superseriousbusiness.org/oauth2/v4/errors" "github.com/gin-gonic/gin" apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/api/util/auth.go b/internal/api/util/auth.go index fccdf38e1..481ca8776 100644 --- a/internal/api/util/auth.go +++ b/internal/api/util/auth.go @@ -22,7 +22,7 @@ import ( "slices" "strings" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" "github.com/gin-gonic/gin" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/federation/authenticate.go b/internal/federation/authenticate.go index 363568f8b..907dccd81 100644 --- a/internal/federation/authenticate.go +++ b/internal/federation/authenticate.go @@ -28,10 +28,10 @@ import ( "net/url" "time" + "code.superseriousbusiness.org/activity/streams" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + "code.superseriousbusiness.org/httpsig" "codeberg.org/gruf/go-kv" - "codeberg.org/superseriousbusiness/activity/streams" - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - "codeberg.org/superseriousbusiness/httpsig" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/clock.go b/internal/federation/clock.go index b0b1c24bd..d580c21bf 100644 --- a/internal/federation/clock.go +++ b/internal/federation/clock.go @@ -20,7 +20,7 @@ package federation import ( "time" - "codeberg.org/superseriousbusiness/activity/pub" + "code.superseriousbusiness.org/activity/pub" ) /* diff --git a/internal/federation/commonbehavior.go b/internal/federation/commonbehavior.go index b9e0efbb4..4c94f084f 100644 --- a/internal/federation/commonbehavior.go +++ b/internal/federation/commonbehavior.go @@ -21,8 +21,8 @@ import ( "context" "net/http" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) /* diff --git a/internal/federation/dereferencing/account.go b/internal/federation/dereferencing/account.go index f882eb7c3..1a5bf2d0e 100644 --- a/internal/federation/dereferencing/account.go +++ b/internal/federation/dereferencing/account.go @@ -24,8 +24,8 @@ import ( "net/url" "time" + "code.superseriousbusiness.org/activity/pub" errorsv2 "codeberg.org/gruf/go-errors/v2" - "codeberg.org/superseriousbusiness/activity/pub" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/dereferencing/account_test.go b/internal/federation/dereferencing/account_test.go index 4af885468..859461779 100644 --- a/internal/federation/dereferencing/account_test.go +++ b/internal/federation/dereferencing/account_test.go @@ -31,8 +31,8 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" diff --git a/internal/federation/dereferencing/collection.go b/internal/federation/dereferencing/collection.go index 38f6aae9a..714af9832 100644 --- a/internal/federation/dereferencing/collection.go +++ b/internal/federation/dereferencing/collection.go @@ -21,7 +21,7 @@ import ( "context" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/log" diff --git a/internal/federation/dereferencing/dereferencer_test.go b/internal/federation/dereferencing/dereferencer_test.go index 668f9aeaa..95c879920 100644 --- a/internal/federation/dereferencing/dereferencer_test.go +++ b/internal/federation/dereferencing/dereferencer_test.go @@ -18,7 +18,7 @@ package dereferencing_test import ( - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/admin" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/dereferencing/status_test.go b/internal/federation/dereferencing/status_test.go index 6bda5a9bc..817afbe3b 100644 --- a/internal/federation/dereferencing/status_test.go +++ b/internal/federation/dereferencing/status_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams" + "code.superseriousbusiness.org/activity/streams" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/dereferencing/thread.go b/internal/federation/dereferencing/thread.go index e774d24d4..76c6dfcc3 100644 --- a/internal/federation/dereferencing/thread.go +++ b/internal/federation/dereferencing/thread.go @@ -22,8 +22,8 @@ import ( "net/http" "net/url" + "code.superseriousbusiness.org/activity/pub" "codeberg.org/gruf/go-kv" - "codeberg.org/superseriousbusiness/activity/pub" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/federation/federatingactor.go b/internal/federation/federatingactor.go index 0bd6cdf28..e05f7e9ac 100644 --- a/internal/federation/federatingactor.go +++ b/internal/federation/federatingactor.go @@ -25,10 +25,10 @@ import ( "net/url" "slices" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams/vocab" errorsv2 "codeberg.org/gruf/go-errors/v2" "codeberg.org/gruf/go-kv" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" "github.com/superseriousbusiness/gotosocial/internal/config" diff --git a/internal/federation/federatingdb/accept.go b/internal/federation/federatingdb/accept.go index 39c099b79..45c0a1920 100644 --- a/internal/federation/federatingdb/accept.go +++ b/internal/federation/federatingdb/accept.go @@ -23,7 +23,7 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/federatingdb/announce.go b/internal/federation/federatingdb/announce.go index 84aa3dad0..654b036e4 100644 --- a/internal/federation/federatingdb/announce.go +++ b/internal/federation/federatingdb/announce.go @@ -22,7 +22,7 @@ import ( "net/url" "slices" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/log" diff --git a/internal/federation/federatingdb/announce_test.go b/internal/federation/federatingdb/announce_test.go index 5dd4c441e..cda53bd9c 100644 --- a/internal/federation/federatingdb/announce_test.go +++ b/internal/federation/federatingdb/announce_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/federation/federatingdb/block.go b/internal/federation/federatingdb/block.go index 4f9132391..501ee1cfb 100644 --- a/internal/federation/federatingdb/block.go +++ b/internal/federation/federatingdb/block.go @@ -21,7 +21,7 @@ import ( "context" "net/http" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/id" diff --git a/internal/federation/federatingdb/create.go b/internal/federation/federatingdb/create.go index d43909e12..368c7b1e4 100644 --- a/internal/federation/federatingdb/create.go +++ b/internal/federation/federatingdb/create.go @@ -22,7 +22,7 @@ import ( "errors" "slices" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtscontext" diff --git a/internal/federation/federatingdb/create_test.go b/internal/federation/federatingdb/create_test.go index 0ca1c55bc..9e6410095 100644 --- a/internal/federation/federatingdb/create_test.go +++ b/internal/federation/federatingdb/create_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/federation/federatingdb/db.go b/internal/federation/federatingdb/db.go index e246e2da5..30aa38f6a 100644 --- a/internal/federation/federatingdb/db.go +++ b/internal/federation/federatingdb/db.go @@ -21,9 +21,9 @@ import ( "context" "net/url" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams/vocab" "codeberg.org/gruf/go-cache/v3/simple" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" "github.com/superseriousbusiness/gotosocial/internal/filter/spam" diff --git a/internal/federation/federatingdb/flag.go b/internal/federation/federatingdb/flag.go index 48e3eef07..cbb046d50 100644 --- a/internal/federation/federatingdb/flag.go +++ b/internal/federation/federatingdb/flag.go @@ -21,7 +21,7 @@ import ( "context" "net/http" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/miekg/dns" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/federation/federatingdb/follow.go b/internal/federation/federatingdb/follow.go index 8db850e42..9494503c4 100644 --- a/internal/federation/federatingdb/follow.go +++ b/internal/federation/federatingdb/follow.go @@ -21,7 +21,7 @@ import ( "context" "net/http" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/id" diff --git a/internal/federation/federatingdb/followers.go b/internal/federation/federatingdb/followers.go index eb224960e..f3f3320c1 100644 --- a/internal/federation/federatingdb/followers.go +++ b/internal/federation/federatingdb/followers.go @@ -22,7 +22,7 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) diff --git a/internal/federation/federatingdb/following.go b/internal/federation/federatingdb/following.go index 793bdc9d5..bcbcf9533 100644 --- a/internal/federation/federatingdb/following.go +++ b/internal/federation/federatingdb/following.go @@ -21,7 +21,7 @@ import ( "context" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) diff --git a/internal/federation/federatingdb/get.go b/internal/federation/federatingdb/get.go index e6d016688..e1e61e916 100644 --- a/internal/federation/federatingdb/get.go +++ b/internal/federation/federatingdb/get.go @@ -22,7 +22,7 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/superseriousbusiness/gotosocial/internal/uris" ) diff --git a/internal/federation/federatingdb/inbox.go b/internal/federation/federatingdb/inbox.go index 8c5977074..e5b10f596 100644 --- a/internal/federation/federatingdb/inbox.go +++ b/internal/federation/federatingdb/inbox.go @@ -22,8 +22,8 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/uris" diff --git a/internal/federation/federatingdb/like.go b/internal/federation/federatingdb/like.go index 90fce4c61..119958750 100644 --- a/internal/federation/federatingdb/like.go +++ b/internal/federation/federatingdb/like.go @@ -22,7 +22,7 @@ import ( "errors" "net/http" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/federation/federatingdb/liked.go b/internal/federation/federatingdb/liked.go index 4fa17e5b8..9db3341f1 100644 --- a/internal/federation/federatingdb/liked.go +++ b/internal/federation/federatingdb/liked.go @@ -21,8 +21,8 @@ import ( "context" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) // Liked obtains the Liked Collection for an actor with the diff --git a/internal/federation/federatingdb/move.go b/internal/federation/federatingdb/move.go index 5e296a25d..0c88cd3f4 100644 --- a/internal/federation/federatingdb/move.go +++ b/internal/federation/federatingdb/move.go @@ -27,7 +27,7 @@ import ( "errors" "fmt" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/federation/federatingdb/move_test.go b/internal/federation/federatingdb/move_test.go index 5baaa2bdc..65e97be70 100644 --- a/internal/federation/federatingdb/move_test.go +++ b/internal/federation/federatingdb/move_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/federation/federatingdb/outbox.go b/internal/federation/federatingdb/outbox.go index 116dde56f..8098dfa34 100644 --- a/internal/federation/federatingdb/outbox.go +++ b/internal/federation/federatingdb/outbox.go @@ -21,8 +21,8 @@ import ( "context" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) // GetOutbox returns the first ordered collection page of the outbox diff --git a/internal/federation/federatingdb/reject.go b/internal/federation/federatingdb/reject.go index 186bb009a..138aa6b22 100644 --- a/internal/federation/federatingdb/reject.go +++ b/internal/federation/federatingdb/reject.go @@ -22,7 +22,7 @@ import ( "errors" "time" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/federation/federatingdb/reject_test.go b/internal/federation/federatingdb/reject_test.go index b209232a0..cca7c6498 100644 --- a/internal/federation/federatingdb/reject_test.go +++ b/internal/federation/federatingdb/reject_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "codeberg.org/superseriousbusiness/activity/streams" + "code.superseriousbusiness.org/activity/streams" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/federatingdb/undo.go b/internal/federation/federatingdb/undo.go index 9c7635846..a40b6c31a 100644 --- a/internal/federation/federatingdb/undo.go +++ b/internal/federation/federatingdb/undo.go @@ -22,7 +22,7 @@ import ( "errors" "fmt" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtscontext" diff --git a/internal/federation/federatingdb/update.go b/internal/federation/federatingdb/update.go index 2eac9ed04..f6f126efa 100644 --- a/internal/federation/federatingdb/update.go +++ b/internal/federation/federatingdb/update.go @@ -21,7 +21,7 @@ import ( "context" "errors" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/federatingdb/util.go b/internal/federation/federatingdb/util.go index 6d5334076..b9f9a7529 100644 --- a/internal/federation/federatingdb/util.go +++ b/internal/federation/federatingdb/util.go @@ -23,9 +23,9 @@ import ( "fmt" "net/url" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "codeberg.org/gruf/go-byteutil" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/gtscontext" diff --git a/internal/federation/federatingprotocol.go b/internal/federation/federatingprotocol.go index d31d01d42..82b39606e 100644 --- a/internal/federation/federatingprotocol.go +++ b/internal/federation/federatingprotocol.go @@ -24,10 +24,10 @@ import ( "net/url" "strings" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "codeberg.org/gruf/go-kv" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/federation/federatingprotocol_test.go b/internal/federation/federatingprotocol_test.go index 7307ec6cc..08c7fcd8f 100644 --- a/internal/federation/federatingprotocol_test.go +++ b/internal/federation/federatingprotocol_test.go @@ -27,8 +27,8 @@ import ( "net/url" "testing" + "code.superseriousbusiness.org/httpsig" errorsv2 "codeberg.org/gruf/go-errors/v2" - "codeberg.org/superseriousbusiness/httpsig" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtscontext" diff --git a/internal/federation/federator.go b/internal/federation/federator.go index 3fd64b2ad..08d346137 100644 --- a/internal/federation/federator.go +++ b/internal/federation/federator.go @@ -18,7 +18,7 @@ package federation import ( - "codeberg.org/superseriousbusiness/activity/pub" + "code.superseriousbusiness.org/activity/pub" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" "github.com/superseriousbusiness/gotosocial/internal/federation/federatingdb" diff --git a/internal/federation/transport.go b/internal/federation/transport.go index 90cd4bbff..471a454ca 100644 --- a/internal/federation/transport.go +++ b/internal/federation/transport.go @@ -22,7 +22,7 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/pub" + "code.superseriousbusiness.org/activity/pub" "github.com/superseriousbusiness/gotosocial/internal/uris" ) diff --git a/internal/gtscontext/context.go b/internal/gtscontext/context.go index b0dd4788c..985361a98 100644 --- a/internal/gtscontext/context.go +++ b/internal/gtscontext/context.go @@ -22,7 +22,7 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/httpsig" + "code.superseriousbusiness.org/httpsig" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) diff --git a/internal/media/metadata.go b/internal/media/metadata.go index e8eb32c0d..458ad00e2 100644 --- a/internal/media/metadata.go +++ b/internal/media/metadata.go @@ -22,7 +22,7 @@ import ( "os" "strings" - terminator "codeberg.org/superseriousbusiness/exif-terminator" + terminator "code.superseriousbusiness.org/exif-terminator" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/log" ) diff --git a/internal/messages/messages.go b/internal/messages/messages.go index 8b1c72d04..8abc714aa 100644 --- a/internal/messages/messages.go +++ b/internal/messages/messages.go @@ -23,9 +23,9 @@ import ( "net/url" "reflect" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "codeberg.org/gruf/go-structr" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) diff --git a/internal/middleware/signaturecheck.go b/internal/middleware/signaturecheck.go index 3e1bfef33..fd89cd886 100644 --- a/internal/middleware/signaturecheck.go +++ b/internal/middleware/signaturecheck.go @@ -25,7 +25,7 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/gtscontext" "github.com/superseriousbusiness/gotosocial/internal/log" - "codeberg.org/superseriousbusiness/httpsig" + "code.superseriousbusiness.org/httpsig" "github.com/gin-gonic/gin" ) diff --git a/internal/middleware/tokencheck.go b/internal/middleware/tokencheck.go index 10c77541f..e06aa08c7 100644 --- a/internal/middleware/tokencheck.go +++ b/internal/middleware/tokencheck.go @@ -20,7 +20,7 @@ package middleware import ( "net/http" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" "github.com/gin-gonic/gin" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/log" diff --git a/internal/oauth/clientstore.go b/internal/oauth/clientstore.go index 17de0e342..77e18bd07 100644 --- a/internal/oauth/clientstore.go +++ b/internal/oauth/clientstore.go @@ -20,8 +20,8 @@ package oauth import ( "context" - "codeberg.org/superseriousbusiness/oauth2/v4" - "codeberg.org/superseriousbusiness/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4/errors" "github.com/superseriousbusiness/gotosocial/internal/state" ) diff --git a/internal/oauth/errors.go b/internal/oauth/errors.go index 1ed9e838c..6f97d93cd 100644 --- a/internal/oauth/errors.go +++ b/internal/oauth/errors.go @@ -17,7 +17,7 @@ package oauth -import "codeberg.org/superseriousbusiness/oauth2/v4/errors" +import "code.superseriousbusiness.org/oauth2/v4/errors" // ErrInvalidRequest is an oauth spec compliant 'invalid_request' error. var ErrInvalidRequest = errors.New("invalid_request") diff --git a/internal/oauth/handlers/handlers.go b/internal/oauth/handlers/handlers.go index f0af007f0..df83cd548 100644 --- a/internal/oauth/handlers/handlers.go +++ b/internal/oauth/handlers/handlers.go @@ -25,10 +25,10 @@ import ( "slices" "strings" - "codeberg.org/superseriousbusiness/oauth2/v4" - oautherr "codeberg.org/superseriousbusiness/oauth2/v4/errors" - "codeberg.org/superseriousbusiness/oauth2/v4/manage" - "codeberg.org/superseriousbusiness/oauth2/v4/server" + "code.superseriousbusiness.org/oauth2/v4" + oautherr "code.superseriousbusiness.org/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4/manage" + "code.superseriousbusiness.org/oauth2/v4/server" apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtscontext" diff --git a/internal/oauth/server.go b/internal/oauth/server.go index 0bc7a3b01..4f08818b5 100644 --- a/internal/oauth/server.go +++ b/internal/oauth/server.go @@ -24,11 +24,11 @@ import ( "net/http" "strings" + "code.superseriousbusiness.org/oauth2/v4" + oautherr "code.superseriousbusiness.org/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4/manage" + "code.superseriousbusiness.org/oauth2/v4/server" errorsv2 "codeberg.org/gruf/go-errors/v2" - "codeberg.org/superseriousbusiness/oauth2/v4" - oautherr "codeberg.org/superseriousbusiness/oauth2/v4/errors" - "codeberg.org/superseriousbusiness/oauth2/v4/manage" - "codeberg.org/superseriousbusiness/oauth2/v4/server" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/oauth/tokenstore.go b/internal/oauth/tokenstore.go index 8c6506fa3..87bde5504 100644 --- a/internal/oauth/tokenstore.go +++ b/internal/oauth/tokenstore.go @@ -22,9 +22,9 @@ import ( "errors" "time" + "code.superseriousbusiness.org/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4/models" "codeberg.org/gruf/go-mutexes" - "codeberg.org/superseriousbusiness/oauth2/v4" - "codeberg.org/superseriousbusiness/oauth2/v4/models" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "github.com/superseriousbusiness/gotosocial/internal/id" diff --git a/internal/processing/fedi/collections.go b/internal/processing/fedi/collections.go index 9da3a79a0..c802fb295 100644 --- a/internal/processing/fedi/collections.go +++ b/internal/processing/fedi/collections.go @@ -23,7 +23,7 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/processing/fedi/status.go b/internal/processing/fedi/status.go index a677da322..86925c2b1 100644 --- a/internal/processing/fedi/status.go +++ b/internal/processing/fedi/status.go @@ -24,7 +24,7 @@ import ( "slices" "strconv" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" diff --git a/internal/processing/oauth.go b/internal/processing/oauth.go index d597a6dc6..749716398 100644 --- a/internal/processing/oauth.go +++ b/internal/processing/oauth.go @@ -21,7 +21,7 @@ import ( "context" "net/http" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) diff --git a/internal/processing/user/create.go b/internal/processing/user/create.go index dde69a6ef..23fef0004 100644 --- a/internal/processing/user/create.go +++ b/internal/processing/user/create.go @@ -22,7 +22,7 @@ import ( "fmt" "time" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" "github.com/superseriousbusiness/gotosocial/internal/ap" apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" "github.com/superseriousbusiness/gotosocial/internal/config" diff --git a/internal/processing/workers/federate.go b/internal/processing/workers/federate.go index 783bf8e39..909cb4d22 100644 --- a/internal/processing/workers/federate.go +++ b/internal/processing/workers/federate.go @@ -21,8 +21,8 @@ import ( "context" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/federation" "github.com/superseriousbusiness/gotosocial/internal/gtserror" diff --git a/internal/transport/controller.go b/internal/transport/controller.go index 10bce7c59..1010802c1 100644 --- a/internal/transport/controller.go +++ b/internal/transport/controller.go @@ -29,9 +29,9 @@ import ( "net/http" "net/url" + "code.superseriousbusiness.org/activity/pub" "codeberg.org/gruf/go-byteutil" "codeberg.org/gruf/go-cache/v3" - "codeberg.org/superseriousbusiness/activity/pub" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/transport/signing.go b/internal/transport/signing.go index 6fe29a853..050ed609d 100644 --- a/internal/transport/signing.go +++ b/internal/transport/signing.go @@ -18,7 +18,7 @@ package transport import ( - "codeberg.org/superseriousbusiness/httpsig" + "code.superseriousbusiness.org/httpsig" ) var ( diff --git a/internal/transport/transport.go b/internal/transport/transport.go index 7d605f035..2ef070541 100644 --- a/internal/transport/transport.go +++ b/internal/transport/transport.go @@ -27,7 +27,7 @@ import ( "sync" "time" - "codeberg.org/superseriousbusiness/httpsig" + "code.superseriousbusiness.org/httpsig" "github.com/superseriousbusiness/gotosocial/internal/gtscontext" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "github.com/superseriousbusiness/gotosocial/internal/httpclient" diff --git a/internal/typeutils/astointernal_test.go b/internal/typeutils/astointernal_test.go index b49c14299..e2fd36159 100644 --- a/internal/typeutils/astointernal_test.go +++ b/internal/typeutils/astointernal_test.go @@ -24,8 +24,8 @@ import ( "io" "testing" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/cache" diff --git a/internal/typeutils/converter_test.go b/internal/typeutils/converter_test.go index 0d5ce03ad..eb7673743 100644 --- a/internal/typeutils/converter_test.go +++ b/internal/typeutils/converter_test.go @@ -18,7 +18,7 @@ package typeutils_test import ( - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/admin" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/typeutils/internaltoas.go b/internal/typeutils/internaltoas.go index 9d9a7e289..a00501be5 100644 --- a/internal/typeutils/internaltoas.go +++ b/internal/typeutils/internaltoas.go @@ -26,9 +26,9 @@ import ( "net/url" "strings" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/db" diff --git a/internal/typeutils/wrap.go b/internal/typeutils/wrap.go index 894fd9a5e..0f63d1c6c 100644 --- a/internal/typeutils/wrap.go +++ b/internal/typeutils/wrap.go @@ -18,8 +18,8 @@ package typeutils import ( - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/id" "github.com/superseriousbusiness/gotosocial/internal/log" diff --git a/testrig/testmodels.go b/testrig/testmodels.go index e12ac3405..dd74031c1 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -34,9 +34,9 @@ import ( "strings" "time" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "github.com/superseriousbusiness/gotosocial/internal/transport" diff --git a/testrig/transportcontroller.go b/testrig/transportcontroller.go index d66c71179..ae7a846d3 100644 --- a/testrig/transportcontroller.go +++ b/testrig/transportcontroller.go @@ -26,9 +26,9 @@ import ( "strings" "sync" - "codeberg.org/superseriousbusiness/activity/pub" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" "github.com/superseriousbusiness/gotosocial/internal/ap" apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" "github.com/superseriousbusiness/gotosocial/internal/federation" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/LICENSE b/vendor/code.superseriousbusiness.org/activity/LICENSE similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/LICENSE rename to vendor/code.superseriousbusiness.org/activity/LICENSE diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/README.md b/vendor/code.superseriousbusiness.org/activity/pub/README.md similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/README.md rename to vendor/code.superseriousbusiness.org/activity/pub/README.md index bb9a49b05..37261e712 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/README.md +++ b/vendor/code.superseriousbusiness.org/activity/pub/README.md @@ -18,7 +18,7 @@ implement a few interfaces: ```golang import ( - "codeberg.org/superseriousbusiness/activity/pub" + "code.superseriousbusiness.org/activity/pub" ) type myActivityPubApp struct { /* ... */ } diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/activity.go b/vendor/code.superseriousbusiness.org/activity/pub/activity.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/activity.go rename to vendor/code.superseriousbusiness.org/activity/pub/activity.go index 8b3d5b486..35d667749 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/activity.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/activity.go @@ -1,7 +1,7 @@ package pub import ( - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // Activity represents any ActivityStreams Activity type. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/actor.go b/vendor/code.superseriousbusiness.org/activity/pub/actor.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/actor.go rename to vendor/code.superseriousbusiness.org/activity/pub/actor.go index a9b19d1c1..860325f5d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/actor.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/actor.go @@ -5,7 +5,7 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // Actor represents ActivityPub's actor concept. It conceptually has an inbox diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/base_actor.go b/vendor/code.superseriousbusiness.org/activity/pub/base_actor.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/base_actor.go rename to vendor/code.superseriousbusiness.org/activity/pub/base_actor.go index c509383d6..248fbd361 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/base_actor.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/base_actor.go @@ -7,8 +7,8 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) // baseActor must satisfy the Actor interface. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/clock.go b/vendor/code.superseriousbusiness.org/activity/pub/clock.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/clock.go rename to vendor/code.superseriousbusiness.org/activity/pub/clock.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/common_behavior.go b/vendor/code.superseriousbusiness.org/activity/pub/common_behavior.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/common_behavior.go rename to vendor/code.superseriousbusiness.org/activity/pub/common_behavior.go index e33dce842..aaa6cf8b2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/common_behavior.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/common_behavior.go @@ -5,7 +5,7 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // Common contains functions required for both the Social API and Federating diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/database.go b/vendor/code.superseriousbusiness.org/activity/pub/database.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/database.go rename to vendor/code.superseriousbusiness.org/activity/pub/database.go index 5e25455d5..af7756c34 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/database.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/database.go @@ -4,7 +4,7 @@ import ( "context" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) type Database interface { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/delegate_actor.go b/vendor/code.superseriousbusiness.org/activity/pub/delegate_actor.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/delegate_actor.go rename to vendor/code.superseriousbusiness.org/activity/pub/delegate_actor.go index 0250f62ee..28a225b24 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/delegate_actor.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/delegate_actor.go @@ -5,7 +5,7 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // DelegateActor contains the detailed interface an application must satisfy in diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/doc.go b/vendor/code.superseriousbusiness.org/activity/pub/doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/doc.go rename to vendor/code.superseriousbusiness.org/activity/pub/doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/federating_protocol.go b/vendor/code.superseriousbusiness.org/activity/pub/federating_protocol.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/federating_protocol.go rename to vendor/code.superseriousbusiness.org/activity/pub/federating_protocol.go index 62bcf44c1..302e4f5ca 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/federating_protocol.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/federating_protocol.go @@ -5,7 +5,7 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // FederatingProtocol contains behaviors an application needs to satisfy for the diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/federating_wrapped_callbacks.go b/vendor/code.superseriousbusiness.org/activity/pub/federating_wrapped_callbacks.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/federating_wrapped_callbacks.go rename to vendor/code.superseriousbusiness.org/activity/pub/federating_wrapped_callbacks.go index 9af4f86f1..8a8f32aaa 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/federating_wrapped_callbacks.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/federating_wrapped_callbacks.go @@ -5,8 +5,8 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) // OnFollowBehavior enumerates the different default actions that the go-fed diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/handlers.go b/vendor/code.superseriousbusiness.org/activity/pub/handlers.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/handlers.go rename to vendor/code.superseriousbusiness.org/activity/pub/handlers.go index 688b8158f..53c44c6fc 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/handlers.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/handlers.go @@ -7,7 +7,7 @@ import ( "fmt" "net/http" - "codeberg.org/superseriousbusiness/activity/streams" + "code.superseriousbusiness.org/activity/streams" ) var ErrNotFound = errors.New("go-fed/activity: ActivityStreams data not found") diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/property_interfaces.go b/vendor/code.superseriousbusiness.org/activity/pub/property_interfaces.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/property_interfaces.go rename to vendor/code.superseriousbusiness.org/activity/pub/property_interfaces.go index abec7ad53..3da014c70 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/property_interfaces.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/property_interfaces.go @@ -3,7 +3,7 @@ package pub import ( "net/url" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // inReplyToer is an ActivityStreams type with an 'inReplyTo' property diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/side_effect_actor.go b/vendor/code.superseriousbusiness.org/activity/pub/side_effect_actor.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/side_effect_actor.go rename to vendor/code.superseriousbusiness.org/activity/pub/side_effect_actor.go index d98abfdb3..820dca403 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/side_effect_actor.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/side_effect_actor.go @@ -6,8 +6,8 @@ import ( "net/http" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) // sideEffectActor must satisfy the DelegateActor interface. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/social_protocol.go b/vendor/code.superseriousbusiness.org/activity/pub/social_protocol.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/social_protocol.go rename to vendor/code.superseriousbusiness.org/activity/pub/social_protocol.go index 1f882b284..515947d15 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/social_protocol.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/social_protocol.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) // SocialProtocol contains behaviors an application needs to satisfy for the diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/social_wrapped_callbacks.go b/vendor/code.superseriousbusiness.org/activity/pub/social_wrapped_callbacks.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/social_wrapped_callbacks.go rename to vendor/code.superseriousbusiness.org/activity/pub/social_wrapped_callbacks.go index 9f93a9c65..d1c53fcaf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/social_wrapped_callbacks.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/social_wrapped_callbacks.go @@ -5,8 +5,8 @@ import ( "fmt" "net/url" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) // SocialWrappedCallbacks lists the callback functions that already have some diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/transport.go b/vendor/code.superseriousbusiness.org/activity/pub/transport.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/transport.go rename to vendor/code.superseriousbusiness.org/activity/pub/transport.go index 101ff5c07..b74bfedbf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/transport.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/transport.go @@ -11,7 +11,7 @@ import ( "strings" "sync" - "github.com/go-fed/httpsig" + "code.superseriousbusiness.org/httpsig" ) const ( diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/util.go b/vendor/code.superseriousbusiness.org/activity/pub/util.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/util.go rename to vendor/code.superseriousbusiness.org/activity/pub/util.go index 1a5ea7640..dc78bb964 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/pub/util.go +++ b/vendor/code.superseriousbusiness.org/activity/pub/util.go @@ -14,8 +14,8 @@ import ( "strings" "time" - "codeberg.org/superseriousbusiness/activity/streams" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/activity/streams/vocab" ) var ( diff --git a/vendor/codeberg.org/superseriousbusiness/activity/pub/version.go b/vendor/code.superseriousbusiness.org/activity/pub/version.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/pub/version.go rename to vendor/code.superseriousbusiness.org/activity/pub/version.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/README.md b/vendor/code.superseriousbusiness.org/activity/streams/README.md similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/README.md rename to vendor/code.superseriousbusiness.org/activity/streams/README.md diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_consts.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_consts.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_doc.go diff --git a/vendor/code.superseriousbusiness.org/activity/streams/gen_init.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_init.go new file mode 100644 index 000000000..ecc0b4d86 --- /dev/null +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_init.go @@ -0,0 +1,457 @@ +// Code generated by astool. DO NOT EDIT. + +package streams + +import ( + propertyaccuracy "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy" + propertyactor "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor" + propertyalsoknownas "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas" + propertyaltitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude" + propertyanyof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof" + propertyattachment "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment" + propertyattributedto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto" + propertyaudience "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience" + propertybcc "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc" + propertybto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto" + propertycc "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc" + propertyclosed "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed" + propertycontent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content" + propertycontext "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context" + propertycurrent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current" + propertydeleted "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted" + propertydescribes "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes" + propertyduration "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration" + propertyendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints" + propertyendtime "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime" + propertyfirst "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first" + propertyfollowers "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers" + propertyfollowing "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following" + propertyformertype "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype" + propertygenerator "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator" + propertyheight "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height" + propertyhref "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href" + propertyhreflang "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang" + propertyicon "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon" + propertyimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image" + propertyinbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox" + propertyinreplyto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto" + propertyinstrument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument" + propertyitems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items" + propertylast "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last" + propertylatitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude" + propertyliked "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked" + propertylikes "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes" + propertylocation "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location" + propertylongitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude" + propertymanuallyapprovesfollowers "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" + propertymediatype "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype" + propertymovedto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto" + propertyname "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name" + propertynext "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next" + propertyobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object" + propertyoneof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof" + propertyordereditems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems" + propertyorigin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin" + propertyoutbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox" + propertypartof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof" + propertypreferredusername "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername" + propertyprev "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev" + propertypreview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview" + propertypublished "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published" + propertyradius "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius" + propertyrel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel" + propertyrelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship" + propertyreplies "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies" + propertyresult "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result" + propertysensitive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive" + propertysharedinbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox" + propertyshares "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares" + propertysource "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source" + propertystartindex "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex" + propertystarttime "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime" + propertystreams "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams" + propertysubject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject" + propertysummary "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary" + propertytag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag" + propertytarget "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target" + propertyto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to" + propertytotalitems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems" + propertyunits "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units" + propertyupdated "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated" + propertyurl "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url" + propertywidth "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + propertyalways "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always" + propertyapprovalrequired "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired" + propertyapprovedby "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby" + propertyautomaticapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval" + propertycanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce" + propertycanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike" + propertycanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote" + propertycanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply" + propertyinteractingobject "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject" + propertyinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy" + propertyinteractiontarget "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget" + propertymanualapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + propertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/property_value" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + propertyblurhash "code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash" + propertydiscoverable "code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable" + propertyfeatured "code.superseriousbusiness.org/activity/streams/impl/toot/property_featured" + propertyfocalpoint "code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint" + propertyindexable "code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable" + propertysignaturealgorithm "code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm" + propertysignaturevalue "code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue" + propertyvoterscount "code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + propertyowner "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner" + propertypublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey" + propertypublickeypem "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" +) + +var mgr *Manager + +// init handles the 'magic' of creating a Manager and dependency-injecting it into +// every other code-generated package. This gives the implementations access +// to create any type needed to deserialize, without relying on the other +// specific concrete implementations. In order to replace a go-fed created +// type with your own, be sure to have the manager call your own +// implementation's deserialize functions instead of the built-in type. +// Finally, each implementation views the Manager as an interface with only a +// subset of funcitons available. This means this Manager implements the union +// of those interfaces. +func init() { + mgr = &Manager{} + propertyaccuracy.SetManager(mgr) + propertyactor.SetManager(mgr) + propertyalsoknownas.SetManager(mgr) + propertyaltitude.SetManager(mgr) + propertyanyof.SetManager(mgr) + propertyattachment.SetManager(mgr) + propertyattributedto.SetManager(mgr) + propertyaudience.SetManager(mgr) + propertybcc.SetManager(mgr) + propertybto.SetManager(mgr) + propertycc.SetManager(mgr) + propertyclosed.SetManager(mgr) + propertycontent.SetManager(mgr) + propertycontext.SetManager(mgr) + propertycurrent.SetManager(mgr) + propertydeleted.SetManager(mgr) + propertydescribes.SetManager(mgr) + propertyduration.SetManager(mgr) + propertyendpoints.SetManager(mgr) + propertyendtime.SetManager(mgr) + propertyfirst.SetManager(mgr) + propertyfollowers.SetManager(mgr) + propertyfollowing.SetManager(mgr) + propertyformertype.SetManager(mgr) + propertygenerator.SetManager(mgr) + propertyheight.SetManager(mgr) + propertyhref.SetManager(mgr) + propertyhreflang.SetManager(mgr) + propertyicon.SetManager(mgr) + propertyimage.SetManager(mgr) + propertyinbox.SetManager(mgr) + propertyinreplyto.SetManager(mgr) + propertyinstrument.SetManager(mgr) + propertyitems.SetManager(mgr) + propertylast.SetManager(mgr) + propertylatitude.SetManager(mgr) + propertyliked.SetManager(mgr) + propertylikes.SetManager(mgr) + propertylocation.SetManager(mgr) + propertylongitude.SetManager(mgr) + propertymanuallyapprovesfollowers.SetManager(mgr) + propertymediatype.SetManager(mgr) + propertymovedto.SetManager(mgr) + propertyname.SetManager(mgr) + propertynext.SetManager(mgr) + propertyobject.SetManager(mgr) + propertyoneof.SetManager(mgr) + propertyordereditems.SetManager(mgr) + propertyorigin.SetManager(mgr) + propertyoutbox.SetManager(mgr) + propertypartof.SetManager(mgr) + propertypreferredusername.SetManager(mgr) + propertyprev.SetManager(mgr) + propertypreview.SetManager(mgr) + propertypublished.SetManager(mgr) + propertyradius.SetManager(mgr) + propertyrel.SetManager(mgr) + propertyrelationship.SetManager(mgr) + propertyreplies.SetManager(mgr) + propertyresult.SetManager(mgr) + propertysensitive.SetManager(mgr) + propertysharedinbox.SetManager(mgr) + propertyshares.SetManager(mgr) + propertysource.SetManager(mgr) + propertystartindex.SetManager(mgr) + propertystarttime.SetManager(mgr) + propertystreams.SetManager(mgr) + propertysubject.SetManager(mgr) + propertysummary.SetManager(mgr) + propertytag.SetManager(mgr) + propertytarget.SetManager(mgr) + propertyto.SetManager(mgr) + propertytotalitems.SetManager(mgr) + propertyunits.SetManager(mgr) + propertyupdated.SetManager(mgr) + propertyurl.SetManager(mgr) + propertywidth.SetManager(mgr) + typeaccept.SetManager(mgr) + typeactivity.SetManager(mgr) + typeadd.SetManager(mgr) + typeannounce.SetManager(mgr) + typeapplication.SetManager(mgr) + typearrive.SetManager(mgr) + typearticle.SetManager(mgr) + typeaudio.SetManager(mgr) + typeblock.SetManager(mgr) + typecollection.SetManager(mgr) + typecollectionpage.SetManager(mgr) + typecreate.SetManager(mgr) + typedelete.SetManager(mgr) + typedislike.SetManager(mgr) + typedocument.SetManager(mgr) + typeendpoints.SetManager(mgr) + typeevent.SetManager(mgr) + typeflag.SetManager(mgr) + typefollow.SetManager(mgr) + typegroup.SetManager(mgr) + typeignore.SetManager(mgr) + typeimage.SetManager(mgr) + typeintransitiveactivity.SetManager(mgr) + typeinvite.SetManager(mgr) + typejoin.SetManager(mgr) + typeleave.SetManager(mgr) + typelike.SetManager(mgr) + typelink.SetManager(mgr) + typelisten.SetManager(mgr) + typemention.SetManager(mgr) + typemove.SetManager(mgr) + typenote.SetManager(mgr) + typeobject.SetManager(mgr) + typeoffer.SetManager(mgr) + typeorderedcollection.SetManager(mgr) + typeorderedcollectionpage.SetManager(mgr) + typeorganization.SetManager(mgr) + typepage.SetManager(mgr) + typeperson.SetManager(mgr) + typeplace.SetManager(mgr) + typeprofile.SetManager(mgr) + typequestion.SetManager(mgr) + typeread.SetManager(mgr) + typereject.SetManager(mgr) + typerelationship.SetManager(mgr) + typeremove.SetManager(mgr) + typeservice.SetManager(mgr) + typetentativeaccept.SetManager(mgr) + typetentativereject.SetManager(mgr) + typetombstone.SetManager(mgr) + typetravel.SetManager(mgr) + typeundo.SetManager(mgr) + typeupdate.SetManager(mgr) + typevideo.SetManager(mgr) + typeview.SetManager(mgr) + typealbum.SetManager(mgr) + typeartist.SetManager(mgr) + typelibrary.SetManager(mgr) + typetrack.SetManager(mgr) + propertyalways.SetManager(mgr) + propertyapprovalrequired.SetManager(mgr) + propertyapprovedby.SetManager(mgr) + propertyautomaticapproval.SetManager(mgr) + propertycanannounce.SetManager(mgr) + propertycanlike.SetManager(mgr) + propertycanquote.SetManager(mgr) + propertycanreply.SetManager(mgr) + propertyinteractingobject.SetManager(mgr) + propertyinteractionpolicy.SetManager(mgr) + propertyinteractiontarget.SetManager(mgr) + propertymanualapproval.SetManager(mgr) + typeannounceapproval.SetManager(mgr) + typeannounceauthorization.SetManager(mgr) + typeannouncerequest.SetManager(mgr) + typecanannounce.SetManager(mgr) + typecanlike.SetManager(mgr) + typecanquote.SetManager(mgr) + typecanreply.SetManager(mgr) + typeinteractionpolicy.SetManager(mgr) + typelikeapproval.SetManager(mgr) + typelikeauthorization.SetManager(mgr) + typelikerequest.SetManager(mgr) + typereplyapproval.SetManager(mgr) + typereplyauthorization.SetManager(mgr) + typereplyrequest.SetManager(mgr) + propertyvalue.SetManager(mgr) + typepropertyvalue.SetManager(mgr) + propertyblurhash.SetManager(mgr) + propertydiscoverable.SetManager(mgr) + propertyfeatured.SetManager(mgr) + propertyfocalpoint.SetManager(mgr) + propertyindexable.SetManager(mgr) + propertysignaturealgorithm.SetManager(mgr) + propertysignaturevalue.SetManager(mgr) + propertyvoterscount.SetManager(mgr) + typeemoji.SetManager(mgr) + typehashtag.SetManager(mgr) + typeidentityproof.SetManager(mgr) + propertyowner.SetManager(mgr) + propertypublickey.SetManager(mgr) + propertypublickeypem.SetManager(mgr) + typepublickey.SetManager(mgr) + typeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeadd.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeapplication.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typearrive.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typearticle.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeaudio.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeblock.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecollection.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecreate.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typedelete.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typedislike.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typedocument.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeendpoints.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeevent.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeflag.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typefollow.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typegroup.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeignore.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeimage.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeintransitiveactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeinvite.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typejoin.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeleave.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelike.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelink.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelisten.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typemention.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typemove.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typenote.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeobject.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeoffer.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeorderedcollection.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeorderedcollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeorganization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typepage.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeperson.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeplace.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeprofile.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typequestion.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeread.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typereject.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typerelationship.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeremove.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeservice.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typetentativeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typetentativereject.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typetombstone.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typetravel.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeundo.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typealbum.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeartist.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeannounceauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeannouncerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecanquote.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typecanreply.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeinteractionpolicy.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelikeapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelikeauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typelikerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typereplyapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typereplyauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typereplyrequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty) +} diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_json_resolver.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_json_resolver.go index ca0191faf..6ec189262 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_json_resolver.go @@ -3,7 +3,7 @@ package streams import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "context" "errors" "fmt" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_manager.go similarity index 84% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_manager.go index 9f06e9b07..c46d50808 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_manager.go @@ -3,188 +3,188 @@ package streams import ( - propertyaccuracy "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy" - propertyactor "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor" - propertyalsoknownas "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas" - propertyaltitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude" - propertyanyof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof" - propertyattachment "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment" - propertyattributedto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto" - propertyaudience "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience" - propertybcc "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc" - propertybto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto" - propertycc "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc" - propertyclosed "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed" - propertycontent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content" - propertycontext "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context" - propertycurrent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current" - propertydeleted "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted" - propertydescribes "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes" - propertyduration "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration" - propertyendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints" - propertyendtime "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime" - propertyfirst "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first" - propertyfollowers "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers" - propertyfollowing "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following" - propertyformertype "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype" - propertygenerator "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator" - propertyheight "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height" - propertyhref "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href" - propertyhreflang "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang" - propertyicon "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon" - propertyimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image" - propertyinbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox" - propertyinreplyto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto" - propertyinstrument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument" - propertyitems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items" - propertylast "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last" - propertylatitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude" - propertyliked "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked" - propertylikes "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes" - propertylocation "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location" - propertylongitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude" - propertymanuallyapprovesfollowers "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" - propertymediatype "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype" - propertymovedto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto" - propertyname "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name" - propertynext "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next" - propertyobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object" - propertyoneof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof" - propertyordereditems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems" - propertyorigin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin" - propertyoutbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox" - propertypartof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof" - propertypreferredusername "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername" - propertyprev "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev" - propertypreview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview" - propertypublished "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published" - propertyradius "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius" - propertyrel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel" - propertyrelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship" - propertyreplies "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies" - propertyresult "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result" - propertysensitive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive" - propertysharedinbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox" - propertyshares "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares" - propertysource "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source" - propertystartindex "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex" - propertystarttime "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime" - propertystreams "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams" - propertysubject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject" - propertysummary "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary" - propertytag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag" - propertytarget "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target" - propertyto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to" - propertytotalitems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems" - propertyunits "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units" - propertyupdated "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated" - propertyurl "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url" - propertywidth "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width" - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" - propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" - propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" - propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval" - propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce" - propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike" - propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote" - propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply" - propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject" - propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy" - propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget" - propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval" - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - propertyid "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id" - propertytype "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type" - propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value" - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash" - propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable" - propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured" - propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint" - propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable" - propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm" - propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" - propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount" - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - propertyowner "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner" - propertypublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey" - propertypublickeypem "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem" - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyaccuracy "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy" + propertyactor "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor" + propertyalsoknownas "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas" + propertyaltitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude" + propertyanyof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof" + propertyattachment "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment" + propertyattributedto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto" + propertyaudience "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience" + propertybcc "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc" + propertybto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto" + propertycc "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc" + propertyclosed "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed" + propertycontent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content" + propertycontext "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context" + propertycurrent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current" + propertydeleted "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted" + propertydescribes "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes" + propertyduration "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration" + propertyendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints" + propertyendtime "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime" + propertyfirst "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first" + propertyfollowers "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers" + propertyfollowing "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following" + propertyformertype "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype" + propertygenerator "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator" + propertyheight "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height" + propertyhref "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href" + propertyhreflang "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang" + propertyicon "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon" + propertyimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image" + propertyinbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox" + propertyinreplyto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto" + propertyinstrument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument" + propertyitems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items" + propertylast "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last" + propertylatitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude" + propertyliked "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked" + propertylikes "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes" + propertylocation "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location" + propertylongitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude" + propertymanuallyapprovesfollowers "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" + propertymediatype "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype" + propertymovedto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto" + propertyname "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name" + propertynext "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next" + propertyobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object" + propertyoneof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof" + propertyordereditems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems" + propertyorigin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin" + propertyoutbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox" + propertypartof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof" + propertypreferredusername "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername" + propertyprev "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev" + propertypreview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview" + propertypublished "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published" + propertyradius "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius" + propertyrel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel" + propertyrelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship" + propertyreplies "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies" + propertyresult "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result" + propertysensitive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive" + propertysharedinbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox" + propertyshares "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares" + propertysource "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source" + propertystartindex "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex" + propertystarttime "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime" + propertystreams "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams" + propertysubject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject" + propertysummary "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary" + propertytag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag" + propertytarget "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target" + propertyto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to" + propertytotalitems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems" + propertyunits "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units" + propertyupdated "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated" + propertyurl "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url" + propertywidth "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + propertyalways "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always" + propertyapprovalrequired "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired" + propertyapprovedby "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby" + propertyautomaticapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval" + propertycanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce" + propertycanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike" + propertycanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote" + propertycanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply" + propertyinteractingobject "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject" + propertyinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy" + propertyinteractiontarget "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget" + propertymanualapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + propertyid "code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id" + propertytype "code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type" + propertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/property_value" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + propertyblurhash "code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash" + propertydiscoverable "code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable" + propertyfeatured "code.superseriousbusiness.org/activity/streams/impl/toot/property_featured" + propertyfocalpoint "code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint" + propertyindexable "code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable" + propertysignaturealgorithm "code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm" + propertysignaturevalue "code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue" + propertyvoterscount "code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + propertyowner "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner" + propertypublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey" + propertypublickeypem "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // Manager manages interface types and deserializations for use by generated code. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_disjoint.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_disjoint.go similarity index 68% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_disjoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_disjoint.go index e89f26763..e1aace85c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_disjoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_disjoint.go @@ -3,62 +3,62 @@ package streams import ( - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // ActivityStreamsAcceptIsDisjointWith returns true if Accept is disjoint with the diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_extendedby.go similarity index 75% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_extendedby.go index 22cf4171c..ff05ceaf5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extendedby.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_extendedby.go @@ -3,62 +3,62 @@ package streams import ( - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // ActivityStreamsAcceptIsExtendedBy returns true if the other's type extends from diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_extends.go similarity index 70% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_extends.go index 9f665727d..c84420913 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_extends.go @@ -3,62 +3,62 @@ package streams import ( - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // ActivityStreamsActivityStreamsAcceptExtends returns true if Accept extends from diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_isorextends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_isorextends.go similarity index 71% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_isorextends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_isorextends.go index 68de190bf..6de450700 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_isorextends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_isorextends.go @@ -3,62 +3,62 @@ package streams import ( - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // IsOrExtendsActivityStreamsAccept returns true if the other provided type is the diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_property_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_property_constructors.go similarity index 69% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_property_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_property_constructors.go index c11dbc101..d9a949eac 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_property_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_property_constructors.go @@ -3,84 +3,84 @@ package streams import ( - propertyaccuracy "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy" - propertyactor "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor" - propertyalsoknownas "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas" - propertyaltitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude" - propertyanyof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof" - propertyattachment "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment" - propertyattributedto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto" - propertyaudience "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience" - propertybcc "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc" - propertybto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto" - propertycc "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc" - propertyclosed "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed" - propertycontent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content" - propertycontext "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context" - propertycurrent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current" - propertydeleted "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted" - propertydescribes "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes" - propertyduration "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration" - propertyendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints" - propertyendtime "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime" - propertyfirst "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first" - propertyfollowers "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers" - propertyfollowing "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following" - propertyformertype "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype" - propertygenerator "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator" - propertyheight "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height" - propertyhref "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href" - propertyhreflang "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang" - propertyicon "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon" - propertyimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image" - propertyinbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox" - propertyinreplyto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto" - propertyinstrument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument" - propertyitems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items" - propertylast "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last" - propertylatitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude" - propertyliked "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked" - propertylikes "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes" - propertylocation "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location" - propertylongitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude" - propertymanuallyapprovesfollowers "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" - propertymediatype "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype" - propertymovedto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto" - propertyname "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name" - propertynext "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next" - propertyobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object" - propertyoneof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof" - propertyordereditems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems" - propertyorigin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin" - propertyoutbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox" - propertypartof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof" - propertypreferredusername "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername" - propertyprev "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev" - propertypreview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview" - propertypublished "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published" - propertyradius "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius" - propertyrel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel" - propertyrelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship" - propertyreplies "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies" - propertyresult "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result" - propertysensitive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive" - propertysharedinbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox" - propertyshares "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares" - propertysource "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source" - propertystartindex "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex" - propertystarttime "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime" - propertystreams "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams" - propertysubject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject" - propertysummary "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary" - propertytag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag" - propertytarget "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target" - propertyto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to" - propertytotalitems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems" - propertyunits "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units" - propertyupdated "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated" - propertyurl "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url" - propertywidth "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyaccuracy "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy" + propertyactor "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor" + propertyalsoknownas "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas" + propertyaltitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude" + propertyanyof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof" + propertyattachment "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment" + propertyattributedto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto" + propertyaudience "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience" + propertybcc "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc" + propertybto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto" + propertycc "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc" + propertyclosed "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed" + propertycontent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content" + propertycontext "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context" + propertycurrent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current" + propertydeleted "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted" + propertydescribes "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes" + propertyduration "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration" + propertyendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints" + propertyendtime "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime" + propertyfirst "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first" + propertyfollowers "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers" + propertyfollowing "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following" + propertyformertype "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype" + propertygenerator "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator" + propertyheight "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height" + propertyhref "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href" + propertyhreflang "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang" + propertyicon "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon" + propertyimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image" + propertyinbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox" + propertyinreplyto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto" + propertyinstrument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument" + propertyitems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items" + propertylast "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last" + propertylatitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude" + propertyliked "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked" + propertylikes "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes" + propertylocation "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location" + propertylongitude "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude" + propertymanuallyapprovesfollowers "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" + propertymediatype "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype" + propertymovedto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto" + propertyname "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name" + propertynext "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next" + propertyobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object" + propertyoneof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof" + propertyordereditems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems" + propertyorigin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin" + propertyoutbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox" + propertypartof "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof" + propertypreferredusername "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername" + propertyprev "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev" + propertypreview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview" + propertypublished "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published" + propertyradius "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius" + propertyrel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel" + propertyrelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship" + propertyreplies "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies" + propertyresult "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result" + propertysensitive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive" + propertysharedinbox "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox" + propertyshares "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares" + propertysource "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source" + propertystartindex "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex" + propertystarttime "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime" + propertystreams "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams" + propertysubject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject" + propertysummary "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary" + propertytag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag" + propertytarget "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target" + propertyto "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to" + propertytotalitems "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems" + propertyunits "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units" + propertyupdated "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated" + propertyurl "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url" + propertywidth "code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewActivityStreamsActivityStreamsAccuracyProperty creates a new diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_type_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_type_constructors.go similarity index 64% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_type_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_type_constructors.go index 49922115d..0e5c3c8ab 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_activitystreams_type_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_activitystreams_type_constructors.go @@ -3,62 +3,62 @@ package streams import ( - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept" + typeactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity" + typeadd "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add" + typeannounce "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce" + typeapplication "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application" + typearrive "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive" + typearticle "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article" + typeaudio "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio" + typeblock "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block" + typecollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection" + typecollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage" + typecreate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create" + typedelete "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete" + typedislike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike" + typedocument "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document" + typeendpoints "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints" + typeevent "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event" + typeflag "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag" + typefollow "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow" + typegroup "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group" + typeignore "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore" + typeimage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image" + typeintransitiveactivity "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity" + typeinvite "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite" + typejoin "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join" + typeleave "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave" + typelike "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like" + typelink "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link" + typelisten "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen" + typemention "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention" + typemove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move" + typenote "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note" + typeobject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object" + typeoffer "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer" + typeorderedcollection "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection" + typeorderedcollectionpage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage" + typeorganization "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization" + typepage "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page" + typeperson "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person" + typeplace "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place" + typeprofile "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile" + typequestion "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question" + typeread "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read" + typereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject" + typerelationship "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship" + typeremove "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove" + typeservice "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service" + typetentativeaccept "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept" + typetentativereject "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject" + typetombstone "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone" + typetravel "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel" + typeundo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo" + typeupdate "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update" + typevideo "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video" + typeview "code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewActivityStreamsAccept creates a new ActivityStreamsAccept diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_disjoint.go similarity index 67% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_disjoint.go index 74336617f..4314ba096 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_disjoint.go @@ -3,11 +3,11 @@ package streams import ( - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // FunkwhaleAlbumIsDisjointWith returns true if Album is disjoint with the other's diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_extendedby.go similarity index 73% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_extendedby.go index 1559df467..3e5e4d04e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_extendedby.go @@ -3,11 +3,11 @@ package streams import ( - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // FunkwhaleAlbumIsExtendedBy returns true if the other's type extends from Album. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_extends.go similarity index 67% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_extends.go index 7a34e4b7f..714671a21 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_extends.go @@ -3,11 +3,11 @@ package streams import ( - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // FunkwhaleFunkwhaleAlbumExtends returns true if Album extends from the other's diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_isorextends.go similarity index 69% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_isorextends.go index d8153b83a..44ec0858c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_isorextends.go @@ -3,11 +3,11 @@ package streams import ( - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // IsOrExtendsFunkwhaleAlbum returns true if the other provided type is the Album diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_type_constructors.go similarity index 59% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_type_constructors.go index ec7d76fe1..50155575c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_funkwhale_type_constructors.go @@ -3,11 +3,11 @@ package streams import ( - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typealbum "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album" + typeartist "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist" + typelibrary "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library" + typetrack "code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewFunkwhaleAlbum creates a new FunkwhaleAlbum diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_disjoint.go similarity index 68% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_disjoint.go index 0d18a263a..31c55a559 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_disjoint.go @@ -3,21 +3,21 @@ package streams import ( - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // GoToSocialAnnounceApprovalIsDisjointWith returns true if AnnounceApproval is diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extendedby.go similarity index 74% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extendedby.go index a6ebe8ac5..6fabac79f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extendedby.go @@ -3,21 +3,21 @@ package streams import ( - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // GoToSocialAnnounceApprovalIsExtendedBy returns true if the other's type extends diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extends.go similarity index 69% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extends.go index 814da6b22..7401c2d51 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extends.go @@ -3,21 +3,21 @@ package streams import ( - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // GoToSocialGoToSocialAnnounceApprovalExtends returns true if AnnounceApproval diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_isorextends.go similarity index 71% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_isorextends.go index 0e50e365e..829a770b6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_isorextends.go @@ -3,21 +3,21 @@ package streams import ( - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // IsOrExtendsGoToSocialAnnounceApproval returns true if the other provided type diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_property_constructors.go similarity index 67% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_property_constructors.go index 82e7f8bbe..152beb5a4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_property_constructors.go @@ -3,19 +3,19 @@ package streams import ( - propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" - propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" - propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" - propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval" - propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce" - propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike" - propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote" - propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply" - propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject" - propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy" - propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget" - propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyalways "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always" + propertyapprovalrequired "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired" + propertyapprovedby "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby" + propertyautomaticapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval" + propertycanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce" + propertycanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike" + propertycanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote" + propertycanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply" + propertyinteractingobject "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject" + propertyinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy" + propertyinteractiontarget "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget" + propertymanualapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewGoToSocialGoToSocialAlwaysProperty creates a new GoToSocialAlwaysProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_type_constructors.go similarity index 63% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_type_constructors.go index b0281ca5a..98400d004 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_type_constructors.go @@ -3,21 +3,21 @@ package streams import ( - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeannounceapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval" + typeannounceauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization" + typeannouncerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest" + typecanannounce "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce" + typecanlike "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike" + typecanquote "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote" + typecanreply "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply" + typeinteractionpolicy "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy" + typelikeapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval" + typelikeauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization" + typelikerequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest" + typereplyapproval "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval" + typereplyauthorization "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization" + typereplyrequest "code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewGoToSocialAnnounceApproval creates a new GoToSocialAnnounceApproval diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_jsonld_property_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_jsonld_property_constructors.go similarity index 61% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_jsonld_property_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_jsonld_property_constructors.go index 724bbb2c2..7ed424159 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_jsonld_property_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_jsonld_property_constructors.go @@ -3,9 +3,9 @@ package streams import ( - propertyid "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id" - propertytype "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyid "code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id" + propertytype "code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewJSONLDJSONLDTypeProperty creates a new JSONLDTypeProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_disjoint.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_disjoint.go similarity index 64% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_disjoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_disjoint.go index 16cf4bdac..5b92c9948 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_disjoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_disjoint.go @@ -3,8 +3,8 @@ package streams import ( - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // SchemaPropertyValueIsDisjointWith returns true if PropertyValue is disjoint diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_extendedby.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_extendedby.go similarity index 69% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_extendedby.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_extendedby.go index 57ebdcc93..fb590453c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_extendedby.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_extendedby.go @@ -3,8 +3,8 @@ package streams import ( - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // SchemaPropertyValueIsExtendedBy returns true if the other's type extends from diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_extends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_extends.go similarity index 63% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_extends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_extends.go index 47114f26c..2ad4f4621 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_extends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_extends.go @@ -3,8 +3,8 @@ package streams import ( - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // SchemaSchemaPropertyValueExtends returns true if PropertyValue extends from the diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_isorextends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_isorextends.go similarity index 66% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_isorextends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_isorextends.go index 094df9979..66efa613a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_isorextends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_isorextends.go @@ -3,8 +3,8 @@ package streams import ( - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // IsOrExtendsSchemaPropertyValue returns true if the other provided type is the diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_property_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_property_constructors.go similarity index 60% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_property_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_property_constructors.go index 24b478213..93bb0e292 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_property_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_property_constructors.go @@ -3,8 +3,8 @@ package streams import ( - propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/property_value" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewSchemaSchemaValueProperty creates a new SchemaValueProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_type_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_type_constructors.go similarity index 58% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_type_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_type_constructors.go index eb3dcd7ec..37f5ce7e8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_schema_type_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_schema_type_constructors.go @@ -3,8 +3,8 @@ package streams import ( - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepropertyvalue "code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewSchemaPropertyValue creates a new SchemaPropertyValue diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_disjoint.go similarity index 66% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_disjoint.go index 49673fbc5..b0368fcab 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_disjoint.go @@ -3,10 +3,10 @@ package streams import ( - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // TootEmojiIsDisjointWith returns true if Emoji is disjoint with the other's type. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_extendedby.go similarity index 73% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_extendedby.go index d0d4ed71d..400671c03 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_extendedby.go @@ -3,10 +3,10 @@ package streams import ( - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // TootEmojiIsExtendedBy returns true if the other's type extends from Emoji. Note diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_extends.go similarity index 65% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_extends.go index 4fcd0eb6e..2c4fa1dd1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_extends.go @@ -3,10 +3,10 @@ package streams import ( - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // TootTootEmojiExtends returns true if Emoji extends from the other's type. diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_isorextends.go similarity index 69% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_isorextends.go index 565e5c80d..75425f5ea 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_isorextends.go @@ -3,10 +3,10 @@ package streams import ( - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // IsOrExtendsTootEmoji returns true if the other provided type is the Emoji type diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_property_constructors.go similarity index 64% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_property_constructors.go index b40fee654..dc193534f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_property_constructors.go @@ -3,15 +3,15 @@ package streams import ( - propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash" - propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable" - propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured" - propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint" - propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable" - propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm" - propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" - propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyblurhash "code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash" + propertydiscoverable "code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable" + propertyfeatured "code.superseriousbusiness.org/activity/streams/impl/toot/property_featured" + propertyfocalpoint "code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint" + propertyindexable "code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable" + propertysignaturealgorithm "code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm" + propertysignaturevalue "code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue" + propertyvoterscount "code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewTootTootBlurhashProperty creates a new TootBlurhashProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_type_constructors.go similarity index 58% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_type_constructors.go index ea63802a9..1dbe5fa0d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_toot_type_constructors.go @@ -3,10 +3,10 @@ package streams import ( - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typeemoji "code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji" + typehashtag "code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag" + typeidentityproof "code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewTootEmoji creates a new TootEmoji diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go similarity index 63% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go index fd46ac737..465a14b20 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_disjoint.go @@ -3,8 +3,8 @@ package streams import ( - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // W3IDSecurityV1PublicKeyIsDisjointWith returns true if PublicKey is disjoint diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go similarity index 69% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go index 43373b0b5..3ca0fddee 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go @@ -3,8 +3,8 @@ package streams import ( - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // W3IDSecurityV1PublicKeyIsExtendedBy returns true if the other's type extends diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_extends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extends.go similarity index 65% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_extends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extends.go index 821880885..781d8ac48 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_extends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extends.go @@ -3,8 +3,8 @@ package streams import ( - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // W3IDSecurityV1W3IDSecurityV1PublicKeyExtends returns true if PublicKey extends diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go similarity index 65% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go index 98e66a47e..f77aeac21 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go @@ -3,8 +3,8 @@ package streams import ( - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // IsOrExtendsW3IDSecurityV1PublicKey returns true if the other provided type is diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go similarity index 67% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go index 6711a6907..fa9f7bab8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_property_constructors.go @@ -3,10 +3,10 @@ package streams import ( - propertyowner "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner" - propertypublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey" - propertypublickeypem "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + propertyowner "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner" + propertypublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey" + propertypublickeypem "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewW3IDSecurityV1W3IDSecurityV1OwnerProperty creates a new diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go similarity index 60% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go index 668767232..72200cd82 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_type_constructors.go @@ -3,8 +3,8 @@ package streams import ( - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + vocab "code.superseriousbusiness.org/activity/streams/vocab" ) // NewW3IDSecurityV1PublicKey creates a new W3IDSecurityV1PublicKey diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_resolver_utils.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_resolver_utils.go index 7ff667f0e..9a3f74a55 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_resolver_utils.go @@ -3,7 +3,7 @@ package streams import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "context" "errors" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_type_predicated_resolver.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_type_predicated_resolver.go index f63f7e54d..4edf517e7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_type_predicated_resolver.go @@ -3,7 +3,7 @@ package streams import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "context" "errors" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go b/vendor/code.superseriousbusiness.org/activity/streams/gen_type_resolver.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go rename to vendor/code.superseriousbusiness.org/activity/streams/gen_type_resolver.go index abe011567..07ff63a21 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/gen_type_resolver.go @@ -3,7 +3,7 @@ package streams import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "context" "errors" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go index dc8f617bc..1f51475f1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy/gen_property_activitystreams_accuracy.go @@ -3,8 +3,8 @@ package propertyaccuracy import ( - float "codeberg.org/superseriousbusiness/activity/streams/values/float" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + float "code.superseriousbusiness.org/activity/streams/values/float" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go index 98597ca10..75edcc679 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go @@ -2,7 +2,7 @@ package propertyactor -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go index edc3e11e4..9ebcc6db4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go @@ -3,7 +3,7 @@ package propertyactor import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go index 70672357c..fb8cb302b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas/gen_property_activitystreams_alsoKnownAs.go @@ -3,8 +3,8 @@ package propertyalsoknownas import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go index 1be7eaa71..025cd61c7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude/gen_property_activitystreams_altitude.go @@ -3,8 +3,8 @@ package propertyaltitude import ( - float "codeberg.org/superseriousbusiness/activity/streams/values/float" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + float "code.superseriousbusiness.org/activity/streams/values/float" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go index 8171e9d8e..ad2be2ce6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go @@ -2,7 +2,7 @@ package propertyanyof -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go index ddb6ece2b..d4a22f0d4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go @@ -3,7 +3,7 @@ package propertyanyof import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go index 14e99f9c1..29fb6634d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go @@ -2,7 +2,7 @@ package propertyattachment -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go index 2b1e87bd1..81f56f071 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go @@ -3,7 +3,7 @@ package propertyattachment import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go index 3e89969ea..9755352c6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go @@ -2,7 +2,7 @@ package propertyattributedto -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go index add7ed9bf..04267548b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go @@ -3,7 +3,7 @@ package propertyattributedto import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go index 25c056579..3e8f4ddcc 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go @@ -2,7 +2,7 @@ package propertyaudience -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go index 45ecc34df..70280dd94 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go @@ -3,7 +3,7 @@ package propertyaudience import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go index 25fb6bd36..e3e71450c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go @@ -2,7 +2,7 @@ package propertybcc -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go index e4a37b31a..476472d9f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go @@ -3,7 +3,7 @@ package propertybcc import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go index 2dc3d59f4..d2b265bcb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go @@ -2,7 +2,7 @@ package propertybto -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go index 531f6b32a..5bdb72cac 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go @@ -3,7 +3,7 @@ package propertybto import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go index b0fd8c31e..e0ba13656 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go @@ -2,7 +2,7 @@ package propertycc -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go index b9ef61b61..930063768 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go @@ -3,7 +3,7 @@ package propertycc import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go index 56ab1f681..1dfcf9653 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go @@ -2,7 +2,7 @@ package propertyclosed -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go index 6152d038f..d2ed32d7a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go @@ -3,9 +3,9 @@ package propertyclosed import ( - boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean" - datetime "codeberg.org/superseriousbusiness/activity/streams/values/dateTime" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + boolean "code.superseriousbusiness.org/activity/streams/values/boolean" + datetime "code.superseriousbusiness.org/activity/streams/values/dateTime" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go index e66435b21..e75a1daf9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content/gen_property_activitystreams_content.go @@ -3,9 +3,9 @@ package propertycontent import ( - langstring "codeberg.org/superseriousbusiness/activity/streams/values/langString" - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + langstring "code.superseriousbusiness.org/activity/streams/values/langString" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go index 7b0b18630..cf30a8655 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go @@ -2,7 +2,7 @@ package propertycontext -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go index 1690c2ac2..590719bcd 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go @@ -3,7 +3,7 @@ package propertycontext import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_pkg.go index 7a73b70a6..7bd714c9b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_pkg.go @@ -2,7 +2,7 @@ package propertycurrent -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go index 73f9e6d83..5dc583750 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go @@ -3,7 +3,7 @@ package propertycurrent import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go index 2a4b5067e..52c15ca73 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted/gen_property_activitystreams_deleted.go @@ -3,8 +3,8 @@ package propertydeleted import ( - datetime "codeberg.org/superseriousbusiness/activity/streams/values/dateTime" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + datetime "code.superseriousbusiness.org/activity/streams/values/dateTime" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go index dc7aef898..5127ea951 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go @@ -2,7 +2,7 @@ package propertydescribes -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go index 37cb924c0..139e0a8b9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go @@ -3,7 +3,7 @@ package propertydescribes import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go index 94674eb5f..a25557352 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration/gen_property_activitystreams_duration.go @@ -3,8 +3,8 @@ package propertyduration import ( - duration "codeberg.org/superseriousbusiness/activity/streams/values/duration" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + duration "code.superseriousbusiness.org/activity/streams/values/duration" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go similarity index 91% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go index 68c30a1fa..23f9aa498 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_pkg.go @@ -2,7 +2,7 @@ package propertyendpoints -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go index 63dedf006..dcdd5878e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints/gen_property_activitystreams_endpoints.go @@ -3,7 +3,7 @@ package propertyendpoints import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go index ea3210c02..267ddb7fe 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime/gen_property_activitystreams_endTime.go @@ -3,8 +3,8 @@ package propertyendtime import ( - datetime "codeberg.org/superseriousbusiness/activity/streams/values/dateTime" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + datetime "code.superseriousbusiness.org/activity/streams/values/dateTime" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_pkg.go index d22ff83d4..d6655f96d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_pkg.go @@ -2,7 +2,7 @@ package propertyfirst -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go index 02fbf6b43..7dacd3082 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go @@ -3,7 +3,7 @@ package propertyfirst import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_pkg.go index d12a5eb09..afb41bc45 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_pkg.go @@ -2,7 +2,7 @@ package propertyfollowers -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go index 953f055bc..d34c0f919 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers/gen_property_activitystreams_followers.go @@ -3,7 +3,7 @@ package propertyfollowers import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_pkg.go index 05eb97f28..a8a5f0239 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_pkg.go @@ -2,7 +2,7 @@ package propertyfollowing -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go index 5d26efa95..31f6b9a9c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following/gen_property_activitystreams_following.go @@ -3,7 +3,7 @@ package propertyfollowing import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go index 26de9bede..f6d4de64e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go @@ -2,7 +2,7 @@ package propertyformertype -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go index f1b4b898d..66a784524 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go @@ -3,8 +3,8 @@ package propertyformertype import ( - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go index 765f6045b..c0a57ce1c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go @@ -2,7 +2,7 @@ package propertygenerator -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go index 6d40fcf90..0fead0258 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go @@ -3,7 +3,7 @@ package propertygenerator import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go index f77084a68..9c5536c7f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height/gen_property_activitystreams_height.go @@ -3,8 +3,8 @@ package propertyheight import ( - nonnegativeinteger "codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + nonnegativeinteger "code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go index 9ed6a4197..c357f050e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href/gen_property_activitystreams_href.go @@ -3,8 +3,8 @@ package propertyhref import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go index 43d41bb70..7e93125ed 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang/gen_property_activitystreams_hreflang.go @@ -3,8 +3,8 @@ package propertyhreflang import ( - bcp47 "codeberg.org/superseriousbusiness/activity/streams/values/bcp47" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + bcp47 "code.superseriousbusiness.org/activity/streams/values/bcp47" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_pkg.go similarity index 95% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_pkg.go index f643f6375..bae50173f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_pkg.go @@ -2,7 +2,7 @@ package propertyicon -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go index cefc12899..cf19197ec 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go @@ -3,7 +3,7 @@ package propertyicon import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_pkg.go similarity index 95% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_pkg.go index c98579e4f..70565bb83 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_pkg.go @@ -2,7 +2,7 @@ package propertyimage -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go index 3d47b3aa2..93797ffe6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go @@ -3,7 +3,7 @@ package propertyimage import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go similarity index 94% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go index aa464556f..1abd51c4c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_pkg.go @@ -2,7 +2,7 @@ package propertyinbox -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go index ffc020203..fe3bdf210 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox/gen_property_activitystreams_inbox.go @@ -3,7 +3,7 @@ package propertyinbox import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go index bf2249fc1..4a3e2ec55 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go @@ -2,7 +2,7 @@ package propertyinreplyto -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go index dc766b5ef..3e03a769f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go @@ -3,7 +3,7 @@ package propertyinreplyto import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go index 2fe231bee..9d6fe156b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go @@ -2,7 +2,7 @@ package propertyinstrument -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go index 316aeaa27..234d3f3a6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go @@ -3,7 +3,7 @@ package propertyinstrument import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go index 4618c040e..1ab2dc2ad 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go @@ -2,7 +2,7 @@ package propertyitems -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go index 09a73a7da..554c9d113 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go @@ -3,7 +3,7 @@ package propertyitems import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_pkg.go index 961251f31..2d65e62c2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_pkg.go @@ -2,7 +2,7 @@ package propertylast -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go index 75abb3171..a8c710acf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go @@ -3,7 +3,7 @@ package propertylast import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go index fdc140e8f..fd5bd467f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude/gen_property_activitystreams_latitude.go @@ -3,8 +3,8 @@ package propertylatitude import ( - float "codeberg.org/superseriousbusiness/activity/streams/values/float" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + float "code.superseriousbusiness.org/activity/streams/values/float" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_pkg.go index 1aa6df052..face6b248 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_pkg.go @@ -2,7 +2,7 @@ package propertyliked -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go index 8af9e0746..ce532ec27 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked/gen_property_activitystreams_liked.go @@ -3,7 +3,7 @@ package propertyliked import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_pkg.go index 17a7f454c..5f5ef3344 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_pkg.go @@ -2,7 +2,7 @@ package propertylikes -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go index a41122301..8fd0cfa36 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes/gen_property_activitystreams_likes.go @@ -3,7 +3,7 @@ package propertylikes import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go index 500eea9a8..d1cbcc55a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go @@ -2,7 +2,7 @@ package propertylocation -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go index fbd644756..714b5de87 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go @@ -3,7 +3,7 @@ package propertylocation import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go index 4729fdba6..0a30856f7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude/gen_property_activitystreams_longitude.go @@ -3,8 +3,8 @@ package propertylongitude import ( - float "codeberg.org/superseriousbusiness/activity/streams/values/float" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + float "code.superseriousbusiness.org/activity/streams/values/float" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go index 502977773..228469a33 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers/gen_property_activitystreams_manuallyApprovesFollowers.go @@ -3,8 +3,8 @@ package propertymanuallyapprovesfollowers import ( - boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + boolean "code.superseriousbusiness.org/activity/streams/values/boolean" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go index 7762ba8eb..f1c1f7ad6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype/gen_property_activitystreams_mediaType.go @@ -3,8 +3,8 @@ package propertymediatype import ( - rfc2045 "codeberg.org/superseriousbusiness/activity/streams/values/rfc2045" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + rfc2045 "code.superseriousbusiness.org/activity/streams/values/rfc2045" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go index 8d01ff273..63431b29a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto/gen_property_activitystreams_movedTo.go @@ -3,8 +3,8 @@ package propertymovedto import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go index d348af97e..b61f976f4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name/gen_property_activitystreams_name.go @@ -3,9 +3,9 @@ package propertyname import ( - langstring "codeberg.org/superseriousbusiness/activity/streams/values/langString" - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + langstring "code.superseriousbusiness.org/activity/streams/values/langString" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_pkg.go index 7bd07af61..be6b27efa 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_pkg.go @@ -2,7 +2,7 @@ package propertynext -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go index 88d8a767c..05312045b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go @@ -3,7 +3,7 @@ package propertynext import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go index c40014c69..77ff4c192 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go @@ -2,7 +2,7 @@ package propertyobject -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go index b2b2d7ae5..74fe58c0b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go @@ -3,7 +3,7 @@ package propertyobject import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go index 5dd21535c..c3777073e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go @@ -2,7 +2,7 @@ package propertyoneof -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go index 5400d5c4b..99bc8de63 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go @@ -3,7 +3,7 @@ package propertyoneof import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go index 421d63a89..e0808ddd9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go @@ -2,7 +2,7 @@ package propertyordereditems -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go index a3fa33989..0fbdb709a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go @@ -3,7 +3,7 @@ package propertyordereditems import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go index 545c4f429..36c215a9f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go @@ -2,7 +2,7 @@ package propertyorigin -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go index 978e86f21..7913548be 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go @@ -3,7 +3,7 @@ package propertyorigin import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go similarity index 94% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go index 70c130144..bcf2213d5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_pkg.go @@ -2,7 +2,7 @@ package propertyoutbox -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go index 637252637..b443f80bf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox/gen_property_activitystreams_outbox.go @@ -3,7 +3,7 @@ package propertyoutbox import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_pkg.go index 408fd8d45..ec6c22486 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_pkg.go @@ -2,7 +2,7 @@ package propertypartof -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go index 215fcd55b..6cf2a869a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go @@ -3,7 +3,7 @@ package propertypartof import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go index 9eaa06ed2..fc8c9d85e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername/gen_property_activitystreams_preferredUsername.go @@ -3,9 +3,9 @@ package propertypreferredusername import ( - langstring "codeberg.org/superseriousbusiness/activity/streams/values/langString" - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + langstring "code.superseriousbusiness.org/activity/streams/values/langString" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_pkg.go index 718b12385..04224b627 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_pkg.go @@ -2,7 +2,7 @@ package propertyprev -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go index 035d7aaf2..b37fe7b42 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go @@ -3,7 +3,7 @@ package propertyprev import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go index a2a88880d..a599471f9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go @@ -2,7 +2,7 @@ package propertypreview -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go index baf4e5ac1..40e30d94e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go @@ -3,7 +3,7 @@ package propertypreview import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go index 6ab505e91..48d40c24e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published/gen_property_activitystreams_published.go @@ -3,8 +3,8 @@ package propertypublished import ( - datetime "codeberg.org/superseriousbusiness/activity/streams/values/dateTime" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + datetime "code.superseriousbusiness.org/activity/streams/values/dateTime" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go index 6140f14c0..a4aefc919 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius/gen_property_activitystreams_radius.go @@ -3,8 +3,8 @@ package propertyradius import ( - float "codeberg.org/superseriousbusiness/activity/streams/values/float" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + float "code.superseriousbusiness.org/activity/streams/values/float" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go index ab0a3b551..96b4cdd5c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel/gen_property_activitystreams_rel.go @@ -3,8 +3,8 @@ package propertyrel import ( - rfc5988 "codeberg.org/superseriousbusiness/activity/streams/values/rfc5988" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + rfc5988 "code.superseriousbusiness.org/activity/streams/values/rfc5988" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go index 3ed75f19a..fa834843b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go @@ -2,7 +2,7 @@ package propertyrelationship -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go index 28511e01d..ff4e90a08 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go @@ -3,7 +3,7 @@ package propertyrelationship import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_pkg.go index 88d42f643..2cba2fbf7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_pkg.go @@ -2,7 +2,7 @@ package propertyreplies -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go index c177d1a70..c3b8978aa 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies/gen_property_activitystreams_replies.go @@ -3,7 +3,7 @@ package propertyreplies import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go index df6752b36..69cb742e7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go @@ -2,7 +2,7 @@ package propertyresult -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go index 2ee426a95..79c332078 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go @@ -3,7 +3,7 @@ package propertyresult import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go index 7068b8751..c46f830da 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive/gen_property_activitystreams_sensitive.go @@ -3,8 +3,8 @@ package propertysensitive import ( - boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + boolean "code.superseriousbusiness.org/activity/streams/values/boolean" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go index b0acf65c6..9c8092422 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox/gen_property_activitystreams_sharedInbox.go @@ -3,8 +3,8 @@ package propertysharedinbox import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_pkg.go index 901ed09b1..4f14099e0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_pkg.go @@ -2,7 +2,7 @@ package propertyshares -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go index 9d73da24c..9a420cedc 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares/gen_property_activitystreams_shares.go @@ -3,7 +3,7 @@ package propertyshares import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go index 72e7b08eb..605afc62b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go @@ -2,7 +2,7 @@ package propertysource -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go index fcf87a858..adf02f58c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go @@ -3,7 +3,7 @@ package propertysource import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go index 82488ffd9..7cbda5373 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex/gen_property_activitystreams_startIndex.go @@ -3,8 +3,8 @@ package propertystartindex import ( - nonnegativeinteger "codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + nonnegativeinteger "code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go index e04b171fb..19db8eadb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime/gen_property_activitystreams_startTime.go @@ -3,8 +3,8 @@ package propertystarttime import ( - datetime "codeberg.org/superseriousbusiness/activity/streams/values/dateTime" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + datetime "code.superseriousbusiness.org/activity/streams/values/dateTime" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_pkg.go index 06a31655f..a9840f160 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_pkg.go @@ -2,7 +2,7 @@ package propertystreams -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go index e8123edfe..c8f61fb4e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams/gen_property_activitystreams_streams.go @@ -3,7 +3,7 @@ package propertystreams import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go index 3c5ee854a..a74fd272a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go @@ -2,7 +2,7 @@ package propertysubject -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go index 592b738c5..8ca25935f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go @@ -3,7 +3,7 @@ package propertysubject import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go index 924c968ad..2c273f6b5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary/gen_property_activitystreams_summary.go @@ -3,9 +3,9 @@ package propertysummary import ( - langstring "codeberg.org/superseriousbusiness/activity/streams/values/langString" - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + langstring "code.superseriousbusiness.org/activity/streams/values/langString" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go index 04b27f129..431e72b0d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go @@ -2,7 +2,7 @@ package propertytag -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go index 44066b137..e619deeef 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go @@ -3,7 +3,7 @@ package propertytag import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go index 01131ce07..fb97befb1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go @@ -2,7 +2,7 @@ package propertytarget -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go index 401cf1386..e86bdff83 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go @@ -3,7 +3,7 @@ package propertytarget import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go index 481fd6476..af7cbcb2e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go @@ -2,7 +2,7 @@ package propertyto -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go index 69e1ea313..5c290d0f2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go @@ -3,7 +3,7 @@ package propertyto import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go index b95a56630..8d4b8230f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems/gen_property_activitystreams_totalItems.go @@ -3,8 +3,8 @@ package propertytotalitems import ( - nonnegativeinteger "codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + nonnegativeinteger "code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go index 1e1a7c4b1..d72ae1241 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units/gen_property_activitystreams_units.go @@ -3,9 +3,9 @@ package propertyunits import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go index b5c505636..f225c1657 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated/gen_property_activitystreams_updated.go @@ -3,8 +3,8 @@ package propertyupdated import ( - datetime "codeberg.org/superseriousbusiness/activity/streams/values/dateTime" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + datetime "code.superseriousbusiness.org/activity/streams/values/dateTime" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" "time" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_pkg.go similarity index 94% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_pkg.go index 14e9bbd24..cf4108603 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_pkg.go @@ -2,7 +2,7 @@ package propertyurl -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go index 46c09b04e..90838e25e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go @@ -3,8 +3,8 @@ package propertyurl import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go index d6d4098ad..ae4fe95af 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width/gen_property_activitystreams_width.go @@ -3,8 +3,8 @@ package propertywidth import ( - nonnegativeinteger "codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + nonnegativeinteger "code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_pkg.go index 07a2fdfbb..af3ba581c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_pkg.go @@ -2,7 +2,7 @@ package typeaccept -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go index 64c5d89f0..3371ab721 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go @@ -3,7 +3,7 @@ package typeaccept import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_pkg.go index 6f4418cb0..4a314f164 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_pkg.go @@ -2,7 +2,7 @@ package typeactivity -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go index dd1b8e6de..7592749e4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go @@ -3,7 +3,7 @@ package typeactivity import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_pkg.go index 0843b5bf3..9d1365735 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_pkg.go @@ -2,7 +2,7 @@ package typeadd -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go index 7a6c462c9..2d7c63514 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go @@ -3,7 +3,7 @@ package typeadd import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_pkg.go index 26871dffa..7ecd4121b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_pkg.go @@ -2,7 +2,7 @@ package typeannounce -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go index ee69d3f18..0851dfa94 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go @@ -3,7 +3,7 @@ package typeannounce import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go index 9c00e24f3..b1c70d6fb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go @@ -2,7 +2,7 @@ package typeapplication -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go index ad21cd307..2b73bfaff 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go @@ -3,7 +3,7 @@ package typeapplication import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go index 182f99120..1443a0639 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go @@ -2,7 +2,7 @@ package typearrive -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go index c924888e5..487f6dd8c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go @@ -3,7 +3,7 @@ package typearrive import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_pkg.go index effa7ea19..e3ebfdb94 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_pkg.go @@ -2,7 +2,7 @@ package typearticle -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go index a9ba8238f..8a0229af7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go @@ -3,7 +3,7 @@ package typearticle import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_pkg.go index 017cd65be..729435fbd 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_pkg.go @@ -2,7 +2,7 @@ package typeaudio -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go index ea8e5d61b..bb6664c2c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go @@ -3,7 +3,7 @@ package typeaudio import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_pkg.go index 21eda333a..1712c97ad 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_pkg.go @@ -2,7 +2,7 @@ package typeblock -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go index c35750469..8e9729127 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go @@ -3,7 +3,7 @@ package typeblock import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_pkg.go index c4ecc5bb3..7f73e6d67 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_pkg.go @@ -2,7 +2,7 @@ package typecollection -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go index 84e13245c..7bdedaa06 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go @@ -3,7 +3,7 @@ package typecollection import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go index 0cba5775e..9ee4193f8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go @@ -2,7 +2,7 @@ package typecollectionpage -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go index eb8018855..4d958f14f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go @@ -3,7 +3,7 @@ package typecollectionpage import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_pkg.go index 196ce0e12..e49c505b4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_pkg.go @@ -2,7 +2,7 @@ package typecreate -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go index 283cc2fe8..95465b3a9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go @@ -3,7 +3,7 @@ package typecreate import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_pkg.go index be71a456d..1d19e2223 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_pkg.go @@ -2,7 +2,7 @@ package typedelete -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go index 9c598a7c1..1f24effb6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go @@ -3,7 +3,7 @@ package typedelete import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go index 601f9c443..56b53bfcb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go @@ -2,7 +2,7 @@ package typedislike -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go index 24f378990..fd08b8d41 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go @@ -3,7 +3,7 @@ package typedislike import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_pkg.go index aafe2e5b2..98036d6d1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_pkg.go @@ -2,7 +2,7 @@ package typedocument -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go index 5fdc732e7..0d2d06780 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go @@ -3,7 +3,7 @@ package typedocument import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go index ce810c10b..6c1b8ab8c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_pkg.go @@ -2,7 +2,7 @@ package typeendpoints -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go index 1a35bf3e9..53fa0901a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints/gen_type_activitystreams_endpoints.go @@ -2,7 +2,7 @@ package typeendpoints -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" // A json object which maps additional (typically server/domain-wide) endpoints // which may be useful either for this actor or someone referencing this diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_pkg.go index 72a8bac19..6ec762ae5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_pkg.go @@ -2,7 +2,7 @@ package typeevent -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go index bc63264ff..1ce5e55ba 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go @@ -3,7 +3,7 @@ package typeevent import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_pkg.go index 7f02ce250..59155cca3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_pkg.go @@ -2,7 +2,7 @@ package typeflag -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go index 48401463d..27d3c84e2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go @@ -3,7 +3,7 @@ package typeflag import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_pkg.go index 375680188..197658b04 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_pkg.go @@ -2,7 +2,7 @@ package typefollow -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go index 830930ce3..f55576aa2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go @@ -3,7 +3,7 @@ package typefollow import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go index 1b80a5f34..5f7803be3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go @@ -2,7 +2,7 @@ package typegroup -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go index 8e7e9d883..19e2875d9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go @@ -3,7 +3,7 @@ package typegroup import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go index 8983eac25..2bc323c6c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go @@ -2,7 +2,7 @@ package typeignore -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go index d07892a47..88e6abb85 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go @@ -3,7 +3,7 @@ package typeignore import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_pkg.go index f10004083..4ab62e8ae 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_pkg.go @@ -2,7 +2,7 @@ package typeimage -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go index af9bd1833..23274172e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go @@ -3,7 +3,7 @@ package typeimage import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go index 121ec9027..e25c07eb5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go @@ -2,7 +2,7 @@ package typeintransitiveactivity -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go index 13c5df20c..866ab4fdd 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go @@ -3,7 +3,7 @@ package typeintransitiveactivity import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_pkg.go index df713a4ca..370f0f23e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_pkg.go @@ -2,7 +2,7 @@ package typeinvite -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go index 35c9ccc87..b127019a3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go @@ -3,7 +3,7 @@ package typeinvite import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_pkg.go index 145bc89a3..bb75e8c3a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_pkg.go @@ -2,7 +2,7 @@ package typejoin -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go index 24fe34adf..272c628f9 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go @@ -3,7 +3,7 @@ package typejoin import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_pkg.go index 3a85897f4..8ae071e4e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_pkg.go @@ -2,7 +2,7 @@ package typeleave -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go index c27ac821e..dcbd90aa6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go @@ -3,7 +3,7 @@ package typeleave import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_pkg.go index 13442101c..2c681db43 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_pkg.go @@ -2,7 +2,7 @@ package typelike -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go index 11875c88b..f1f0ac6a7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go @@ -3,7 +3,7 @@ package typelike import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_pkg.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_pkg.go index 258906124..76afe4e2e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_pkg.go @@ -2,7 +2,7 @@ package typelink -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go index 0b59890f4..27f927e71 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go @@ -3,7 +3,7 @@ package typelink import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_pkg.go index ad73c521e..79e3eee27 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_pkg.go @@ -2,7 +2,7 @@ package typelisten -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go index e4ea6cd51..51e0e4adb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go @@ -3,7 +3,7 @@ package typelisten import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_pkg.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_pkg.go index 0106d11cd..a7f9a03ca 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_pkg.go @@ -2,7 +2,7 @@ package typemention -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go index 97f390605..537c95b34 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go @@ -3,7 +3,7 @@ package typemention import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_pkg.go index 2d16a6b05..4f39b43ac 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_pkg.go @@ -2,7 +2,7 @@ package typemove -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go index 73431ddbd..01fe051e1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go @@ -3,7 +3,7 @@ package typemove import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_pkg.go index 9a01cb4c5..31280fdfd 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_pkg.go @@ -2,7 +2,7 @@ package typenote -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go index cba8256ac..15989dd87 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go @@ -3,7 +3,7 @@ package typenote import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_pkg.go index b0924dbab..12c506250 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_pkg.go @@ -2,7 +2,7 @@ package typeobject -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go index 6c278e0fa..7def5af57 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go @@ -3,7 +3,7 @@ package typeobject import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_pkg.go index afbb73c7a..4db2248b1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_pkg.go @@ -2,7 +2,7 @@ package typeoffer -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go index 52f52ae2a..6a20b59e5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go @@ -3,7 +3,7 @@ package typeoffer import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go index 4d46965e0..23812102b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go @@ -2,7 +2,7 @@ package typeorderedcollection -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go index f4c9e90b5..cbbf5e3b6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go @@ -3,7 +3,7 @@ package typeorderedcollection import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go index 73e5b152d..d907ed26b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go @@ -2,7 +2,7 @@ package typeorderedcollectionpage -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go index 0ad858691..e2e82c966 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go @@ -3,7 +3,7 @@ package typeorderedcollectionpage import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go index d1cca4d19..a3b2e4496 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go @@ -2,7 +2,7 @@ package typeorganization -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go index 35257782c..8784a0157 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go @@ -3,7 +3,7 @@ package typeorganization import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_pkg.go index aa3bc61a3..6ea71e27e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_pkg.go @@ -2,7 +2,7 @@ package typepage -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go index 51b5f9ee0..2ba55241d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go @@ -3,7 +3,7 @@ package typepage import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go index ed6162ae5..8b72acc8c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go @@ -2,7 +2,7 @@ package typeperson -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go index 4fe3ff3d7..bad346077 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go @@ -3,7 +3,7 @@ package typeperson import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_pkg.go index 4d532745c..e87a1ca33 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_pkg.go @@ -2,7 +2,7 @@ package typeplace -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go index 8e311fc6c..2c7f96e8d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go @@ -3,7 +3,7 @@ package typeplace import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_pkg.go index a265e2dfc..dbd20143d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_pkg.go @@ -2,7 +2,7 @@ package typeprofile -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go index c16d1bb12..7eed51390 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go @@ -3,7 +3,7 @@ package typeprofile import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_pkg.go index b421c378e..f2ce80982 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_pkg.go @@ -2,7 +2,7 @@ package typequestion -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go index f3e191663..f2ef016f1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go @@ -3,7 +3,7 @@ package typequestion import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_pkg.go index 7a704e215..c29565001 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_pkg.go @@ -2,7 +2,7 @@ package typeread -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go index 7fdb8ca48..22471ce7b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go @@ -3,7 +3,7 @@ package typeread import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_pkg.go index 63779881b..61bc5e24b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_pkg.go @@ -2,7 +2,7 @@ package typereject -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go index bc21d6da9..d994b8b13 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go @@ -3,7 +3,7 @@ package typereject import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go index d70f29598..f15b751fe 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go @@ -2,7 +2,7 @@ package typerelationship -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go index afc54e75d..2b56986a6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go @@ -3,7 +3,7 @@ package typerelationship import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_pkg.go index 711563e2c..542ea7b25 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_pkg.go @@ -2,7 +2,7 @@ package typeremove -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go index 10e1dbac0..94907f218 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go @@ -3,7 +3,7 @@ package typeremove import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go index ee042723a..c06ee9999 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go @@ -2,7 +2,7 @@ package typeservice -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go index 98823e5b1..1d9083026 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go @@ -3,7 +3,7 @@ package typeservice import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go index 9cc8d343b..5cbb5afc4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go @@ -2,7 +2,7 @@ package typetentativeaccept -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go index c76c66d85..b48b208dc 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go @@ -3,7 +3,7 @@ package typetentativeaccept import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go index bff37cd93..5be093eba 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go @@ -2,7 +2,7 @@ package typetentativereject -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go index a7804f3b9..bc94345b2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go @@ -3,7 +3,7 @@ package typetentativereject import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go index d8442e5ad..5c6b2bd53 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go @@ -2,7 +2,7 @@ package typetombstone -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go index 57c18b5db..9a560c48c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go @@ -3,7 +3,7 @@ package typetombstone import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_pkg.go index f64de152d..27bf35131 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_pkg.go @@ -2,7 +2,7 @@ package typetravel -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go index c4c18eaf0..ce16e6495 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go @@ -3,7 +3,7 @@ package typetravel import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_pkg.go index 0a99064a2..6f9f614df 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_pkg.go @@ -2,7 +2,7 @@ package typeundo -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go index 8501a17d7..8ddd31301 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go @@ -3,7 +3,7 @@ package typeundo import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_pkg.go index 7c13f1f04..6382d816e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_pkg.go @@ -2,7 +2,7 @@ package typeupdate -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go index 6cf462b8e..583f7fa45 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go @@ -3,7 +3,7 @@ package typeupdate import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_pkg.go index 3eb42b64c..b03980b2a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_pkg.go @@ -2,7 +2,7 @@ package typevideo -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go index 2618cf011..c8a93e70f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go @@ -3,7 +3,7 @@ package typevideo import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_pkg.go index dac5e3241..c859ee06b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_pkg.go @@ -2,7 +2,7 @@ package typeview -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go index a986885bd..b3c84ffa4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go @@ -3,7 +3,7 @@ package typeview import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_pkg.go index 9e64bce65..c77f4bc95 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_pkg.go @@ -2,7 +2,7 @@ package typealbum -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go index 6cfdc3978..a872432c6 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go @@ -3,7 +3,7 @@ package typealbum import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_pkg.go index 80cbc2134..4577939d5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_pkg.go @@ -2,7 +2,7 @@ package typeartist -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go index 3bf9d521c..ef3295d36 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go @@ -3,7 +3,7 @@ package typeartist import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_pkg.go index 3fc267b3e..d7c7a3e9a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_pkg.go @@ -2,7 +2,7 @@ package typelibrary -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go index 5f3793b82..883265801 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go @@ -3,7 +3,7 @@ package typelibrary import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_pkg.go index bc5a0d86c..e049ae958 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_pkg.go @@ -2,7 +2,7 @@ package typetrack -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go index af5779872..1ac1f1bb1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go @@ -3,7 +3,7 @@ package typetrack import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go index 0ce20d3f7..952e21c23 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always/gen_property_gotosocial_always.go @@ -3,8 +3,8 @@ package propertyalways import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go index ec2b7ce20..1aa43f893 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired/gen_property_gotosocial_approvalRequired.go @@ -3,8 +3,8 @@ package propertyapprovalrequired import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go index 05da30c07..b7215ffbb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby/gen_property_gotosocial_approvedBy.go @@ -3,8 +3,8 @@ package propertyapprovedby import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go index c79d76152..9714339f5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go @@ -3,8 +3,8 @@ package propertyautomaticapproval import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go similarity index 91% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go index 4ae112975..e77983b60 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_pkg.go @@ -2,7 +2,7 @@ package propertycanannounce -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go index c6cc7402e..e587f6008 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce/gen_property_gotosocial_canAnnounce.go @@ -3,7 +3,7 @@ package propertycanannounce import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go similarity index 90% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go index 3439b7d42..3543ebc98 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_pkg.go @@ -2,7 +2,7 @@ package propertycanlike -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go index cd60dafe4..3de1db3b0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike/gen_property_gotosocial_canLike.go @@ -3,7 +3,7 @@ package propertycanlike import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go similarity index 90% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go index 26d625911..601945cee 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go @@ -2,7 +2,7 @@ package propertycanquote -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go index 1ae1347bc..19f1dfa51 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go @@ -3,7 +3,7 @@ package propertycanquote import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go similarity index 90% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go index 0059bf5ea..8546b6a73 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_pkg.go @@ -2,7 +2,7 @@ package propertycanreply -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go index cf6cda87c..38ddfc11e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply/gen_property_gotosocial_canReply.go @@ -3,7 +3,7 @@ package propertycanreply import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go index 350547631..f4c8fd221 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go @@ -3,8 +3,8 @@ package propertyinteractingobject import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go similarity index 91% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go index 9305232c6..9db21b98d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_pkg.go @@ -2,7 +2,7 @@ package propertyinteractionpolicy -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go index daada41e1..0836aed04 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy/gen_property_gotosocial_interactionPolicy.go @@ -3,7 +3,7 @@ package propertyinteractionpolicy import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go index 91e51a073..dc268a79b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go @@ -3,8 +3,8 @@ package propertyinteractiontarget import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go index 39180fb1b..6256d481b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go @@ -3,8 +3,8 @@ package propertymanualapproval import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go index a4a32652a..ed10e7294 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go @@ -2,7 +2,7 @@ package typeannounceapproval -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go index 5fa2f5921..a97e92be5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go @@ -3,7 +3,7 @@ package typeannounceapproval import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go index f69622be6..8f83248ea 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go @@ -2,7 +2,7 @@ package typeannounceauthorization -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go index 199aafba2..47892251e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go @@ -3,7 +3,7 @@ package typeannounceauthorization import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go index 02aa92a75..6b1864061 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go @@ -2,7 +2,7 @@ package typeannouncerequest -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go index 385186cd5..24f1ec236 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go @@ -3,7 +3,7 @@ package typeannouncerequest import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go index 70fb07bc4..d74919c5b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go @@ -2,7 +2,7 @@ package typecanannounce -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go index 09d392e0a..835e2c577 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go @@ -2,7 +2,7 @@ package typecanannounce -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" type GoToSocialCanAnnounce struct { GoToSocialAlways vocab.GoToSocialAlwaysProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go index a2baeeab0..b79e14f64 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go @@ -2,7 +2,7 @@ package typecanlike -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go index e31145f3d..890039f50 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go @@ -2,7 +2,7 @@ package typecanlike -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" type GoToSocialCanLike struct { GoToSocialAlways vocab.GoToSocialAlwaysProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go index 7de8769fb..f82f2fe3e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go @@ -2,7 +2,7 @@ package typecanquote -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go index 4cf8034ef..74aa41c76 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go @@ -2,7 +2,7 @@ package typecanquote -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" type GoToSocialCanQuote struct { GoToSocialAlways vocab.GoToSocialAlwaysProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go index 20a991c1a..99c922168 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go @@ -2,7 +2,7 @@ package typecanreply -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go index c0cfe9fed..1bf232d48 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go @@ -2,7 +2,7 @@ package typecanreply -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" type GoToSocialCanReply struct { GoToSocialAlways vocab.GoToSocialAlwaysProperty diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go index aa7273b19..c52acaf33 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go @@ -2,7 +2,7 @@ package typeinteractionpolicy -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go index 3c2600baf..838c0b0f8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go @@ -2,7 +2,7 @@ package typeinteractionpolicy -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" // InteractionPolicy for an ActivityStreams Object. type GoToSocialInteractionPolicy struct { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go index 8b9bb070d..beffac0cf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go @@ -2,7 +2,7 @@ package typelikeapproval -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go index 36eeac229..e0da25bfb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go @@ -3,7 +3,7 @@ package typelikeapproval import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go index 969bcc512..7e75770f4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go @@ -2,7 +2,7 @@ package typelikeauthorization -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go index 4c049fb39..57701074a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go @@ -3,7 +3,7 @@ package typelikeauthorization import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go index d6aa37ba6..fae49e187 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go @@ -2,7 +2,7 @@ package typelikerequest -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go index 20eaf0895..cfef76bd2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go @@ -3,7 +3,7 @@ package typelikerequest import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go index 6b81619c6..0f2bc86b4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go @@ -2,7 +2,7 @@ package typereplyapproval -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go index c7c9bb38f..0677156c4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go @@ -3,7 +3,7 @@ package typereplyapproval import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go index adcdec7e2..1a30ea117 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go @@ -2,7 +2,7 @@ package typereplyauthorization -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go index 380e1da85..c47392963 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go @@ -3,7 +3,7 @@ package typereplyauthorization import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go index 3a4e6793f..a55874b08 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go @@ -2,7 +2,7 @@ package typereplyrequest -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go index 1a5713092..b12700896 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go @@ -3,7 +3,7 @@ package typereplyrequest import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go index 0e5f11850..ffae5fb43 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id/gen_property_jsonld_id.go @@ -3,8 +3,8 @@ package propertyid import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go index bfa01e90a..805eec2e0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type/gen_property_jsonld_type.go @@ -3,9 +3,9 @@ package propertytype import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_property_schema_value.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_property_schema_value.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_property_schema_value.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_property_schema_value.go index 6b920511d..fa870db8f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value/gen_property_schema_value.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/property_value/gen_property_schema_value.go @@ -3,8 +3,8 @@ package propertyvalue import ( - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go index 76c22d938..c7d813fb4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go @@ -2,7 +2,7 @@ package typepropertyvalue -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go index 44e3ad8a7..24e641376 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go @@ -3,7 +3,7 @@ package typepropertyvalue import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go index 6f67d32ff..4025f996d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash/gen_property_toot_blurhash.go @@ -3,8 +3,8 @@ package propertyblurhash import ( - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go index 7a1fec914..16ea4cde4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable/gen_property_toot_discoverable.go @@ -3,8 +3,8 @@ package propertydiscoverable import ( - boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + boolean "code.superseriousbusiness.org/activity/streams/values/boolean" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_pkg.go similarity index 94% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_pkg.go index 4418c6fde..655bc7967 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_pkg.go @@ -2,7 +2,7 @@ package propertyfeatured -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go index 2986de964..19bb8eb70 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_featured/gen_property_toot_featured.go @@ -3,7 +3,7 @@ package propertyfeatured import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go index cb1eb304c..f197a6875 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go @@ -3,8 +3,8 @@ package propertyfocalpoint import ( - float "codeberg.org/superseriousbusiness/activity/streams/values/float" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + float "code.superseriousbusiness.org/activity/streams/values/float" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go index ea6742680..4f16b0396 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go @@ -3,8 +3,8 @@ package propertyindexable import ( - boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + boolean "code.superseriousbusiness.org/activity/streams/values/boolean" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go index e67819289..f09e38fab 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm/gen_property_toot_signatureAlgorithm.go @@ -3,8 +3,8 @@ package propertysignaturealgorithm import ( - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go index 20fa50dda..c1c624939 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue/gen_property_toot_signatureValue.go @@ -3,8 +3,8 @@ package propertysignaturevalue import ( - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go index 28f0919eb..af68413a3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount/gen_property_toot_votersCount.go @@ -3,8 +3,8 @@ package propertyvoterscount import ( - nonnegativeinteger "codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + nonnegativeinteger "code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_pkg.go index 5a71e45cc..1cde7cb62 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_pkg.go @@ -2,7 +2,7 @@ package typeemoji -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go index 5748a9fb2..a9e6c897b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go @@ -3,7 +3,7 @@ package typeemoji import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_pkg.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_pkg.go index a8414fd01..b83fcb4af 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_pkg.go @@ -2,7 +2,7 @@ package typehashtag -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go index 02f8a8d98..80221b0d4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go @@ -3,7 +3,7 @@ package typehashtag import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_pkg.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_pkg.go index abfb0dbfa..f75ed9b4a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_pkg.go @@ -2,7 +2,7 @@ package typeidentityproof -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go index daca4e62f..31fd97e4d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go @@ -3,7 +3,7 @@ package typeidentityproof import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "strings" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go index 195f6cb63..7afd81442 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner/gen_property_w3idsecurityv1_owner.go @@ -3,8 +3,8 @@ package propertyowner import ( - anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + anyuri "code.superseriousbusiness.org/activity/streams/values/anyURI" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go similarity index 91% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go index 7454c0e14..b9b450194 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_pkg.go @@ -2,7 +2,7 @@ package propertypublickey -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go index d3d66a417..ab387d3ce 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey/gen_property_w3idsecurityv1_publicKey.go @@ -3,7 +3,7 @@ package propertypublickey import ( - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go index bac088a04..78997643f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem/gen_property_w3idsecurityv1_publicKeyPem.go @@ -3,8 +3,8 @@ package propertypublickeypem import ( - string1 "codeberg.org/superseriousbusiness/activity/streams/values/string" - vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" + string1 "code.superseriousbusiness.org/activity/streams/values/string" + vocab "code.superseriousbusiness.org/activity/streams/vocab" "fmt" "net/url" ) diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go index 533cc4475..6ad16433b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_pkg.go @@ -2,7 +2,7 @@ package typepublickey -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" var mgr privateManager diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go rename to vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go index bad656902..727c23770 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey/gen_type_w3idsecurityv1_publickey.go @@ -2,7 +2,7 @@ package typepublickey -import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab" +import vocab "code.superseriousbusiness.org/activity/streams/vocab" // A public key represents a public cryptographical key for a user type W3IDSecurityV1PublicKey struct { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go b/vendor/code.superseriousbusiness.org/activity/streams/util.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/util.go rename to vendor/code.superseriousbusiness.org/activity/streams/util.go index cb9bf7253..def40c6ec 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go +++ b/vendor/code.superseriousbusiness.org/activity/streams/util.go @@ -4,7 +4,7 @@ import ( "maps" "slices" - "codeberg.org/superseriousbusiness/activity/streams/vocab" + "code.superseriousbusiness.org/activity/streams/vocab" ) const ( diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/anyURI/gen_anyURI.go b/vendor/code.superseriousbusiness.org/activity/streams/values/anyURI/gen_anyURI.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/anyURI/gen_anyURI.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/anyURI/gen_anyURI.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/bcp47/gen_bcp47.go b/vendor/code.superseriousbusiness.org/activity/streams/values/bcp47/gen_bcp47.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/bcp47/gen_bcp47.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/bcp47/gen_bcp47.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/boolean/gen_boolean.go b/vendor/code.superseriousbusiness.org/activity/streams/values/boolean/gen_boolean.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/boolean/gen_boolean.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/boolean/gen_boolean.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/dateTime/gen_dateTime.go b/vendor/code.superseriousbusiness.org/activity/streams/values/dateTime/gen_dateTime.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/dateTime/gen_dateTime.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/dateTime/gen_dateTime.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/duration/gen_duration.go b/vendor/code.superseriousbusiness.org/activity/streams/values/duration/gen_duration.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/duration/gen_duration.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/duration/gen_duration.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/float/gen_float.go b/vendor/code.superseriousbusiness.org/activity/streams/values/float/gen_float.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/float/gen_float.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/float/gen_float.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/langString/gen_langString.go b/vendor/code.superseriousbusiness.org/activity/streams/values/langString/gen_langString.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/langString/gen_langString.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/langString/gen_langString.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger/gen_nonNegativeInteger.go b/vendor/code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger/gen_nonNegativeInteger.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger/gen_nonNegativeInteger.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger/gen_nonNegativeInteger.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/rfc2045/gen_rfc2045.go b/vendor/code.superseriousbusiness.org/activity/streams/values/rfc2045/gen_rfc2045.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/rfc2045/gen_rfc2045.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/rfc2045/gen_rfc2045.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/rfc5988/gen_rfc5988.go b/vendor/code.superseriousbusiness.org/activity/streams/values/rfc5988/gen_rfc5988.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/rfc5988/gen_rfc5988.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/rfc5988/gen_rfc5988.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/values/string/gen_string.go b/vendor/code.superseriousbusiness.org/activity/streams/values/string/gen_string.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/values/string/gen_string.go rename to vendor/code.superseriousbusiness.org/activity/streams/values/string/gen_string.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_doc.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_doc.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_doc.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_doc.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_pkg.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_pkg.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_pkg.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_accuracy_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_accuracy_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_accuracy_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_accuracy_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_actor_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_actor_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_alsoKnownAs_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_alsoKnownAs_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_alsoKnownAs_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_alsoKnownAs_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_altitude_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_altitude_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_altitude_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_altitude_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_audience_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_audience_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_bto_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_bto_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_cc_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_cc_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_closed_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_closed_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_content_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_content_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_content_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_content_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_context_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_context_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_current_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_current_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_current_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_current_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_deleted_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_deleted_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_deleted_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_deleted_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_describes_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_describes_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_duration_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_duration_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_duration_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_duration_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_endTime_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_endTime_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_endTime_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_endTime_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_endpoints_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_endpoints_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_endpoints_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_endpoints_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_first_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_first_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_first_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_first_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_followers_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_followers_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_followers_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_followers_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_following_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_following_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_following_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_following_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_generator_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_generator_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_height_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_height_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_height_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_height_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_href_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_href_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_href_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_href_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_hreflang_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_hreflang_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_hreflang_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_hreflang_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_icon_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_icon_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_icon_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_icon_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_image_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_image_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_image_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_image_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inbox_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_inbox_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inbox_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_inbox_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_items_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_items_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_last_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_last_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_last_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_last_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_latitude_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_latitude_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_latitude_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_latitude_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_liked_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_liked_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_liked_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_liked_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_likes_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_likes_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_likes_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_likes_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_location_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_location_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_longitude_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_longitude_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_longitude_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_longitude_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_mediaType_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_mediaType_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_mediaType_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_mediaType_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_movedTo_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_movedTo_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_movedTo_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_movedTo_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_name_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_name_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_name_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_name_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_next_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_next_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_next_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_next_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_object_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_object_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_origin_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_origin_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_outbox_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_outbox_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_outbox_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_outbox_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preferredUsername_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_preferredUsername_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preferredUsername_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_preferredUsername_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_prev_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_prev_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_prev_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_prev_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_preview_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_preview_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_published_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_published_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_published_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_published_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_radius_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_radius_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_radius_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_radius_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_rel_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_rel_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_rel_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_rel_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_replies_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_replies_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_replies_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_replies_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_result_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_result_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_sensitive_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_sensitive_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_sensitive_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_sensitive_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_sharedInbox_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_sharedInbox_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_sharedInbox_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_sharedInbox_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_shares_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_shares_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_shares_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_shares_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_source_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_source_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_startIndex_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_startIndex_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_startIndex_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_startIndex_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_startTime_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_startTime_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_startTime_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_startTime_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_streams_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_streams_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_streams_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_streams_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_subject_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_subject_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_summary_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_summary_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_summary_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_summary_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_tag_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_tag_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_target_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_target_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_to_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_to_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_totalItems_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_totalItems_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_totalItems_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_totalItems_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_units_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_units_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_units_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_units_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_updated_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_updated_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_updated_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_updated_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_url_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_url_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_url_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_url_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_width_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_width_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_width_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_activitystreams_width_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_always_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_always_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canAnnounce_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canAnnounce_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canAnnounce_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canAnnounce_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canLike_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canLike_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canLike_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canLike_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canReply_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canReply_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canReply_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_canReply_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionPolicy_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_interactionPolicy_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionPolicy_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_interactionPolicy_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_jsonld_id_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_jsonld_id_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_jsonld_id_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_jsonld_id_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_jsonld_type_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_jsonld_type_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_jsonld_type_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_jsonld_type_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_schema_value_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_schema_value_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_schema_value_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_schema_value_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_blurhash_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_blurhash_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_blurhash_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_blurhash_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_discoverable_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_discoverable_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_discoverable_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_discoverable_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_featured_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_featured_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_featured_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_featured_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_focalPoint_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_focalPoint_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_indexable_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_indexable_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_signatureAlgorithm_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_signatureAlgorithm_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_signatureAlgorithm_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_signatureAlgorithm_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_signatureValue_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_signatureValue_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_signatureValue_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_signatureValue_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_votersCount_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_votersCount_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_votersCount_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_toot_votersCount_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_w3idsecurityv1_owner_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_w3idsecurityv1_owner_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_w3idsecurityv1_owner_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_w3idsecurityv1_owner_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_w3idsecurityv1_publicKeyPem_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_w3idsecurityv1_publicKeyPem_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_w3idsecurityv1_publicKeyPem_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_w3idsecurityv1_publicKeyPem_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_w3idsecurityv1_publicKey_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_w3idsecurityv1_publicKey_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_w3idsecurityv1_publicKey_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_property_w3idsecurityv1_publicKey_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_accept_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_accept_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_accept_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_accept_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_activity_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_activity_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_activity_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_activity_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_add_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_add_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_add_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_add_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_announce_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_announce_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_announce_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_announce_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_application_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_application_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_article_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_article_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_article_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_article_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_audio_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_audio_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_block_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_block_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_block_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_block_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collection_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_collection_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collection_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_collection_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_create_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_create_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_create_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_create_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_delete_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_delete_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_delete_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_delete_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_document_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_document_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_endpoints_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_endpoints_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_endpoints_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_endpoints_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_event_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_event_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_event_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_event_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_flag_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_flag_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_flag_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_flag_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_follow_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_follow_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_follow_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_follow_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_group_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_group_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_image_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_image_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_invite_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_invite_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_invite_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_invite_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_join_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_join_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_join_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_join_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_leave_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_leave_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_leave_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_leave_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_like_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_like_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_like_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_like_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_link_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_link_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_link_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_link_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_listen_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_listen_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_listen_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_listen_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_mention_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_mention_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_mention_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_mention_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_move_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_move_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_move_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_move_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_note_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_note_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_note_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_note_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_object_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_object_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_object_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_object_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_offer_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_offer_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_offer_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_offer_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_organization_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_organization_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_page_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_page_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_person_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_person_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_place_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_place_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_place_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_place_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_profile_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_profile_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_profile_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_profile_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_question_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_question_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_question_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_question_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_read_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_read_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_read_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_read_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_reject_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_reject_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_reject_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_reject_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_remove_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_remove_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_remove_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_remove_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_service_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_service_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_travel_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_travel_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_travel_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_travel_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_undo_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_undo_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_undo_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_undo_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_update_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_update_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_update_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_update_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_video_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_video_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_view_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_view_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_view_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_activitystreams_view_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_album_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_album_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_album_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_album_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_artist_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_artist_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_artist_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_artist_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_library_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_library_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_library_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_library_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_track_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_track_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_funkwhale_track_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_funkwhale_track_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_toot_emoji_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_toot_emoji_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_toot_emoji_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_toot_emoji_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_toot_hashtag_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_toot_hashtag_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_toot_hashtag_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_toot_hashtag_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_toot_identityproof_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_toot_identityproof_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_toot_identityproof_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_toot_identityproof_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_w3idsecurityv1_publickey_interface.go b/vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_w3idsecurityv1_publickey_interface.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_w3idsecurityv1_publickey_interface.go rename to vendor/code.superseriousbusiness.org/activity/streams/vocab/gen_type_w3idsecurityv1_publickey_interface.go diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/LICENSE b/vendor/code.superseriousbusiness.org/exif-terminator/LICENSE similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/LICENSE rename to vendor/code.superseriousbusiness.org/exif-terminator/LICENSE diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/README.md b/vendor/code.superseriousbusiness.org/exif-terminator/README.md similarity index 83% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/README.md rename to vendor/code.superseriousbusiness.org/exif-terminator/README.md index ddb97fbb6..245bb9187 100644 --- a/vendor/codeberg.org/superseriousbusiness/exif-terminator/README.md +++ b/vendor/code.superseriousbusiness.org/exif-terminator/README.md @@ -66,7 +66,7 @@ import ( "io" "os" - terminator "codeberg.org/superseriousbusiness/exif-terminator" + terminator "code.superseriousbusiness.org/exif-terminator" ) func main() { @@ -77,14 +77,8 @@ func main() { } defer sloth.Close() - // get the length of the file - stat, err := sloth.Stat() - if err != nil { - panic(err) - } - // terminate! - out, err := terminator.Terminate(sloth, int(stat.Size()), "jpeg") + out, err := terminator.Terminate(sloth, "jpeg") if err != nil { panic(err) } @@ -106,11 +100,11 @@ func main() { ### Libraries -`exif-terminator` borrows heavily from the two [`dsoprea`](https://github.com/dsoprea) libraries credited below. In fact, it's basically a hack on top of those libraries. Thanks `dsoprea`! +`exif-terminator` borrows heavily from the [`dsoprea`](https://github.com/dsoprea) libraries credited below. In fact, it's basically a hack on top of those libraries. Thanks `dsoprea`! +- [superseriousbusiness/go-jpeg-image-structure](https://code.superseriousbusiness.org/go-jpeg-image-structure): jpeg structure parsing. [MIT License](https://spdx.org/licenses/MIT.html). Forked from [dsoprea/go-jpeg-image-structure](https://github.com/dsoprea/go-jpeg-image-structure): jpeg structure parsing. [MIT License](https://spdx.org/licenses/MIT.html). +- [superseriousbusiness/go-png-image-structure](https://code.superseriousbusiness.org/go-png-image-structure): png structure parsing. Forked from [dsoprea/go-png-image-structure](https://github.com/dsoprea/go-png-image-structure): png structure parsing. [MIT License](https://spdx.org/licenses/MIT.html). - [dsoprea/go-exif](https://github.com/dsoprea/go-exif): exif header reconstruction. [MIT License](https://spdx.org/licenses/MIT.html). -- [dsoprea/go-jpeg-image-structure](https://github.com/dsoprea/go-jpeg-image-structure): jpeg structure parsing. [MIT License](https://spdx.org/licenses/MIT.html). -- [dsoprea/go-png-image-structure](https://github.com/dsoprea/go-png-image-structure): png structure parsing. [MIT License](https://spdx.org/licenses/MIT.html). - [stretchr/testify](https://github.com/stretchr/testify); test framework. [MIT License](https://spdx.org/licenses/MIT.html). ## License @@ -119,4 +113,4 @@ func main() { `exif-terminator` is free software, licensed under the [GNU AGPL v3 LICENSE](LICENSE). -Copyright (C) 2022-2024 SuperSeriousBusiness. +Copyright (C) 2022-2025 SuperSeriousBusiness. diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/exif.go b/vendor/code.superseriousbusiness.org/exif-terminator/exif.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/exif.go rename to vendor/code.superseriousbusiness.org/exif-terminator/exif.go diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/jpeg.go b/vendor/code.superseriousbusiness.org/exif-terminator/jpeg.go similarity index 97% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/jpeg.go rename to vendor/code.superseriousbusiness.org/exif-terminator/jpeg.go index 25b21e3c5..fa61deb27 100644 --- a/vendor/codeberg.org/superseriousbusiness/exif-terminator/jpeg.go +++ b/vendor/code.superseriousbusiness.org/exif-terminator/jpeg.go @@ -23,7 +23,7 @@ import ( "fmt" "io" - jpegstructure "codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2" + jpegstructure "code.superseriousbusiness.org/go-jpeg-image-structure/v2" ) var markerLen = map[byte]int{ diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/png.go b/vendor/code.superseriousbusiness.org/exif-terminator/png.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/png.go rename to vendor/code.superseriousbusiness.org/exif-terminator/png.go index a8245271c..6798e2b7d 100644 --- a/vendor/codeberg.org/superseriousbusiness/exif-terminator/png.go +++ b/vendor/code.superseriousbusiness.org/exif-terminator/png.go @@ -21,7 +21,7 @@ package terminator import ( "io" - pngstructure "codeberg.org/superseriousbusiness/go-png-image-structure/v2" + pngstructure "code.superseriousbusiness.org/go-png-image-structure/v2" ) type pngVisitor struct { diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/terminator.go b/vendor/code.superseriousbusiness.org/exif-terminator/terminator.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/terminator.go rename to vendor/code.superseriousbusiness.org/exif-terminator/terminator.go index 8e4976631..1ef7ddf06 100644 --- a/vendor/codeberg.org/superseriousbusiness/exif-terminator/terminator.go +++ b/vendor/code.superseriousbusiness.org/exif-terminator/terminator.go @@ -25,8 +25,8 @@ import ( "fmt" "io" - jpegstructure "codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2" - pngstructure "codeberg.org/superseriousbusiness/go-png-image-structure/v2" + jpegstructure "code.superseriousbusiness.org/go-jpeg-image-structure/v2" + pngstructure "code.superseriousbusiness.org/go-png-image-structure/v2" ) func Terminate(in io.Reader, mediaType string) (io.Reader, error) { diff --git a/vendor/codeberg.org/superseriousbusiness/exif-terminator/webp.go b/vendor/code.superseriousbusiness.org/exif-terminator/webp.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/exif-terminator/webp.go rename to vendor/code.superseriousbusiness.org/exif-terminator/webp.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/.MODULE_ROOT b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/.MODULE_ROOT similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/.MODULE_ROOT rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/.MODULE_ROOT diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/LICENSE b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/LICENSE similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/LICENSE rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/LICENSE diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/README.md b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/README.md similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/README.md rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/README.md diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/markers.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/markers.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/markers.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/markers.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/media_parser.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/media_parser.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/media_parser.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/media_parser.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/segment.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/segment.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/segment.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/segment.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/segment_list.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/segment_list.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/segment_list.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/segment_list.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/splitter.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/splitter.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/splitter.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/splitter.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/testing_common.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/testing_common.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/testing_common.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/testing_common.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/utility.go b/vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/utility.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2/utility.go rename to vendor/code.superseriousbusiness.org/go-jpeg-image-structure/v2/utility.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/.MODULE_ROOT b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/.MODULE_ROOT similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/.MODULE_ROOT rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/.MODULE_ROOT diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/LICENSE b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/LICENSE similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/LICENSE rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/LICENSE diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/chunk_decoder.go b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/chunk_decoder.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/chunk_decoder.go rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/chunk_decoder.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/media_parser.go b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/media_parser.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/media_parser.go rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/media_parser.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/png.go b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/png.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/png.go rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/png.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/testing_common.go b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/testing_common.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/testing_common.go rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/testing_common.go diff --git a/vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/utility.go b/vendor/code.superseriousbusiness.org/go-png-image-structure/v2/utility.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/go-png-image-structure/v2/utility.go rename to vendor/code.superseriousbusiness.org/go-png-image-structure/v2/utility.go diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/LICENSE b/vendor/code.superseriousbusiness.org/httpsig/LICENSE similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/httpsig/LICENSE rename to vendor/code.superseriousbusiness.org/httpsig/LICENSE diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/README.md b/vendor/code.superseriousbusiness.org/httpsig/README.md similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/httpsig/README.md rename to vendor/code.superseriousbusiness.org/httpsig/README.md index 2108ed06c..094133b20 100644 --- a/vendor/codeberg.org/superseriousbusiness/httpsig/README.md +++ b/vendor/code.superseriousbusiness.org/httpsig/README.md @@ -4,7 +4,7 @@ > HTTP Signatures made simple -`go get codeberg.org/superseriousbusiness/httpsig` +`go get code.superseriousbusiness.org/httpsig` Implementation of [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures). @@ -21,7 +21,7 @@ signing of hash schemes. Its goals are: ## How to use -`import "codeberg.org/superseriousbusiness/httpsig"` +`import "code.superseriousbusiness.org/httpsig"` ### Signing diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/algorithms.go b/vendor/code.superseriousbusiness.org/httpsig/algorithms.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/httpsig/algorithms.go rename to vendor/code.superseriousbusiness.org/httpsig/algorithms.go diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/digest.go b/vendor/code.superseriousbusiness.org/httpsig/digest.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/httpsig/digest.go rename to vendor/code.superseriousbusiness.org/httpsig/digest.go diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/httpsig.go b/vendor/code.superseriousbusiness.org/httpsig/httpsig.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/httpsig/httpsig.go rename to vendor/code.superseriousbusiness.org/httpsig/httpsig.go diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/signing.go b/vendor/code.superseriousbusiness.org/httpsig/signing.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/httpsig/signing.go rename to vendor/code.superseriousbusiness.org/httpsig/signing.go diff --git a/vendor/codeberg.org/superseriousbusiness/httpsig/verifying.go b/vendor/code.superseriousbusiness.org/httpsig/verifying.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/httpsig/verifying.go rename to vendor/code.superseriousbusiness.org/httpsig/verifying.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/.gitignore b/vendor/code.superseriousbusiness.org/oauth2/v4/.gitignore similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/.gitignore rename to vendor/code.superseriousbusiness.org/oauth2/v4/.gitignore diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/LICENSE b/vendor/code.superseriousbusiness.org/oauth2/v4/LICENSE similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/LICENSE rename to vendor/code.superseriousbusiness.org/oauth2/v4/LICENSE diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/README.md b/vendor/code.superseriousbusiness.org/oauth2/v4/README.md similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/README.md rename to vendor/code.superseriousbusiness.org/oauth2/v4/README.md diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/const.go b/vendor/code.superseriousbusiness.org/oauth2/v4/const.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/const.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/const.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/doc.go b/vendor/code.superseriousbusiness.org/oauth2/v4/doc.go similarity index 79% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/doc.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/doc.go index 162b2fc06..cb579efda 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/doc.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/doc.go @@ -3,9 +3,9 @@ // package main // import ( // "net/http" -// "codeberg.org/superseriousbusiness/oauth2/v4/manage" -// "codeberg.org/superseriousbusiness/oauth2/v4/server" -// "codeberg.org/superseriousbusiness/oauth2/v4/store" +// "code.superseriousbusiness.org/oauth2/v4/manage" +// "code.superseriousbusiness.org/oauth2/v4/server" +// "code.superseriousbusiness.org/oauth2/v4/store" // ) // func main() { // manager := manage.NewDefaultManager() diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/errors/error.go b/vendor/code.superseriousbusiness.org/oauth2/v4/errors/error.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/errors/error.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/errors/error.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/errors/response.go b/vendor/code.superseriousbusiness.org/oauth2/v4/errors/response.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/errors/response.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/errors/response.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generate.go b/vendor/code.superseriousbusiness.org/oauth2/v4/generate.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/generate.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/generate.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/access.go b/vendor/code.superseriousbusiness.org/oauth2/v4/generates/access.go similarity index 95% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/access.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/generates/access.go index 83a2e72f3..972b5dce1 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/access.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/generates/access.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" "github.com/google/uuid" ) diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/authorize.go b/vendor/code.superseriousbusiness.org/oauth2/v4/generates/authorize.go similarity index 94% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/authorize.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/generates/authorize.go index b53b0cf7c..9d8f3fb45 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/authorize.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/generates/authorize.go @@ -6,7 +6,7 @@ import ( "encoding/base64" "strings" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" "github.com/google/uuid" ) diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/jwt_access.go b/vendor/code.superseriousbusiness.org/oauth2/v4/generates/jwt_access.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/jwt_access.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/generates/jwt_access.go index 9a621bd4b..57c2950f0 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/generates/jwt_access.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/generates/jwt_access.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "codeberg.org/superseriousbusiness/oauth2/v4" - "codeberg.org/superseriousbusiness/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4/errors" "github.com/golang-jwt/jwt" "github.com/google/uuid" ) diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/go.test.sh b/vendor/code.superseriousbusiness.org/oauth2/v4/go.test.sh similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/go.test.sh rename to vendor/code.superseriousbusiness.org/oauth2/v4/go.test.sh diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage.go b/vendor/code.superseriousbusiness.org/oauth2/v4/manage.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/manage.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/config.go b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/config.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/config.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/manage/config.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/manager.go b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/manager.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/manager.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/manage/manager.go index 8e73b6793..db9aba614 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/manager.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/manager.go @@ -4,10 +4,10 @@ import ( "context" "time" - "codeberg.org/superseriousbusiness/oauth2/v4" - "codeberg.org/superseriousbusiness/oauth2/v4/errors" - "codeberg.org/superseriousbusiness/oauth2/v4/generates" - "codeberg.org/superseriousbusiness/oauth2/v4/models" + "code.superseriousbusiness.org/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4/generates" + "code.superseriousbusiness.org/oauth2/v4/models" ) // NewDefaultManager create to default authorization management instance diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/util.go b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go similarity index 91% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/util.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go index fd1146231..fc4c4b610 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/manage/util.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go @@ -4,7 +4,7 @@ import ( "net/url" "strings" - "codeberg.org/superseriousbusiness/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4/errors" ) type ( diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/model.go b/vendor/code.superseriousbusiness.org/oauth2/v4/model.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/model.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/model.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/models/client.go b/vendor/code.superseriousbusiness.org/oauth2/v4/models/client.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/models/client.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/models/client.go diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/models/token.go b/vendor/code.superseriousbusiness.org/oauth2/v4/models/token.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/models/token.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/models/token.go index d4cacc463..e14868e51 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/models/token.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/models/token.go @@ -3,7 +3,7 @@ package models import ( "time" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" ) // NewToken create to token model instance diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/config.go b/vendor/code.superseriousbusiness.org/oauth2/v4/server/config.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/config.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/server/config.go index 8d52bd231..7894f4003 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/config.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/server/config.go @@ -4,7 +4,7 @@ import ( "net/http" "time" - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" ) // Config configuration parameters diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/handler.go b/vendor/code.superseriousbusiness.org/oauth2/v4/server/handler.go similarity index 96% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/handler.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/server/handler.go index 9fdb10c30..745716dc5 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/handler.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/server/handler.go @@ -4,8 +4,8 @@ import ( "net/http" "time" - "codeberg.org/superseriousbusiness/oauth2/v4" - "codeberg.org/superseriousbusiness/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4/errors" ) type ( diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/server.go b/vendor/code.superseriousbusiness.org/oauth2/v4/server/server.go similarity index 99% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/server.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/server/server.go index 109fe9199..82f6ff8c3 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/server.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/server/server.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "codeberg.org/superseriousbusiness/oauth2/v4" - "codeberg.org/superseriousbusiness/oauth2/v4/errors" + "code.superseriousbusiness.org/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4/errors" ) // NewDefaultServer create a default authorization server diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/server_config.go b/vendor/code.superseriousbusiness.org/oauth2/v4/server/server_config.go similarity index 98% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/server_config.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/server/server_config.go index e190630e9..4e8010196 100644 --- a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/server/server_config.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/server/server_config.go @@ -1,7 +1,7 @@ package server import ( - "codeberg.org/superseriousbusiness/oauth2/v4" + "code.superseriousbusiness.org/oauth2/v4" ) // SetTokenType token type diff --git a/vendor/codeberg.org/superseriousbusiness/oauth2/v4/store.go b/vendor/code.superseriousbusiness.org/oauth2/v4/store.go similarity index 100% rename from vendor/codeberg.org/superseriousbusiness/oauth2/v4/store.go rename to vendor/code.superseriousbusiness.org/oauth2/v4/store.go diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go deleted file mode 100644 index 5b55dee31..000000000 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go +++ /dev/null @@ -1,457 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - propertyaccuracy "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy" - propertyactor "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor" - propertyalsoknownas "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas" - propertyaltitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude" - propertyanyof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof" - propertyattachment "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment" - propertyattributedto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto" - propertyaudience "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience" - propertybcc "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc" - propertybto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto" - propertycc "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc" - propertyclosed "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed" - propertycontent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content" - propertycontext "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context" - propertycurrent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current" - propertydeleted "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted" - propertydescribes "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes" - propertyduration "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration" - propertyendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints" - propertyendtime "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime" - propertyfirst "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first" - propertyfollowers "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers" - propertyfollowing "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following" - propertyformertype "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype" - propertygenerator "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator" - propertyheight "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height" - propertyhref "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href" - propertyhreflang "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang" - propertyicon "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon" - propertyimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image" - propertyinbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox" - propertyinreplyto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto" - propertyinstrument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument" - propertyitems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items" - propertylast "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last" - propertylatitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude" - propertyliked "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked" - propertylikes "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes" - propertylocation "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location" - propertylongitude "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude" - propertymanuallyapprovesfollowers "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" - propertymediatype "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype" - propertymovedto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto" - propertyname "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name" - propertynext "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next" - propertyobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object" - propertyoneof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof" - propertyordereditems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems" - propertyorigin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin" - propertyoutbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox" - propertypartof "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof" - propertypreferredusername "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername" - propertyprev "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev" - propertypreview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview" - propertypublished "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published" - propertyradius "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius" - propertyrel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel" - propertyrelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship" - propertyreplies "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies" - propertyresult "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result" - propertysensitive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive" - propertysharedinbox "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox" - propertyshares "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares" - propertysource "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source" - propertystartindex "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex" - propertystarttime "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime" - propertystreams "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams" - propertysubject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject" - propertysummary "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary" - propertytag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag" - propertytarget "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target" - propertyto "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to" - propertytotalitems "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems" - propertyunits "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units" - propertyupdated "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated" - propertyurl "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url" - propertywidth "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width" - typeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept" - typeactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity" - typeadd "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add" - typeannounce "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce" - typeapplication "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application" - typearrive "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive" - typearticle "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article" - typeaudio "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio" - typeblock "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block" - typecollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection" - typecollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage" - typecreate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create" - typedelete "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" - typedislike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" - typedocument "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document" - typeendpoints "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" - typeevent "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event" - typeflag "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" - typefollow "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" - typegroup "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group" - typeignore "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore" - typeimage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image" - typeintransitiveactivity "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity" - typeinvite "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite" - typejoin "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join" - typeleave "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave" - typelike "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like" - typelink "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link" - typelisten "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen" - typemention "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention" - typemove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move" - typenote "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note" - typeobject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object" - typeoffer "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer" - typeorderedcollection "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection" - typeorderedcollectionpage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage" - typeorganization "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization" - typepage "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page" - typeperson "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person" - typeplace "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place" - typeprofile "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile" - typequestion "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question" - typeread "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read" - typereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject" - typerelationship "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship" - typeremove "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove" - typeservice "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service" - typetentativeaccept "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept" - typetentativereject "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject" - typetombstone "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone" - typetravel "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel" - typeundo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo" - typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update" - typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video" - typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album" - typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist" - typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library" - typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track" - propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always" - propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired" - propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby" - propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval" - propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce" - propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike" - propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote" - propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply" - propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject" - propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy" - propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget" - propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval" - typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval" - typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization" - typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest" - typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" - typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" - typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote" - typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" - typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" - typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval" - typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization" - typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest" - typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval" - typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization" - typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest" - propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value" - typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" - propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash" - propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable" - propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured" - propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint" - propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable" - propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm" - propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" - propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount" - typeemoji "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji" - typehashtag "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag" - typeidentityproof "codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof" - propertyowner "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner" - propertypublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey" - propertypublickeypem "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem" - typepublickey "codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey" -) - -var mgr *Manager - -// init handles the 'magic' of creating a Manager and dependency-injecting it into -// every other code-generated package. This gives the implementations access -// to create any type needed to deserialize, without relying on the other -// specific concrete implementations. In order to replace a go-fed created -// type with your own, be sure to have the manager call your own -// implementation's deserialize functions instead of the built-in type. -// Finally, each implementation views the Manager as an interface with only a -// subset of funcitons available. This means this Manager implements the union -// of those interfaces. -func init() { - mgr = &Manager{} - propertyaccuracy.SetManager(mgr) - propertyactor.SetManager(mgr) - propertyalsoknownas.SetManager(mgr) - propertyaltitude.SetManager(mgr) - propertyanyof.SetManager(mgr) - propertyattachment.SetManager(mgr) - propertyattributedto.SetManager(mgr) - propertyaudience.SetManager(mgr) - propertybcc.SetManager(mgr) - propertybto.SetManager(mgr) - propertycc.SetManager(mgr) - propertyclosed.SetManager(mgr) - propertycontent.SetManager(mgr) - propertycontext.SetManager(mgr) - propertycurrent.SetManager(mgr) - propertydeleted.SetManager(mgr) - propertydescribes.SetManager(mgr) - propertyduration.SetManager(mgr) - propertyendpoints.SetManager(mgr) - propertyendtime.SetManager(mgr) - propertyfirst.SetManager(mgr) - propertyfollowers.SetManager(mgr) - propertyfollowing.SetManager(mgr) - propertyformertype.SetManager(mgr) - propertygenerator.SetManager(mgr) - propertyheight.SetManager(mgr) - propertyhref.SetManager(mgr) - propertyhreflang.SetManager(mgr) - propertyicon.SetManager(mgr) - propertyimage.SetManager(mgr) - propertyinbox.SetManager(mgr) - propertyinreplyto.SetManager(mgr) - propertyinstrument.SetManager(mgr) - propertyitems.SetManager(mgr) - propertylast.SetManager(mgr) - propertylatitude.SetManager(mgr) - propertyliked.SetManager(mgr) - propertylikes.SetManager(mgr) - propertylocation.SetManager(mgr) - propertylongitude.SetManager(mgr) - propertymanuallyapprovesfollowers.SetManager(mgr) - propertymediatype.SetManager(mgr) - propertymovedto.SetManager(mgr) - propertyname.SetManager(mgr) - propertynext.SetManager(mgr) - propertyobject.SetManager(mgr) - propertyoneof.SetManager(mgr) - propertyordereditems.SetManager(mgr) - propertyorigin.SetManager(mgr) - propertyoutbox.SetManager(mgr) - propertypartof.SetManager(mgr) - propertypreferredusername.SetManager(mgr) - propertyprev.SetManager(mgr) - propertypreview.SetManager(mgr) - propertypublished.SetManager(mgr) - propertyradius.SetManager(mgr) - propertyrel.SetManager(mgr) - propertyrelationship.SetManager(mgr) - propertyreplies.SetManager(mgr) - propertyresult.SetManager(mgr) - propertysensitive.SetManager(mgr) - propertysharedinbox.SetManager(mgr) - propertyshares.SetManager(mgr) - propertysource.SetManager(mgr) - propertystartindex.SetManager(mgr) - propertystarttime.SetManager(mgr) - propertystreams.SetManager(mgr) - propertysubject.SetManager(mgr) - propertysummary.SetManager(mgr) - propertytag.SetManager(mgr) - propertytarget.SetManager(mgr) - propertyto.SetManager(mgr) - propertytotalitems.SetManager(mgr) - propertyunits.SetManager(mgr) - propertyupdated.SetManager(mgr) - propertyurl.SetManager(mgr) - propertywidth.SetManager(mgr) - typeaccept.SetManager(mgr) - typeactivity.SetManager(mgr) - typeadd.SetManager(mgr) - typeannounce.SetManager(mgr) - typeapplication.SetManager(mgr) - typearrive.SetManager(mgr) - typearticle.SetManager(mgr) - typeaudio.SetManager(mgr) - typeblock.SetManager(mgr) - typecollection.SetManager(mgr) - typecollectionpage.SetManager(mgr) - typecreate.SetManager(mgr) - typedelete.SetManager(mgr) - typedislike.SetManager(mgr) - typedocument.SetManager(mgr) - typeendpoints.SetManager(mgr) - typeevent.SetManager(mgr) - typeflag.SetManager(mgr) - typefollow.SetManager(mgr) - typegroup.SetManager(mgr) - typeignore.SetManager(mgr) - typeimage.SetManager(mgr) - typeintransitiveactivity.SetManager(mgr) - typeinvite.SetManager(mgr) - typejoin.SetManager(mgr) - typeleave.SetManager(mgr) - typelike.SetManager(mgr) - typelink.SetManager(mgr) - typelisten.SetManager(mgr) - typemention.SetManager(mgr) - typemove.SetManager(mgr) - typenote.SetManager(mgr) - typeobject.SetManager(mgr) - typeoffer.SetManager(mgr) - typeorderedcollection.SetManager(mgr) - typeorderedcollectionpage.SetManager(mgr) - typeorganization.SetManager(mgr) - typepage.SetManager(mgr) - typeperson.SetManager(mgr) - typeplace.SetManager(mgr) - typeprofile.SetManager(mgr) - typequestion.SetManager(mgr) - typeread.SetManager(mgr) - typereject.SetManager(mgr) - typerelationship.SetManager(mgr) - typeremove.SetManager(mgr) - typeservice.SetManager(mgr) - typetentativeaccept.SetManager(mgr) - typetentativereject.SetManager(mgr) - typetombstone.SetManager(mgr) - typetravel.SetManager(mgr) - typeundo.SetManager(mgr) - typeupdate.SetManager(mgr) - typevideo.SetManager(mgr) - typeview.SetManager(mgr) - typealbum.SetManager(mgr) - typeartist.SetManager(mgr) - typelibrary.SetManager(mgr) - typetrack.SetManager(mgr) - propertyalways.SetManager(mgr) - propertyapprovalrequired.SetManager(mgr) - propertyapprovedby.SetManager(mgr) - propertyautomaticapproval.SetManager(mgr) - propertycanannounce.SetManager(mgr) - propertycanlike.SetManager(mgr) - propertycanquote.SetManager(mgr) - propertycanreply.SetManager(mgr) - propertyinteractingobject.SetManager(mgr) - propertyinteractionpolicy.SetManager(mgr) - propertyinteractiontarget.SetManager(mgr) - propertymanualapproval.SetManager(mgr) - typeannounceapproval.SetManager(mgr) - typeannounceauthorization.SetManager(mgr) - typeannouncerequest.SetManager(mgr) - typecanannounce.SetManager(mgr) - typecanlike.SetManager(mgr) - typecanquote.SetManager(mgr) - typecanreply.SetManager(mgr) - typeinteractionpolicy.SetManager(mgr) - typelikeapproval.SetManager(mgr) - typelikeauthorization.SetManager(mgr) - typelikerequest.SetManager(mgr) - typereplyapproval.SetManager(mgr) - typereplyauthorization.SetManager(mgr) - typereplyrequest.SetManager(mgr) - propertyvalue.SetManager(mgr) - typepropertyvalue.SetManager(mgr) - propertyblurhash.SetManager(mgr) - propertydiscoverable.SetManager(mgr) - propertyfeatured.SetManager(mgr) - propertyfocalpoint.SetManager(mgr) - propertyindexable.SetManager(mgr) - propertysignaturealgorithm.SetManager(mgr) - propertysignaturevalue.SetManager(mgr) - propertyvoterscount.SetManager(mgr) - typeemoji.SetManager(mgr) - typehashtag.SetManager(mgr) - typeidentityproof.SetManager(mgr) - propertyowner.SetManager(mgr) - propertypublickey.SetManager(mgr) - propertypublickeypem.SetManager(mgr) - typepublickey.SetManager(mgr) - typeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeadd.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeapplication.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typearrive.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typearticle.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeaudio.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeblock.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecollection.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecreate.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typedelete.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typedislike.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typedocument.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeendpoints.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeevent.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeflag.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typefollow.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typegroup.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeignore.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeimage.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeintransitiveactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeinvite.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typejoin.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeleave.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelike.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelink.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelisten.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typemention.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typemove.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typenote.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeobject.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeoffer.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeorderedcollection.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeorderedcollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeorganization.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typepage.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeperson.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeplace.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeprofile.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typequestion.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeread.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typereject.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typerelationship.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeremove.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeservice.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typetentativeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typetentativereject.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typetombstone.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typetravel.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeundo.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typealbum.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeartist.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeannounceauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeannouncerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecanquote.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecanreply.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeinteractionpolicy.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelikeapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelikeauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typelikerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typereplyapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typereplyauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typereplyrequest.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty) -} diff --git a/vendor/github.com/go-fed/httpsig/LICENSE b/vendor/github.com/go-fed/httpsig/LICENSE deleted file mode 100644 index a9e8aefad..000000000 --- a/vendor/github.com/go-fed/httpsig/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2018, go-fed -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/go-fed/httpsig/README.md b/vendor/github.com/go-fed/httpsig/README.md deleted file mode 100644 index 3b8385400..000000000 --- a/vendor/github.com/go-fed/httpsig/README.md +++ /dev/null @@ -1,94 +0,0 @@ -# httpsig - -`go get github.com/go-fed/httpsig` - -Implementation of [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures). - -Supports many different combinations of MAC, HMAC signing of hash, or RSA -signing of hash schemes. Its goals are: - -* Have a very simple interface for signing and validating -* Support a variety of signing algorithms and combinations -* Support setting either headers (`Authorization` or `Signature`) -* Remaining flexible with headers included in the signing string -* Support both HTTP requests and responses -* Explicitly not support known-cryptographically weak algorithms -* Support automatic signing and validating Digest headers - -## How to use - -`import "github.com/go-fed/httpsig"` - -### Signing - -Signing a request or response requires creating a new `Signer` and using it: - -``` -func sign(privateKey crypto.PrivateKey, pubKeyId string, r *http.Request) error { - prefs := []httpsig.Algorithm{httpsig.RSA_SHA512, httpsig.RSA_SHA256} - digestAlgorithm := DigestSha256 - // The "Date" and "Digest" headers must already be set on r, as well as r.URL. - headersToSign := []string{httpsig.RequestTarget, "date", "digest"} - signer, chosenAlgo, err := httpsig.NewSigner(prefs, digestAlgorithm, headersToSign, httpsig.Signature) - if err != nil { - return err - } - // To sign the digest, we need to give the signer a copy of the body... - // ...but it is optional, no digest will be signed if given "nil" - body := ... - // If r were a http.ResponseWriter, call SignResponse instead. - return signer.SignRequest(privateKey, pubKeyId, r, body) -} -``` - -`Signer`s are not safe for concurrent use by goroutines, so be sure to guard -access: - -``` -type server struct { - signer httpsig.Signer - mu *sync.Mutex -} - -func (s *server) handlerFunc(w http.ResponseWriter, r *http.Request) { - privateKey := ... - pubKeyId := ... - // Set headers and such on w - s.mu.Lock() - defer s.mu.Unlock() - // To sign the digest, we need to give the signer a copy of the response body... - // ...but it is optional, no digest will be signed if given "nil" - body := ... - err := s.signer.SignResponse(privateKey, pubKeyId, w, body) - if err != nil { - ... - } - ... -} -``` - -The `pubKeyId` will be used at verification time. - -### Verifying - -Verifying requires an application to use the `pubKeyId` to both retrieve the key -needed for verification as well as determine the algorithm to use. Use a -`Verifier`: - -``` -func verify(r *http.Request) error { - verifier, err := httpsig.NewVerifier(r) - if err != nil { - return err - } - pubKeyId := verifier.KeyId() - var algo httpsig.Algorithm = ... - var pubKey crypto.PublicKey = ... - // The verifier will verify the Digest in addition to the HTTP signature - return verifier.Verify(pubKey, algo) -} -``` - -`Verifier`s are not safe for concurrent use by goroutines, but since they are -constructed on a per-request or per-response basis it should not be a common -restriction. diff --git a/vendor/github.com/go-fed/httpsig/algorithms.go b/vendor/github.com/go-fed/httpsig/algorithms.go deleted file mode 100644 index 9595941be..000000000 --- a/vendor/github.com/go-fed/httpsig/algorithms.go +++ /dev/null @@ -1,532 +0,0 @@ -package httpsig - -import ( - "crypto" - "crypto/ecdsa" - "crypto/hmac" - "crypto/rsa" - "crypto/sha1" - "crypto/sha256" - "crypto/sha512" - "crypto/subtle" // Use should trigger great care - "encoding/asn1" - "errors" - "fmt" - "hash" - "io" - "math/big" - "strings" - - "golang.org/x/crypto/blake2b" - "golang.org/x/crypto/blake2s" - "golang.org/x/crypto/ed25519" - "golang.org/x/crypto/ripemd160" - "golang.org/x/crypto/sha3" - "golang.org/x/crypto/ssh" -) - -const ( - hmacPrefix = "hmac" - rsaPrefix = "rsa" - sshPrefix = "ssh" - ecdsaPrefix = "ecdsa" - ed25519Prefix = "ed25519" - md4String = "md4" - md5String = "md5" - sha1String = "sha1" - sha224String = "sha224" - sha256String = "sha256" - sha384String = "sha384" - sha512String = "sha512" - md5sha1String = "md5sha1" - ripemd160String = "ripemd160" - sha3_224String = "sha3-224" - sha3_256String = "sha3-256" - sha3_384String = "sha3-384" - sha3_512String = "sha3-512" - sha512_224String = "sha512-224" - sha512_256String = "sha512-256" - blake2s_256String = "blake2s-256" - blake2b_256String = "blake2b-256" - blake2b_384String = "blake2b-384" - blake2b_512String = "blake2b-512" -) - -var blake2Algorithms = map[crypto.Hash]bool{ - crypto.BLAKE2s_256: true, - crypto.BLAKE2b_256: true, - crypto.BLAKE2b_384: true, - crypto.BLAKE2b_512: true, -} - -var hashToDef = map[crypto.Hash]struct { - name string - new func(key []byte) (hash.Hash, error) // Only MACers will accept a key -}{ - // Which standard names these? - // The spec lists the following as a canonical reference, which is dead: - // http://www.iana.org/assignments/signature-algorithms - // - // Note that the forbidden hashes have an invalid 'new' function. - crypto.MD4: {md4String, func(key []byte) (hash.Hash, error) { return nil, nil }}, - crypto.MD5: {md5String, func(key []byte) (hash.Hash, error) { return nil, nil }}, - // Temporarily enable SHA1 because of issue https://github.com/golang/go/issues/37278 - crypto.SHA1: {sha1String, func(key []byte) (hash.Hash, error) { return sha1.New(), nil }}, - crypto.SHA224: {sha224String, func(key []byte) (hash.Hash, error) { return sha256.New224(), nil }}, - crypto.SHA256: {sha256String, func(key []byte) (hash.Hash, error) { return sha256.New(), nil }}, - crypto.SHA384: {sha384String, func(key []byte) (hash.Hash, error) { return sha512.New384(), nil }}, - crypto.SHA512: {sha512String, func(key []byte) (hash.Hash, error) { return sha512.New(), nil }}, - crypto.MD5SHA1: {md5sha1String, func(key []byte) (hash.Hash, error) { return nil, nil }}, - crypto.RIPEMD160: {ripemd160String, func(key []byte) (hash.Hash, error) { return ripemd160.New(), nil }}, - crypto.SHA3_224: {sha3_224String, func(key []byte) (hash.Hash, error) { return sha3.New224(), nil }}, - crypto.SHA3_256: {sha3_256String, func(key []byte) (hash.Hash, error) { return sha3.New256(), nil }}, - crypto.SHA3_384: {sha3_384String, func(key []byte) (hash.Hash, error) { return sha3.New384(), nil }}, - crypto.SHA3_512: {sha3_512String, func(key []byte) (hash.Hash, error) { return sha3.New512(), nil }}, - crypto.SHA512_224: {sha512_224String, func(key []byte) (hash.Hash, error) { return sha512.New512_224(), nil }}, - crypto.SHA512_256: {sha512_256String, func(key []byte) (hash.Hash, error) { return sha512.New512_256(), nil }}, - crypto.BLAKE2s_256: {blake2s_256String, func(key []byte) (hash.Hash, error) { return blake2s.New256(key) }}, - crypto.BLAKE2b_256: {blake2b_256String, func(key []byte) (hash.Hash, error) { return blake2b.New256(key) }}, - crypto.BLAKE2b_384: {blake2b_384String, func(key []byte) (hash.Hash, error) { return blake2b.New384(key) }}, - crypto.BLAKE2b_512: {blake2b_512String, func(key []byte) (hash.Hash, error) { return blake2b.New512(key) }}, -} - -var stringToHash map[string]crypto.Hash - -const ( - defaultAlgorithm = RSA_SHA256 - defaultAlgorithmHashing = sha256String -) - -func init() { - stringToHash = make(map[string]crypto.Hash, len(hashToDef)) - for k, v := range hashToDef { - stringToHash[v.name] = k - } - // This should guarantee that at runtime the defaultAlgorithm will not - // result in errors when fetching a macer or signer (see algorithms.go) - if ok, err := isAvailable(string(defaultAlgorithmHashing)); err != nil { - panic(err) - } else if !ok { - panic(fmt.Sprintf("the default httpsig algorithm is unavailable: %q", defaultAlgorithm)) - } -} - -func isForbiddenHash(h crypto.Hash) bool { - switch h { - // Not actually cryptographically secure - case crypto.MD4: - fallthrough - case crypto.MD5: - fallthrough - case crypto.MD5SHA1: // shorthand for crypto/tls, not actually implemented - return true - } - // Still cryptographically secure - return false -} - -// signer is an internally public type. -type signer interface { - Sign(rand io.Reader, p crypto.PrivateKey, sig []byte) ([]byte, error) - Verify(pub crypto.PublicKey, toHash, signature []byte) error - String() string -} - -// macer is an internally public type. -type macer interface { - Sign(sig, key []byte) ([]byte, error) - Equal(sig, actualMAC, key []byte) (bool, error) - String() string -} - -var _ macer = &hmacAlgorithm{} - -type hmacAlgorithm struct { - fn func(key []byte) (hash.Hash, error) - kind crypto.Hash -} - -func (h *hmacAlgorithm) Sign(sig, key []byte) ([]byte, error) { - hs, err := h.fn(key) - if err = setSig(hs, sig); err != nil { - return nil, err - } - return hs.Sum(nil), nil -} - -func (h *hmacAlgorithm) Equal(sig, actualMAC, key []byte) (bool, error) { - hs, err := h.fn(key) - if err != nil { - return false, err - } - defer hs.Reset() - err = setSig(hs, sig) - if err != nil { - return false, err - } - expected := hs.Sum(nil) - return hmac.Equal(actualMAC, expected), nil -} - -func (h *hmacAlgorithm) String() string { - return fmt.Sprintf("%s-%s", hmacPrefix, hashToDef[h.kind].name) -} - -var _ signer = &rsaAlgorithm{} - -type rsaAlgorithm struct { - hash.Hash - kind crypto.Hash - sshSigner ssh.Signer -} - -func (r *rsaAlgorithm) setSig(b []byte) error { - n, err := r.Write(b) - if err != nil { - r.Reset() - return err - } else if n != len(b) { - r.Reset() - return fmt.Errorf("could only write %d of %d bytes of signature to hash", n, len(b)) - } - return nil -} - -func (r *rsaAlgorithm) Sign(rand io.Reader, p crypto.PrivateKey, sig []byte) ([]byte, error) { - if r.sshSigner != nil { - sshsig, err := r.sshSigner.Sign(rand, sig) - if err != nil { - return nil, err - } - - return sshsig.Blob, nil - } - defer r.Reset() - - if err := r.setSig(sig); err != nil { - return nil, err - } - rsaK, ok := p.(*rsa.PrivateKey) - if !ok { - return nil, errors.New("crypto.PrivateKey is not *rsa.PrivateKey") - } - return rsa.SignPKCS1v15(rand, rsaK, r.kind, r.Sum(nil)) -} - -func (r *rsaAlgorithm) Verify(pub crypto.PublicKey, toHash, signature []byte) error { - defer r.Reset() - rsaK, ok := pub.(*rsa.PublicKey) - if !ok { - return errors.New("crypto.PublicKey is not *rsa.PublicKey") - } - if err := r.setSig(toHash); err != nil { - return err - } - return rsa.VerifyPKCS1v15(rsaK, r.kind, r.Sum(nil), signature) -} - -func (r *rsaAlgorithm) String() string { - return fmt.Sprintf("%s-%s", rsaPrefix, hashToDef[r.kind].name) -} - -var _ signer = &ed25519Algorithm{} - -type ed25519Algorithm struct { - sshSigner ssh.Signer -} - -func (r *ed25519Algorithm) Sign(rand io.Reader, p crypto.PrivateKey, sig []byte) ([]byte, error) { - if r.sshSigner != nil { - sshsig, err := r.sshSigner.Sign(rand, sig) - if err != nil { - return nil, err - } - - return sshsig.Blob, nil - } - ed25519K, ok := p.(ed25519.PrivateKey) - if !ok { - return nil, errors.New("crypto.PrivateKey is not ed25519.PrivateKey") - } - return ed25519.Sign(ed25519K, sig), nil -} - -func (r *ed25519Algorithm) Verify(pub crypto.PublicKey, toHash, signature []byte) error { - ed25519K, ok := pub.(ed25519.PublicKey) - if !ok { - return errors.New("crypto.PublicKey is not ed25519.PublicKey") - } - - if ed25519.Verify(ed25519K, toHash, signature) { - return nil - } - - return errors.New("ed25519 verify failed") -} - -func (r *ed25519Algorithm) String() string { - return fmt.Sprintf("%s", ed25519Prefix) -} - -var _ signer = &ecdsaAlgorithm{} - -type ecdsaAlgorithm struct { - hash.Hash - kind crypto.Hash -} - -func (r *ecdsaAlgorithm) setSig(b []byte) error { - n, err := r.Write(b) - if err != nil { - r.Reset() - return err - } else if n != len(b) { - r.Reset() - return fmt.Errorf("could only write %d of %d bytes of signature to hash", n, len(b)) - } - return nil -} - -type ECDSASignature struct { - R, S *big.Int -} - -func (r *ecdsaAlgorithm) Sign(rand io.Reader, p crypto.PrivateKey, sig []byte) ([]byte, error) { - defer r.Reset() - if err := r.setSig(sig); err != nil { - return nil, err - } - ecdsaK, ok := p.(*ecdsa.PrivateKey) - if !ok { - return nil, errors.New("crypto.PrivateKey is not *ecdsa.PrivateKey") - } - R, S, err := ecdsa.Sign(rand, ecdsaK, r.Sum(nil)) - if err != nil { - return nil, err - } - - signature := ECDSASignature{R: R, S: S} - bytes, err := asn1.Marshal(signature) - - return bytes, err -} - -func (r *ecdsaAlgorithm) Verify(pub crypto.PublicKey, toHash, signature []byte) error { - defer r.Reset() - ecdsaK, ok := pub.(*ecdsa.PublicKey) - if !ok { - return errors.New("crypto.PublicKey is not *ecdsa.PublicKey") - } - if err := r.setSig(toHash); err != nil { - return err - } - - sig := new(ECDSASignature) - _, err := asn1.Unmarshal(signature, sig) - if err != nil { - return err - } - - if ecdsa.Verify(ecdsaK, r.Sum(nil), sig.R, sig.S) { - return nil - } else { - return errors.New("Invalid signature") - } -} - -func (r *ecdsaAlgorithm) String() string { - return fmt.Sprintf("%s-%s", ecdsaPrefix, hashToDef[r.kind].name) -} - -var _ macer = &blakeMacAlgorithm{} - -type blakeMacAlgorithm struct { - fn func(key []byte) (hash.Hash, error) - kind crypto.Hash -} - -func (r *blakeMacAlgorithm) Sign(sig, key []byte) ([]byte, error) { - hs, err := r.fn(key) - if err != nil { - return nil, err - } - if err = setSig(hs, sig); err != nil { - return nil, err - } - return hs.Sum(nil), nil -} - -func (r *blakeMacAlgorithm) Equal(sig, actualMAC, key []byte) (bool, error) { - hs, err := r.fn(key) - if err != nil { - return false, err - } - defer hs.Reset() - err = setSig(hs, sig) - if err != nil { - return false, err - } - expected := hs.Sum(nil) - return subtle.ConstantTimeCompare(actualMAC, expected) == 1, nil -} - -func (r *blakeMacAlgorithm) String() string { - return fmt.Sprintf("%s", hashToDef[r.kind].name) -} - -func setSig(a hash.Hash, b []byte) error { - n, err := a.Write(b) - if err != nil { - a.Reset() - return err - } else if n != len(b) { - a.Reset() - return fmt.Errorf("could only write %d of %d bytes of signature to hash", n, len(b)) - } - return nil -} - -// IsSupportedHttpSigAlgorithm returns true if the string is supported by this -// library, is not a hash known to be weak, and is supported by the hardware. -func IsSupportedHttpSigAlgorithm(algo string) bool { - a, err := isAvailable(algo) - return a && err == nil -} - -// isAvailable is an internally public function -func isAvailable(algo string) (bool, error) { - c, ok := stringToHash[algo] - if !ok { - return false, fmt.Errorf("no match for %q", algo) - } - if isForbiddenHash(c) { - return false, fmt.Errorf("forbidden hash type in %q", algo) - } - return c.Available(), nil -} - -func newAlgorithmConstructor(algo string) (fn func(k []byte) (hash.Hash, error), c crypto.Hash, e error) { - ok := false - c, ok = stringToHash[algo] - if !ok { - e = fmt.Errorf("no match for %q", algo) - return - } - if isForbiddenHash(c) { - e = fmt.Errorf("forbidden hash type in %q", algo) - return - } - algoDef, ok := hashToDef[c] - if !ok { - e = fmt.Errorf("have crypto.Hash %v but no definition", c) - return - } - fn = func(key []byte) (hash.Hash, error) { - h, err := algoDef.new(key) - if err != nil { - return nil, err - } - return h, nil - } - return -} - -func newAlgorithm(algo string, key []byte) (hash.Hash, crypto.Hash, error) { - fn, c, err := newAlgorithmConstructor(algo) - if err != nil { - return nil, c, err - } - h, err := fn(key) - return h, c, err -} - -func signerFromSSHSigner(sshSigner ssh.Signer, s string) (signer, error) { - switch { - case strings.HasPrefix(s, rsaPrefix): - return &rsaAlgorithm{ - sshSigner: sshSigner, - }, nil - case strings.HasPrefix(s, ed25519Prefix): - return &ed25519Algorithm{ - sshSigner: sshSigner, - }, nil - default: - return nil, fmt.Errorf("no signer matching %q", s) - } -} - -// signerFromString is an internally public method constructor -func signerFromString(s string) (signer, error) { - s = strings.ToLower(s) - isEcdsa := false - isEd25519 := false - var algo string = "" - if strings.HasPrefix(s, ecdsaPrefix) { - algo = strings.TrimPrefix(s, ecdsaPrefix+"-") - isEcdsa = true - } else if strings.HasPrefix(s, rsaPrefix) { - algo = strings.TrimPrefix(s, rsaPrefix+"-") - } else if strings.HasPrefix(s, ed25519Prefix) { - isEd25519 = true - algo = "sha512" - } else { - return nil, fmt.Errorf("no signer matching %q", s) - } - hash, cHash, err := newAlgorithm(algo, nil) - if err != nil { - return nil, err - } - if isEd25519 { - return &ed25519Algorithm{}, nil - } - if isEcdsa { - return &ecdsaAlgorithm{ - Hash: hash, - kind: cHash, - }, nil - } - return &rsaAlgorithm{ - Hash: hash, - kind: cHash, - }, nil -} - -// macerFromString is an internally public method constructor -func macerFromString(s string) (macer, error) { - s = strings.ToLower(s) - if strings.HasPrefix(s, hmacPrefix) { - algo := strings.TrimPrefix(s, hmacPrefix+"-") - hashFn, cHash, err := newAlgorithmConstructor(algo) - if err != nil { - return nil, err - } - // Ensure below does not panic - _, err = hashFn(nil) - if err != nil { - return nil, err - } - return &hmacAlgorithm{ - fn: func(key []byte) (hash.Hash, error) { - return hmac.New(func() hash.Hash { - h, e := hashFn(nil) - if e != nil { - panic(e) - } - return h - }, key), nil - }, - kind: cHash, - }, nil - } else if bl, ok := stringToHash[s]; ok && blake2Algorithms[bl] { - hashFn, cHash, err := newAlgorithmConstructor(s) - if err != nil { - return nil, err - } - return &blakeMacAlgorithm{ - fn: hashFn, - kind: cHash, - }, nil - } else { - return nil, fmt.Errorf("no MACer matching %q", s) - } -} diff --git a/vendor/github.com/go-fed/httpsig/digest.go b/vendor/github.com/go-fed/httpsig/digest.go deleted file mode 100644 index bf9e3a914..000000000 --- a/vendor/github.com/go-fed/httpsig/digest.go +++ /dev/null @@ -1,120 +0,0 @@ -package httpsig - -import ( - "bytes" - "crypto" - "encoding/base64" - "fmt" - "hash" - "net/http" - "strings" -) - -type DigestAlgorithm string - -const ( - DigestSha256 DigestAlgorithm = "SHA-256" - DigestSha512 = "SHA-512" -) - -var digestToDef = map[DigestAlgorithm]crypto.Hash{ - DigestSha256: crypto.SHA256, - DigestSha512: crypto.SHA512, -} - -// IsSupportedDigestAlgorithm returns true if hte string is supported by this -// library, is not a hash known to be weak, and is supported by the hardware. -func IsSupportedDigestAlgorithm(algo string) bool { - uc := DigestAlgorithm(strings.ToUpper(algo)) - c, ok := digestToDef[uc] - return ok && c.Available() -} - -func getHash(alg DigestAlgorithm) (h hash.Hash, toUse DigestAlgorithm, err error) { - upper := DigestAlgorithm(strings.ToUpper(string(alg))) - c, ok := digestToDef[upper] - if !ok { - err = fmt.Errorf("unknown or unsupported Digest algorithm: %s", alg) - } else if !c.Available() { - err = fmt.Errorf("unavailable Digest algorithm: %s", alg) - } else { - h = c.New() - toUse = upper - } - return -} - -const ( - digestHeader = "Digest" - digestDelim = "=" -) - -func addDigest(r *http.Request, algo DigestAlgorithm, b []byte) (err error) { - _, ok := r.Header[digestHeader] - if ok { - err = fmt.Errorf("cannot add Digest: Digest is already set") - return - } - var h hash.Hash - var a DigestAlgorithm - h, a, err = getHash(algo) - if err != nil { - return - } - h.Write(b) - sum := h.Sum(nil) - r.Header.Add(digestHeader, - fmt.Sprintf("%s%s%s", - a, - digestDelim, - base64.StdEncoding.EncodeToString(sum[:]))) - return -} - -func addDigestResponse(r http.ResponseWriter, algo DigestAlgorithm, b []byte) (err error) { - _, ok := r.Header()[digestHeader] - if ok { - err = fmt.Errorf("cannot add Digest: Digest is already set") - return - } - var h hash.Hash - var a DigestAlgorithm - h, a, err = getHash(algo) - if err != nil { - return - } - h.Write(b) - sum := h.Sum(nil) - r.Header().Add(digestHeader, - fmt.Sprintf("%s%s%s", - a, - digestDelim, - base64.StdEncoding.EncodeToString(sum[:]))) - return -} - -func verifyDigest(r *http.Request, body *bytes.Buffer) (err error) { - d := r.Header.Get(digestHeader) - if len(d) == 0 { - err = fmt.Errorf("cannot verify Digest: request has no Digest header") - return - } - elem := strings.SplitN(d, digestDelim, 2) - if len(elem) != 2 { - err = fmt.Errorf("cannot verify Digest: malformed Digest: %s", d) - return - } - var h hash.Hash - h, _, err = getHash(DigestAlgorithm(elem[0])) - if err != nil { - return - } - h.Write(body.Bytes()) - sum := h.Sum(nil) - encSum := base64.StdEncoding.EncodeToString(sum[:]) - if encSum != elem[1] { - err = fmt.Errorf("cannot verify Digest: header Digest does not match the digest of the request body") - return - } - return -} diff --git a/vendor/github.com/go-fed/httpsig/httpsig.go b/vendor/github.com/go-fed/httpsig/httpsig.go deleted file mode 100644 index 1a6b95463..000000000 --- a/vendor/github.com/go-fed/httpsig/httpsig.go +++ /dev/null @@ -1,361 +0,0 @@ -// Implements HTTP request and response signing and verification. Supports the -// major MAC and asymmetric key signature algorithms. It has several safety -// restrictions: One, none of the widely known non-cryptographically safe -// algorithms are permitted; Two, the RSA SHA256 algorithms must be available in -// the binary (and it should, barring export restrictions); Finally, the library -// assumes either the 'Authorizationn' or 'Signature' headers are to be set (but -// not both). -package httpsig - -import ( - "crypto" - "fmt" - "net/http" - "strings" - "time" - - "golang.org/x/crypto/ssh" -) - -// Algorithm specifies a cryptography secure algorithm for signing HTTP requests -// and responses. -type Algorithm string - -const ( - // MAC-based algoirthms. - HMAC_SHA224 Algorithm = hmacPrefix + "-" + sha224String - HMAC_SHA256 Algorithm = hmacPrefix + "-" + sha256String - HMAC_SHA384 Algorithm = hmacPrefix + "-" + sha384String - HMAC_SHA512 Algorithm = hmacPrefix + "-" + sha512String - HMAC_RIPEMD160 Algorithm = hmacPrefix + "-" + ripemd160String - HMAC_SHA3_224 Algorithm = hmacPrefix + "-" + sha3_224String - HMAC_SHA3_256 Algorithm = hmacPrefix + "-" + sha3_256String - HMAC_SHA3_384 Algorithm = hmacPrefix + "-" + sha3_384String - HMAC_SHA3_512 Algorithm = hmacPrefix + "-" + sha3_512String - HMAC_SHA512_224 Algorithm = hmacPrefix + "-" + sha512_224String - HMAC_SHA512_256 Algorithm = hmacPrefix + "-" + sha512_256String - HMAC_BLAKE2S_256 Algorithm = hmacPrefix + "-" + blake2s_256String - HMAC_BLAKE2B_256 Algorithm = hmacPrefix + "-" + blake2b_256String - HMAC_BLAKE2B_384 Algorithm = hmacPrefix + "-" + blake2b_384String - HMAC_BLAKE2B_512 Algorithm = hmacPrefix + "-" + blake2b_512String - BLAKE2S_256 Algorithm = blake2s_256String - BLAKE2B_256 Algorithm = blake2b_256String - BLAKE2B_384 Algorithm = blake2b_384String - BLAKE2B_512 Algorithm = blake2b_512String - // RSA-based algorithms. - RSA_SHA1 Algorithm = rsaPrefix + "-" + sha1String - RSA_SHA224 Algorithm = rsaPrefix + "-" + sha224String - // RSA_SHA256 is the default algorithm. - RSA_SHA256 Algorithm = rsaPrefix + "-" + sha256String - RSA_SHA384 Algorithm = rsaPrefix + "-" + sha384String - RSA_SHA512 Algorithm = rsaPrefix + "-" + sha512String - RSA_RIPEMD160 Algorithm = rsaPrefix + "-" + ripemd160String - // ECDSA algorithms - ECDSA_SHA224 Algorithm = ecdsaPrefix + "-" + sha224String - ECDSA_SHA256 Algorithm = ecdsaPrefix + "-" + sha256String - ECDSA_SHA384 Algorithm = ecdsaPrefix + "-" + sha384String - ECDSA_SHA512 Algorithm = ecdsaPrefix + "-" + sha512String - ECDSA_RIPEMD160 Algorithm = ecdsaPrefix + "-" + ripemd160String - // ED25519 algorithms - // can only be SHA512 - ED25519 Algorithm = ed25519Prefix - - // Just because you can glue things together, doesn't mean they will - // work. The following options are not supported. - rsa_SHA3_224 Algorithm = rsaPrefix + "-" + sha3_224String - rsa_SHA3_256 Algorithm = rsaPrefix + "-" + sha3_256String - rsa_SHA3_384 Algorithm = rsaPrefix + "-" + sha3_384String - rsa_SHA3_512 Algorithm = rsaPrefix + "-" + sha3_512String - rsa_SHA512_224 Algorithm = rsaPrefix + "-" + sha512_224String - rsa_SHA512_256 Algorithm = rsaPrefix + "-" + sha512_256String - rsa_BLAKE2S_256 Algorithm = rsaPrefix + "-" + blake2s_256String - rsa_BLAKE2B_256 Algorithm = rsaPrefix + "-" + blake2b_256String - rsa_BLAKE2B_384 Algorithm = rsaPrefix + "-" + blake2b_384String - rsa_BLAKE2B_512 Algorithm = rsaPrefix + "-" + blake2b_512String -) - -// HTTP Signatures can be applied to different HTTP headers, depending on the -// expected application behavior. -type SignatureScheme string - -const ( - // Signature will place the HTTP Signature into the 'Signature' HTTP - // header. - Signature SignatureScheme = "Signature" - // Authorization will place the HTTP Signature into the 'Authorization' - // HTTP header. - Authorization SignatureScheme = "Authorization" -) - -const ( - // The HTTP Signatures specification uses the "Signature" auth-scheme - // for the Authorization header. This is coincidentally named, but not - // semantically the same, as the "Signature" HTTP header value. - signatureAuthScheme = "Signature" -) - -// There are subtle differences to the values in the header. The Authorization -// header has an 'auth-scheme' value that must be prefixed to the rest of the -// key and values. -func (s SignatureScheme) authScheme() string { - switch s { - case Authorization: - return signatureAuthScheme - default: - return "" - } -} - -// Signers will sign HTTP requests or responses based on the algorithms and -// headers selected at creation time. -// -// Signers are not safe to use between multiple goroutines. -// -// Note that signatures do set the deprecated 'algorithm' parameter for -// backwards compatibility. -type Signer interface { - // SignRequest signs the request using a private key. The public key id - // is used by the HTTP server to identify which key to use to verify the - // signature. - // - // If the Signer was created using a MAC based algorithm, then the key - // is expected to be of type []byte. If the Signer was created using an - // RSA based algorithm, then the private key is expected to be of type - // *rsa.PrivateKey. - // - // A Digest (RFC 3230) will be added to the request. The body provided - // must match the body used in the request, and is allowed to be nil. - // The Digest ensures the request body is not tampered with in flight, - // and if the signer is created to also sign the "Digest" header, the - // HTTP Signature will then ensure both the Digest and body are not both - // modified to maliciously represent different content. - SignRequest(pKey crypto.PrivateKey, pubKeyId string, r *http.Request, body []byte) error - // SignResponse signs the response using a private key. The public key - // id is used by the HTTP client to identify which key to use to verify - // the signature. - // - // If the Signer was created using a MAC based algorithm, then the key - // is expected to be of type []byte. If the Signer was created using an - // RSA based algorithm, then the private key is expected to be of type - // *rsa.PrivateKey. - // - // A Digest (RFC 3230) will be added to the response. The body provided - // must match the body written in the response, and is allowed to be - // nil. The Digest ensures the response body is not tampered with in - // flight, and if the signer is created to also sign the "Digest" - // header, the HTTP Signature will then ensure both the Digest and body - // are not both modified to maliciously represent different content. - SignResponse(pKey crypto.PrivateKey, pubKeyId string, r http.ResponseWriter, body []byte) error -} - -// NewSigner creates a new Signer with the provided algorithm preferences to -// make HTTP signatures. Only the first available algorithm will be used, which -// is returned by this function along with the Signer. If none of the preferred -// algorithms were available, then the default algorithm is used. The headers -// specified will be included into the HTTP signatures. -// -// The Digest will also be calculated on a request's body using the provided -// digest algorithm, if "Digest" is one of the headers listed. -// -// The provided scheme determines which header is populated with the HTTP -// Signature. -// -// An error is returned if an unknown or a known cryptographically insecure -// Algorithm is provided. -func NewSigner(prefs []Algorithm, dAlgo DigestAlgorithm, headers []string, scheme SignatureScheme, expiresIn int64) (Signer, Algorithm, error) { - for _, pref := range prefs { - s, err := newSigner(pref, dAlgo, headers, scheme, expiresIn) - if err != nil { - continue - } - return s, pref, err - } - s, err := newSigner(defaultAlgorithm, dAlgo, headers, scheme, expiresIn) - return s, defaultAlgorithm, err -} - -// Signers will sign HTTP requests or responses based on the algorithms and -// headers selected at creation time. -// -// Signers are not safe to use between multiple goroutines. -// -// Note that signatures do set the deprecated 'algorithm' parameter for -// backwards compatibility. -type SSHSigner interface { - // SignRequest signs the request using ssh.Signer. - // The public key id is used by the HTTP server to identify which key to use - // to verify the signature. - // - // A Digest (RFC 3230) will be added to the request. The body provided - // must match the body used in the request, and is allowed to be nil. - // The Digest ensures the request body is not tampered with in flight, - // and if the signer is created to also sign the "Digest" header, the - // HTTP Signature will then ensure both the Digest and body are not both - // modified to maliciously represent different content. - SignRequest(pubKeyId string, r *http.Request, body []byte) error - // SignResponse signs the response using ssh.Signer. The public key - // id is used by the HTTP client to identify which key to use to verify - // the signature. - // - // A Digest (RFC 3230) will be added to the response. The body provided - // must match the body written in the response, and is allowed to be - // nil. The Digest ensures the response body is not tampered with in - // flight, and if the signer is created to also sign the "Digest" - // header, the HTTP Signature will then ensure both the Digest and body - // are not both modified to maliciously represent different content. - SignResponse(pubKeyId string, r http.ResponseWriter, body []byte) error -} - -// NewwSSHSigner creates a new Signer using the specified ssh.Signer -// At the moment only ed25519 ssh keys are supported. -// The headers specified will be included into the HTTP signatures. -// -// The Digest will also be calculated on a request's body using the provided -// digest algorithm, if "Digest" is one of the headers listed. -// -// The provided scheme determines which header is populated with the HTTP -// Signature. -func NewSSHSigner(s ssh.Signer, dAlgo DigestAlgorithm, headers []string, scheme SignatureScheme, expiresIn int64) (SSHSigner, Algorithm, error) { - sshAlgo := getSSHAlgorithm(s.PublicKey().Type()) - if sshAlgo == "" { - return nil, "", fmt.Errorf("key type: %s not supported yet.", s.PublicKey().Type()) - } - - signer, err := newSSHSigner(s, sshAlgo, dAlgo, headers, scheme, expiresIn) - if err != nil { - return nil, "", err - } - - return signer, sshAlgo, nil -} - -func getSSHAlgorithm(pkType string) Algorithm { - switch { - case strings.HasPrefix(pkType, sshPrefix+"-"+ed25519Prefix): - return ED25519 - case strings.HasPrefix(pkType, sshPrefix+"-"+rsaPrefix): - return RSA_SHA1 - } - - return "" -} - -// Verifier verifies HTTP Signatures. -// -// It will determine which of the supported headers has the parameters -// that define the signature. -// -// Verifiers are not safe to use between multiple goroutines. -// -// Note that verification ignores the deprecated 'algorithm' parameter. -type Verifier interface { - // KeyId gets the public key id that the signature is signed with. - // - // Note that the application is expected to determine the algorithm - // used based on metadata or out-of-band information for this key id. - KeyId() string - // Verify accepts the public key specified by KeyId and returns an - // error if verification fails or if the signature is malformed. The - // algorithm must be the one used to create the signature in order to - // pass verification. The algorithm is determined based on metadata or - // out-of-band information for the key id. - // - // If the signature was created using a MAC based algorithm, then the - // key is expected to be of type []byte. If the signature was created - // using an RSA based algorithm, then the public key is expected to be - // of type *rsa.PublicKey. - Verify(pKey crypto.PublicKey, algo Algorithm) error -} - -const ( - // host is treated specially because golang may not include it in the - // request header map on the server side of a request. - hostHeader = "Host" -) - -// NewVerifier verifies the given request. It returns an error if the HTTP -// Signature parameters are not present in any headers, are present in more than -// one header, are malformed, or are missing required parameters. It ignores -// unknown HTTP Signature parameters. -func NewVerifier(r *http.Request) (Verifier, error) { - h := r.Header - if _, hasHostHeader := h[hostHeader]; len(r.Host) > 0 && !hasHostHeader { - h[hostHeader] = []string{r.Host} - } - return newVerifier(h, func(h http.Header, toInclude []string, created int64, expires int64) (string, error) { - return signatureString(h, toInclude, addRequestTarget(r), created, expires) - }) -} - -// NewResponseVerifier verifies the given response. It returns errors under the -// same conditions as NewVerifier. -func NewResponseVerifier(r *http.Response) (Verifier, error) { - return newVerifier(r.Header, func(h http.Header, toInclude []string, created int64, expires int64) (string, error) { - return signatureString(h, toInclude, requestTargetNotPermitted, created, expires) - }) -} - -func newSSHSigner(sshSigner ssh.Signer, algo Algorithm, dAlgo DigestAlgorithm, headers []string, scheme SignatureScheme, expiresIn int64) (SSHSigner, error) { - var expires, created int64 = 0, 0 - - if expiresIn != 0 { - created = time.Now().Unix() - expires = created + expiresIn - } - - s, err := signerFromSSHSigner(sshSigner, string(algo)) - if err != nil { - return nil, fmt.Errorf("no crypto implementation available for ssh algo %q", algo) - } - - a := &asymmSSHSigner{ - asymmSigner: &asymmSigner{ - s: s, - dAlgo: dAlgo, - headers: headers, - targetHeader: scheme, - prefix: scheme.authScheme(), - created: created, - expires: expires, - }, - } - - return a, nil -} - -func newSigner(algo Algorithm, dAlgo DigestAlgorithm, headers []string, scheme SignatureScheme, expiresIn int64) (Signer, error) { - - var expires, created int64 = 0, 0 - if expiresIn != 0 { - created = time.Now().Unix() - expires = created + expiresIn - } - - s, err := signerFromString(string(algo)) - if err == nil { - a := &asymmSigner{ - s: s, - dAlgo: dAlgo, - headers: headers, - targetHeader: scheme, - prefix: scheme.authScheme(), - created: created, - expires: expires, - } - return a, nil - } - m, err := macerFromString(string(algo)) - if err != nil { - return nil, fmt.Errorf("no crypto implementation available for %q", algo) - } - c := &macSigner{ - m: m, - dAlgo: dAlgo, - headers: headers, - targetHeader: scheme, - prefix: scheme.authScheme(), - created: created, - expires: expires, - } - return c, nil -} diff --git a/vendor/github.com/go-fed/httpsig/signing.go b/vendor/github.com/go-fed/httpsig/signing.go deleted file mode 100644 index e18db41cb..000000000 --- a/vendor/github.com/go-fed/httpsig/signing.go +++ /dev/null @@ -1,334 +0,0 @@ -package httpsig - -import ( - "bytes" - "crypto" - "crypto/rand" - "encoding/base64" - "fmt" - "net/http" - "net/textproto" - "strconv" - "strings" -) - -const ( - // Signature Parameters - keyIdParameter = "keyId" - algorithmParameter = "algorithm" - headersParameter = "headers" - signatureParameter = "signature" - prefixSeparater = " " - parameterKVSeparater = "=" - parameterValueDelimiter = "\"" - parameterSeparater = "," - headerParameterValueDelim = " " - // RequestTarget specifies to include the http request method and - // entire URI in the signature. Pass it as a header to NewSigner. - RequestTarget = "(request-target)" - createdKey = "created" - expiresKey = "expires" - dateHeader = "date" - - // Signature String Construction - headerFieldDelimiter = ": " - headersDelimiter = "\n" - headerValueDelimiter = ", " - requestTargetSeparator = " " -) - -var defaultHeaders = []string{dateHeader} - -var _ Signer = &macSigner{} - -type macSigner struct { - m macer - makeDigest bool - dAlgo DigestAlgorithm - headers []string - targetHeader SignatureScheme - prefix string - created int64 - expires int64 -} - -func (m *macSigner) SignRequest(pKey crypto.PrivateKey, pubKeyId string, r *http.Request, body []byte) error { - if body != nil { - err := addDigest(r, m.dAlgo, body) - if err != nil { - return err - } - } - s, err := m.signatureString(r) - if err != nil { - return err - } - enc, err := m.signSignature(pKey, s) - if err != nil { - return err - } - setSignatureHeader(r.Header, string(m.targetHeader), m.prefix, pubKeyId, m.m.String(), enc, m.headers, m.created, m.expires) - return nil -} - -func (m *macSigner) SignResponse(pKey crypto.PrivateKey, pubKeyId string, r http.ResponseWriter, body []byte) error { - if body != nil { - err := addDigestResponse(r, m.dAlgo, body) - if err != nil { - return err - } - } - s, err := m.signatureStringResponse(r) - if err != nil { - return err - } - enc, err := m.signSignature(pKey, s) - if err != nil { - return err - } - setSignatureHeader(r.Header(), string(m.targetHeader), m.prefix, pubKeyId, m.m.String(), enc, m.headers, m.created, m.expires) - return nil -} - -func (m *macSigner) signSignature(pKey crypto.PrivateKey, s string) (string, error) { - pKeyBytes, ok := pKey.([]byte) - if !ok { - return "", fmt.Errorf("private key for MAC signing must be of type []byte") - } - sig, err := m.m.Sign([]byte(s), pKeyBytes) - if err != nil { - return "", err - } - enc := base64.StdEncoding.EncodeToString(sig) - return enc, nil -} - -func (m *macSigner) signatureString(r *http.Request) (string, error) { - return signatureString(r.Header, m.headers, addRequestTarget(r), m.created, m.expires) -} - -func (m *macSigner) signatureStringResponse(r http.ResponseWriter) (string, error) { - return signatureString(r.Header(), m.headers, requestTargetNotPermitted, m.created, m.expires) -} - -var _ Signer = &asymmSigner{} - -type asymmSigner struct { - s signer - makeDigest bool - dAlgo DigestAlgorithm - headers []string - targetHeader SignatureScheme - prefix string - created int64 - expires int64 -} - -func (a *asymmSigner) SignRequest(pKey crypto.PrivateKey, pubKeyId string, r *http.Request, body []byte) error { - if body != nil { - err := addDigest(r, a.dAlgo, body) - if err != nil { - return err - } - } - s, err := a.signatureString(r) - if err != nil { - return err - } - enc, err := a.signSignature(pKey, s) - if err != nil { - return err - } - setSignatureHeader(r.Header, string(a.targetHeader), a.prefix, pubKeyId, a.s.String(), enc, a.headers, a.created, a.expires) - return nil -} - -func (a *asymmSigner) SignResponse(pKey crypto.PrivateKey, pubKeyId string, r http.ResponseWriter, body []byte) error { - if body != nil { - err := addDigestResponse(r, a.dAlgo, body) - if err != nil { - return err - } - } - s, err := a.signatureStringResponse(r) - if err != nil { - return err - } - enc, err := a.signSignature(pKey, s) - if err != nil { - return err - } - setSignatureHeader(r.Header(), string(a.targetHeader), a.prefix, pubKeyId, a.s.String(), enc, a.headers, a.created, a.expires) - return nil -} - -func (a *asymmSigner) signSignature(pKey crypto.PrivateKey, s string) (string, error) { - sig, err := a.s.Sign(rand.Reader, pKey, []byte(s)) - if err != nil { - return "", err - } - enc := base64.StdEncoding.EncodeToString(sig) - return enc, nil -} - -func (a *asymmSigner) signatureString(r *http.Request) (string, error) { - return signatureString(r.Header, a.headers, addRequestTarget(r), a.created, a.expires) -} - -func (a *asymmSigner) signatureStringResponse(r http.ResponseWriter) (string, error) { - return signatureString(r.Header(), a.headers, requestTargetNotPermitted, a.created, a.expires) -} - -var _ SSHSigner = &asymmSSHSigner{} - -type asymmSSHSigner struct { - *asymmSigner -} - -func (a *asymmSSHSigner) SignRequest(pubKeyId string, r *http.Request, body []byte) error { - return a.asymmSigner.SignRequest(nil, pubKeyId, r, body) -} - -func (a *asymmSSHSigner) SignResponse(pubKeyId string, r http.ResponseWriter, body []byte) error { - return a.asymmSigner.SignResponse(nil, pubKeyId, r, body) -} - -func setSignatureHeader(h http.Header, targetHeader, prefix, pubKeyId, algo, enc string, headers []string, created int64, expires int64) { - if len(headers) == 0 { - headers = defaultHeaders - } - var b bytes.Buffer - // KeyId - b.WriteString(prefix) - if len(prefix) > 0 { - b.WriteString(prefixSeparater) - } - b.WriteString(keyIdParameter) - b.WriteString(parameterKVSeparater) - b.WriteString(parameterValueDelimiter) - b.WriteString(pubKeyId) - b.WriteString(parameterValueDelimiter) - b.WriteString(parameterSeparater) - // Algorithm - b.WriteString(algorithmParameter) - b.WriteString(parameterKVSeparater) - b.WriteString(parameterValueDelimiter) - b.WriteString("hs2019") //real algorithm is hidden, see newest version of spec draft - b.WriteString(parameterValueDelimiter) - b.WriteString(parameterSeparater) - - hasCreated := false - hasExpires := false - for _, h := range headers { - val := strings.ToLower(h) - if val == "("+createdKey+")" { - hasCreated = true - } else if val == "("+expiresKey+")" { - hasExpires = true - } - } - - // Created - if hasCreated == true { - b.WriteString(createdKey) - b.WriteString(parameterKVSeparater) - b.WriteString(strconv.FormatInt(created, 10)) - b.WriteString(parameterSeparater) - } - - // Expires - if hasExpires == true { - b.WriteString(expiresKey) - b.WriteString(parameterKVSeparater) - b.WriteString(strconv.FormatInt(expires, 10)) - b.WriteString(parameterSeparater) - } - - // Headers - b.WriteString(headersParameter) - b.WriteString(parameterKVSeparater) - b.WriteString(parameterValueDelimiter) - for i, h := range headers { - b.WriteString(strings.ToLower(h)) - if i != len(headers)-1 { - b.WriteString(headerParameterValueDelim) - } - } - b.WriteString(parameterValueDelimiter) - b.WriteString(parameterSeparater) - // Signature - b.WriteString(signatureParameter) - b.WriteString(parameterKVSeparater) - b.WriteString(parameterValueDelimiter) - b.WriteString(enc) - b.WriteString(parameterValueDelimiter) - h.Add(targetHeader, b.String()) -} - -func requestTargetNotPermitted(b *bytes.Buffer) error { - return fmt.Errorf("cannot sign with %q on anything other than an http request", RequestTarget) -} - -func addRequestTarget(r *http.Request) func(b *bytes.Buffer) error { - return func(b *bytes.Buffer) error { - b.WriteString(RequestTarget) - b.WriteString(headerFieldDelimiter) - b.WriteString(strings.ToLower(r.Method)) - b.WriteString(requestTargetSeparator) - b.WriteString(r.URL.Path) - - if r.URL.RawQuery != "" { - b.WriteString("?") - b.WriteString(r.URL.RawQuery) - } - - return nil - } -} - -func signatureString(values http.Header, include []string, requestTargetFn func(b *bytes.Buffer) error, created int64, expires int64) (string, error) { - if len(include) == 0 { - include = defaultHeaders - } - var b bytes.Buffer - for n, i := range include { - i := strings.ToLower(i) - if i == RequestTarget { - err := requestTargetFn(&b) - if err != nil { - return "", err - } - } else if i == "("+expiresKey+")" { - if expires == 0 { - return "", fmt.Errorf("missing expires value") - } - b.WriteString(i) - b.WriteString(headerFieldDelimiter) - b.WriteString(strconv.FormatInt(expires, 10)) - } else if i == "("+createdKey+")" { - if created == 0 { - return "", fmt.Errorf("missing created value") - } - b.WriteString(i) - b.WriteString(headerFieldDelimiter) - b.WriteString(strconv.FormatInt(created, 10)) - } else { - hv, ok := values[textproto.CanonicalMIMEHeaderKey(i)] - if !ok { - return "", fmt.Errorf("missing header %q", i) - } - b.WriteString(i) - b.WriteString(headerFieldDelimiter) - for i, v := range hv { - b.WriteString(strings.TrimSpace(v)) - if i < len(hv)-1 { - b.WriteString(headerValueDelimiter) - } - } - } - if n < len(include)-1 { - b.WriteString(headersDelimiter) - } - } - return b.String(), nil -} diff --git a/vendor/github.com/go-fed/httpsig/verifying.go b/vendor/github.com/go-fed/httpsig/verifying.go deleted file mode 100644 index 6d8df02ce..000000000 --- a/vendor/github.com/go-fed/httpsig/verifying.go +++ /dev/null @@ -1,184 +0,0 @@ -package httpsig - -import ( - "crypto" - "encoding/base64" - "errors" - "fmt" - "net/http" - "strconv" - "strings" - "time" -) - -var _ Verifier = &verifier{} - -type verifier struct { - header http.Header - kId string - signature string - created int64 - expires int64 - headers []string - sigStringFn func(http.Header, []string, int64, int64) (string, error) -} - -func newVerifier(h http.Header, sigStringFn func(http.Header, []string, int64, int64) (string, error)) (*verifier, error) { - scheme, s, err := getSignatureScheme(h) - if err != nil { - return nil, err - } - kId, sig, headers, created, expires, err := getSignatureComponents(scheme, s) - if created != 0 { - //check if created is not in the future, we assume a maximum clock offset of 10 seconds - now := time.Now().Unix() - if created-now > 10 { - return nil, errors.New("created is in the future") - } - } - if expires != 0 { - //check if expires is in the past, we assume a maximum clock offset of 10 seconds - now := time.Now().Unix() - if now-expires > 10 { - return nil, errors.New("signature expired") - } - } - if err != nil { - return nil, err - } - return &verifier{ - header: h, - kId: kId, - signature: sig, - created: created, - expires: expires, - headers: headers, - sigStringFn: sigStringFn, - }, nil -} - -func (v *verifier) KeyId() string { - return v.kId -} - -func (v *verifier) Verify(pKey crypto.PublicKey, algo Algorithm) error { - s, err := signerFromString(string(algo)) - if err == nil { - return v.asymmVerify(s, pKey) - } - m, err := macerFromString(string(algo)) - if err == nil { - return v.macVerify(m, pKey) - } - return fmt.Errorf("no crypto implementation available for %q", algo) -} - -func (v *verifier) macVerify(m macer, pKey crypto.PublicKey) error { - key, ok := pKey.([]byte) - if !ok { - return fmt.Errorf("public key for MAC verifying must be of type []byte") - } - signature, err := v.sigStringFn(v.header, v.headers, v.created, v.expires) - if err != nil { - return err - } - actualMAC, err := base64.StdEncoding.DecodeString(v.signature) - if err != nil { - return err - } - ok, err = m.Equal([]byte(signature), actualMAC, key) - if err != nil { - return err - } else if !ok { - return fmt.Errorf("invalid http signature") - } - return nil -} - -func (v *verifier) asymmVerify(s signer, pKey crypto.PublicKey) error { - toHash, err := v.sigStringFn(v.header, v.headers, v.created, v.expires) - if err != nil { - return err - } - signature, err := base64.StdEncoding.DecodeString(v.signature) - if err != nil { - return err - } - err = s.Verify(pKey, []byte(toHash), signature) - if err != nil { - return err - } - return nil -} - -func getSignatureScheme(h http.Header) (scheme SignatureScheme, val string, err error) { - s := h.Get(string(Signature)) - sigHasAll := strings.Contains(s, keyIdParameter) || - strings.Contains(s, headersParameter) || - strings.Contains(s, signatureParameter) - a := h.Get(string(Authorization)) - authHasAll := strings.Contains(a, keyIdParameter) || - strings.Contains(a, headersParameter) || - strings.Contains(a, signatureParameter) - if sigHasAll && authHasAll { - err = fmt.Errorf("both %q and %q have signature parameters", Signature, Authorization) - return - } else if !sigHasAll && !authHasAll { - err = fmt.Errorf("neither %q nor %q have signature parameters", Signature, Authorization) - return - } else if sigHasAll { - val = s - scheme = Signature - return - } else { // authHasAll - val = a - scheme = Authorization - return - } -} - -func getSignatureComponents(scheme SignatureScheme, s string) (kId, sig string, headers []string, created int64, expires int64, err error) { - if as := scheme.authScheme(); len(as) > 0 { - s = strings.TrimPrefix(s, as+prefixSeparater) - } - params := strings.Split(s, parameterSeparater) - for _, p := range params { - kv := strings.SplitN(p, parameterKVSeparater, 2) - if len(kv) != 2 { - err = fmt.Errorf("malformed http signature parameter: %v", kv) - return - } - k := kv[0] - v := strings.Trim(kv[1], parameterValueDelimiter) - switch k { - case keyIdParameter: - kId = v - case createdKey: - created, err = strconv.ParseInt(v, 10, 64) - if err != nil { - return - } - case expiresKey: - expires, err = strconv.ParseInt(v, 10, 64) - if err != nil { - return - } - case algorithmParameter: - // Deprecated, ignore - case headersParameter: - headers = strings.Split(v, headerParameterValueDelim) - case signatureParameter: - sig = v - default: - // Ignore unrecognized parameters - } - } - if len(kId) == 0 { - err = fmt.Errorf("missing %q parameter in http signature", keyIdParameter) - } else if len(sig) == 0 { - err = fmt.Errorf("missing %q parameter in http signature", signatureParameter) - } else if len(headers) == 0 { // Optional - headers = defaultHeaders - } - return -} diff --git a/vendor/modules.txt b/vendor/modules.txt index ae358fc29..ba0a1c7e6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,3 +1,220 @@ +# code.superseriousbusiness.org/activity v1.15.0 +## explicit; go 1.23 +code.superseriousbusiness.org/activity/pub +code.superseriousbusiness.org/activity/streams +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_accuracy +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_alsoknownas +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_altitude +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_content +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_current +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_deleted +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_duration +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endpoints +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_endtime +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_first +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_followers +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_following +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_height +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_href +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_hreflang +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_icon +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_image +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inbox +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_last +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_latitude +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_liked +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_likes +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_longitude +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_mediatype +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_movedto +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_name +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_next +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_outbox +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_partof +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preferredusername +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_prev +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_published +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_radius +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_rel +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_replies +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sensitive +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_sharedinbox +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_shares +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_startindex +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_starttime +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_streams +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_summary +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_totalitems +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_units +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_updated +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_url +code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_width +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_accept +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_add +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_announce +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_arrive +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_article +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_audio +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_block +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collection +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_collectionpage +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_create +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_delete +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_dislike +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_document +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_endpoints +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_event +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_flag +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_follow +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_ignore +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_image +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_intransitiveactivity +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_invite +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_join +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_leave +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_like +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_listen +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_move +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_note +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_offer +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollection +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_orderedcollectionpage +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_page +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_place +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_profile +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_question +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_read +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_reject +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_relationship +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_remove +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativeaccept +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tentativereject +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_tombstone +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_travel +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_undo +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_update +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_video +code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_view +code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_album +code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_artist +code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_library +code.superseriousbusiness.org/activity/streams/impl/funkwhale/type_track +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_always +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvalrequired +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_approvedby +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_automaticapproval +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canannounce +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canlike +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canquote +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_canreply +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactingobject +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactionpolicy +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_interactiontarget +code.superseriousbusiness.org/activity/streams/impl/gotosocial/property_manualapproval +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceapproval +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announceauthorization +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_announcerequest +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canannounce +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canlike +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canquote +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_canreply +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_interactionpolicy +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeapproval +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likeauthorization +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_likerequest +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyapproval +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyauthorization +code.superseriousbusiness.org/activity/streams/impl/gotosocial/type_replyrequest +code.superseriousbusiness.org/activity/streams/impl/jsonld/property_id +code.superseriousbusiness.org/activity/streams/impl/jsonld/property_type +code.superseriousbusiness.org/activity/streams/impl/schema/property_value +code.superseriousbusiness.org/activity/streams/impl/schema/type_propertyvalue +code.superseriousbusiness.org/activity/streams/impl/toot/property_blurhash +code.superseriousbusiness.org/activity/streams/impl/toot/property_discoverable +code.superseriousbusiness.org/activity/streams/impl/toot/property_featured +code.superseriousbusiness.org/activity/streams/impl/toot/property_focalpoint +code.superseriousbusiness.org/activity/streams/impl/toot/property_indexable +code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturealgorithm +code.superseriousbusiness.org/activity/streams/impl/toot/property_signaturevalue +code.superseriousbusiness.org/activity/streams/impl/toot/property_voterscount +code.superseriousbusiness.org/activity/streams/impl/toot/type_emoji +code.superseriousbusiness.org/activity/streams/impl/toot/type_hashtag +code.superseriousbusiness.org/activity/streams/impl/toot/type_identityproof +code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_owner +code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickey +code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/property_publickeypem +code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey +code.superseriousbusiness.org/activity/streams/values/anyURI +code.superseriousbusiness.org/activity/streams/values/bcp47 +code.superseriousbusiness.org/activity/streams/values/boolean +code.superseriousbusiness.org/activity/streams/values/dateTime +code.superseriousbusiness.org/activity/streams/values/duration +code.superseriousbusiness.org/activity/streams/values/float +code.superseriousbusiness.org/activity/streams/values/langString +code.superseriousbusiness.org/activity/streams/values/nonNegativeInteger +code.superseriousbusiness.org/activity/streams/values/rfc2045 +code.superseriousbusiness.org/activity/streams/values/rfc5988 +code.superseriousbusiness.org/activity/streams/values/string +code.superseriousbusiness.org/activity/streams/vocab +# code.superseriousbusiness.org/exif-terminator v0.11.0 +## explicit; go 1.23 +code.superseriousbusiness.org/exif-terminator +# code.superseriousbusiness.org/go-jpeg-image-structure/v2 v2.3.0 +## explicit; go 1.17 +code.superseriousbusiness.org/go-jpeg-image-structure/v2 +# code.superseriousbusiness.org/go-png-image-structure/v2 v2.3.0 +## explicit; go 1.12 +code.superseriousbusiness.org/go-png-image-structure/v2 +# code.superseriousbusiness.org/httpsig v1.4.0 +## explicit; go 1.21 +code.superseriousbusiness.org/httpsig +# code.superseriousbusiness.org/oauth2/v4 v4.8.0 +## explicit; go 1.23.0 +code.superseriousbusiness.org/oauth2/v4 +code.superseriousbusiness.org/oauth2/v4/errors +code.superseriousbusiness.org/oauth2/v4/generates +code.superseriousbusiness.org/oauth2/v4/manage +code.superseriousbusiness.org/oauth2/v4/models +code.superseriousbusiness.org/oauth2/v4/server # codeberg.org/gruf/go-bytes v1.0.2 ## explicit; go 1.14 codeberg.org/gruf/go-bytes @@ -66,223 +283,6 @@ codeberg.org/gruf/go-storage/s3 # codeberg.org/gruf/go-structr v0.9.6 ## explicit; go 1.22 codeberg.org/gruf/go-structr -# codeberg.org/superseriousbusiness/activity v1.14.0 -## explicit; go 1.21 -codeberg.org/superseriousbusiness/activity/pub -codeberg.org/superseriousbusiness/activity/streams -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_alsoknownas -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_content -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_current -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_duration -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endpoints -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_first -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_followers -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_following -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_height -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_href -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_icon -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_image -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_last -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_liked -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_likes -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_movedto -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_name -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_next -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_partof -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_prev -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_published -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_radius -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_rel -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_replies -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_sharedinbox -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_shares -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_streams -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_summary -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_units -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_updated -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_url -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_width -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_accept -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_add -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_announce -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_article -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_block -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collection -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_create -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_delete -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_event -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_flag -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_follow -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_invite -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_join -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_leave -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_like -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_listen -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_move -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_note -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_offer -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_place -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_profile -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_question -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_read -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_reject -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_remove -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_travel -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_undo -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video -codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view -codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album -codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist -codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library -codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization -codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest -codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id -codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type -codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value -codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue -codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount -codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_emoji -codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag -codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_identityproof -codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner -codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey -codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem -codeberg.org/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey -codeberg.org/superseriousbusiness/activity/streams/values/anyURI -codeberg.org/superseriousbusiness/activity/streams/values/bcp47 -codeberg.org/superseriousbusiness/activity/streams/values/boolean -codeberg.org/superseriousbusiness/activity/streams/values/dateTime -codeberg.org/superseriousbusiness/activity/streams/values/duration -codeberg.org/superseriousbusiness/activity/streams/values/float -codeberg.org/superseriousbusiness/activity/streams/values/langString -codeberg.org/superseriousbusiness/activity/streams/values/nonNegativeInteger -codeberg.org/superseriousbusiness/activity/streams/values/rfc2045 -codeberg.org/superseriousbusiness/activity/streams/values/rfc5988 -codeberg.org/superseriousbusiness/activity/streams/values/string -codeberg.org/superseriousbusiness/activity/streams/vocab -# codeberg.org/superseriousbusiness/exif-terminator v0.10.0 -## explicit; go 1.21 -codeberg.org/superseriousbusiness/exif-terminator -# codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB -## explicit; go 1.17 -codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 -# codeberg.org/superseriousbusiness/go-png-image-structure/v2 v2.1.0-SSB -## explicit; go 1.12 -codeberg.org/superseriousbusiness/go-png-image-structure/v2 -# codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB -## explicit; go 1.21 -codeberg.org/superseriousbusiness/httpsig -# codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB -## explicit; go 1.23.0 -codeberg.org/superseriousbusiness/oauth2/v4 -codeberg.org/superseriousbusiness/oauth2/v4/errors -codeberg.org/superseriousbusiness/oauth2/v4/generates -codeberg.org/superseriousbusiness/oauth2/v4/manage -codeberg.org/superseriousbusiness/oauth2/v4/models -codeberg.org/superseriousbusiness/oauth2/v4/server # github.com/DmitriyVTitov/size v1.5.0 ## explicit; go 1.14 github.com/DmitriyVTitov/size @@ -437,9 +437,6 @@ github.com/gin-gonic/gin/render # github.com/go-errors/errors v1.1.1 ## explicit; go 1.14 github.com/go-errors/errors -# github.com/go-fed/httpsig v1.1.0 -## explicit; go 1.13 -github.com/go-fed/httpsig # github.com/go-ini/ini v1.67.0 ## explicit github.com/go-ini/ini From 034d58069c1ec92f8ae58359bdfd7a3119afe67d Mon Sep 17 00:00:00 2001 From: Daenney Date: Fri, 25 Apr 2025 17:33:10 +0200 Subject: [PATCH 04/31] [chore] Set up Github to be a mirror --- .github/FUNDING.yml | 2 - .github/ISSUE_TEMPLATE/bug_frontend.yaml | 67 ------------------ .github/ISSUE_TEMPLATE/bug_report.yaml | 76 --------------------- .github/ISSUE_TEMPLATE/custom.md | 8 --- .github/ISSUE_TEMPLATE/feature_request.yaml | 44 ------------ .github/README.md | 3 + .github/dependabot.yml | 15 ---- .github/pull_request_template.md | 27 -------- .github/workflows/autoclose.yaml | 30 ++++++++ 9 files changed, 33 insertions(+), 239 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_frontend.yaml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/custom.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml create mode 100644 .github/README.md delete mode 100644 .github/dependabot.yml delete mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/autoclose.yaml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index e468f77f8..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -open_collective: gotosocial -liberapay: GoToSocial diff --git a/.github/ISSUE_TEMPLATE/bug_frontend.yaml b/.github/ISSUE_TEMPLATE/bug_frontend.yaml deleted file mode 100644 index 23ddb4d31..000000000 --- a/.github/ISSUE_TEMPLATE/bug_frontend.yaml +++ /dev/null @@ -1,67 +0,0 @@ -name: Frontend Bug Report -description: Report an issue related to the web frontend -title: "[bug/frontend] Issue Title" -labels: ["bug", "frontend"] -assignees: [] - -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! Please be cautious with the sensitive information/logs while filing the issue. - - - type: textarea - id: desc - attributes: - label: Describe the bug with a clear and concise description of what the bug is. Please include screenshots of any visual issues. - validations: - required: true - - - type: input - id: GoToSocial-Version - attributes: - label: What's your GoToSocial Version? - description: Enter the Version of your GoToSocial Installation - placeholder: e.g. v0.3.4 - validations: - required: true - - - type: input - id: Browser-Version - attributes: - label: Browser version - description: What browser(s) and versions are you using that show this bug? - placeholder: Firefox 103.0b9 (64-bit) - validations: - required: true - - - type: textarea - id: what-happened - attributes: - label: What happened? - description: Enter exactly what happened. - validations: - required: false - - - type: textarea - id: what-expected - attributes: - label: What you expected to happen? - description: Enter what you expected to happen. - validations: - required: false - - - type: textarea - id: how-to-reproduce - attributes: - label: How to reproduce it? - description: As minimally and precisely as possible. - validations: - required: false - - - type: textarea - id: anything-else - attributes: - label: Anything else we need to know? - validations: - required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml deleted file mode 100644 index a233c6e76..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ /dev/null @@ -1,76 +0,0 @@ -name: Bug Report -description: Create a report to help us improve -title: "[bug] Issue Title" -labels: [bug] -assignees: [] - -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! Please be cautious with the sensitive information/logs while filing the issue. - - type: markdown - attributes: - value: | - ⚠️ If you're reporting an interoperability issue with a **closed source** - ActivityPub/Mastodon client or server, please report the issue to the - developers of that client or server instead. Without access to their - source debugging the issue is difficult for us. Since GoToSocial is - open source, developers of closed source implementations can run a copy - and autonomously debug the issue. We'll gladly address any bugs they - raise with us. - - type: textarea - id: desc - attributes: - label: Describe the bug with a clear and concise description of what the bug is. - validations: - required: true - - - type: input - id: GoToSocial-Version - attributes: - label: What's your GoToSocial Version? - description: Enter the Version of your GoToSocial Installation - placeholder: e.g. v0.3.4 - validations: - required: true - - - type: input - id: GoToSocial-Arch - attributes: - label: GoToSocial Arch - description: What architecture do you use and did you do a Binary or Docker installation? - placeholder: e.g. arm64 Docker or arm64 Binary - validations: - required: false - - - type: textarea - id: what-happened - attributes: - label: What happened? - description: Enter exactly what happened. - validations: - required: false - - - type: textarea - id: what-expected - attributes: - label: What you expected to happen? - description: Enter what you expected to happen. - validations: - required: false - - - type: textarea - id: how-to-reproduce - attributes: - label: How to reproduce it? - description: As minimally and precisely as possible. - validations: - required: false - - - type: textarea - id: anything-else - attributes: - label: Anything else we need to know? - validations: - required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 003a76f2d..000000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: '' - ---- \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml deleted file mode 100644 index 0b07560ac..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: Feature request -description: Suggest an idea for this project -title: "[feature] Issue Title" -labels: [enhancement] -assignees: - - -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this feature request! - - - type: textarea - id: desc - attributes: - label: Is your feature request related to a problem ? - description: Give a clear and concise description of what the problem is. - placeholder: ex. I'm always frustrated when [...] - validations: - required: true - - - type: textarea - id: prop-solution - attributes: - label: Describe the solution you'd like. - description: A clear and concise description of what you want to happen. - validations: - required: true - - - type: textarea - id: alternatives - attributes: - label: Describe alternatives you've considered. - description: A clear and concise description of any alternative solutions or features you've considered. If nothing, please enter `NONE` - validations: - required: true - - - type: textarea - id: additional-ctxt - attributes: - label: Additional context. - description: Add any other context or screenshots about the feature request here. - validations: - required: false \ No newline at end of file diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 000000000..2e7b6aa0a --- /dev/null +++ b/.github/README.md @@ -0,0 +1,3 @@ +# GoToSocial + +This is a mirror. You can find us on https://codeberg.org/superseriousbusiness/gotosocial. diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index a636b39f7..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,15 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "gomod" # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: "weekly" - commit-message: - prefix: "[chore]" - labels: - - "chore" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index b6a399dae..000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,27 +0,0 @@ -# Description - -> If this is a code change, please include a summary of what you've coded, and link to the issue(s) it closes/implements. -> -> If this is a documentation change, please briefly describe what you've changed and why. - -This pull request implements xyz or fixes abc. - -closes #(issue) -closes #(another issue) - -## Checklist - -Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]` - -If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want). - -- [ ] I/we have read the [GoToSocial contribution guidelines](https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md). -- [ ] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat. -- [ ] I/we have not leveraged AI to create the proposed changes. -- [ ] I/we have performed a self-review of added code. -- [ ] I/we have written code that is legible and maintainable by others. -- [ ] I/we have commented the added code, particularly in hard-to-understand areas. -- [ ] I/we have made any necessary changes to documentation. -- [ ] I/we have added tests that cover new code. -- [ ] I/we have run tests and they pass locally with the changes. -- [ ] I/we have run `go fmt ./...` and `golangci-lint run`. diff --git a/.github/workflows/autoclose.yaml b/.github/workflows/autoclose.yaml new file mode 100644 index 000000000..39de87428 --- /dev/null +++ b/.github/workflows/autoclose.yaml @@ -0,0 +1,30 @@ +on: + issues: + types: [opened] + pull_request_target: + types: [opened] + +permissions: + issues: write + pull-requests: write + +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: issue + if: ${{ github.event.issue.id != '' }} + run: | + gh issue close $ISSUE --comment "This repository is a mirror. Please open issues on https://codeberg.org/superseriousbusiness/gotosocial." --reason "not planned" + gh issue lock $ISSUE + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE: ${{ github.event.issue.html_url }} + - name: pr + if: ${{ github.event.pull_request.id != '' }} + run: | + gh pr close $PULL_REQUEST --comment "This repository is a mirror. Please open PRs on https://codeberg.org/superseriousbusiness/gotosocial." + gh pr lock $PULL_REQUEST + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PULL_REQUEST: ${{ github.event.pull_request.html_url }} From 27edfccf7dc4f7ad329dabfb12fa75e547ecdd40 Mon Sep 17 00:00:00 2001 From: Daenney Date: Sat, 26 Apr 2025 15:34:10 +0200 Subject: [PATCH 05/31] [feature] Move to code.superseriousbusiness.org --- README.md | 20 +- .../nlnet/2022-user-operated-internet-fund.md | 4 +- cmd/gen-ulid/main.go | 2 +- .../action/admin/account/account.go | 16 +- cmd/gotosocial/action/admin/media/list.go | 16 +- .../action/admin/media/prune/all.go | 8 +- .../action/admin/media/prune/common.go | 14 +- .../action/admin/media/prune/orphaned.go | 8 +- .../action/admin/media/prune/remote.go | 8 +- cmd/gotosocial/action/admin/trans/export.go | 10 +- cmd/gotosocial/action/admin/trans/import.go | 10 +- cmd/gotosocial/action/debug/config/config.go | 4 +- cmd/gotosocial/action/server/server.go | 70 +++---- cmd/gotosocial/action/testrig/no_testrig.go | 2 +- cmd/gotosocial/action/testrig/testrig.go | 44 ++--- cmd/gotosocial/admin.go | 10 +- cmd/gotosocial/common.go | 6 +- cmd/gotosocial/debug.go | 4 +- cmd/gotosocial/main.go | 4 +- cmd/gotosocial/server.go | 4 +- cmd/gotosocial/testrig.go | 2 +- cmd/process-emoji/main.go | 16 +- cmd/process-media/main.go | 16 +- docs/api/swagger.yaml | 184 +++++++++--------- docs/configuration/index.md | 4 +- docs/faq.md | 2 +- docs/federation/http_signatures.md | 4 +- docs/getting_started/index.md | 2 +- docs/locales/zh/api/swagger.yaml | 184 +++++++++--------- docs/locales/zh/configuration/index.md | 4 +- docs/locales/zh/faq.md | 2 +- docs/locales/zh/federation/http_signatures.md | 4 +- docs/locales/zh/getting_started/index.md | 2 +- docs/locales/zh/repo/README.md | 20 +- go.mod | 2 +- internal/admin/actions.go | 12 +- internal/admin/actions_test.go | 10 +- internal/admin/domainkeys.go | 4 +- internal/admin/domainperms.go | 14 +- internal/admin/util.go | 6 +- internal/ap/activitystreams_test.go | 6 +- internal/ap/ap_test.go | 6 +- internal/ap/collections.go | 2 +- internal/ap/collections_test.go | 2 +- internal/ap/extract.go | 8 +- internal/ap/extractattachments_test.go | 2 +- internal/ap/extractcontent_test.go | 2 +- internal/ap/extractemojis_test.go | 2 +- internal/ap/extracthashtags_test.go | 2 +- internal/ap/extractmentions_test.go | 4 +- internal/ap/extractpolicy_test.go | 4 +- internal/ap/extractpubkey_test.go | 2 +- internal/ap/extractsensitive_test.go | 2 +- internal/ap/extractvisibility_test.go | 4 +- internal/ap/interfaces_test.go | 2 +- internal/ap/normalize.go | 4 +- internal/ap/normalize_test.go | 4 +- internal/ap/properties.go | 2 +- internal/ap/resolve.go | 2 +- internal/ap/resolve_test.go | 4 +- internal/ap/serialize.go | 2 +- internal/api/activitypub.go | 14 +- internal/api/activitypub/emoji/emoji.go | 2 +- internal/api/activitypub/emoji/emojiget.go | 4 +- .../api/activitypub/emoji/emojiget_test.go | 28 +-- .../api/activitypub/publickey/publickey.go | 4 +- .../api/activitypub/publickey/publickeyget.go | 4 +- internal/api/activitypub/users/acceptget.go | 4 +- internal/api/activitypub/users/featured.go | 4 +- internal/api/activitypub/users/followers.go | 6 +- internal/api/activitypub/users/following.go | 6 +- internal/api/activitypub/users/inboxpost.go | 6 +- .../api/activitypub/users/inboxpost_test.go | 14 +- internal/api/activitypub/users/outboxget.go | 6 +- .../api/activitypub/users/outboxget_test.go | 4 +- internal/api/activitypub/users/repliesget.go | 6 +- .../api/activitypub/users/repliesget_test.go | 6 +- internal/api/activitypub/users/statusget.go | 4 +- .../api/activitypub/users/statusget_test.go | 4 +- internal/api/activitypub/users/user.go | 6 +- internal/api/activitypub/users/user_test.go | 28 +-- internal/api/activitypub/users/userget.go | 4 +- .../api/activitypub/users/userget_test.go | 4 +- internal/api/auth.go | 14 +- internal/api/auth/auth.go | 6 +- internal/api/auth/auth_test.go | 28 +-- internal/api/auth/authorize.go | 10 +- internal/api/auth/authorize_test.go | 6 +- internal/api/auth/callback.go | 16 +- internal/api/auth/callback_test.go | 2 +- internal/api/auth/oob.go | 2 +- internal/api/auth/revoke.go | 4 +- internal/api/auth/revoke_test.go | 4 +- internal/api/auth/signin.go | 10 +- internal/api/auth/token.go | 6 +- internal/api/auth/token_test.go | 8 +- internal/api/auth/util.go | 8 +- internal/api/client.go | 80 ++++---- internal/api/client/accounts/account_test.go | 30 +-- internal/api/client/accounts/accountalias.go | 6 +- internal/api/client/accounts/accountcreate.go | 8 +- internal/api/client/accounts/accountdelete.go | 6 +- .../api/client/accounts/accountdelete_test.go | 4 +- internal/api/client/accounts/accountget.go | 4 +- .../api/client/accounts/accountget_test.go | 4 +- internal/api/client/accounts/accountmove.go | 6 +- internal/api/client/accounts/accounts.go | 2 +- internal/api/client/accounts/accountupdate.go | 6 +- .../api/client/accounts/accountupdate_test.go | 8 +- internal/api/client/accounts/accountverify.go | 4 +- .../api/client/accounts/accountverify_test.go | 6 +- internal/api/client/accounts/block.go | 4 +- internal/api/client/accounts/block_test.go | 6 +- internal/api/client/accounts/featuredtags.go | 4 +- internal/api/client/accounts/follow.go | 6 +- internal/api/client/accounts/follow_test.go | 10 +- internal/api/client/accounts/followers.go | 6 +- internal/api/client/accounts/following.go | 6 +- internal/api/client/accounts/lists.go | 4 +- internal/api/client/accounts/lists_test.go | 8 +- internal/api/client/accounts/lookup.go | 4 +- internal/api/client/accounts/mute.go | 8 +- internal/api/client/accounts/mute_test.go | 12 +- internal/api/client/accounts/note.go | 6 +- internal/api/client/accounts/profile.go | 8 +- internal/api/client/accounts/profile_test.go | 10 +- internal/api/client/accounts/relationships.go | 6 +- internal/api/client/accounts/search.go | 4 +- internal/api/client/accounts/search_test.go | 14 +- internal/api/client/accounts/statuses.go | 4 +- internal/api/client/accounts/statuses_test.go | 6 +- internal/api/client/accounts/themesget.go | 4 +- internal/api/client/accounts/unblock.go | 4 +- internal/api/client/accounts/unfollow.go | 4 +- internal/api/client/accounts/unmute.go | 4 +- internal/api/client/accounts/unmute_test.go | 12 +- internal/api/client/admin/accountaction.go | 6 +- internal/api/client/admin/accountapprove.go | 4 +- internal/api/client/admin/accountget.go | 4 +- internal/api/client/admin/accountreject.go | 6 +- internal/api/client/admin/accountsgetv1.go | 8 +- internal/api/client/admin/accountsgetv2.go | 8 +- .../api/client/admin/accountsgetv2_test.go | 2 +- internal/api/client/admin/admin.go | 6 +- internal/api/client/admin/admin_test.go | 30 +-- internal/api/client/admin/debug_on.go | 4 +- .../api/client/admin/domainallowcreate.go | 2 +- .../api/client/admin/domainallowdelete.go | 2 +- internal/api/client/admin/domainallowget.go | 2 +- internal/api/client/admin/domainallowsget.go | 2 +- .../api/client/admin/domainallowupdate.go | 2 +- .../api/client/admin/domainblockcreate.go | 2 +- .../api/client/admin/domainblockdelete.go | 2 +- internal/api/client/admin/domainblockget.go | 2 +- internal/api/client/admin/domainblocksget.go | 2 +- .../api/client/admin/domainblockupdate.go | 2 +- internal/api/client/admin/domainkeysexpire.go | 8 +- internal/api/client/admin/domainpermission.go | 10 +- .../admin/domainpermissiondraftaccept.go | 4 +- .../admin/domainpermissiondraftcreate.go | 8 +- .../client/admin/domainpermissiondraftget.go | 4 +- .../admin/domainpermissiondraftremove.go | 4 +- .../client/admin/domainpermissiondraftsget.go | 8 +- .../admin/domainpermissionexcludecreate.go | 4 +- .../admin/domainpermissionexcludeget.go | 4 +- .../admin/domainpermissionexcluderemove.go | 4 +- .../admin/domainpermissionexcludesget.go | 6 +- .../domainpermissionsubscriptioncreate.go | 8 +- .../admin/domainpermissionsubscriptionget.go | 4 +- .../domainpermissionsubscriptionremove.go | 6 +- .../admin/domainpermissionsubscriptionsget.go | 8 +- ...domainpermissionsubscriptionspreviewget.go | 6 +- .../admin/domainpermissionsubscriptiontest.go | 4 +- .../domainpermissionsubscriptiontest_test.go | 8 +- .../domainpermissionsubscriptionupdate.go | 10 +- internal/api/client/admin/emailtest.go | 6 +- .../api/client/admin/emojicategoriesget.go | 4 +- .../client/admin/emojicategoriesget_test.go | 2 +- internal/api/client/admin/emojicreate.go | 10 +- internal/api/client/admin/emojicreate_test.go | 6 +- internal/api/client/admin/emojidelete.go | 4 +- internal/api/client/admin/emojidelete_test.go | 6 +- internal/api/client/admin/emojiget.go | 4 +- internal/api/client/admin/emojiget_test.go | 4 +- internal/api/client/admin/emojisget.go | 8 +- internal/api/client/admin/emojisget_test.go | 4 +- internal/api/client/admin/emojiupdate.go | 10 +- internal/api/client/admin/emojiupdate_test.go | 10 +- internal/api/client/admin/headerfilter.go | 8 +- internal/api/client/admin/mediacleanup.go | 8 +- .../api/client/admin/mediacleanup_test.go | 4 +- internal/api/client/admin/mediarefetch.go | 4 +- internal/api/client/admin/reportget.go | 4 +- internal/api/client/admin/reportresolve.go | 6 +- .../api/client/admin/reportresolve_test.go | 18 +- internal/api/client/admin/reportsget.go | 6 +- internal/api/client/admin/reportsget_test.go | 18 +- internal/api/client/admin/rulecreate.go | 6 +- internal/api/client/admin/ruledelete.go | 4 +- internal/api/client/admin/ruleget.go | 4 +- internal/api/client/admin/rulesget.go | 4 +- internal/api/client/admin/ruleupdate.go | 6 +- .../api/client/announcements/announcements.go | 2 +- .../client/announcements/announcementsget.go | 4 +- internal/api/client/apps/appcreate.go | 6 +- internal/api/client/apps/appdelete.go | 4 +- internal/api/client/apps/appget.go | 4 +- internal/api/client/apps/apps.go | 4 +- internal/api/client/apps/appsget.go | 6 +- internal/api/client/blocks/blocks.go | 2 +- internal/api/client/blocks/blocksget.go | 6 +- internal/api/client/bookmarks/bookmarks.go | 2 +- .../api/client/bookmarks/bookmarks_test.go | 34 ++-- internal/api/client/bookmarks/bookmarksget.go | 4 +- .../conversations/conversationdelete.go | 4 +- .../client/conversations/conversationread.go | 4 +- .../api/client/conversations/conversations.go | 4 +- .../client/conversations/conversationsget.go | 6 +- .../api/client/customemojis/customemojis.go | 2 +- .../client/customemojis/customemojisget.go | 4 +- internal/api/client/exports/blocks.go | 4 +- internal/api/client/exports/exports.go | 2 +- internal/api/client/exports/exports_test.go | 16 +- internal/api/client/exports/followers.go | 4 +- internal/api/client/exports/following.go | 4 +- internal/api/client/exports/lists.go | 4 +- internal/api/client/exports/mutes.go | 4 +- internal/api/client/exports/stats.go | 4 +- internal/api/client/favourites/favourites.go | 2 +- .../api/client/favourites/favourites_test.go | 26 +-- .../api/client/favourites/favouritesget.go | 4 +- .../client/favourites/favouritesget_test.go | 8 +- .../api/client/featuredtags/featuredtags.go | 2 +- internal/api/client/featuredtags/get.go | 4 +- internal/api/client/filters/v1/filter.go | 7 +- internal/api/client/filters/v1/filter_test.go | 30 +-- .../api/client/filters/v1/filterdelete.go | 4 +- .../client/filters/v1/filterdelete_test.go | 12 +- internal/api/client/filters/v1/filterget.go | 4 +- .../api/client/filters/v1/filterget_test.go | 14 +- internal/api/client/filters/v1/filterpost.go | 6 +- .../api/client/filters/v1/filterpost_test.go | 14 +- internal/api/client/filters/v1/filterput.go | 6 +- .../api/client/filters/v1/filterput_test.go | 14 +- internal/api/client/filters/v1/filtersget.go | 4 +- .../api/client/filters/v1/filtersget_test.go | 12 +- internal/api/client/filters/v1/validate.go | 8 +- internal/api/client/filters/v2/filter.go | 4 +- internal/api/client/filters/v2/filter_test.go | 30 +-- .../api/client/filters/v2/filterdelete.go | 4 +- .../client/filters/v2/filterdelete_test.go | 12 +- internal/api/client/filters/v2/filterget.go | 4 +- .../api/client/filters/v2/filterget_test.go | 14 +- .../client/filters/v2/filterkeyworddelete.go | 4 +- .../filters/v2/filterkeyworddelete_test.go | 12 +- .../api/client/filters/v2/filterkeywordget.go | 4 +- .../filters/v2/filterkeywordget_test.go | 14 +- .../client/filters/v2/filterkeywordpost.go | 10 +- .../filters/v2/filterkeywordpost_test.go | 14 +- .../api/client/filters/v2/filterkeywordput.go | 6 +- .../filters/v2/filterkeywordput_test.go | 14 +- .../client/filters/v2/filterkeywordsget.go | 4 +- .../filters/v2/filterkeywordsget_test.go | 12 +- internal/api/client/filters/v2/filterpost.go | 10 +- .../api/client/filters/v2/filterpost_test.go | 14 +- internal/api/client/filters/v2/filterput.go | 10 +- .../api/client/filters/v2/filterput_test.go | 14 +- internal/api/client/filters/v2/filtersget.go | 4 +- .../api/client/filters/v2/filtersget_test.go | 12 +- .../client/filters/v2/filterstatusdelete.go | 4 +- .../filters/v2/filterstatusdelete_test.go | 12 +- .../client/filters/v2/filterstatusesget.go | 4 +- .../filters/v2/filterstatusesget_test.go | 12 +- .../api/client/filters/v2/filterstatusget.go | 4 +- .../client/filters/v2/filterstatusget_test.go | 12 +- .../api/client/filters/v2/filterstatuspost.go | 8 +- .../filters/v2/filterstatuspost_test.go | 14 +- .../api/client/followedtags/followedtags.go | 2 +- .../client/followedtags/followedtags_test.go | 24 +-- internal/api/client/followedtags/get.go | 6 +- internal/api/client/followedtags/get_test.go | 12 +- .../api/client/followrequests/authorize.go | 4 +- .../client/followrequests/authorize_test.go | 4 +- .../client/followrequests/followrequest.go | 2 +- .../followrequests/followrequest_test.go | 30 +-- internal/api/client/followrequests/get.go | 6 +- .../api/client/followrequests/get_test.go | 4 +- internal/api/client/followrequests/reject.go | 4 +- .../api/client/followrequests/reject_test.go | 4 +- internal/api/client/import/import.go | 8 +- internal/api/client/import/import_test.go | 14 +- internal/api/client/instance/instance.go | 2 +- internal/api/client/instance/instance_test.go | 30 +-- internal/api/client/instance/instanceget.go | 8 +- internal/api/client/instance/instancepatch.go | 8 +- .../api/client/instance/instancepatch_test.go | 32 +-- .../api/client/instance/instancepeersget.go | 6 +- .../client/instance/instancepeersget_test.go | 10 +- .../api/client/instance/instancerulesget.go | 4 +- .../client/interactionpolicies/getdefaults.go | 4 +- .../client/interactionpolicies/policies.go | 2 +- .../interactionpolicies/updatedefaults.go | 6 +- .../client/interactionrequests/authorize.go | 4 +- .../api/client/interactionrequests/get.go | 4 +- .../api/client/interactionrequests/getpage.go | 6 +- .../interactionrequests.go | 4 +- .../api/client/interactionrequests/reject.go | 4 +- internal/api/client/lists/list.go | 2 +- internal/api/client/lists/listaccounts.go | 6 +- .../api/client/lists/listaccounts_test.go | 14 +- internal/api/client/lists/listaccountsadd.go | 6 +- .../api/client/lists/listaccountsadd_test.go | 8 +- .../api/client/lists/listaccountsremove.go | 6 +- internal/api/client/lists/listcreate.go | 10 +- internal/api/client/lists/listdelete.go | 4 +- internal/api/client/lists/listget.go | 4 +- internal/api/client/lists/lists_test.go | 26 +-- internal/api/client/lists/listsget.go | 4 +- internal/api/client/lists/listupdate.go | 10 +- internal/api/client/markers/markers.go | 2 +- internal/api/client/markers/markersget.go | 8 +- internal/api/client/markers/markerspost.go | 8 +- internal/api/client/media/media.go | 4 +- internal/api/client/media/mediacreate.go | 8 +- internal/api/client/media/mediacreate_test.go | 32 +-- internal/api/client/media/mediaget.go | 4 +- internal/api/client/media/mediaupdate.go | 8 +- internal/api/client/media/mediaupdate_test.go | 32 +-- internal/api/client/mutes/mutes.go | 2 +- internal/api/client/mutes/mutes_test.go | 30 +-- internal/api/client/mutes/mutesget.go | 6 +- internal/api/client/mutes/mutesget_test.go | 14 +- .../client/notifications/notificationget.go | 4 +- .../api/client/notifications/notifications.go | 2 +- .../notifications/notifications_test.go | 26 +-- .../notifications/notificationsclear.go | 4 +- .../client/notifications/notificationsget.go | 10 +- .../notifications/notificationsget_test.go | 16 +- internal/api/client/polls/polls.go | 4 +- internal/api/client/polls/polls_get.go | 4 +- internal/api/client/polls/polls_test.go | 26 +-- internal/api/client/polls/polls_vote.go | 6 +- internal/api/client/polls/polls_vote_test.go | 12 +- .../api/client/preferences/preferences.go | 2 +- .../api/client/preferences/preferencesget.go | 4 +- internal/api/client/push/push.go | 2 +- internal/api/client/push/push_test.go | 22 +-- .../api/client/push/pushsubscriptiondelete.go | 2 +- .../push/pushsubscriptiondelete_test.go | 8 +- .../api/client/push/pushsubscriptionget.go | 2 +- .../client/push/pushsubscriptionget_test.go | 10 +- .../api/client/push/pushsubscriptionpost.go | 6 +- .../client/push/pushsubscriptionpost_test.go | 10 +- .../api/client/push/pushsubscriptionput.go | 8 +- .../client/push/pushsubscriptionput_test.go | 10 +- internal/api/client/reports/reportcreate.go | 8 +- .../api/client/reports/reportcreate_test.go | 12 +- internal/api/client/reports/reportget.go | 4 +- internal/api/client/reports/reportget_test.go | 12 +- internal/api/client/reports/reports.go | 4 +- internal/api/client/reports/reports_test.go | 26 +-- internal/api/client/reports/reportsget.go | 6 +- .../api/client/reports/reportsget_test.go | 16 +- internal/api/client/search/search.go | 4 +- internal/api/client/search/search_test.go | 30 +-- internal/api/client/search/searchget.go | 6 +- internal/api/client/search/searchget_test.go | 18 +- internal/api/client/statuses/status.go | 2 +- internal/api/client/statuses/status_test.go | 28 +-- .../api/client/statuses/statusbookmark.go | 4 +- .../client/statuses/statusbookmark_test.go | 8 +- internal/api/client/statuses/statusboost.go | 4 +- .../api/client/statuses/statusboost_test.go | 10 +- .../api/client/statuses/statusboostedby.go | 4 +- .../client/statuses/statusboostedby_test.go | 8 +- internal/api/client/statuses/statuscontext.go | 4 +- internal/api/client/statuses/statuscreate.go | 8 +- .../api/client/statuses/statuscreate_test.go | 10 +- internal/api/client/statuses/statusdelete.go | 4 +- .../api/client/statuses/statusdelete_test.go | 10 +- internal/api/client/statuses/statusedit.go | 8 +- internal/api/client/statuses/statusfave.go | 4 +- .../api/client/statuses/statusfave_test.go | 12 +- internal/api/client/statuses/statusfavedby.go | 4 +- .../api/client/statuses/statusfavedby_test.go | 8 +- internal/api/client/statuses/statusget.go | 4 +- internal/api/client/statuses/statushistory.go | 4 +- .../api/client/statuses/statushistory_test.go | 6 +- internal/api/client/statuses/statusmute.go | 4 +- .../api/client/statuses/statusmute_test.go | 8 +- internal/api/client/statuses/statuspin.go | 4 +- .../api/client/statuses/statuspin_test.go | 20 +- internal/api/client/statuses/statussource.go | 4 +- .../api/client/statuses/statussource_test.go | 6 +- .../api/client/statuses/statusunbookmark.go | 4 +- .../client/statuses/statusunbookmark_test.go | 8 +- internal/api/client/statuses/statusunboost.go | 4 +- internal/api/client/statuses/statusunfave.go | 4 +- .../api/client/statuses/statusunfave_test.go | 8 +- internal/api/client/statuses/statusunmute.go | 4 +- internal/api/client/statuses/statusunpin.go | 4 +- .../api/client/statuses/statusunpin_test.go | 12 +- internal/api/client/streaming/stream.go | 12 +- internal/api/client/streaming/streaming.go | 2 +- .../api/client/streaming/streaming_test.go | 28 +-- internal/api/client/tags/follow.go | 2 +- internal/api/client/tags/follow_test.go | 4 +- internal/api/client/tags/get.go | 2 +- internal/api/client/tags/get_test.go | 4 +- internal/api/client/tags/tags.go | 4 +- internal/api/client/tags/tags_test.go | 30 +-- internal/api/client/tags/unfollow.go | 2 +- internal/api/client/tags/unfollow_test.go | 4 +- internal/api/client/timelines/home.go | 4 +- internal/api/client/timelines/list.go | 4 +- internal/api/client/timelines/public.go | 6 +- internal/api/client/timelines/tag.go | 4 +- internal/api/client/timelines/timeline.go | 4 +- internal/api/client/tokens/tokenget.go | 4 +- internal/api/client/tokens/tokenget_test.go | 2 +- internal/api/client/tokens/tokeninvalidate.go | 4 +- .../api/client/tokens/tokeninvalidate_test.go | 4 +- internal/api/client/tokens/tokens.go | 4 +- internal/api/client/tokens/tokens_test.go | 8 +- internal/api/client/tokens/tokensget.go | 6 +- internal/api/client/tokens/tokensget_test.go | 2 +- internal/api/client/user/emailchange.go | 6 +- internal/api/client/user/emailchange_test.go | 8 +- internal/api/client/user/passwordchange.go | 8 +- .../api/client/user/passwordchange_test.go | 4 +- internal/api/client/user/twofactor.go | 8 +- internal/api/client/user/user.go | 2 +- internal/api/client/user/user_test.go | 26 +-- internal/api/client/user/userget.go | 4 +- internal/api/fileserver.go | 12 +- internal/api/fileserver/fileserver.go | 2 +- internal/api/fileserver/fileserver_test.go | 30 +-- internal/api/fileserver/servefile.go | 8 +- internal/api/fileserver/servefile_test.go | 10 +- internal/api/health.go | 6 +- internal/api/health/ready.go | 2 +- internal/api/metrics.go | 8 +- internal/api/model/content.go | 2 +- internal/api/model/poll.go | 2 +- internal/api/model/status.go | 2 +- internal/api/nodeinfo.go | 10 +- internal/api/nodeinfo/nodeinfo.go | 2 +- internal/api/nodeinfo/nodeinfoget.go | 4 +- internal/api/robots.go | 6 +- internal/api/robots/robots.go | 4 +- internal/api/util/auth.go | 6 +- internal/api/util/errorhandling.go | 8 +- internal/api/util/mime_test.go | 2 +- internal/api/util/opengraph.go | 4 +- internal/api/util/opengraph_test.go | 2 +- internal/api/util/parseform.go | 6 +- internal/api/util/parsequery.go | 2 +- internal/api/util/response.go | 2 +- internal/api/util/scopes_test.go | 2 +- internal/api/util/template.go | 6 +- internal/api/wellknown.go | 12 +- internal/api/wellknown/hostmeta/hostmeta.go | 4 +- .../api/wellknown/hostmeta/hostmetaget.go | 4 +- internal/api/wellknown/nodeinfo/nodeinfo.go | 10 +- internal/api/wellknown/webfinger/webfinger.go | 4 +- .../api/wellknown/webfinger/webfinger_test.go | 28 +-- .../api/wellknown/webfinger/webfingerget.go | 8 +- .../wellknown/webfinger/webfingerget_test.go | 20 +- internal/cache/cache.go | 8 +- internal/cache/db.go | 8 +- internal/cache/domain/domain_test.go | 2 +- internal/cache/headerfilter/filter.go | 4 +- internal/cache/invalidate.go | 4 +- internal/cache/size.go | 10 +- internal/cache/util.go | 2 +- internal/cache/visibility.go | 4 +- internal/cleaner/cleaner.go | 12 +- internal/cleaner/cleaner_test.go | 8 +- internal/cleaner/emoji.go | 12 +- internal/cleaner/emoji_test.go | 10 +- internal/cleaner/media.go | 18 +- internal/cleaner/media_test.go | 24 +-- internal/config/config.go | 2 +- internal/config/config_test.go | 2 +- internal/config/defaults.go | 2 +- internal/config/gen/gen.go | 4 +- internal/config/helpers.gen.go | 2 +- internal/config/validate.go | 6 +- internal/config/validate_test.go | 4 +- internal/db/account.go | 4 +- internal/db/admin.go | 2 +- internal/db/advancedmigration.go | 2 +- internal/db/application.go | 4 +- internal/db/bundb/account.go | 22 +-- internal/db/bundb/account_test.go | 12 +- internal/db/bundb/admin.go | 18 +- internal/db/bundb/admin_test.go | 4 +- internal/db/bundb/advancedmigration.go | 4 +- internal/db/bundb/application.go | 12 +- internal/db/bundb/application_test.go | 4 +- internal/db/bundb/basic.go | 4 +- internal/db/bundb/basic_test.go | 4 +- internal/db/bundb/bundb.go | 14 +- internal/db/bundb/bundb_test.go | 12 +- internal/db/bundb/bundbnew_test.go | 4 +- internal/db/bundb/conversation.go | 18 +- internal/db/bundb/conversation_test.go | 6 +- internal/db/bundb/domain.go | 12 +- internal/db/bundb/domain_test.go | 2 +- internal/db/bundb/domainpermissiondraft.go | 14 +- .../db/bundb/domainpermissiondraft_test.go | 6 +- internal/db/bundb/domainpermissionexclude.go | 16 +- .../db/bundb/domainpermissionexclude_test.go | 6 +- .../db/bundb/domainpermissionsubscription.go | 12 +- .../domainpermissionsubscription_test.go | 2 +- internal/db/bundb/drivers.go | 4 +- internal/db/bundb/emoji.go | 16 +- internal/db/bundb/emoji_test.go | 6 +- internal/db/bundb/errors_test.go | 4 +- internal/db/bundb/filter.go | 10 +- internal/db/bundb/filter_test.go | 6 +- internal/db/bundb/filterkeyword.go | 10 +- internal/db/bundb/filterkeyword_test.go | 6 +- internal/db/bundb/filterstatus.go | 8 +- internal/db/bundb/filterstatus_test.go | 6 +- internal/db/bundb/headerfilter.go | 4 +- internal/db/bundb/headerfilter_test.go | 4 +- internal/db/bundb/hook.go | 2 +- internal/db/bundb/instance.go | 18 +- internal/db/bundb/instance_test.go | 8 +- internal/db/bundb/interaction.go | 16 +- internal/db/bundb/interaction_test.go | 12 +- internal/db/bundb/list.go | 16 +- internal/db/bundb/list_test.go | 4 +- internal/db/bundb/marker.go | 6 +- internal/db/bundb/markers_test.go | 4 +- internal/db/bundb/media.go | 12 +- internal/db/bundb/mention.go | 14 +- .../bundb/migrations/20211113114307_init.go | 2 +- .../20220214175650_media_cleanup.go | 4 +- .../20220305130328_database_optimizations.go | 2 +- .../20220315160814_admin_account_actions.go | 2 +- .../20220502113806_add_missing_indexes.go | 2 +- .../20220518123621_additional_indexing.go | 2 +- ...20220612091800_duplicated_media_cleanup.go | 6 +- ...0710153020_fix_slow_web_profile_queries.go | 2 +- ...7085121_assign_missing_in_reply_to_uris.go | 2 +- ...30014732_regenerate_indexes_for_follows.go | 2 +- .../20220905150505_custom_emoji_updates.go | 2 +- .../20220916122701_emojis_in_accounts.go | 4 +- .../migrations/20220926115233_indexes.go | 2 +- .../20221011125732_refetch_updated_emojis.go | 2 +- .../20221031145649_emoji_categories.go | 2 +- ...0221108142419_create_account_tombstones.go | 2 +- .../migrations/20230105171144_report_model.go | 2 +- .../20230221150957_status_pin_client_api.go | 2 +- .../20230328203024_migration_fix.go | 2 +- ...05130021_status_fave_unique_constraints.go | 2 +- .../bundb/migrations/20230515173919_lists.go | 2 +- .../20230521105850_emoji_empty_domain_fix.go | 2 +- .../20230620103932_search_updates.go | 2 +- .../20230711214815_account_notes.go | 2 +- .../migrations/20230713025939_markers_api.go | 2 +- .../migrations/20230815164500_rules_model.go | 2 +- ...230821075342_attachment_cleanup_updates.go | 2 +- .../20230828101322_admin_action_locking.go | 6 +- .../migrations/20230908083121_allowlist.go.go | 2 +- .../20231002153327_add_status_polls.go | 2 +- .../20231016113235_mute_status_thread.go | 4 +- ...20231128140847_remove_duplicate_indices.go | 2 +- .../20231130103643_fix_index_whoopsie.go | 2 +- .../20231208152242_sqlite_analyze.go | 2 +- .../20231212144715_add_header_filters.go | 2 +- ...240114112637_postgres_header_filter_fix.go | 2 +- .../migrations/20240126064004_add_filters.go | 2 +- .../20240129170725_moved_to_also_known_as.go | 2 +- ..._statuses_mentions_is_null_or_empty_idx.go | 4 +- ...113608_readd_statuses_account_id_id_idx.go | 4 +- .../20240318115336_account_settings.go | 8 +- .../migrations/20240401130338_sign_up.go | 2 +- .../20240414122348_account_stats_model.go | 2 +- .../20240426122821_pageable_admin_accounts.go | 2 +- .../20240528071620_add_user_mutes.go | 2 +- .../20240611190733_add_conversations.go | 2 +- ...0240613091853_drop_unused_media_columns.go | 2 +- .../20240617134210_add_worker_tasks_table.go | 2 +- .../20240620074530_interaction_policy.go | 6 +- .../20240712005536_add_advanced_migrations.go | 2 +- ...40715204203_media_pipeline_improvements.go | 6 +- .../20240722222556_remove_boost_content.go | 4 +- .../20240725211933_add_followed_tags.go | 2 +- ...9134448_interaction_requests_client_api.go | 4 +- ...40904084406_fedi_api_reject_interaction.go | 2 +- .../20240906144432_unauthed_visibility.go.go | 2 +- .../20241011115713_pending_approval_fix.go | 2 +- .../20241018151036_filter_unique_fix.go | 2 +- ...2153016_domain_permission_draft_exclude.go | 2 +- ...0241113151042_remove_mention_updated_at.go | 4 +- .../20241113152126_add_status_edits.go | 4 +- .../20241113152126_add_status_edits/status.go | 2 +- .../20241121121623_enum_strings_to_ints.go | 8 +- .../accountsettings.go | 2 +- .../notification.go | 2 +- .../status.go | 2 +- .../20241124012635_add_vapid_key_pairs.go | 2 +- ...241124012636_add_web_push_subscriptions.go | 2 +- ...4608_remove_media_attachment_updated_at.go | 4 +- ...eplace_statuses_updatedat_with_editedat.go | 6 +- .../20250106165529_cleanup_dropped_edits.go | 6 +- ...9112745_domain_permission_subscriptions.go | 2 +- ...19112746_domain_perm_sub_caching_tweaks.go | 4 +- ...124164400_domain_perm_sub_migration_fix.go | 2 +- ...126162825_top_level_mention_replies_fix.go | 4 +- ...184755_add_web_push_subscription_policy.go | 2 +- ...0250224105654_token_app_client_refactor.go | 8 +- .../20250226013442_add_status_content_type.go | 2 +- .../status.go | 2 +- .../statusedit.go | 2 +- .../20250305205820_content_warning_fixes.go | 4 +- ...310094108_statuses_count_query_optimize.go | 2 +- .../20250310144102_application_management.go | 2 +- .../20250314120945_add_gallery_web_layout.go | 2 +- ...093828_statuses_public_timeline_reindex.go | 2 +- ...0321131230_relax_account_uri_uniqueness.go | 10 +- .../new/account.go | 2 +- .../old/account.go | 2 +- .../db/bundb/migrations/20250324173534_2fa.go | 4 +- internal/db/bundb/migrations/util.go | 6 +- internal/db/bundb/move.go | 8 +- internal/db/bundb/move_test.go | 4 +- internal/db/bundb/notification.go | 16 +- internal/db/bundb/notification_test.go | 12 +- internal/db/bundb/poll.go | 14 +- internal/db/bundb/poll_test.go | 8 +- internal/db/bundb/relationship.go | 12 +- internal/db/bundb/relationship_block.go | 12 +- internal/db/bundb/relationship_follow.go | 12 +- internal/db/bundb/relationship_follow_req.go | 12 +- internal/db/bundb/relationship_mute.go | 14 +- internal/db/bundb/relationship_note.go | 6 +- internal/db/bundb/relationship_test.go | 8 +- internal/db/bundb/report.go | 14 +- internal/db/bundb/report_test.go | 12 +- internal/db/bundb/rule.go | 12 +- internal/db/bundb/rule_test.go | 6 +- internal/db/bundb/search.go | 8 +- internal/db/bundb/search_test.go | 2 +- internal/db/bundb/session.go | 4 +- internal/db/bundb/sinbinstatus.go | 6 +- internal/db/bundb/status.go | 14 +- internal/db/bundb/status_test.go | 4 +- internal/db/bundb/statusbookmark.go | 14 +- internal/db/bundb/statusbookmark_test.go | 4 +- internal/db/bundb/statusedit.go | 14 +- internal/db/bundb/statusedit_test.go | 2 +- internal/db/bundb/statusfave.go | 14 +- internal/db/bundb/statusfave_test.go | 4 +- internal/db/bundb/tag.go | 12 +- internal/db/bundb/tag_test.go | 6 +- internal/db/bundb/thread.go | 6 +- internal/db/bundb/thread_test.go | 2 +- internal/db/bundb/timeline.go | 12 +- internal/db/bundb/timeline_test.go | 10 +- internal/db/bundb/tombstone.go | 6 +- internal/db/bundb/upsert.go | 2 +- internal/db/bundb/user.go | 8 +- internal/db/bundb/user_test.go | 2 +- internal/db/bundb/util.go | 8 +- internal/db/bundb/webpush.go | 10 +- internal/db/bundb/workertask.go | 2 +- internal/db/conversation.go | 4 +- internal/db/domain.go | 4 +- internal/db/emoji.go | 4 +- internal/db/filter.go | 2 +- internal/db/headerfilter.go | 2 +- internal/db/instance.go | 2 +- internal/db/interaction.go | 4 +- internal/db/list.go | 4 +- internal/db/marker.go | 2 +- internal/db/media.go | 4 +- internal/db/mention.go | 2 +- internal/db/move.go | 2 +- internal/db/notification.go | 4 +- internal/db/poll.go | 2 +- internal/db/postgres/driver.go | 2 +- internal/db/postgres/errors.go | 2 +- internal/db/relationship.go | 4 +- internal/db/report.go | 4 +- internal/db/rule.go | 2 +- internal/db/search.go | 2 +- internal/db/session.go | 2 +- internal/db/sinbinstatus.go | 2 +- internal/db/sqlite/driver.go | 2 +- internal/db/sqlite/driver_moderncsqlite3.go | 2 +- internal/db/sqlite/errors.go | 2 +- internal/db/sqlite/errors_moderncsqlite3.go | 2 +- internal/db/status.go | 2 +- internal/db/statusbookmark.go | 2 +- internal/db/statusedit.go | 2 +- internal/db/statusfave.go | 2 +- internal/db/tag.go | 4 +- internal/db/test/conversation.go | 8 +- internal/db/thread.go | 2 +- internal/db/timeline.go | 2 +- internal/db/tombstone.go | 2 +- internal/db/user.go | 2 +- internal/db/webpush.go | 2 +- internal/db/workertask.go | 2 +- internal/email/common.go | 6 +- internal/email/email_test.go | 6 +- internal/email/noopsender.go | 4 +- internal/email/sender.go | 2 +- internal/federation/authenticate.go | 14 +- internal/federation/dereferencing/account.go | 20 +- .../federation/dereferencing/account_test.go | 12 +- internal/federation/dereferencing/announce.go | 10 +- .../federation/dereferencing/authenticate.go | 2 +- .../federation/dereferencing/collection.go | 6 +- .../federation/dereferencing/dereferencer.go | 14 +- .../dereferencing/dereferencer_test.go | 22 +-- internal/federation/dereferencing/emoji.go | 14 +- .../federation/dereferencing/emoji_test.go | 2 +- internal/federation/dereferencing/finger.go | 12 +- internal/federation/dereferencing/instance.go | 4 +- .../federation/dereferencing/instance_test.go | 4 +- internal/federation/dereferencing/media.go | 10 +- internal/federation/dereferencing/status.go | 22 +-- .../dereferencing/status_permitted.go | 18 +- .../federation/dereferencing/status_test.go | 12 +- internal/federation/dereferencing/thread.go | 10 +- internal/federation/dereferencing/util.go | 2 +- internal/federation/federatingactor.go | 14 +- internal/federation/federatingactor_test.go | 12 +- internal/federation/federatingdb/accept.go | 18 +- internal/federation/federatingdb/announce.go | 8 +- .../federation/federatingdb/announce_test.go | 6 +- internal/federation/federatingdb/block.go | 10 +- internal/federation/federatingdb/create.go | 16 +- .../federation/federatingdb/create_test.go | 8 +- internal/federation/federatingdb/db.go | 12 +- internal/federation/federatingdb/delete.go | 12 +- .../federatingdb/federatingdb_test.go | 20 +- internal/federation/federatingdb/flag.go | 10 +- internal/federation/federatingdb/follow.go | 10 +- internal/federation/federatingdb/followers.go | 2 +- .../federation/federatingdb/followers_test.go | 4 +- internal/federation/federatingdb/following.go | 2 +- .../federation/federatingdb/following_test.go | 4 +- internal/federation/federatingdb/get.go | 4 +- internal/federation/federatingdb/inbox.go | 6 +- .../federation/federatingdb/inbox_test.go | 2 +- internal/federation/federatingdb/like.go | 12 +- internal/federation/federatingdb/move.go | 10 +- internal/federation/federatingdb/move_test.go | 4 +- internal/federation/federatingdb/owns.go | 12 +- internal/federation/federatingdb/reject.go | 16 +- .../federation/federatingdb/reject_test.go | 10 +- internal/federation/federatingdb/undo.go | 14 +- internal/federation/federatingdb/update.go | 14 +- internal/federation/federatingdb/util.go | 14 +- internal/federation/federatingprotocol.go | 16 +- .../federation/federatingprotocol_test.go | 10 +- internal/federation/federator.go | 18 +- internal/federation/federator_test.go | 16 +- internal/federation/gone.go | 4 +- internal/federation/transport.go | 2 +- internal/filter/interaction/filter.go | 2 +- internal/filter/interaction/interactable.go | 10 +- internal/filter/spam/spam.go | 2 +- internal/filter/spam/spam_test.go | 10 +- internal/filter/spam/statusable.go | 18 +- internal/filter/spam/statusable_test.go | 8 +- internal/filter/usermute/usermute.go | 4 +- internal/filter/visibility/account.go | 10 +- internal/filter/visibility/filter.go | 2 +- internal/filter/visibility/filter_test.go | 10 +- internal/filter/visibility/home_timeline.go | 12 +- .../filter/visibility/home_timeline_test.go | 8 +- internal/filter/visibility/public_timeline.go | 10 +- internal/filter/visibility/status.go | 10 +- internal/filter/visibility/status_test.go | 4 +- internal/filter/visibility/tag_timeline.go | 4 +- internal/gtscontext/context.go | 2 +- internal/gtscontext/log_hooks.go | 2 +- internal/gtserror/multi_test.go | 4 +- internal/gtserror/new_test.go | 4 +- internal/gtsmodel/account.go | 4 +- internal/gtsmodel/conversation.go | 2 +- internal/gtsmodel/domainpermissionexclude.go | 2 +- internal/gtsmodel/filter.go | 2 +- internal/gtsmodel/status.go | 4 +- internal/httpclient/client.go | 6 +- internal/httpclient/client_test.go | 2 +- internal/httpclient/request.go | 2 +- internal/httpclient/sanitizer_test.go | 2 +- internal/httpclient/transport.go | 2 +- internal/id/ulid.go | 2 +- internal/language/language.go | 2 +- internal/language/language_test.go | 2 +- internal/log/log.go | 2 +- internal/log/syslog_test.go | 6 +- internal/log/sysloglongunixgram_test.go | 6 +- internal/media/ffmpeg.go | 6 +- internal/media/ffmpeg/wasm.go | 2 +- internal/media/manager.go | 16 +- internal/media/manager_test.go | 14 +- internal/media/media_test.go | 20 +- internal/media/metadata.go | 4 +- internal/media/probe.go | 4 +- internal/media/processingemoji.go | 12 +- internal/media/processingmedia.go | 12 +- internal/media/refetch.go | 8 +- internal/media/thumbnail.go | 4 +- internal/media/util.go | 2 +- internal/messages/messages.go | 4 +- internal/messages/messages_test.go | 8 +- .../middleware/contentsecuritypolicy_test.go | 2 +- internal/middleware/headerfilter.go | 10 +- internal/middleware/headerfilter_test.go | 16 +- internal/middleware/logger.go | 6 +- internal/middleware/ratelimit.go | 6 +- internal/middleware/ratelimit_test.go | 4 +- internal/middleware/requestid.go | 2 +- internal/middleware/robots.go | 2 +- internal/middleware/session.go | 4 +- internal/middleware/session_test.go | 6 +- internal/middleware/signaturecheck.go | 4 +- internal/middleware/throttling.go | 2 +- internal/middleware/throttling_test.go | 2 +- internal/middleware/tokencheck.go | 6 +- internal/middleware/useragent.go | 2 +- internal/middleware/util.go | 2 +- internal/oauth/clientstore.go | 2 +- internal/oauth/clientstore_test.go | 12 +- internal/oauth/handlers/handlers.go | 12 +- internal/oauth/server.go | 12 +- internal/oauth/tokenstore.go | 10 +- internal/observability/metrics.go | 4 +- internal/observability/no_otel.go | 2 +- internal/observability/tracing.go | 8 +- internal/oidc/handlecallback.go | 4 +- internal/oidc/idp.go | 4 +- internal/paging/page_test.go | 2 +- internal/paging/parse.go | 2 +- internal/paging/response.go | 4 +- internal/paging/response_test.go | 4 +- internal/processing/account/account.go | 16 +- internal/processing/account/account_test.go | 32 +-- internal/processing/account/alias.go | 8 +- internal/processing/account/alias_test.go | 2 +- internal/processing/account/block.go | 22 +-- internal/processing/account/bookmarks.go | 14 +- internal/processing/account/delete.go | 16 +- internal/processing/account/delete_test.go | 2 +- internal/processing/account/export.go | 8 +- internal/processing/account/follow.go | 20 +- internal/processing/account/follow_request.go | 14 +- internal/processing/account/follow_test.go | 6 +- internal/processing/account/get.go | 12 +- internal/processing/account/import.go | 8 +- .../processing/account/interactionpolicies.go | 8 +- internal/processing/account/lists.go | 12 +- internal/processing/account/move.go | 22 +-- internal/processing/account/move_test.go | 8 +- internal/processing/account/mute.go | 16 +- internal/processing/account/note.go | 8 +- internal/processing/account/relationships.go | 10 +- internal/processing/account/rss.go | 8 +- internal/processing/account/statuses.go | 14 +- internal/processing/account/themes.go | 8 +- internal/processing/account/themes_test.go | 4 +- internal/processing/account/tokens.go | 10 +- internal/processing/account/update.go | 24 +-- internal/processing/account/update_test.go | 8 +- internal/processing/admin/account_test.go | 6 +- internal/processing/admin/accountaction.go | 12 +- internal/processing/admin/accountget.go | 6 +- internal/processing/admin/accounts.go | 12 +- internal/processing/admin/admin.go | 18 +- internal/processing/admin/admin_test.go | 38 ++-- internal/processing/admin/debug_apurl.go | 10 +- internal/processing/admin/domainallow.go | 12 +- internal/processing/admin/domainblock.go | 12 +- internal/processing/admin/domainkeysexpire.go | 6 +- internal/processing/admin/domainpermission.go | 10 +- .../processing/admin/domainpermission_test.go | 12 +- .../processing/admin/domainpermissiondraft.go | 20 +- .../admin/domainpermissionexclude.go | 14 +- .../admin/domainpermissionsubscription.go | 14 +- internal/processing/admin/email.go | 8 +- internal/processing/admin/emoji.go | 16 +- internal/processing/admin/emoji_test.go | 6 +- internal/processing/admin/headerfilter.go | 14 +- internal/processing/admin/media.go | 8 +- internal/processing/admin/report.go | 16 +- internal/processing/admin/rule.go | 14 +- internal/processing/admin/signupapprove.go | 12 +- .../processing/admin/signupapprove_test.go | 4 +- internal/processing/admin/signupreject.go | 12 +- .../processing/admin/signupreject_test.go | 6 +- internal/processing/admin/util.go | 6 +- internal/processing/admin/workertask.go | 12 +- internal/processing/admin/workertask_test.go | 14 +- .../advancedmigrations/advancedmigrations.go | 2 +- .../processing/application/application.go | 4 +- internal/processing/application/create.go | 10 +- internal/processing/application/delete.go | 6 +- internal/processing/application/get.go | 10 +- internal/processing/common/account.go | 10 +- internal/processing/common/common.go | 10 +- internal/processing/common/media.go | 8 +- internal/processing/common/status.go | 16 +- .../processing/conversations/conversations.go | 16 +- .../conversations/conversations_test.go | 32 +-- internal/processing/conversations/delete.go | 6 +- internal/processing/conversations/get.go | 14 +- internal/processing/conversations/get_test.go | 2 +- internal/processing/conversations/migrate.go | 12 +- .../processing/conversations/migrate_test.go | 6 +- internal/processing/conversations/read.go | 8 +- .../processing/conversations/read_test.go | 2 +- internal/processing/conversations/update.go | 16 +- internal/processing/fedi/accept.go | 6 +- internal/processing/fedi/collections.go | 14 +- internal/processing/fedi/common.go | 6 +- internal/processing/fedi/emoji.go | 4 +- internal/processing/fedi/fedi.go | 10 +- internal/processing/fedi/status.go | 12 +- internal/processing/fedi/user.go | 8 +- internal/processing/fedi/wellknown.go | 8 +- internal/processing/filters/v1/convert.go | 6 +- internal/processing/filters/v1/create.go | 12 +- internal/processing/filters/v1/delete.go | 8 +- internal/processing/filters/v1/filters.go | 6 +- internal/processing/filters/v1/get.go | 8 +- internal/processing/filters/v1/update.go | 12 +- internal/processing/filters/v2/convert.go | 6 +- internal/processing/filters/v2/create.go | 14 +- internal/processing/filters/v2/delete.go | 4 +- internal/processing/filters/v2/filters.go | 6 +- internal/processing/filters/v2/get.go | 8 +- .../processing/filters/v2/keywordcreate.go | 12 +- .../processing/filters/v2/keyworddelete.go | 4 +- internal/processing/filters/v2/keywordget.go | 10 +- .../processing/filters/v2/keywordupdate.go | 10 +- .../processing/filters/v2/statuscreate.go | 12 +- .../processing/filters/v2/statusdelete.go | 4 +- internal/processing/filters/v2/statusget.go | 10 +- internal/processing/filters/v2/update.go | 15 +- internal/processing/followrequest_test.go | 6 +- internal/processing/instance.go | 20 +- .../processing/interactionrequests/accept.go | 14 +- .../interactionrequests/accept_test.go | 6 +- .../processing/interactionrequests/get.go | 14 +- .../interactionrequests.go | 6 +- .../interactionrequests_test.go | 4 +- .../processing/interactionrequests/reject.go | 12 +- .../interactionrequests/reject_test.go | 8 +- internal/processing/list/create.go | 10 +- internal/processing/list/delete.go | 6 +- internal/processing/list/get.go | 14 +- internal/processing/list/list.go | 4 +- internal/processing/list/update.go | 10 +- internal/processing/list/updateentries.go | 12 +- internal/processing/list/util.go | 8 +- internal/processing/markers/get.go | 10 +- internal/processing/markers/markers.go | 4 +- internal/processing/markers/update.go | 8 +- internal/processing/media/create.go | 12 +- internal/processing/media/delete.go | 6 +- internal/processing/media/getemoji.go | 8 +- internal/processing/media/getfile.go | 16 +- internal/processing/media/getfile_test.go | 10 +- internal/processing/media/getmedia.go | 8 +- internal/processing/media/media.go | 12 +- internal/processing/media/media_test.go | 24 +-- internal/processing/media/profile.go | 6 +- internal/processing/media/unattach.go | 8 +- internal/processing/media/update.go | 14 +- internal/processing/oauth.go | 2 +- internal/processing/parsemention.go | 14 +- internal/processing/parsemention_test.go | 6 +- internal/processing/polls/expiry.go | 12 +- internal/processing/polls/get.go | 6 +- internal/processing/polls/poll.go | 12 +- internal/processing/polls/poll_test.go | 20 +- internal/processing/polls/vote.go | 14 +- internal/processing/preferences.go | 6 +- internal/processing/preferences_test.go | 4 +- internal/processing/processor.go | 72 +++---- internal/processing/processor_test.go | 38 ++-- internal/processing/push/create.go | 10 +- internal/processing/push/delete.go | 2 +- internal/processing/push/get.go | 6 +- internal/processing/push/push.go | 10 +- internal/processing/push/update.go | 8 +- internal/processing/report/create.go | 16 +- internal/processing/report/get.go | 12 +- internal/processing/report/report.go | 4 +- internal/processing/search/accounts.go | 14 +- internal/processing/search/get.go | 18 +- internal/processing/search/lookup.go | 10 +- internal/processing/search/search.go | 8 +- internal/processing/search/util.go | 10 +- internal/processing/status/bookmark.go | 12 +- internal/processing/status/boost.go | 14 +- internal/processing/status/common.go | 20 +- internal/processing/status/context.go | 10 +- internal/processing/status/context_test.go | 4 +- internal/processing/status/create.go | 26 +-- internal/processing/status/create_test.go | 10 +- internal/processing/status/delete.go | 10 +- internal/processing/status/edit.go | 20 +- internal/processing/status/edit_test.go | 10 +- internal/processing/status/fave.go | 20 +- internal/processing/status/get.go | 8 +- internal/processing/status/mute.go | 10 +- internal/processing/status/pin.go | 6 +- internal/processing/status/status.go | 20 +- internal/processing/status/status_test.go | 34 ++-- internal/processing/status/util.go | 8 +- internal/processing/stream/authorize.go | 8 +- internal/processing/stream/authorize_test.go | 2 +- internal/processing/stream/conversation.go | 6 +- internal/processing/stream/delete.go | 2 +- internal/processing/stream/filterschanged.go | 4 +- internal/processing/stream/notification.go | 8 +- .../processing/stream/notification_test.go | 4 +- internal/processing/stream/open.go | 8 +- internal/processing/stream/statusupdate.go | 8 +- .../processing/stream/statusupdate_test.go | 6 +- internal/processing/stream/stream.go | 6 +- internal/processing/stream/stream_test.go | 14 +- internal/processing/stream/update.go | 8 +- internal/processing/tags/follow.go | 10 +- internal/processing/tags/followed.go | 12 +- internal/processing/tags/followedtags.go | 10 +- internal/processing/tags/get.go | 8 +- internal/processing/tags/unfollow.go | 8 +- internal/processing/timeline/faved.go | 14 +- internal/processing/timeline/home.go | 26 +-- internal/processing/timeline/home_test.go | 18 +- internal/processing/timeline/list.go | 26 +-- internal/processing/timeline/notification.go | 22 +-- internal/processing/timeline/public.go | 18 +- internal/processing/timeline/public_test.go | 8 +- internal/processing/timeline/tag.go | 20 +- internal/processing/timeline/timeline.go | 6 +- internal/processing/timeline/timeline_test.go | 16 +- internal/processing/user/create.go | 14 +- internal/processing/user/create_test.go | 2 +- internal/processing/user/delete.go | 8 +- internal/processing/user/email.go | 14 +- internal/processing/user/get.go | 6 +- internal/processing/user/password.go | 6 +- internal/processing/user/password_test.go | 2 +- internal/processing/user/twofactor.go | 10 +- internal/processing/user/user.go | 8 +- internal/processing/user/user_test.go | 18 +- internal/processing/workers/federate.go | 14 +- internal/processing/workers/fromclientapi.go | 28 +-- .../processing/workers/fromclientapi_test.go | 24 +-- internal/processing/workers/fromfediapi.go | 28 +-- .../processing/workers/fromfediapi_move.go | 16 +- .../processing/workers/fromfediapi_test.go | 18 +- internal/processing/workers/surface.go | 14 +- internal/processing/workers/surfaceemail.go | 12 +- internal/processing/workers/surfacenotify.go | 16 +- .../processing/workers/surfacenotify_test.go | 10 +- .../processing/workers/surfacetimeline.go | 18 +- internal/processing/workers/util.go | 22 +-- internal/processing/workers/workers.go | 24 +-- internal/processing/workers/workers_test.go | 10 +- internal/router/router.go | 6 +- internal/router/template.go | 14 +- internal/state/state.go | 12 +- internal/storage/storage.go | 6 +- internal/subscriptions/domainperms.go | 20 +- internal/subscriptions/subscriptions.go | 6 +- internal/subscriptions/subscriptions_test.go | 12 +- internal/text/emojify.go | 4 +- internal/text/formatter.go | 4 +- internal/text/formatter_test.go | 12 +- internal/text/goldmark_custom_renderer.go | 14 +- internal/text/goldmark_parsers.go | 2 +- internal/text/markdown.go | 6 +- internal/text/minify.go | 2 +- internal/text/plain.go | 6 +- internal/text/plain_test.go | 2 +- internal/text/sanitize_test.go | 2 +- internal/text/substring_test.go | 2 +- internal/trans/decoders.go | 2 +- internal/trans/encoders.go | 2 +- internal/trans/export.go | 4 +- internal/trans/exporter.go | 2 +- internal/trans/exportminimal.go | 2 +- internal/trans/exportminimal_test.go | 2 +- internal/trans/import.go | 6 +- internal/trans/import_test.go | 8 +- internal/trans/importer.go | 2 +- internal/trans/trans_test.go | 8 +- internal/transport/controller.go | 10 +- internal/transport/deliver.go | 12 +- internal/transport/delivery/delivery.go | 2 +- internal/transport/delivery/delivery_test.go | 4 +- internal/transport/delivery/worker.go | 10 +- internal/transport/delivery/worker_test.go | 6 +- internal/transport/derefdomainpermlist.go | 6 +- internal/transport/dereference.go | 8 +- internal/transport/derefinstance.go | 16 +- internal/transport/derefmedia.go | 2 +- internal/transport/derefrobots.go | 4 +- internal/transport/finger.go | 8 +- internal/transport/transport.go | 8 +- internal/transport/transport_test.go | 26 +-- internal/typeutils/astointernal.go | 16 +- internal/typeutils/astointernal_test.go | 6 +- internal/typeutils/converter.go | 10 +- internal/typeutils/converter_test.go | 16 +- internal/typeutils/csv.go | 10 +- internal/typeutils/defaulticons.go | 6 +- internal/typeutils/frontendtointernal.go | 4 +- internal/typeutils/internal.go | 16 +- internal/typeutils/internaltoas.go | 16 +- internal/typeutils/internaltoas_test.go | 8 +- internal/typeutils/internaltofrontend.go | 30 +-- internal/typeutils/internaltofrontend_test.go | 26 +-- internal/typeutils/internaltorss.go | 10 +- internal/typeutils/internaltorss_test.go | 6 +- internal/typeutils/util.go | 18 +- internal/typeutils/util_test.go | 10 +- internal/typeutils/wrap.go | 8 +- internal/typeutils/wrap_test.go | 4 +- internal/uris/uri.go | 4 +- internal/util/domain_test.go | 4 +- internal/util/namestring.go | 4 +- internal/util/namestring_test.go | 2 +- internal/util/paging.go | 6 +- internal/util/paging_test.go | 4 +- internal/util/secret_test.go | 2 +- internal/util/time_test.go | 4 +- internal/util/xslices/slices_test.go | 2 +- internal/validate/formvalidation.go | 8 +- internal/validate/formvalidation_test.go | 6 +- internal/web/about.go | 8 +- internal/web/assets.go | 6 +- internal/web/confirmemail.go | 6 +- internal/web/customcss.go | 6 +- internal/web/domain-blocklist.go | 8 +- internal/web/etag.go | 2 +- internal/web/index.go | 8 +- internal/web/login-info.go | 6 +- internal/web/maintenance.go | 6 +- internal/web/profile.go | 8 +- internal/web/rss.go | 6 +- internal/web/settings-panel.go | 6 +- internal/web/signup.go | 10 +- internal/web/tag.go | 6 +- internal/web/thread.go | 6 +- internal/web/web.go | 12 +- internal/webpush/realsender.go | 18 +- internal/webpush/realsender_test.go | 38 ++-- internal/webpush/sender.go | 10 +- internal/workers/worker_fn.go | 6 +- internal/workers/worker_msg.go | 6 +- internal/workers/workers.go | 10 +- mkdocs.yml | 2 +- testrig/config.go | 6 +- testrig/db.go | 10 +- testrig/email.go | 6 +- testrig/federatingdb.go | 12 +- testrig/federator.go | 14 +- testrig/gin.go | 2 +- testrig/log.go | 4 +- testrig/mediahandler.go | 4 +- testrig/oauthserver.go | 6 +- testrig/processor.go | 22 +-- testrig/router.go | 6 +- testrig/storage.go | 2 +- testrig/testmodels.go | 12 +- testrig/teststructs.go | 22 +-- testrig/transportcontroller.go | 20 +- testrig/util.go | 16 +- testrig/webpush.go | 6 +- web/source/settings/components/error.tsx | 2 +- web/source/settings/lib/navigation/error.tsx | 2 +- web/template/maintenance.tmpl | 2 +- web/template/page_footer.tmpl | 2 +- 1188 files changed, 4969 insertions(+), 4967 deletions(-) diff --git a/README.md b/README.md index 7c7f736e2..3dfe7f568 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ With GoToSocial, you can keep in touch with your friends, post, read, and share Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org). You can skip straight to the API documentation [here](https://docs.gotosocial.org/en/latest/api/swagger/). -To build from source, check the [CONTRIBUTING.md](https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md) file. +To build from source, check the [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file. Here's a screenshot of the instance landing page! Check out the project's [official account](https://gts.superseriousbusiness.org/@gotosocial) running on GoToSocial. @@ -101,7 +101,7 @@ It began as a solo project, and then picked up steam as more developers became i We made our first Alpha release in November 2021. We left Alpha and entered Beta in September/October 2024. -For a detailed view on what's implemented and what's not, and progress made towards [stable release](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release), please see [the roadmap document](https://github.com/superseriousbusiness/gotosocial/blob/main/ROADMAP.md). +For a detailed view on what's implemented and what's not, and progress made towards [stable release](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release), please see [the roadmap document](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md). --- @@ -343,7 +343,7 @@ Snapshot binary releases in the S3 bucket are keyed by Github commit hash. To ge ### From Source -Instructions for building GoToSocial from source are in the [CONTRIBUTING.md](https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md) file. +Instructions for building GoToSocial from source are in the [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file. ### Third-party Packaging @@ -364,7 +364,7 @@ You can also deploy your own instance of GoToSocial with the help of: ## Contributing -You would like to contribute to GtS? Great! ❤️❤️❤️ Check out the issues page to see if there's anything you intend to jump in on, and read the [CONTRIBUTING.md](https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md) file for guidelines and setting up your dev environment. +You would like to contribute to GtS? Great! ❤️❤️❤️ Check out the issues page to see if there's anything you intend to jump in on, and read the [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md) file for guidelines and setting up your dev environment. --- @@ -454,10 +454,10 @@ Sloth logo by [Anna Abramek](https://abramek.art/). The Creative Commons Attribution-ShareAlike 4.0 International License license applies specifically to the following files and subdirectories of this repository: -- [sloth logo png](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.png) -- [sloth logo webp](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.webp) -- [sloth logo svg](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.svg) -- [all default avatars](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/default_avatars) +- [sloth logo png](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.png) +- [sloth logo webp](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.webp) +- [sloth logo svg](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.svg) +- [all default avatars](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/default_avatars) Under the terms of the license, you are free to: @@ -515,7 +515,7 @@ If after reading this you are still interested in supporting us, that is wonderf NGIZero logo -Combined with the above crowdfunding sources, 2023 Alpha development of GoToSocial was funded by a 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/). See [here](https://nlnet.nl/project/GoToSocial/#ack) for more details. The successful grant application is archived [here](https://github.com/superseriousbusiness/gotosocial/blob/main/archive/nlnet/2022-next-generation-internet-zero.md). +Combined with the above crowdfunding sources, 2023 Alpha development of GoToSocial was funded by a 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/). See [here](https://nlnet.nl/project/GoToSocial/#ack) for more details. The successful grant application is archived [here](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/archive/nlnet/2022-next-generation-internet-zero.md). 2024 Beta development of GoToSocial is being funded by an additional 50,000 EUR grant from the [NGI0 Entrust Fund](https://nlnet.nl/entrust/), via [NLnet](https://nlnet.nl/). @@ -525,7 +525,7 @@ Combined with the above crowdfunding sources, 2023 Alpha development of GoToSoci ![the gnu AGPL logo](https://www.gnu.org/graphics/agplv3-155x51.png) -GoToSocial is free software, licensed under the [GNU AGPL v3 LICENSE](https://github.com/superseriousbusiness/gotosocial/blob/main/LICENSE). We encourage forking and changing the code, hacking around with it, and experimenting. +GoToSocial is free software, licensed under the [GNU AGPL v3 LICENSE](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/LICENSE). We encourage forking and changing the code, hacking around with it, and experimenting. See [here](https://www.gnu.org/licenses/why-affero-gpl.html) for the differences between AGPL versus GPL licensing, and [here](https://www.gnu.org/licenses/gpl-faq.html) for FAQ's about GPL licenses, including the AGPL. diff --git a/archive/nlnet/2022-user-operated-internet-fund.md b/archive/nlnet/2022-user-operated-internet-fund.md index 0aadf598d..96e1f00e9 100644 --- a/archive/nlnet/2022-user-operated-internet-fund.md +++ b/archive/nlnet/2022-user-operated-internet-fund.md @@ -20,7 +20,7 @@ GtS emphasizes user safety and privacy. Unlike other AP servers, it always requi GtS values ease of deployment and maintenance; this means low system requirements, simple configuration, minimal external dependencies, and clear documentation. GtS makes it easy + affordable for self-hosting newcomers to set up a Fediverse server on low- (or even solar-) powered equipment they might have lying around at home. -GtS began development in Feb 2021. It is still in Alpha, and we hope to use NLNet funding to bring it up to the Beta phase. The project roadmap (https://github.com/superseriousbusiness/gotosocial/blob/main/ROADMAP.md) gives more information on what we have planned. +GtS began development in Feb 2021. It is still in Alpha, and we hope to use NLNet funding to bring it up to the Beta phase. The project roadmap (https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md) gives more information on what we have planned. > Have you been involved with projects or organisations relevant to this project before? And if so, can you tell us a bit about your contributions? (Optional) This can help us determine if you are the right person to undertake this effort. @@ -45,7 +45,7 @@ Aside from GoToSocial, I've also made small PRs upstream to the ActivityPub libr Currently, GoToSocial receives about €22/week from LiberaPay donations - https://liberapay.com/gotosocial. I have been paying my own costs for working on the project from my savings, which is unfortunately not sustainable for a lot longer. -The requested NLNet budget will be used to fund the remaining Alpha portion of development, and bring GoToSocial into the Beta phase (see the roadmap - https://github.com/superseriousbusiness/gotosocial/blob/main/ROADMAP.md). In practical terms, this means paying myself to work full time on the project for one year, and paying for contributions from other developers as well. +The requested NLNet budget will be used to fund the remaining Alpha portion of development, and bring GoToSocial into the Beta phase (see the roadmap - https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md). In practical terms, this means paying myself to work full time on the project for one year, and paying for contributions from other developers as well. To pay my living costs + rent I need to make about €2,000/month after tax, working full time. In Belgium, that equates to about €3,000/month, which is €36,000 for one year of work. Naively calculated at 40 hours / week, that's €18.75 per hour. diff --git a/cmd/gen-ulid/main.go b/cmd/gen-ulid/main.go index f96df4415..f6e3f4b84 100644 --- a/cmd/gen-ulid/main.go +++ b/cmd/gen-ulid/main.go @@ -17,6 +17,6 @@ package main -import "github.com/superseriousbusiness/gotosocial/internal/id" +import "code.superseriousbusiness.org/gotosocial/internal/id" func main() { println(id.NewULID()) } diff --git a/cmd/gotosocial/action/admin/account/account.go b/cmd/gotosocial/action/admin/account/account.go index 7486e9657..2c12f90bb 100644 --- a/cmd/gotosocial/action/admin/account/account.go +++ b/cmd/gotosocial/action/admin/account/account.go @@ -24,14 +24,14 @@ import ( "text/tabwriter" "time" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" "golang.org/x/crypto/bcrypt" ) diff --git a/cmd/gotosocial/action/admin/media/list.go b/cmd/gotosocial/action/admin/media/list.go index e80c0da51..a07bf4145 100644 --- a/cmd/gotosocial/action/admin/media/list.go +++ b/cmd/gotosocial/action/admin/media/list.go @@ -25,14 +25,14 @@ import ( "os" "path" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" ) type list struct { diff --git a/cmd/gotosocial/action/admin/media/prune/all.go b/cmd/gotosocial/action/admin/media/prune/all.go index b334feb6d..9c2a6a99f 100644 --- a/cmd/gotosocial/action/admin/media/prune/all.go +++ b/cmd/gotosocial/action/admin/media/prune/all.go @@ -20,10 +20,10 @@ package prune import ( "context" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // All performs all media clean actions diff --git a/cmd/gotosocial/action/admin/media/prune/common.go b/cmd/gotosocial/action/admin/media/prune/common.go index fce445fb0..70679e7c2 100644 --- a/cmd/gotosocial/action/admin/media/prune/common.go +++ b/cmd/gotosocial/action/admin/media/prune/common.go @@ -21,13 +21,13 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - gtsstorage "github.com/superseriousbusiness/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + gtsstorage "code.superseriousbusiness.org/gotosocial/internal/storage" ) type prune struct { diff --git a/cmd/gotosocial/action/admin/media/prune/orphaned.go b/cmd/gotosocial/action/admin/media/prune/orphaned.go index e9cb27256..4894e8900 100644 --- a/cmd/gotosocial/action/admin/media/prune/orphaned.go +++ b/cmd/gotosocial/action/admin/media/prune/orphaned.go @@ -20,10 +20,10 @@ package prune import ( "context" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // Orphaned prunes orphaned media from storage. diff --git a/cmd/gotosocial/action/admin/media/prune/remote.go b/cmd/gotosocial/action/admin/media/prune/remote.go index 5efa5602a..fdb3a3ce9 100644 --- a/cmd/gotosocial/action/admin/media/prune/remote.go +++ b/cmd/gotosocial/action/admin/media/prune/remote.go @@ -21,10 +21,10 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // Remote prunes old and/or unused remote media. diff --git a/cmd/gotosocial/action/admin/trans/export.go b/cmd/gotosocial/action/admin/trans/export.go index dae2db7db..8984a2bab 100644 --- a/cmd/gotosocial/action/admin/trans/export.go +++ b/cmd/gotosocial/action/admin/trans/export.go @@ -22,11 +22,11 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/trans" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/trans" ) // Export exports info from the database into a file diff --git a/cmd/gotosocial/action/admin/trans/import.go b/cmd/gotosocial/action/admin/trans/import.go index d34c816bb..00762bee3 100644 --- a/cmd/gotosocial/action/admin/trans/import.go +++ b/cmd/gotosocial/action/admin/trans/import.go @@ -22,11 +22,11 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/trans" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/trans" ) // Import imports info from a file into the database diff --git a/cmd/gotosocial/action/debug/config/config.go b/cmd/gotosocial/action/debug/config/config.go index b286ed3e1..bc2c379ca 100644 --- a/cmd/gotosocial/action/debug/config/config.go +++ b/cmd/gotosocial/action/debug/config/config.go @@ -22,8 +22,8 @@ import ( "encoding/json" "os" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" ) // Config just prints the collated config out to stdout as json. diff --git a/cmd/gotosocial/action/server/server.go b/cmd/gotosocial/action/server/server.go index 4caf44cad..a9fc659d8 100644 --- a/cmd/gotosocial/action/server/server.go +++ b/cmd/gotosocial/action/server/server.go @@ -30,43 +30,43 @@ import ( "syscall" "time" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/federation/federatingdb" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/spam" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/media/ffmpeg" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/oauth/handlers" + "code.superseriousbusiness.org/gotosocial/internal/observability" + "code.superseriousbusiness.org/gotosocial/internal/oidc" + "code.superseriousbusiness.org/gotosocial/internal/processing" + tlprocessor "code.superseriousbusiness.org/gotosocial/internal/processing/timeline" + "code.superseriousbusiness.org/gotosocial/internal/router" + "code.superseriousbusiness.org/gotosocial/internal/state" + gtsstorage "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/web" + "code.superseriousbusiness.org/gotosocial/internal/webpush" "github.com/KimMachineGun/automemlimit/memlimit" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/federation/federatingdb" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/spam" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/media/ffmpeg" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/oauth/handlers" - "github.com/superseriousbusiness/gotosocial/internal/observability" - "github.com/superseriousbusiness/gotosocial/internal/oidc" - "github.com/superseriousbusiness/gotosocial/internal/processing" - tlprocessor "github.com/superseriousbusiness/gotosocial/internal/processing/timeline" - "github.com/superseriousbusiness/gotosocial/internal/router" - "github.com/superseriousbusiness/gotosocial/internal/state" - gtsstorage "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/web" - "github.com/superseriousbusiness/gotosocial/internal/webpush" "go.uber.org/automaxprocs/maxprocs" ) diff --git a/cmd/gotosocial/action/testrig/no_testrig.go b/cmd/gotosocial/action/testrig/no_testrig.go index 7205ecf6b..07e9960dc 100644 --- a/cmd/gotosocial/action/testrig/no_testrig.go +++ b/cmd/gotosocial/action/testrig/no_testrig.go @@ -19,7 +19,7 @@ package testrig -import "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" +import "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" // Start creates and starts a gotosocial testrig server. // This is only enabled in debug builds, else is nil. diff --git a/cmd/gotosocial/action/testrig/testrig.go b/cmd/gotosocial/action/testrig/testrig.go index c0c080e38..245421ab3 100644 --- a/cmd/gotosocial/action/testrig/testrig.go +++ b/cmd/gotosocial/action/testrig/testrig.go @@ -28,29 +28,29 @@ import ( "os/signal" "syscall" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/observability" + "code.superseriousbusiness.org/gotosocial/internal/oidc" + tlprocessor "code.superseriousbusiness.org/gotosocial/internal/processing/timeline" + "code.superseriousbusiness.org/gotosocial/internal/router" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/web" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/language" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/observability" - "github.com/superseriousbusiness/gotosocial/internal/oidc" - tlprocessor "github.com/superseriousbusiness/gotosocial/internal/processing/timeline" - "github.com/superseriousbusiness/gotosocial/internal/router" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/web" - "github.com/superseriousbusiness/gotosocial/testrig" ) // Start creates and starts a gotosocial testrig server. diff --git a/cmd/gotosocial/admin.go b/cmd/gotosocial/admin.go index 41eb40633..63c37a7ce 100644 --- a/cmd/gotosocial/admin.go +++ b/cmd/gotosocial/admin.go @@ -18,12 +18,12 @@ package main import ( + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/admin/account" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/admin/media" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/admin/media/prune" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/admin/trans" + "code.superseriousbusiness.org/gotosocial/internal/config" "github.com/spf13/cobra" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/admin/account" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/admin/media" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/admin/media/prune" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/admin/trans" - "github.com/superseriousbusiness/gotosocial/internal/config" ) func adminCommands() *cobra.Command { diff --git a/cmd/gotosocial/common.go b/cmd/gotosocial/common.go index baf8a15b5..bc27f0147 100644 --- a/cmd/gotosocial/common.go +++ b/cmd/gotosocial/common.go @@ -21,10 +21,10 @@ import ( "context" "fmt" + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/spf13/cobra" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type preRunArgs struct { diff --git a/cmd/gotosocial/debug.go b/cmd/gotosocial/debug.go index c01baeb8b..4b819e8a6 100644 --- a/cmd/gotosocial/debug.go +++ b/cmd/gotosocial/debug.go @@ -18,9 +18,9 @@ package main import ( + configaction "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/debug/config" + "code.superseriousbusiness.org/gotosocial/internal/config" "github.com/spf13/cobra" - configaction "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/debug/config" - "github.com/superseriousbusiness/gotosocial/internal/config" ) func debugCommands() *cobra.Command { diff --git a/cmd/gotosocial/main.go b/cmd/gotosocial/main.go index 7d45c126d..8e17fc637 100644 --- a/cmd/gotosocial/main.go +++ b/cmd/gotosocial/main.go @@ -25,8 +25,8 @@ import ( "github.com/spf13/cobra" - _ "github.com/superseriousbusiness/gotosocial/docs" - "github.com/superseriousbusiness/gotosocial/internal/config" + _ "code.superseriousbusiness.org/gotosocial/docs" + "code.superseriousbusiness.org/gotosocial/internal/config" ) // Version is the version of GoToSocial being used. diff --git a/cmd/gotosocial/server.go b/cmd/gotosocial/server.go index da571ec3f..8b316aca8 100644 --- a/cmd/gotosocial/server.go +++ b/cmd/gotosocial/server.go @@ -18,9 +18,9 @@ package main import ( + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/server" + "code.superseriousbusiness.org/gotosocial/internal/config" "github.com/spf13/cobra" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/server" - "github.com/superseriousbusiness/gotosocial/internal/config" ) // serverCommands returns the 'server' subcommand diff --git a/cmd/gotosocial/testrig.go b/cmd/gotosocial/testrig.go index 124fc1105..ee21b7312 100644 --- a/cmd/gotosocial/testrig.go +++ b/cmd/gotosocial/testrig.go @@ -18,8 +18,8 @@ package main import ( + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/testrig" "github.com/spf13/cobra" - "github.com/superseriousbusiness/gotosocial/cmd/gotosocial/action/testrig" ) func testrigCommands() *cobra.Command { diff --git a/cmd/process-emoji/main.go b/cmd/process-emoji/main.go index d43962d88..04d9b074b 100644 --- a/cmd/process-emoji/main.go +++ b/cmd/process-emoji/main.go @@ -24,15 +24,15 @@ import ( "os/signal" "syscall" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/media/ffmpeg" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-storage/memory" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/media/ffmpeg" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/util" ) func main() { diff --git a/cmd/process-media/main.go b/cmd/process-media/main.go index 27d1de201..1246fecfc 100644 --- a/cmd/process-media/main.go +++ b/cmd/process-media/main.go @@ -27,15 +27,15 @@ import ( "syscall" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/media/ffmpeg" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" "codeberg.org/gruf/go-storage/memory" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/media/ffmpeg" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" ) func main() { diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 011458723..d90aa4da1 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -3,7 +3,7 @@ definitions: FilterAction: title: FilterAction is the action to apply to statuses matching a filter. type: string - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model InstanceConfigurationEmojis: properties: emoji_size_limit: @@ -14,7 +14,7 @@ definitions: x-go-name: EmojiSizeLimit title: InstanceConfigurationEmojis models instance emoji config parameters. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model Link: description: See https://webfinger.net/ and https://www.rfc-editor.org/rfc/rfc6415.html#section-3.1 properties: @@ -32,7 +32,7 @@ definitions: x-go-name: Type title: Link represents one 'link' in a slice of links returned from a lookup request. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model Mention: properties: acct: @@ -59,7 +59,7 @@ definitions: x-go-name: Username title: Mention represents a mention of another account. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoServices: properties: inbound: @@ -74,7 +74,7 @@ definitions: x-go-name: Outbound title: NodeInfoServices represents inbound and outbound services that this node offers connections to. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoSoftware: properties: homepage: @@ -97,7 +97,7 @@ definitions: x-go-name: Version title: NodeInfoSoftware represents the name and version number of the software of this node. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoUsage: properties: localComments: @@ -112,7 +112,7 @@ definitions: $ref: '#/definitions/NodeInfoUsers' title: NodeInfoUsage represents usage information about this server, such as number of users. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoUsers: properties: activeHalfYear: @@ -129,7 +129,7 @@ definitions: x-go-name: Total title: NodeInfoUsers represents aggregate information about the users on the server. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model Source: description: Returned as an additional entity when verifying and updated credentials, as an attribute of Account. properties: @@ -196,7 +196,7 @@ definitions: x-go-name: WebVisibility title: Source represents display or publishing preferences of user's own account. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model TimelineMarker: properties: last_read_id: @@ -214,11 +214,11 @@ definitions: x-go-name: Version title: TimelineMarker contains information about a user's progress through a specific timeline. type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model WebPushNotificationPolicy: title: WebPushNotificationPolicy names sets of accounts that can generate notifications. type: string - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model account: description: The modelled account can be either a remote account, or one on this instance. properties: @@ -400,7 +400,7 @@ definitions: title: Account models a fediverse account. type: object x-go-name: Account - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountDisplayRole: description: This is a subset of AccountRole. properties: @@ -423,7 +423,7 @@ definitions: title: AccountDisplayRole models a public, displayable role of an account. type: object x-go-name: AccountDisplayRole - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountExportStats: description: |- AccountExportStats models an account's stats @@ -473,7 +473,7 @@ definitions: x-go-name: StatusesCount type: object x-go-name: AccountExportStats - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountRelationship: properties: blocked_by: @@ -536,7 +536,7 @@ definitions: title: Relationship represents a relationship between accounts. type: object x-go-name: Relationship - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountRole: properties: color: @@ -568,7 +568,7 @@ definitions: title: AccountRole models the role of an account. type: object x-go-name: AccountRole - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminAccountInfo: properties: account: @@ -663,7 +663,7 @@ definitions: title: AdminAccountInfo models the admin view of an account's details. type: object x-go-name: AdminAccountInfo - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminActionResponse: description: |- AdminActionResponse models the server @@ -676,7 +676,7 @@ definitions: x-go-name: ActionID type: object x-go-name: AdminActionResponse - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminEmoji: properties: category: @@ -743,7 +743,7 @@ definitions: title: AdminEmoji models the admin view of a custom emoji. type: object x-go-name: AdminEmoji - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminReport: properties: account: @@ -824,7 +824,7 @@ definitions: title: AdminReport models the admin view of a report. type: object x-go-name: AdminReport - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model application: properties: client_id: @@ -880,7 +880,7 @@ definitions: title: Application models an api application. type: object x-go-name: Application - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model attachment: properties: blurhash: @@ -939,7 +939,7 @@ definitions: title: Attachment models a media attachment. type: object x-go-name: Attachment - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model card: properties: author_name: @@ -1012,7 +1012,7 @@ definitions: title: Card represents a rich preview card that is generated using OpenGraph tags from a URL. type: object x-go-name: Card - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model conversation: description: |- Conversation represents a conversation @@ -1041,7 +1041,7 @@ definitions: x-go-name: Unread type: object x-go-name: Conversation - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model debugAPUrlResponse: description: |- DebugAPUrlResponse provides detailed debug @@ -1081,7 +1081,7 @@ definitions: x-go-name: ResponseHeaders type: object x-go-name: DebugAPUrlResponse - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model defaultPolicies: properties: direct: @@ -1095,7 +1095,7 @@ definitions: title: Default interaction policies to use for new statuses by requesting account. type: object x-go-name: DefaultPolicies - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model domain: description: Domain represents a remote domain properties: @@ -1130,7 +1130,7 @@ definitions: x-go-name: SuspendedAt type: object x-go-name: Domain - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model domainPermission: properties: comment: @@ -1202,7 +1202,7 @@ definitions: title: DomainPermission represents a permission applied to one domain (explicit block/allow). type: object x-go-name: DomainPermission - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model domainPermissionSubscription: properties: adopt_orphans: @@ -1296,7 +1296,7 @@ definitions: title: DomainPermissionSubscription represents an auto-refreshing subscription to a list of domain permissions (allows, blocks). type: object x-go-name: DomainPermissionSubscription - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model emoji: properties: category: @@ -1327,7 +1327,7 @@ definitions: title: Emoji represents a custom emoji. type: object x-go-name: Emoji - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model emojiCategory: properties: id: @@ -1341,7 +1341,7 @@ definitions: title: EmojiCategory represents a custom emoji category. type: object x-go-name: EmojiCategory - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model field: properties: name: @@ -1362,13 +1362,13 @@ definitions: title: Field represents a name/value pair to display on an account's profile. type: object x-go-name: Field - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterContext: description: v1 and v2 filter APIs use the same set of contexts. title: FilterContext represents the context in which to apply a filter. type: string x-go-name: FilterContext - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterKeyword: properties: id: @@ -1388,7 +1388,7 @@ definitions: title: FilterKeyword represents text to filter within a v2 filter. type: object x-go-name: FilterKeyword - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterResult: properties: filter: @@ -1408,7 +1408,7 @@ definitions: title: FilterResult is returned along with a filtered status to explain why it was filtered. type: object x-go-name: FilterResult - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterStatus: properties: id: @@ -1422,7 +1422,7 @@ definitions: title: FilterStatus represents a single status to filter within a v2 filter. type: object x-go-name: FilterStatus - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterV1: description: |- Note that v1 filters are mapped to v2 filters and v2 filter keywords internally. @@ -1471,7 +1471,7 @@ definitions: title: FilterV1 represents a user-defined filter for determining which statuses should not be shown to the user. type: object x-go-name: FilterV1 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterV2: description: v2 filters have names and can include multiple phrases and status IDs to filter. properties: @@ -1517,7 +1517,7 @@ definitions: title: FilterV2 represents a user-defined filter for determining which statuses should not be shown to the user. type: object x-go-name: FilterV2 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model headerFilter: properties: created_at: @@ -1551,7 +1551,7 @@ definitions: title: HeaderFilter represents a regex value filter applied to one particular HTTP header (allow / block). type: object x-go-name: HeaderFilter - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model hostmeta: description: 'See: https://www.rfc-editor.org/rfc/rfc6415.html#section-3' properties: @@ -1565,7 +1565,7 @@ definitions: title: HostMeta represents a hostmeta document. type: object x-go-name: HostMeta - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationAccounts: properties: allow_custom_css: @@ -1590,7 +1590,7 @@ definitions: title: InstanceConfigurationAccounts models instance account config parameters. type: object x-go-name: InstanceConfigurationAccounts - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationMediaAttachments: properties: image_matrix_limit: @@ -1643,7 +1643,7 @@ definitions: title: InstanceConfigurationMediaAttachments models instance media attachment config parameters. type: object x-go-name: InstanceConfigurationMediaAttachments - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationPolls: properties: max_characters_per_option: @@ -1673,7 +1673,7 @@ definitions: title: InstanceConfigurationPolls models instance poll config parameters. type: object x-go-name: InstanceConfigurationPolls - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationStatuses: properties: characters_reserved_per_url: @@ -1706,7 +1706,7 @@ definitions: title: InstanceConfigurationStatuses models instance status config parameters. type: object x-go-name: InstanceConfigurationStatuses - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceRule: properties: id: @@ -1718,7 +1718,7 @@ definitions: title: InstanceRule represents a single instance rule. type: object x-go-name: InstanceRule - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV1: properties: account_domain: @@ -1875,7 +1875,7 @@ definitions: title: InstanceV1 models information about this instance. type: object x-go-name: InstanceV1 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV1Configuration: properties: accounts: @@ -1895,7 +1895,7 @@ definitions: title: InstanceV1Configuration models instance configuration parameters. type: object x-go-name: InstanceV1Configuration - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV1URLs: properties: streaming_api: @@ -1906,7 +1906,7 @@ definitions: title: InstanceV1URLs models instance-relevant URLs for client application consumption. type: object x-go-name: InstanceV1URLs - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2: properties: account_domain: @@ -1998,7 +1998,7 @@ definitions: title: InstanceV2 models information about this instance. type: object x-go-name: InstanceV2 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Configuration: properties: accounts: @@ -2024,7 +2024,7 @@ definitions: title: Configured values and limits for this instance. type: object x-go-name: InstanceV2Configuration - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2ConfigurationTranslation: properties: enabled: @@ -2036,7 +2036,7 @@ definitions: title: Hints related to translation. type: object x-go-name: InstanceV2ConfigurationTranslation - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2ConfigurationVAPID: properties: public_key: @@ -2046,7 +2046,7 @@ definitions: title: InstanceV2ConfigurationVAPID holds the instance's VAPID configuration. type: object x-go-name: InstanceV2ConfigurationVAPID - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Contact: properties: account: @@ -2061,7 +2061,7 @@ definitions: title: Hints related to contacting a representative of the instance. type: object x-go-name: InstanceV2Contact - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Registrations: properties: approval_required: @@ -2084,7 +2084,7 @@ definitions: title: Information about registering for this instance. type: object x-go-name: InstanceV2Registrations - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Thumbnail: properties: blurhash: @@ -2130,7 +2130,7 @@ definitions: title: An image used to represent this instance. type: object x-go-name: InstanceV2Thumbnail - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2ThumbnailVersions: properties: '@1x': @@ -2148,7 +2148,7 @@ definitions: title: Links to scaled resolution images, for high DPI screens. type: object x-go-name: InstanceV2ThumbnailVersions - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2URLs: properties: streaming: @@ -2159,7 +2159,7 @@ definitions: title: InstanceV2URLs models instance-relevant URLs for client application consumption. type: object x-go-name: InstanceV2URLs - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Usage: properties: users: @@ -2167,7 +2167,7 @@ definitions: title: Usage data for this instance. type: object x-go-name: InstanceV2Usage - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Users: properties: active_month: @@ -2181,7 +2181,7 @@ definitions: title: Usage data related to users on this instance. type: object x-go-name: InstanceV2Users - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionPolicy: properties: can_favourite: @@ -2193,7 +2193,7 @@ definitions: title: Interaction policy of a status. type: object x-go-name: InteractionPolicy - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionPolicyRules: properties: always: @@ -2211,7 +2211,7 @@ definitions: title: Rules for one interaction type. type: object x-go-name: PolicyRules - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionPolicyValue: description: |- It can be EITHER one of the internal keywords listed below, OR a full-fledged ActivityPub URI of an Actor, like "https://example.org/users/some_user". @@ -2228,7 +2228,7 @@ definitions: title: One interaction policy entry for a status. type: string x-go-name: PolicyValue - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionRequest: properties: accepted_at: @@ -2269,7 +2269,7 @@ definitions: title: InteractionRequest represents a pending, approved, or rejected interaction of type favourite, reply, or reblog. type: object x-go-name: InteractionRequest - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model list: properties: exclusive: @@ -2297,7 +2297,7 @@ definitions: title: List represents a user-created list of accounts that the user follows. type: object x-go-name: List - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model markers: properties: home: @@ -2307,7 +2307,7 @@ definitions: title: Marker represents the last read position within a user's timelines. type: object x-go-name: Marker - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mediaDimensions: properties: aspect: @@ -2365,7 +2365,7 @@ definitions: title: MediaDimensions models detailed properties of a piece of media. type: object x-go-name: MediaDimensions - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mediaFocus: properties: x: @@ -2385,7 +2385,7 @@ definitions: title: MediaFocus models the focal point of a piece of media. type: object x-go-name: MediaFocus - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mediaMeta: description: This can be metadata about an image, an audio file, video, etc. properties: @@ -2398,7 +2398,7 @@ definitions: title: MediaMeta models media metadata. type: object x-go-name: MediaMeta - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mutedAccount: properties: acct: @@ -2586,7 +2586,7 @@ definitions: title: MutedAccount extends Account with a field used only by the muted user list. type: object x-go-name: MutedAccount - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model nodeinfo: description: 'See: https://nodeinfo.diaspora.software/schema.html' properties: @@ -2620,7 +2620,7 @@ definitions: title: Nodeinfo represents a version 2.1 or version 2.0 nodeinfo schema. type: object x-go-name: Nodeinfo - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model notification: properties: account: @@ -2651,7 +2651,7 @@ definitions: title: Notification represents a notification of an event relevant to the user. type: object x-go-name: Notification - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model oauthToken: properties: access_token: @@ -2677,7 +2677,7 @@ definitions: title: Token represents an OAuth token used for authenticating with the GoToSocial API and performing actions. type: object x-go-name: Token - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model poll: properties: emojis: @@ -2740,7 +2740,7 @@ definitions: title: Poll represents a poll attached to a status. type: object x-go-name: Poll - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model pollOption: properties: title: @@ -2755,7 +2755,7 @@ definitions: title: PollOption represents the current vote counts for different poll options. type: object x-go-name: PollOption - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model report: properties: action_taken: @@ -2831,7 +2831,7 @@ definitions: title: Report models a moderation report submitted to the instance, either via the client API or via the federated API. type: object x-go-name: Report - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model searchResult: properties: accounts: @@ -2852,7 +2852,7 @@ definitions: title: SearchResult models a search result. type: object x-go-name: SearchResult - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model status: properties: account: @@ -3015,7 +3015,7 @@ definitions: title: Status models a status or post. type: object x-go-name: Status - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model statusEdit: description: |- StatusEdit represents one historical revision of a status, containing @@ -3061,7 +3061,7 @@ definitions: x-go-name: SpoilerText type: object x-go-name: StatusEdit - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model statusReblogged: properties: account: @@ -3224,7 +3224,7 @@ definitions: title: StatusReblogged represents a reblogged status. type: object x-go-name: StatusReblogged - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model statusSource: description: |- StatusSource represents the source text of a @@ -3249,7 +3249,7 @@ definitions: x-go-name: Text type: object x-go-name: StatusSource - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model swaggerCollection: properties: '@context': @@ -3276,7 +3276,7 @@ definitions: title: SwaggerCollection represents an ActivityPub Collection. type: object x-go-name: SwaggerCollection - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users + x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users swaggerCollectionPage: properties: id: @@ -3311,7 +3311,7 @@ definitions: title: SwaggerCollectionPage represents one page of a collection. type: object x-go-name: SwaggerCollectionPage - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users + x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users swaggerFeaturedCollection: properties: '@context': @@ -3348,7 +3348,7 @@ definitions: title: SwaggerFeaturedCollection represents an ActivityPub OrderedCollection. type: object x-go-name: SwaggerFeaturedCollection - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users + x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users tag: properties: following: @@ -3378,7 +3378,7 @@ definitions: title: Tag represents a hashtag used within the content of a status. type: object x-go-name: Tag - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model theme: properties: description: @@ -3396,7 +3396,7 @@ definitions: title: Theme represents one user-selectable preset CSS theme. type: object x-go-name: Theme - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model threadContext: description: |- ThreadContext models the tree or @@ -3416,7 +3416,7 @@ definitions: x-go-name: Descendants type: object x-go-name: ThreadContext - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model tokenInfo: description: The actual access token itself will never be sent via the API. properties: @@ -3447,7 +3447,7 @@ definitions: title: TokenInfo represents metadata about one user-level access token. type: object x-go-name: TokenInfo - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model user: properties: admin: @@ -3523,7 +3523,7 @@ definitions: title: User models fields relevant to one user. type: object x-go-name: User - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model webPushNotification: description: |- It does not contain an entire Notification, just the NotificationID and some preview information. @@ -3570,7 +3570,7 @@ definitions: title: WebPushNotification represents a notification summary delivered to the client by the Web Push server. type: object x-go-name: WebPushNotification - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model webPushSubscription: properties: alerts: @@ -3598,7 +3598,7 @@ definitions: title: WebPushSubscription represents a subscription to a Web Push server. type: object x-go-name: WebPushSubscription - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model webPushSubscriptionAlerts: properties: admin.report: @@ -3656,7 +3656,7 @@ definitions: title: WebPushSubscriptionAlerts represents the specific events that this Web Push subscription will receive. type: object x-go-name: WebPushSubscriptionAlerts - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model wellKnownResponse: description: See https://webfinger.net/ properties: @@ -3678,7 +3678,7 @@ definitions: For example, it would be returned from https://example.org/.well-known/webfinger?resource=acct:some_username@example.org type: object x-go-name: WellKnownResponse - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model host: example.org info: contact: diff --git a/docs/configuration/index.md b/docs/configuration/index.md index 211ccfaea..46f06bac5 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -18,7 +18,7 @@ gotosocial --config-path ./config.yaml server start The command expects a file in [YAML](https://en.wikipedia.org/wiki/YAML) or [JSON](https://en.wikipedia.org/wiki/JSON) format. -An example configuration file, with an explanation of each of the config fields, with default and example values, can be found [here](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml). This example file is also included in release downloads. +An example configuration file, with an explanation of each of the config fields, with default and example values, can be found [here](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml). This example file is also included in release downloads. It's recommended to create your own configuration file with only the settings you need to change for your installation. This ensures you don't have to reconcile changes to defaults or adding/updating/removing settings from your configuration file that you haven't changed away from the defaults on every release. @@ -125,7 +125,7 @@ This means in cases where you want to just try changing one thing, but don't wan Reasonable default values are provided for *most* of the configuration parameters, except in cases where a custom value is absolutely required. -See the [example config file](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml) for the default values, or run `gotosocial --help`. +See the [example config file](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml) for the default values, or run `gotosocial --help`. ## `GTS_WAZERO_COMPILATION_CACHE` diff --git a/docs/faq.md b/docs/faq.md index 72fed557d..3a1d0b6ad 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -38,4 +38,4 @@ We introduced a sign-up flow in v0.16.0. The server you want to sign up to must ## Why's it still in Beta? -Take a look at the [list of open bugs](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and the [roadmap](https://github.com/superseriousbusiness/gotosocial/blob/main/ROADMAP.md) for a more detailed rundown. +Take a look at the [list of open bugs](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and the [roadmap](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/ROADMAP.md) for a more detailed rundown. diff --git a/docs/federation/http_signatures.md b/docs/federation/http_signatures.md index cd7aa3c1c..bf77472f3 100644 --- a/docs/federation/http_signatures.md +++ b/docs/federation/http_signatures.md @@ -24,7 +24,7 @@ See [#894](https://github.com/superseriousbusiness/gotosocial/issues/894) for mo ## Incoming Requests -GoToSocial request signature validation is implemented in [internal/federation](https://github.com/superseriousbusiness/gotosocial/blob/main/internal/federation/authenticate.go). +GoToSocial request signature validation is implemented in [internal/federation](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/federation/authenticate.go). GoToSocial will attempt to parse the signature using the following algorithms (in order), stopping at the first success: @@ -36,7 +36,7 @@ ED25519 ## Outgoing Requests -GoToSocial request signing is implemented in [internal/transport](https://github.com/superseriousbusiness/gotosocial/blob/main/internal/transport/signing.go). +GoToSocial request signing is implemented in [internal/transport](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/transport/signing.go). Once https://github.com/superseriousbusiness/gotosocial/issues/2991 is resolved, GoToSocial will use the `(created)` pseudo-header instead of `date`. diff --git a/docs/getting_started/index.md b/docs/getting_started/index.md index 21a7b234a..e320a565c 100644 --- a/docs/getting_started/index.md +++ b/docs/getting_started/index.md @@ -155,7 +155,7 @@ Though multiple GtS instances can use the same Postgres database and either shar ## Tuning -Aside from the many instance tuning options present in the [example config file](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml) you can do additional tuning on the machine your GoToSocial instance is running on. +Aside from the many instance tuning options present in the [example config file](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml) you can do additional tuning on the machine your GoToSocial instance is running on. ### Swap diff --git a/docs/locales/zh/api/swagger.yaml b/docs/locales/zh/api/swagger.yaml index 3ba31a8af..d3e98d36f 100644 --- a/docs/locales/zh/api/swagger.yaml +++ b/docs/locales/zh/api/swagger.yaml @@ -4,7 +4,7 @@ definitions: title: FilterAction description: FilterAction 是针对与过滤规则匹配的贴文所执行的操作。 type: string - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model InstanceConfigurationEmojis: properties: emoji_size_limit: @@ -16,7 +16,7 @@ definitions: title: InstanceConfigurationEmojis description: InstanceConfigurationEmojis 结构体包含有关自定义表情的配置信息。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model Link: description: Link 代表针对查询请求返回的链接组中的一个“链接”。详见 https://webfinger.net/ 和 https://www.rfc-editor.org/rfc/rfc6415.html#section-3.1 properties: @@ -34,7 +34,7 @@ definitions: x-go-name: Type title: Link type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model Mention: properties: acct: @@ -62,7 +62,7 @@ definitions: title: Mention description: Mention 表示对另一个账户的一次提及。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoServices: properties: inbound: @@ -78,7 +78,7 @@ definitions: title: NodeInfoServices description: 表示此节点对入站和出站连接提供的服务。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoSoftware: properties: homepage: @@ -102,7 +102,7 @@ definitions: title: NodeInfoSoftware description: NodeInfoSoftware 表示此节点软件的名称和版本号。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoUsage: properties: localComments: @@ -118,7 +118,7 @@ definitions: title: NodeInfoUsage description: 表示有关此服务器的使用信息,例如用户数量。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model NodeInfoUsers: properties: activeHalfYear: @@ -136,7 +136,7 @@ definitions: title: NodeInfoUsers description: NodeInfoUsers 表示有关服务器上用户的聚合信息。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model Source: description: Source 表示用户自己账户的内容展示或发布偏好。在验证和更新凭据时,作为 Account 的一个属性返回的附加实体。 properties: @@ -195,7 +195,7 @@ definitions: x-go-name: WebVisibility title: Source type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model TimelineMarker: properties: last_read_id: @@ -214,11 +214,11 @@ definitions: title: TimelineMarker description: TimelineMarker 包含有关用户在特定时间线上的阅读进度的信息。 type: object - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model WebPushNotificationPolicy: description: WebPushNotificationPolicy 包含可以生成通知的帐户集合。 type: string - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model account: description: Account 是一个 Fediverse 账户的抽象模型。被抽象的账户可以是本站账户,也可以是外站账户。 properties: @@ -400,7 +400,7 @@ definitions: title: Account type: object x-go-name: Account - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountDisplayRole: description: AccountDisplayRole 是账户的公开、可显示身份组的抽象模型。它是 AccountRole 的一个子集。 properties: @@ -423,7 +423,7 @@ definitions: title: AccountDisplayRole type: object x-go-name: AccountDisplayRole - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountExportStats: description: |- AccountExportStats 专门用于在 /api/v1/exports/stats 端点上通知有关导出大小的账户统计信息。 @@ -471,7 +471,7 @@ definitions: x-go-name: StatusesCount type: object x-go-name: AccountExportStats - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountRelationship: properties: blocked_by: @@ -535,7 +535,7 @@ definitions: description: Relationship 表示账户之间的关系。 type: object x-go-name: Relationship - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model accountRole: properties: color: @@ -568,7 +568,7 @@ definitions: description: AccountRole 是账户的身份组的抽象模型。 type: object x-go-name: AccountRole - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminAccountInfo: properties: account: @@ -663,7 +663,7 @@ definitions: description: AdminAccountInfo 是管理员视图下账户详情的抽象模型。 type: object x-go-name: AdminAccountInfo - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminActionResponse: description: |- AdminActionResponse 是服务器对管理员操作的响应的抽象模型。 @@ -675,7 +675,7 @@ definitions: x-go-name: ActionID type: object x-go-name: AdminActionResponse - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminEmoji: properties: category: @@ -743,7 +743,7 @@ definitions: description: AdminEmoji 是管理员视图下自定义表情的抽象模型。 type: object x-go-name: AdminEmoji - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model adminReport: properties: account: @@ -825,7 +825,7 @@ definitions: description: AdminReport 是管理员视图下举报的抽象模型。 type: object x-go-name: AdminReport - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model application: properties: client_id: @@ -877,7 +877,7 @@ definitions: description: Application 是对 API 应用程序的抽象模型。 type: object x-go-name: Application - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model attachment: properties: blurhash: @@ -937,7 +937,7 @@ definitions: description: Attachment 是媒体附件的抽象模型。 type: object x-go-name: Attachment - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model card: properties: author_name: @@ -1011,7 +1011,7 @@ definitions: description: Card 表示使用 OpenGraph 标签从 URL 生成的丰富预览卡片。 type: object x-go-name: Card - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model conversation: description: |- Conversation 表示具有“私信”可见性的对话。 @@ -1037,7 +1037,7 @@ definitions: x-go-name: Unread type: object x-go-name: Conversation - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model debugAPUrlResponse: description: |- DebugAPUrlResponse 提供对 AP URL 解引用请求的详细调试信息。 @@ -1075,7 +1075,7 @@ definitions: x-go-name: ResponseHeaders type: object x-go-name: DebugAPUrlResponse - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model defaultPolicies: properties: direct: @@ -1089,7 +1089,7 @@ definitions: title: 发起请求的账户的新贴文的默认互动规则。 type: object x-go-name: DefaultPolicies - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model domain: description: Domain 表示一个外站实例 properties: @@ -1115,7 +1115,7 @@ definitions: x-go-name: SuspendedAt type: object x-go-name: Domain - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model domainPermission: properties: created_at: @@ -1173,7 +1173,7 @@ definitions: description: DomainPermission 表示应用于某个实例的权限(显式阻止/允许)。 type: object x-go-name: DomainPermission - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model domainPermissionSubscription: properties: adopt_orphans: @@ -1268,7 +1268,7 @@ definitions: description: DomainPermissionSubscription (域名权限订阅)表示一个可以自动更新的域名权限列表订阅(类型可以为允许或阻止) type: object x-go-name: DomainPermissionSubscription - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model emoji: properties: category: @@ -1300,7 +1300,7 @@ definitions: description: Emoji 表示一个自定义表情。 type: object x-go-name: Emoji - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model emojiCategory: properties: id: @@ -1315,7 +1315,7 @@ definitions: description: EmojiCategory 表示自定义表情的类别。 type: object x-go-name: EmojiCategory - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model field: properties: name: @@ -1337,13 +1337,13 @@ definitions: description: Field 表示要在账户资料上显示的名称/值对。 type: object x-go-name: Field - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterContext: description: FilterContext 表示过滤规则要应用到的上下文。Filter API 的 v1 和 v2 使用相同的上下文集合。 title: FilterContext type: string x-go-name: FilterContext - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterKeyword: properties: id: @@ -1364,7 +1364,7 @@ definitions: description: FilterKeyword 表示 v2 过滤规则中要过滤的关键词文本。 type: object x-go-name: FilterKeyword - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterResult: properties: filter: @@ -1385,7 +1385,7 @@ definitions: description: FilterResult 与被过滤的贴文一起返回,以解释为什么被过滤。 type: object x-go-name: FilterResult - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterStatus: properties: id: @@ -1400,7 +1400,7 @@ definitions: description: FilterStatus 表示 v2 过滤规则中被过滤的贴文 ID。 type: object x-go-name: FilterStatus - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterV1: description: |- FilterV1 表示用户定义的过滤规则,用于确定哪些贴文不应显示给用户。 @@ -1450,7 +1450,7 @@ definitions: title: FilterV1 type: object x-go-name: FilterV1 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model filterV2: description: FilterV2 表示用户定义的过滤规则,用于确定哪些贴文不应显示给用户。v2 过滤规则具有名称,并且可以包含多个短语和贴文 ID 以进行过滤。 properties: @@ -1496,7 +1496,7 @@ definitions: title: FilterV2 type: object x-go-name: FilterV2 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model headerFilter: properties: created_at: @@ -1531,7 +1531,7 @@ definitions: description: HeaderFilter 表示应用于特定 HTTP 标头的正则过滤规则(允许/阻止)。 type: object x-go-name: HeaderFilter - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model hostmeta: description: 'HostMeta 表示一份 hostmeta 文档。参见: https://www.rfc-editor.org/rfc/rfc6415.html#section-3' properties: @@ -1545,7 +1545,7 @@ definitions: title: HostMeta type: object x-go-name: HostMeta - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationAccounts: properties: allow_custom_css: @@ -1570,7 +1570,7 @@ definitions: description: InstanceConfigurationAccounts 是实例账户配置参数的抽象模型。 type: object x-go-name: InstanceConfigurationAccounts - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationMediaAttachments: properties: image_matrix_limit: @@ -1622,7 +1622,7 @@ definitions: description: InstanceConfigurationMediaAttachments 是实例媒体附件配置参数的抽象模型。 type: object x-go-name: InstanceConfigurationMediaAttachments - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationPolls: properties: max_characters_per_option: @@ -1653,7 +1653,7 @@ definitions: description: InstanceConfigurationPolls 是实例投票配置参数的抽象模型。 type: object x-go-name: InstanceConfigurationPolls - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceConfigurationStatuses: properties: characters_reserved_per_url: @@ -1687,7 +1687,7 @@ definitions: description: InstanceConfigurationStatuses 是实例贴文配置参数的抽象模型。 type: object x-go-name: InstanceConfigurationStatuses - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceRule: properties: id: @@ -1700,7 +1700,7 @@ definitions: description: InstanceRule 表示一条实例规则。 type: object x-go-name: InstanceRule - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV1: properties: account_domain: @@ -1856,7 +1856,7 @@ definitions: description: InstanceV1 是关于此实例的信息的抽象模型。 type: object x-go-name: InstanceV1 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV1Configuration: properties: accounts: @@ -1877,7 +1877,7 @@ definitions: description: InstanceV1Configuration 是实例配置参数的抽象模型。 type: object x-go-name: InstanceV1Configuration - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV1URLs: properties: streaming_api: @@ -1889,7 +1889,7 @@ definitions: description: InstanceV1URLs 是客户端应用程序使用的与实例相关的 URL 的抽象模型。 type: object x-go-name: InstanceV1URLs - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2: properties: account_domain: @@ -1981,7 +1981,7 @@ definitions: description: InstanceV2 是关于此实例的信息的抽象模型。 type: object x-go-name: InstanceV2 - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Configuration: properties: accounts: @@ -2008,7 +2008,7 @@ definitions: description: 此实例的配置值和限制。 type: object x-go-name: InstanceV2Configuration - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2ConfigurationTranslation: properties: enabled: @@ -2021,7 +2021,7 @@ definitions: description: 关于翻译功能的提示。 type: object x-go-name: InstanceV2ConfigurationTranslation - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2ConfigurationVAPID: properties: public_key: @@ -2031,7 +2031,7 @@ definitions: title: InstanceV2ConfigurationVAPID 存储实例的 VAPID 配置信息。 type: object x-go-name: InstanceV2ConfigurationVAPID - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Contact: properties: account: @@ -2047,7 +2047,7 @@ definitions: description: 此实例的联系信息。 type: object x-go-name: InstanceV2Contact - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Registrations: properties: approval_required: @@ -2070,7 +2070,7 @@ definitions: description: 此实例有关注册的信息。 type: object x-go-name: InstanceV2Registrations - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Thumbnail: properties: blurhash: @@ -2116,7 +2116,7 @@ definitions: description: 代表此实例的图像。 type: object x-go-name: InstanceV2Thumbnail - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2ThumbnailVersions: properties: '@1x': @@ -2135,7 +2135,7 @@ definitions: description: 缩略图的高分辨率版本,用于高 DPI 屏幕。 type: object x-go-name: InstanceV2ThumbnailVersions - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2URLs: properties: streaming: @@ -2147,7 +2147,7 @@ definitions: description: InstanceV2URLs 是客户端应用程序使用的与实例相关的 URL 的抽象模型。 type: object x-go-name: InstanceV2URLs - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Usage: properties: users: @@ -2156,7 +2156,7 @@ definitions: description: InstanceV2Usage 是关于此实例的使用数据的抽象模型。 type: object x-go-name: InstanceV2Usage - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model instanceV2Users: properties: active_month: @@ -2171,7 +2171,7 @@ definitions: description: 此实例的用户使用数据。 type: object x-go-name: InstanceV2Users - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionPolicy: properties: can_favourite: @@ -2184,7 +2184,7 @@ definitions: description: 某条贴文的互动规则。 type: object x-go-name: InteractionPolicy - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionPolicyRules: properties: always: @@ -2203,7 +2203,7 @@ definitions: description: 某类互动的规则。 type: object x-go-name: PolicyRules - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionPolicyValue: description: |- 一条贴文的互动规则条目。 @@ -2221,7 +2221,7 @@ definitions: title: InteractionPolicyValue type: string x-go-name: PolicyValue - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model interactionRequest: properties: accepted_at: @@ -2263,7 +2263,7 @@ definitions: description: InteractionRequest 表示待处理、已批准或已拒绝的点赞、回复或转发互动。 type: object x-go-name: InteractionRequest - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model list: properties: exclusive: @@ -2292,7 +2292,7 @@ definitions: description: List 表示用户为关注的账户创建的列表。 type: object x-go-name: List - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model markers: properties: home: @@ -2303,7 +2303,7 @@ definitions: description: Marker 表示用户时间线中的上次阅读位置。 type: object x-go-name: Marker - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mediaDimensions: properties: aspect: @@ -2362,7 +2362,7 @@ definitions: description: MediaDimensions 是一份媒体附件的详细属性的抽象模型。 type: object x-go-name: MediaDimensions - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mediaFocus: properties: x: @@ -2381,7 +2381,7 @@ definitions: description: MediaFocus 是媒体附件的焦点的抽象模型。 type: object x-go-name: MediaFocus - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mediaMeta: description: MediaMeta 是媒体附件的元数据的抽象模型。这可以是有关图像、音频文件、视频等的元数据。 properties: @@ -2394,7 +2394,7 @@ definitions: title: MediaMeta type: object x-go-name: MediaMeta - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model mutedAccount: properties: acct: @@ -2582,7 +2582,7 @@ definitions: description: MutedAccount 扩展了 Account,其中包含仅静音/隐藏用户列表使用的字段。 type: object x-go-name: MutedAccount - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model nodeinfo: description: 'NodeInfo 表示版本 2.1 或版本 2.0 的 nodeinfo 数据结构。参见: https://nodeinfo.diaspora.software/schema.html' properties: @@ -2616,7 +2616,7 @@ definitions: title: Nodeinfo type: object x-go-name: Nodeinfo - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model notification: properties: account: @@ -2648,7 +2648,7 @@ definitions: description: Notification 表示与用户相关的事件的通知。 type: object x-go-name: Notification - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model oauthToken: properties: access_token: @@ -2675,7 +2675,7 @@ definitions: description: Token 表示用于 GoToSocial API 身份验证和执行操作的 OAuth 令牌。 type: object x-go-name: Token - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model poll: properties: emojis: @@ -2738,7 +2738,7 @@ definitions: description: Poll 表示一个附加到贴文的投票。 type: object x-go-name: Poll - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model pollOption: properties: title: @@ -2754,7 +2754,7 @@ definitions: description: PollOption 表示不同投票选项的当前投票计数。 type: object x-go-name: PollOption - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model report: properties: action_taken: @@ -2831,7 +2831,7 @@ definitions: description: Report 是提交给实例的一份举报的抽象模型,可以通过客户端 API 或联合 API 提交。 type: object x-go-name: Report - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model searchResult: properties: accounts: @@ -2853,7 +2853,7 @@ definitions: description: SearchResult 是一次搜索结果的抽象模型。 type: object x-go-name: SearchResult - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model status: properties: account: @@ -3007,7 +3007,7 @@ definitions: description: Status 表示一条贴文或帖子。 type: object x-go-name: Status - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model statusEdit: description: |- StatusEdit 表示一条贴文的一个历史修订版本,包含该修订版本的状态的部分信息。 @@ -3059,7 +3059,7 @@ definitions: x-go-name: SpoilerText type: object x-go-name: StatusEdit - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model statusReblogged: properties: account: @@ -3221,7 +3221,7 @@ definitions: description: StatusReblogged 表示一条被转发的贴文。 type: object x-go-name: StatusReblogged - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model statusSource: description: |- StatusSource 表示创建贴文时提交给 API 的贴文源文本。 @@ -3245,7 +3245,7 @@ definitions: x-go-name: Text type: object x-go-name: StatusSource - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model swaggerCollection: properties: '@context': @@ -3272,7 +3272,7 @@ definitions: description: SwaggerCollection 表示一个 ActivityPub 集合。 type: object x-go-name: SwaggerCollection - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users + x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users swaggerCollectionPage: properties: id: @@ -3308,7 +3308,7 @@ definitions: description: SwaggerCollectionPage 表示一个 ActivityPub 集合的一页。 type: object x-go-name: SwaggerCollectionPage - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users + x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users swaggerFeaturedCollection: properties: '@context': @@ -3345,7 +3345,7 @@ definitions: description: SwaggerFeaturedCollection 表示一个有序 ActivityPub 集合。 type: object x-go-name: SwaggerFeaturedCollection - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users + x-go-package: code.superseriousbusiness/gotosocial/internal/api/activitypub/users tag: properties: following: @@ -3375,7 +3375,7 @@ definitions: description: Tag 表示贴文内容中使用的某个话题标签。 type: object x-go-name: Tag - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model theme: properties: description: @@ -3394,7 +3394,7 @@ definitions: description: Theme 表示一个用户可选的预设 CSS 主题。 type: object x-go-name: Theme - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model threadContext: description: |- ThreadContext 是围绕给定贴文的贴文树/贴文串的抽象模型。 @@ -3413,7 +3413,7 @@ definitions: x-go-name: Descendants type: object x-go-name: ThreadContext - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model tokenInfo: description: |- TokenInfo 表示与用户关联的访问令牌的元数据。 @@ -3446,7 +3446,7 @@ definitions: title: TokenInfo type: object x-go-name: TokenInfo - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model user: properties: admin: @@ -3518,7 +3518,7 @@ definitions: description: User 是单个用户的相关字段的抽象模型。 type: object x-go-name: User - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model webPushNotification: description: |- WebPushNotification 表示 Web 推送服务器传递给客户端的通知摘要。 @@ -3565,7 +3565,7 @@ definitions: title: WebPushNotification type: object x-go-name: WebPushNotification - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model webPushSubscription: properties: alerts: @@ -3594,7 +3594,7 @@ definitions: description: WebPushSubscription 表示对 Web 推送服务器的订阅。 type: object x-go-name: WebPushSubscription - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model webPushSubscriptionAlerts: properties: admin.report: @@ -3653,7 +3653,7 @@ definitions: description: WebPushSubscriptionAlerts 代表此 Web 推送订阅将接收的具体事件。 type: object x-go-name: WebPushSubscriptionAlerts - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model wellKnownResponse: properties: aliases: @@ -3676,7 +3676,7 @@ definitions: 参见 https://webfinger.net/ type: object x-go-name: WellKnownResponse - x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model + x-go-package: code.superseriousbusiness/gotosocial/internal/api/model host: example.org info: contact: diff --git a/docs/locales/zh/configuration/index.md b/docs/locales/zh/configuration/index.md index 7eba92186..bb773af4f 100644 --- a/docs/locales/zh/configuration/index.md +++ b/docs/locales/zh/configuration/index.md @@ -18,7 +18,7 @@ gotosocial --config-path ./config.yaml server start 该命令需要一个 [YAML](https://en.wikipedia.org/wiki/YAML) 或 [JSON](https://en.wikipedia.org/wiki/JSON) 格式的文件。 -可以在[这里](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml)找到示例配置文件,其中包含每个配置字段的解释、默认值和示例值。此示例文件也包含在每个发行版的下载资源中。 +可以在[这里](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)找到示例配置文件,其中包含每个配置字段的解释、默认值和示例值。此示例文件也包含在每个发行版的下载资源中。 建议创建你自己的配置文件,只更改你需要改变的设置。这可以确保在每次发布时,你不必合并默认值的更改或者增删未从默认值更改的配置设置。 @@ -119,7 +119,7 @@ gotosocial server start --media-image-max-size 2097152 *大多数*配置参数都提供了合理的默认值,除了必须自定义值的情况。 -请查看[示例配置文件](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml)以获取默认值,或运行 `gotosocial --help`。 +请查看[示例配置文件](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)以获取默认值,或运行 `gotosocial --help`。 ## `GTS_WAZERO_COMPILATION_CACHE` diff --git a/docs/locales/zh/faq.md b/docs/locales/zh/faq.md index a49272202..0aa515e13 100644 --- a/docs/locales/zh/faq.md +++ b/docs/locales/zh/faq.md @@ -38,4 +38,4 @@ GoToSocial 默认配置了基于 IP 的[限流规则](./api/ratelimiting.md), ## 为什么还在 Beta 阶段? -查看[当前 bug 列表](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug)和[路线图](https://github.com/superseriousbusiness/gotosocial/blob/main/docs/locales/zh/repo/ROADMAP.md)以获取更详细的信息。 +查看[当前 bug 列表](https://github.com/superseriousbusiness/gotosocial/issues?q=is%3Aissue+is%3Aopen+label%3Abug)和[路线图](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/ROADMAP.md)以获取更详细的信息。 diff --git a/docs/locales/zh/federation/http_signatures.md b/docs/locales/zh/federation/http_signatures.md index a3cac6cbc..9da964f40 100644 --- a/docs/locales/zh/federation/http_signatures.md +++ b/docs/locales/zh/federation/http_signatures.md @@ -24,7 +24,7 @@ GoToSocial 使用 [superseriousbusiness/httpsig](https://codeberg.org/superserio ## 传入请求 -GoToSocial 的请求签名验证在 [internal/federation](https://github.com/superseriousbusiness/gotosocial/blob/main/internal/federation/authenticate.go) 中实现。 +GoToSocial 的请求签名验证在 [internal/federation](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/federation/authenticate.go) 中实现。 GoToSocial 将尝试按以下算法顺序解析签名,成功后将停止: @@ -36,7 +36,7 @@ ED25519 ## 发出请求 -GoToSocial 的请求签名在 [internal/transport](https://github.com/superseriousbusiness/gotosocial/blob/main/internal/transport/signing.go) 中实现。 +GoToSocial 的请求签名在 [internal/transport](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/internal/transport/signing.go) 中实现。 一旦解决了 https://github.com/superseriousbusiness/gotosocial/issues/2991 ,GoToSocial 将使用 `(created)` 伪标头代替 `date`。 diff --git a/docs/locales/zh/getting_started/index.md b/docs/locales/zh/getting_started/index.md index 448778999..f511faabe 100644 --- a/docs/locales/zh/getting_started/index.md +++ b/docs/locales/zh/getting_started/index.md @@ -151,7 +151,7 @@ GoToSocial 不支持[集群或任何形式的多节点部署](https://github.com ## 调优 -除了[示例配置文件](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml)中的众多实例调优选项之外,你还可以对运行 GoToSocial 实例的机器进行额外的调优。 +除了[示例配置文件](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/example/config.yaml)中的众多实例调优选项之外,你还可以对运行 GoToSocial 实例的机器进行额外的调优。 ### 交换内存 diff --git a/docs/locales/zh/repo/README.md b/docs/locales/zh/repo/README.md index 83527fbe2..18af175c1 100644 --- a/docs/locales/zh/repo/README.md +++ b/docs/locales/zh/repo/README.md @@ -15,7 +15,7 @@ GoToSocial 是一个用 Golang 编写的 [ActivityPub](https://activitypub.rocks 文档位于 [docs.gotosocial.org](https://docs.gotosocial.org/zh-cn/)。你可以直接跳至 [API 文档](https://docs.gotosocial.org/zh-cn/latest/api/swagger/)。 -要从源代码构建,请查看 [CONTRIBUTING.md](https://github.com/superseriousbusiness/gotosocial/blob/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。 +要从源代码构建,请查看 [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。 这是实例首页的截图!你也可以看一看本项目在 GoToSocial 上的官方账号: [https://gts.superseriousbusiness.org/@gotosocial](https://gts.superseriousbusiness.org/@gotosocial)。 @@ -101,7 +101,7 @@ GoToSocial 的愿景是让许多小而特别的实例遍布联邦宇宙,让人 我们在 2021 年 11 月进行了首次 Alpha 发布。我们于 2024 年 9 月/10 月离开 Alpha,进入 Beta 阶段。 -要详细了解已实现和未实现的内容,以及 [稳定发布](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release) 的进展,请查看 [路线图](https://github.com/superseriousbusiness/gotosocial/blob/main/docs/locales/zh/repo/ROADMAP.md)。 +要详细了解已实现和未实现的内容,以及 [稳定发布](https://en.wikipedia.org/wiki/Software_release_life_cycle#Stable_release) 的进展,请查看 [路线图](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/ROADMAP.md)。 --- @@ -344,7 +344,7 @@ S3 存储桶中的快照版二进制发布由 Github 提交哈希控制。要获 ### 从源代码构建 -有关从源代码构建 GoToSocial 的说明,请参见 [CONTRIBUTING.md](https://github.com/superseriousbusiness/gotosocial/blob/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。 +有关从源代码构建 GoToSocial 的说明,请参见 [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件。 ### 第三方打包 @@ -365,7 +365,7 @@ S3 存储桶中的快照版二进制发布由 Github 提交哈希控制。要获 ## 参与贡献 -你想为 GtS 作出贡献吗?太好了!❤️❤️❤️ 请查看问题页面,看看是否有你想参与的内容,并阅读 [CONTRIBUTING.md](https://github.com/superseriousbusiness/gotosocial/blob/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件以获取指南并配置开发环境。 +你想为 GtS 作出贡献吗?太好了!❤️❤️❤️ 请查看问题页面,看看是否有你想参与的内容,并阅读 [CONTRIBUTING.md](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/locales/zh/repo/CONTRIBUTING.md) 文件以获取指南并配置开发环境。 --- @@ -454,10 +454,10 @@ GoToSocial 使用以下开源库、框架和工具,在此声明并致谢 💕 该许可具体适用于以下存储库内的文件和子目录: -- [树懒标志 png](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.png) -- [树懒标志 webp](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.webp) -- [树懒标志 svg](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.svg) -- [所有默认头像](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/default_avatars) +- [树懒标志 png](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.png) +- [树懒标志 webp](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.webp) +- [树懒标志 svg](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/logo.svg) +- [所有默认头像](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/web/assets/default_avatars) 根据许可证条款,你可以: @@ -514,7 +514,7 @@ GoToSocial 欢迎与符合我们价值观的组织进行合作。在此对您的 NGIZero logo -结合以上众筹来源,2023 年 GoToSocial Alpha 阶段的开发得到了 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 提供的 50,000 欧元资助。详情请见[此处](https://nlnet.nl/project/GoToSocial/#ack)。成功的资助申请存档在[此处](https://github.com/superseriousbusiness/gotosocial/blob/main/archive/nlnet/2022-next-generation-internet-zero.md)。 +结合以上众筹来源,2023 年 GoToSocial Alpha 阶段的开发得到了 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 提供的 50,000 欧元资助。详情请见[此处](https://nlnet.nl/project/GoToSocial/#ack)。成功的资助申请存档在[此处](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/archive/nlnet/2022-next-generation-internet-zero.md)。 2024 年 GoToSocial Beta 阶段的开发将从 [NGI0 Entrust Fund](https://nlnet.nl/entrust/) 旗下的 [NLnet](https://nlnet.nl/) 那里再获得 50,000 欧元的资助。 @@ -524,7 +524,7 @@ GoToSocial 欢迎与符合我们价值观的组织进行合作。在此对您的 ![GNU AGPL 徽标](https://www.gnu.org/graphics/agplv3-155x51.png) -GoToSocial 是自由软件,采用 [GNU AGPL v3 许可](https://github.com/superseriousbusiness/gotosocial/blob/main/LICENSE)。我们鼓励你对代码进行派生和修改,进行各种实验。 +GoToSocial 是自由软件,采用 [GNU AGPL v3 许可](https://https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/LICENSE)。我们鼓励你对代码进行派生和修改,进行各种实验。 有关 AGPL 和 GPL 许可之间的区别,请参阅[这里](https://www.gnu.org/licenses/why-affero-gpl.html),关于 GPL 许可(包括 AGPL)的常见问题解答,请参阅[这里](https://www.gnu.org/licenses/gpl-faq.html)。 diff --git a/go.mod b/go.mod index 143da6208..2f64a76b2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/superseriousbusiness/gotosocial +module code.superseriousbusiness.org/gotosocial go 1.23.0 diff --git a/internal/admin/actions.go b/internal/admin/actions.go index 057bfe07d..b68061fbf 100644 --- a/internal/admin/actions.go +++ b/internal/admin/actions.go @@ -23,12 +23,12 @@ import ( "sync" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/workers" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/workers" ) func errActionConflict(action *gtsmodel.AdminAction) gtserror.WithCode { diff --git a/internal/admin/actions_test.go b/internal/admin/actions_test.go index c5084d955..653051612 100644 --- a/internal/admin/actions_test.go +++ b/internal/admin/actions_test.go @@ -24,12 +24,12 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/testrig" ) const ( diff --git a/internal/admin/domainkeys.go b/internal/admin/domainkeys.go index ad943ce80..c71f079c0 100644 --- a/internal/admin/domainkeys.go +++ b/internal/admin/domainkeys.go @@ -21,8 +21,8 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func (a *Actions) DomainKeysExpireF(domain string) ActionF { diff --git a/internal/admin/domainperms.go b/internal/admin/domainperms.go index fa686df43..c54c1f93e 100644 --- a/internal/admin/domainperms.go +++ b/internal/admin/domainperms.go @@ -24,13 +24,13 @@ import ( "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // Returns an AdminActionF for diff --git a/internal/admin/util.go b/internal/admin/util.go index 27e81fbb3..0d0974a5a 100644 --- a/internal/admin/util.go +++ b/internal/admin/util.go @@ -22,9 +22,9 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // stubbifyInstance renders the given instance as a stub, diff --git a/internal/ap/activitystreams_test.go b/internal/ap/activitystreams_test.go index fbeef262c..ab64f4b6b 100644 --- a/internal/ap/activitystreams_test.go +++ b/internal/ap/activitystreams_test.go @@ -22,10 +22,10 @@ import ( "testing" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/assert" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" ) func TestASCollection(t *testing.T) { diff --git a/internal/ap/ap_test.go b/internal/ap/ap_test.go index 8455426e4..6d02412f2 100644 --- a/internal/ap/ap_test.go +++ b/internal/ap/ap_test.go @@ -25,10 +25,10 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) func document1() vocab.ActivityStreamsDocument { diff --git a/internal/ap/collections.go b/internal/ap/collections.go index 08a91e5cd..d3c8e80f5 100644 --- a/internal/ap/collections.go +++ b/internal/ap/collections.go @@ -23,7 +23,7 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // TODO: replace must of this logic with just diff --git a/internal/ap/collections_test.go b/internal/ap/collections_test.go index f5fec6b31..0772d7bb0 100644 --- a/internal/ap/collections_test.go +++ b/internal/ap/collections_test.go @@ -25,7 +25,7 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/ap" ) var testIteratorIRIs = [][]string{ diff --git a/internal/ap/extract.go b/internal/ap/extract.go index cc8129f04..af15c3db0 100644 --- a/internal/ap/extract.go +++ b/internal/ap/extract.go @@ -30,10 +30,10 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // ExtractObjects will extract object vocab.Types from given implementing interface. diff --git a/internal/ap/extractattachments_test.go b/internal/ap/extractattachments_test.go index b9192bfb0..f3af66708 100644 --- a/internal/ap/extractattachments_test.go +++ b/internal/ap/extractattachments_test.go @@ -23,8 +23,8 @@ import ( "testing" "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/gotosocial/internal/ap" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" ) type ExtractAttachmentsTestSuite struct { diff --git a/internal/ap/extractcontent_test.go b/internal/ap/extractcontent_test.go index c899a10e1..14c974e5b 100644 --- a/internal/ap/extractcontent_test.go +++ b/internal/ap/extractcontent_test.go @@ -20,8 +20,8 @@ package ap_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" ) type ExtractContentTestSuite struct { diff --git a/internal/ap/extractemojis_test.go b/internal/ap/extractemojis_test.go index 69406f322..eba30b8b8 100644 --- a/internal/ap/extractemojis_test.go +++ b/internal/ap/extractemojis_test.go @@ -23,8 +23,8 @@ import ( "io" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" ) type ExtractEmojisTestSuite struct { diff --git a/internal/ap/extracthashtags_test.go b/internal/ap/extracthashtags_test.go index 1d4fbcf6f..9409b511b 100644 --- a/internal/ap/extracthashtags_test.go +++ b/internal/ap/extracthashtags_test.go @@ -20,8 +20,8 @@ package ap_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" ) type ExtractHashtagsTestSuite struct { diff --git a/internal/ap/extractmentions_test.go b/internal/ap/extractmentions_test.go index 96d7ca656..a5b107a99 100644 --- a/internal/ap/extractmentions_test.go +++ b/internal/ap/extractmentions_test.go @@ -21,9 +21,9 @@ import ( "testing" "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ExtractMentionsTestSuite struct { diff --git a/internal/ap/extractpolicy_test.go b/internal/ap/extractpolicy_test.go index 3d5e75c41..a5e8db6a7 100644 --- a/internal/ap/extractpolicy_test.go +++ b/internal/ap/extractpolicy_test.go @@ -23,9 +23,9 @@ import ( "io" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ExtractPolicyTestSuite struct { diff --git a/internal/ap/extractpubkey_test.go b/internal/ap/extractpubkey_test.go index eeffaa1b2..ab4f38a22 100644 --- a/internal/ap/extractpubkey_test.go +++ b/internal/ap/extractpubkey_test.go @@ -24,8 +24,8 @@ import ( "code.superseriousbusiness.org/activity/streams" typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + "code.superseriousbusiness.org/gotosocial/internal/ap" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" ) const ( diff --git a/internal/ap/extractsensitive_test.go b/internal/ap/extractsensitive_test.go index ce5571680..3cdce2254 100644 --- a/internal/ap/extractsensitive_test.go +++ b/internal/ap/extractsensitive_test.go @@ -20,8 +20,8 @@ package ap_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" ) type ExtractSensitiveTestSuite struct { diff --git a/internal/ap/extractvisibility_test.go b/internal/ap/extractvisibility_test.go index 3c894f4a5..ba5718506 100644 --- a/internal/ap/extractvisibility_test.go +++ b/internal/ap/extractvisibility_test.go @@ -20,9 +20,9 @@ package ap_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ExtractVisibilityTestSuite struct { diff --git a/internal/ap/interfaces_test.go b/internal/ap/interfaces_test.go index 507a0c59c..6bb51813f 100644 --- a/internal/ap/interfaces_test.go +++ b/internal/ap/interfaces_test.go @@ -19,7 +19,7 @@ package ap_test import ( "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/ap" ) var ( diff --git a/internal/ap/normalize.go b/internal/ap/normalize.go index b2c4b727e..f6608ed94 100644 --- a/internal/ap/normalize.go +++ b/internal/ap/normalize.go @@ -20,8 +20,8 @@ package ap import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/text" ) /* diff --git a/internal/ap/normalize_test.go b/internal/ap/normalize_test.go index 14de3c93c..9f7788162 100644 --- a/internal/ap/normalize_test.go +++ b/internal/ap/normalize_test.go @@ -21,9 +21,9 @@ import ( "testing" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/testrig" ) type NormalizeTestSuite struct { diff --git a/internal/ap/properties.go b/internal/ap/properties.go index ea925457a..d1ef62972 100644 --- a/internal/ap/properties.go +++ b/internal/ap/properties.go @@ -24,7 +24,7 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // MustGet performs the given 'Get$Property(with) (T, error)' signature function, panicking on error. diff --git a/internal/ap/resolve.go b/internal/ap/resolve.go index 596de1a99..45107df69 100644 --- a/internal/ap/resolve.go +++ b/internal/ap/resolve.go @@ -28,7 +28,7 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // ResolveActivity is a util function for pulling a pub.Activity type out of an incoming request body, diff --git a/internal/ap/resolve_test.go b/internal/ap/resolve_test.go index b70dba77b..a5e279fa2 100644 --- a/internal/ap/resolve_test.go +++ b/internal/ap/resolve_test.go @@ -23,9 +23,9 @@ import ( "io" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) type ResolveTestSuite struct { diff --git a/internal/ap/serialize.go b/internal/ap/serialize.go index b18fcc959..c64c14d75 100644 --- a/internal/ap/serialize.go +++ b/internal/ap/serialize.go @@ -20,7 +20,7 @@ package ap import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // Serialize is a custom serializer for ActivityStreams types. diff --git a/internal/api/activitypub.go b/internal/api/activitypub.go index 0c0222d1c..0a8a05d0f 100644 --- a/internal/api/activitypub.go +++ b/internal/api/activitypub.go @@ -18,14 +18,14 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/emoji" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/publickey" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/emoji" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/publickey" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type ActivityPub struct { diff --git a/internal/api/activitypub/emoji/emoji.go b/internal/api/activitypub/emoji/emoji.go index f67943a93..361a3bbc7 100644 --- a/internal/api/activitypub/emoji/emoji.go +++ b/internal/api/activitypub/emoji/emoji.go @@ -20,8 +20,8 @@ package emoji import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/activitypub/emoji/emojiget.go b/internal/api/activitypub/emoji/emojiget.go index 5a9f0db72..cc0049f89 100644 --- a/internal/api/activitypub/emoji/emojiget.go +++ b/internal/api/activitypub/emoji/emojiget.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) EmojiGetHandler(c *gin.Context) { diff --git a/internal/api/activitypub/emoji/emojiget_test.go b/internal/api/activitypub/emoji/emojiget_test.go index 7d3587fd8..aebbd9783 100644 --- a/internal/api/activitypub/emoji/emojiget_test.go +++ b/internal/api/activitypub/emoji/emojiget_test.go @@ -23,22 +23,22 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/emoji" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/emoji" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmojiGetTestSuite struct { diff --git a/internal/api/activitypub/publickey/publickey.go b/internal/api/activitypub/publickey/publickey.go index c2a6accb4..161123048 100644 --- a/internal/api/activitypub/publickey/publickey.go +++ b/internal/api/activitypub/publickey/publickey.go @@ -20,9 +20,9 @@ package publickey import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/uris" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/uris" ) const ( diff --git a/internal/api/activitypub/publickey/publickeyget.go b/internal/api/activitypub/publickey/publickeyget.go index 083a31961..6e050a3b5 100644 --- a/internal/api/activitypub/publickey/publickeyget.go +++ b/internal/api/activitypub/publickey/publickeyget.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PublicKeyGETHandler should be served at eg https://example.org/users/:username/main-key. diff --git a/internal/api/activitypub/users/acceptget.go b/internal/api/activitypub/users/acceptget.go index 4d0630df7..aba5e5a7c 100644 --- a/internal/api/activitypub/users/acceptget.go +++ b/internal/api/activitypub/users/acceptget.go @@ -20,9 +20,9 @@ package users import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AcceptGETHandler serves an interaction request as an ActivityStreams Accept. diff --git a/internal/api/activitypub/users/featured.go b/internal/api/activitypub/users/featured.go index b8b4fe681..90b368b26 100644 --- a/internal/api/activitypub/users/featured.go +++ b/internal/api/activitypub/users/featured.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FeaturedCollectionGETHandler swagger:operation GET /users/{username}/collections/featured s2sFeaturedCollectionGet diff --git a/internal/api/activitypub/users/followers.go b/internal/api/activitypub/users/followers.go index 956cdc71e..f00b7bc40 100644 --- a/internal/api/activitypub/users/followers.go +++ b/internal/api/activitypub/users/followers.go @@ -22,10 +22,10 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // FollowersGETHandler returns a collection of URIs for followers of the target user, formatted so that other AP servers can understand it. diff --git a/internal/api/activitypub/users/following.go b/internal/api/activitypub/users/following.go index d01b55b57..630e0b821 100644 --- a/internal/api/activitypub/users/following.go +++ b/internal/api/activitypub/users/following.go @@ -22,10 +22,10 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // FollowingGETHandler returns a collection of URIs for accounts that the target user follows, formatted so that other AP servers can understand it. diff --git a/internal/api/activitypub/users/inboxpost.go b/internal/api/activitypub/users/inboxpost.go index b0a9a49ee..01e1a834a 100644 --- a/internal/api/activitypub/users/inboxpost.go +++ b/internal/api/activitypub/users/inboxpost.go @@ -20,10 +20,10 @@ package users import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" errorsv2 "codeberg.org/gruf/go-errors/v2" ) diff --git a/internal/api/activitypub/users/inboxpost_test.go b/internal/api/activitypub/users/inboxpost_test.go index a2faa078f..e00a705a0 100644 --- a/internal/api/activitypub/users/inboxpost_test.go +++ b/internal/api/activitypub/users/inboxpost_test.go @@ -31,15 +31,15 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InboxPostTestSuite struct { diff --git a/internal/api/activitypub/users/outboxget.go b/internal/api/activitypub/users/outboxget.go index 43379ad8f..64bcc195b 100644 --- a/internal/api/activitypub/users/outboxget.go +++ b/internal/api/activitypub/users/outboxget.go @@ -22,10 +22,10 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // OutboxGETHandler swagger:operation GET /users/{username}/outbox s2sOutboxGet diff --git a/internal/api/activitypub/users/outboxget_test.go b/internal/api/activitypub/users/outboxget_test.go index 2f56b2153..dc9c621a6 100644 --- a/internal/api/activitypub/users/outboxget_test.go +++ b/internal/api/activitypub/users/outboxget_test.go @@ -29,10 +29,10 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/testrig" ) type OutboxGetTestSuite struct { diff --git a/internal/api/activitypub/users/repliesget.go b/internal/api/activitypub/users/repliesget.go index 2d3472f35..3a8a81bfb 100644 --- a/internal/api/activitypub/users/repliesget.go +++ b/internal/api/activitypub/users/repliesget.go @@ -22,10 +22,10 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // StatusRepliesGETHandler swagger:operation GET /users/{username}/statuses/{status}/replies s2sRepliesGet diff --git a/internal/api/activitypub/users/repliesget_test.go b/internal/api/activitypub/users/repliesget_test.go index ce3b20985..9d2141811 100644 --- a/internal/api/activitypub/users/repliesget_test.go +++ b/internal/api/activitypub/users/repliesget_test.go @@ -28,12 +28,12 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/testrig" ) type RepliesGetTestSuite struct { diff --git a/internal/api/activitypub/users/statusget.go b/internal/api/activitypub/users/statusget.go index 27af9c6b4..45b7847bf 100644 --- a/internal/api/activitypub/users/statusget.go +++ b/internal/api/activitypub/users/statusget.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusGETHandler serves the target status as an activitystreams NOTE so that other AP servers can parse it. diff --git a/internal/api/activitypub/users/statusget_test.go b/internal/api/activitypub/users/statusget_test.go index ec7a032ae..dc3aef5a7 100644 --- a/internal/api/activitypub/users/statusget_test.go +++ b/internal/api/activitypub/users/statusget_test.go @@ -28,10 +28,10 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusGetTestSuite struct { diff --git a/internal/api/activitypub/users/user.go b/internal/api/activitypub/users/user.go index 5122e610e..7a06e6f03 100644 --- a/internal/api/activitypub/users/user.go +++ b/internal/api/activitypub/users/user.go @@ -20,10 +20,10 @@ package users import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/uris" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/uris" ) const ( diff --git a/internal/api/activitypub/users/user_test.go b/internal/api/activitypub/users/user_test.go index c57d9f8c4..db3db1a2f 100644 --- a/internal/api/activitypub/users/user_test.go +++ b/internal/api/activitypub/users/user_test.go @@ -18,22 +18,22 @@ package users_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type UserStandardTestSuite struct { diff --git a/internal/api/activitypub/users/userget.go b/internal/api/activitypub/users/userget.go index 2deca0fa4..00d8a0f1f 100644 --- a/internal/api/activitypub/users/userget.go +++ b/internal/api/activitypub/users/userget.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // UsersGETHandler should be served at https://example.org/users/:username. diff --git a/internal/api/activitypub/users/userget_test.go b/internal/api/activitypub/users/userget_test.go index d70d1504b..06bc46452 100644 --- a/internal/api/activitypub/users/userget_test.go +++ b/internal/api/activitypub/users/userget_test.go @@ -27,10 +27,10 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/api/activitypub/users" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/activitypub/users" - "github.com/superseriousbusiness/gotosocial/testrig" ) type UserGetTestSuite struct { diff --git a/internal/api/auth.go b/internal/api/auth.go index ec36d95d1..2504acb30 100644 --- a/internal/api/auth.go +++ b/internal/api/auth.go @@ -18,14 +18,14 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/auth" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/oidc" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/auth" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/oidc" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" - "github.com/superseriousbusiness/gotosocial/internal/state" ) type Auth struct { diff --git a/internal/api/auth/auth.go b/internal/api/auth/auth.go index 37c4e864a..a39da9fd5 100644 --- a/internal/api/auth/auth.go +++ b/internal/api/auth/auth.go @@ -20,10 +20,10 @@ package auth import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/oidc" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/oidc" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" ) const ( diff --git a/internal/api/auth/auth_test.go b/internal/api/auth/auth_test.go index af90de2d6..8082f4aed 100644 --- a/internal/api/auth/auth_test.go +++ b/internal/api/auth/auth_test.go @@ -22,24 +22,24 @@ import ( "fmt" "net/http/httptest" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/auth" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/oidc" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-contrib/sessions" "github.com/gin-contrib/sessions/memstore" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/auth" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/oidc" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AuthStandardTestSuite struct { diff --git a/internal/api/auth/authorize.go b/internal/api/auth/authorize.go index 5b3e6ea3c..c6c648b01 100644 --- a/internal/api/auth/authorize.go +++ b/internal/api/auth/authorize.go @@ -22,14 +22,14 @@ import ( "net/url" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/gin-contrib/sessions" "github.com/gin-gonic/gin" "github.com/google/uuid" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) // AuthorizeGETHandler should be served as diff --git a/internal/api/auth/authorize_test.go b/internal/api/auth/authorize_test.go index 54df4c5e5..b73f5e0e1 100644 --- a/internal/api/auth/authorize_test.go +++ b/internal/api/auth/authorize_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/auth" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-contrib/sessions" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/auth" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type AuthAuthorizeTestSuite struct { diff --git a/internal/api/auth/callback.go b/internal/api/auth/callback.go index 5003910e9..608ee1bd4 100644 --- a/internal/api/auth/callback.go +++ b/internal/api/auth/callback.go @@ -26,17 +26,17 @@ import ( "slices" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/oidc" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-contrib/sessions" "github.com/gin-gonic/gin" "github.com/google/uuid" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/oidc" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // extraInfo wraps a form-submitted username and transmitted name diff --git a/internal/api/auth/callback_test.go b/internal/api/auth/callback_test.go index 2624f3f3f..3151ecaa2 100644 --- a/internal/api/auth/callback_test.go +++ b/internal/api/auth/callback_test.go @@ -3,7 +3,7 @@ package auth import ( "testing" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/testrig" ) func TestAdminGroup(t *testing.T) { diff --git a/internal/api/auth/oob.go b/internal/api/auth/oob.go index c723a1cb5..49027940a 100644 --- a/internal/api/auth/oob.go +++ b/internal/api/auth/oob.go @@ -20,9 +20,9 @@ package auth import ( "errors" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-contrib/sessions" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // OOBTokenGETHandler parses the OAuth code from the query diff --git a/internal/api/auth/revoke.go b/internal/api/auth/revoke.go index 932e83dbc..c5167889c 100644 --- a/internal/api/auth/revoke.go +++ b/internal/api/auth/revoke.go @@ -20,10 +20,10 @@ package auth import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" oautherr "code.superseriousbusiness.org/oauth2/v4/errors" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // TokenRevokePOSTHandler swagger:operation POST /oauth/revoke oauthTokenRevoke diff --git a/internal/api/auth/revoke_test.go b/internal/api/auth/revoke_test.go index a654ceda5..e482c8aac 100644 --- a/internal/api/auth/revoke_test.go +++ b/internal/api/auth/revoke_test.go @@ -25,9 +25,9 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/testrig" ) type RevokeTestSuite struct { diff --git a/internal/api/auth/signin.go b/internal/api/auth/signin.go index 3503f37bb..845ea2594 100644 --- a/internal/api/auth/signin.go +++ b/internal/api/auth/signin.go @@ -25,15 +25,15 @@ import ( "slices" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "codeberg.org/gruf/go-byteutil" "github.com/gin-contrib/sessions" "github.com/gin-gonic/gin" "github.com/pquerna/otp/totp" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/api/auth/token.go b/internal/api/auth/token.go index d9f0d8154..95693dea6 100644 --- a/internal/api/auth/token.go +++ b/internal/api/auth/token.go @@ -21,9 +21,9 @@ import ( "net/http" "net/url" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/gin-gonic/gin" ) diff --git a/internal/api/auth/token_test.go b/internal/api/auth/token_test.go index 1a12fe37e..e333a8867 100644 --- a/internal/api/auth/token_test.go +++ b/internal/api/auth/token_test.go @@ -25,11 +25,11 @@ import ( "testing" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TokenTestSuite struct { diff --git a/internal/api/auth/util.go b/internal/api/auth/util.go index f1aed0bc3..937de3d85 100644 --- a/internal/api/auth/util.go +++ b/internal/api/auth/util.go @@ -20,12 +20,12 @@ package auth import ( "errors" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/gin-contrib/sessions" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) func (m *Module) mustClearSession(s sessions.Session) { diff --git a/internal/api/client.go b/internal/api/client.go index a928176de..0b977e59f 100644 --- a/internal/api/client.go +++ b/internal/api/client.go @@ -20,47 +20,47 @@ package api import ( "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/announcements" + "code.superseriousbusiness.org/gotosocial/internal/api/client/apps" + "code.superseriousbusiness.org/gotosocial/internal/api/client/blocks" + "code.superseriousbusiness.org/gotosocial/internal/api/client/bookmarks" + "code.superseriousbusiness.org/gotosocial/internal/api/client/conversations" + "code.superseriousbusiness.org/gotosocial/internal/api/client/customemojis" + "code.superseriousbusiness.org/gotosocial/internal/api/client/exports" + "code.superseriousbusiness.org/gotosocial/internal/api/client/favourites" + "code.superseriousbusiness.org/gotosocial/internal/api/client/featuredtags" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followedtags" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followrequests" + importdata "code.superseriousbusiness.org/gotosocial/internal/api/client/import" + "code.superseriousbusiness.org/gotosocial/internal/api/client/instance" + "code.superseriousbusiness.org/gotosocial/internal/api/client/interactionpolicies" + "code.superseriousbusiness.org/gotosocial/internal/api/client/interactionrequests" + "code.superseriousbusiness.org/gotosocial/internal/api/client/lists" + "code.superseriousbusiness.org/gotosocial/internal/api/client/markers" + "code.superseriousbusiness.org/gotosocial/internal/api/client/media" + "code.superseriousbusiness.org/gotosocial/internal/api/client/mutes" + "code.superseriousbusiness.org/gotosocial/internal/api/client/notifications" + "code.superseriousbusiness.org/gotosocial/internal/api/client/polls" + "code.superseriousbusiness.org/gotosocial/internal/api/client/preferences" + "code.superseriousbusiness.org/gotosocial/internal/api/client/push" + "code.superseriousbusiness.org/gotosocial/internal/api/client/reports" + "code.superseriousbusiness.org/gotosocial/internal/api/client/search" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/api/client/streaming" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tags" + "code.superseriousbusiness.org/gotosocial/internal/api/client/timelines" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tokens" + "code.superseriousbusiness.org/gotosocial/internal/api/client/user" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/announcements" - "github.com/superseriousbusiness/gotosocial/internal/api/client/apps" - "github.com/superseriousbusiness/gotosocial/internal/api/client/blocks" - "github.com/superseriousbusiness/gotosocial/internal/api/client/bookmarks" - "github.com/superseriousbusiness/gotosocial/internal/api/client/conversations" - "github.com/superseriousbusiness/gotosocial/internal/api/client/customemojis" - "github.com/superseriousbusiness/gotosocial/internal/api/client/exports" - "github.com/superseriousbusiness/gotosocial/internal/api/client/favourites" - "github.com/superseriousbusiness/gotosocial/internal/api/client/featuredtags" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followedtags" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followrequests" - importdata "github.com/superseriousbusiness/gotosocial/internal/api/client/import" - "github.com/superseriousbusiness/gotosocial/internal/api/client/instance" - "github.com/superseriousbusiness/gotosocial/internal/api/client/interactionpolicies" - "github.com/superseriousbusiness/gotosocial/internal/api/client/interactionrequests" - "github.com/superseriousbusiness/gotosocial/internal/api/client/lists" - "github.com/superseriousbusiness/gotosocial/internal/api/client/markers" - "github.com/superseriousbusiness/gotosocial/internal/api/client/media" - "github.com/superseriousbusiness/gotosocial/internal/api/client/mutes" - "github.com/superseriousbusiness/gotosocial/internal/api/client/notifications" - "github.com/superseriousbusiness/gotosocial/internal/api/client/polls" - "github.com/superseriousbusiness/gotosocial/internal/api/client/preferences" - "github.com/superseriousbusiness/gotosocial/internal/api/client/push" - "github.com/superseriousbusiness/gotosocial/internal/api/client/reports" - "github.com/superseriousbusiness/gotosocial/internal/api/client/search" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/api/client/streaming" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tags" - "github.com/superseriousbusiness/gotosocial/internal/api/client/timelines" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tokens" - "github.com/superseriousbusiness/gotosocial/internal/api/client/user" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" - "github.com/superseriousbusiness/gotosocial/internal/state" ) type Client struct { diff --git a/internal/api/client/accounts/account_test.go b/internal/api/client/accounts/account_test.go index 3daa71c91..f75f404a0 100644 --- a/internal/api/client/accounts/account_test.go +++ b/internal/api/client/accounts/account_test.go @@ -23,23 +23,23 @@ import ( "net/http" "net/http/httptest" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountStandardTestSuite struct { diff --git a/internal/api/client/accounts/accountalias.go b/internal/api/client/accounts/accountalias.go index e0b67694f..51183bff7 100644 --- a/internal/api/client/accounts/accountalias.go +++ b/internal/api/client/accounts/accountalias.go @@ -20,10 +20,10 @@ package accounts import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountAliasPOSTHandler swagger:operation POST /api/v1/accounts/alias accountAlias diff --git a/internal/api/client/accounts/accountcreate.go b/internal/api/client/accounts/accountcreate.go index 71f343522..ef45c7529 100644 --- a/internal/api/client/accounts/accountcreate.go +++ b/internal/api/client/accounts/accountcreate.go @@ -22,11 +22,11 @@ import ( "net" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // AccountCreatePOSTHandler swagger:operation POST /api/v1/accounts accountCreate diff --git a/internal/api/client/accounts/accountdelete.go b/internal/api/client/accounts/accountdelete.go index 90fcd6eef..e7682b2ce 100644 --- a/internal/api/client/accounts/accountdelete.go +++ b/internal/api/client/accounts/accountdelete.go @@ -21,11 +21,11 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "codeberg.org/gruf/go-byteutil" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/api/client/accounts/accountdelete_test.go b/internal/api/client/accounts/accountdelete_test.go index 66a5fa097..34854750b 100644 --- a/internal/api/client/accounts/accountdelete_test.go +++ b/internal/api/client/accounts/accountdelete_test.go @@ -22,9 +22,9 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountDeleteTestSuite struct { diff --git a/internal/api/client/accounts/accountget.go b/internal/api/client/accounts/accountget.go index cc6de3337..c28635a86 100644 --- a/internal/api/client/accounts/accountget.go +++ b/internal/api/client/accounts/accountget.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountGETHandler swagger:operation GET /api/v1/accounts/{id} accountGet diff --git a/internal/api/client/accounts/accountget_test.go b/internal/api/client/accounts/accountget_test.go index 421de0d64..6ec15597f 100644 --- a/internal/api/client/accounts/accountget_test.go +++ b/internal/api/client/accounts/accountget_test.go @@ -24,10 +24,10 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" ) type AccountGetTestSuite struct { diff --git a/internal/api/client/accounts/accountmove.go b/internal/api/client/accounts/accountmove.go index 601dd7d54..cdb2cdddb 100644 --- a/internal/api/client/accounts/accountmove.go +++ b/internal/api/client/accounts/accountmove.go @@ -20,10 +20,10 @@ package accounts import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountMovePOSTHandler swagger:operation POST /api/v1/accounts/move accountMove diff --git a/internal/api/client/accounts/accounts.go b/internal/api/client/accounts/accounts.go index f21d23185..fb6ce61e1 100644 --- a/internal/api/client/accounts/accounts.go +++ b/internal/api/client/accounts/accounts.go @@ -20,8 +20,8 @@ package accounts import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/accounts/accountupdate.go b/internal/api/client/accounts/accountupdate.go index 50e6632f4..58ba0dd2e 100644 --- a/internal/api/client/accounts/accountupdate.go +++ b/internal/api/client/accounts/accountupdate.go @@ -24,12 +24,12 @@ import ( "slices" "strconv" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" "github.com/go-playground/form/v4" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountUpdateCredentialsPATCHHandler swagger:operation PATCH /api/v1/accounts/update_credentials accountUpdate diff --git a/internal/api/client/accounts/accountupdate_test.go b/internal/api/client/accounts/accountupdate_test.go index d0def500c..1ab9f1fce 100644 --- a/internal/api/client/accounts/accountupdate_test.go +++ b/internal/api/client/accounts/accountupdate_test.go @@ -27,11 +27,11 @@ import ( "net/url" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountUpdateTestSuite struct { diff --git a/internal/api/client/accounts/accountverify.go b/internal/api/client/accounts/accountverify.go index f9dd5ae9c..dda3c10c6 100644 --- a/internal/api/client/accounts/accountverify.go +++ b/internal/api/client/accounts/accountverify.go @@ -20,9 +20,9 @@ package accounts import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountVerifyGETHandler swagger:operation GET /api/v1/accounts/verify_credentials accountVerify diff --git a/internal/api/client/accounts/accountverify_test.go b/internal/api/client/accounts/accountverify_test.go index eaa22abcf..615466d57 100644 --- a/internal/api/client/accounts/accountverify_test.go +++ b/internal/api/client/accounts/accountverify_test.go @@ -25,10 +25,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) type AccountVerifyTestSuite struct { diff --git a/internal/api/client/accounts/block.go b/internal/api/client/accounts/block.go index 09bf23a85..066ce0c31 100644 --- a/internal/api/client/accounts/block.go +++ b/internal/api/client/accounts/block.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountBlockPOSTHandler swagger:operation POST /api/v1/accounts/{id}/block accountBlock diff --git a/internal/api/client/accounts/block_test.go b/internal/api/client/accounts/block_test.go index 079e7a673..96390841c 100644 --- a/internal/api/client/accounts/block_test.go +++ b/internal/api/client/accounts/block_test.go @@ -25,12 +25,12 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type BlockTestSuite struct { diff --git a/internal/api/client/accounts/featuredtags.go b/internal/api/client/accounts/featuredtags.go index 0cb3c7b98..eae3fbdf1 100644 --- a/internal/api/client/accounts/featuredtags.go +++ b/internal/api/client/accounts/featuredtags.go @@ -20,9 +20,9 @@ package accounts import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountFeaturedTagsGETHandler swagger:operation GET /api/v1/accounts/{id}/featured_tags accountsFeaturedTags diff --git a/internal/api/client/accounts/follow.go b/internal/api/client/accounts/follow.go index d72032066..e89cfc40f 100644 --- a/internal/api/client/accounts/follow.go +++ b/internal/api/client/accounts/follow.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountFollowPOSTHandler swagger:operation POST /api/v1/accounts/{id}/follow accountFollow diff --git a/internal/api/client/accounts/follow_test.go b/internal/api/client/accounts/follow_test.go index bc6a54735..d87b8c9b9 100644 --- a/internal/api/client/accounts/follow_test.go +++ b/internal/api/client/accounts/follow_test.go @@ -30,14 +30,14 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" "github.com/tomnomnom/linkheader" ) diff --git a/internal/api/client/accounts/followers.go b/internal/api/client/accounts/followers.go index d1fca7918..a813e9f00 100644 --- a/internal/api/client/accounts/followers.go +++ b/internal/api/client/accounts/followers.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // AccountFollowersGETHandler swagger:operation GET /api/v1/accounts/{id}/followers accountFollowers diff --git a/internal/api/client/accounts/following.go b/internal/api/client/accounts/following.go index b0d47667f..694e95ccd 100644 --- a/internal/api/client/accounts/following.go +++ b/internal/api/client/accounts/following.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // AccountFollowingGETHandler swagger:operation GET /api/v1/accounts/{id}/following accountFollowing diff --git a/internal/api/client/accounts/lists.go b/internal/api/client/accounts/lists.go index f054b73bb..23a137533 100644 --- a/internal/api/client/accounts/lists.go +++ b/internal/api/client/accounts/lists.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountListsGETHandler swagger:operation GET /api/v1/accounts/{id}/lists accountLists diff --git a/internal/api/client/accounts/lists_test.go b/internal/api/client/accounts/lists_test.go index 95b50b1d3..bdb004cca 100644 --- a/internal/api/client/accounts/lists_test.go +++ b/internal/api/client/accounts/lists_test.go @@ -24,11 +24,11 @@ import ( "net/http/httptest" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ListsTestSuite struct { diff --git a/internal/api/client/accounts/lookup.go b/internal/api/client/accounts/lookup.go index 88cf7fbe9..03657a20a 100644 --- a/internal/api/client/accounts/lookup.go +++ b/internal/api/client/accounts/lookup.go @@ -20,9 +20,9 @@ package accounts import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountLookupGETHandler swagger:operation GET /api/v1/accounts/lookup accountLookupGet diff --git a/internal/api/client/accounts/mute.go b/internal/api/client/accounts/mute.go index c5e5cc24b..e9884eafd 100644 --- a/internal/api/client/accounts/mute.go +++ b/internal/api/client/accounts/mute.go @@ -21,11 +21,11 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // AccountMutePOSTHandler swagger:operation POST /api/v1/accounts/{id}/mute accountMute diff --git a/internal/api/client/accounts/mute_test.go b/internal/api/client/accounts/mute_test.go index d181a2e3b..4e58031e0 100644 --- a/internal/api/client/accounts/mute_test.go +++ b/internal/api/client/accounts/mute_test.go @@ -27,13 +27,13 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MuteTestSuite struct { diff --git a/internal/api/client/accounts/note.go b/internal/api/client/accounts/note.go index bee99cf1e..2461487e8 100644 --- a/internal/api/client/accounts/note.go +++ b/internal/api/client/accounts/note.go @@ -20,10 +20,10 @@ package accounts import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountNotePOSTHandler swagger:operation POST /api/v1/accounts/{id}/note accountNote diff --git a/internal/api/client/accounts/profile.go b/internal/api/client/accounts/profile.go index 16c312685..6f9194ba9 100644 --- a/internal/api/client/accounts/profile.go +++ b/internal/api/client/accounts/profile.go @@ -21,11 +21,11 @@ import ( "context" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // AccountAvatarDELETEHandler swagger:operation DELETE /api/v1/profile/avatar accountAvatarDelete diff --git a/internal/api/client/accounts/profile_test.go b/internal/api/client/accounts/profile_test.go index f6d97c014..d499fc3e3 100644 --- a/internal/api/client/accounts/profile_test.go +++ b/internal/api/client/accounts/profile_test.go @@ -26,13 +26,13 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountProfileTestSuite struct { diff --git a/internal/api/client/accounts/relationships.go b/internal/api/client/accounts/relationships.go index 7a5589832..33a8c20d9 100644 --- a/internal/api/client/accounts/relationships.go +++ b/internal/api/client/accounts/relationships.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountRelationshipsGETHandler swagger:operation GET /api/v1/accounts/relationships accountRelationships diff --git a/internal/api/client/accounts/search.go b/internal/api/client/accounts/search.go index 671afece2..1c3166c29 100644 --- a/internal/api/client/accounts/search.go +++ b/internal/api/client/accounts/search.go @@ -20,9 +20,9 @@ package accounts import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountSearchGETHandler swagger:operation GET /api/v1/accounts/search accountSearchGet diff --git a/internal/api/client/accounts/search_test.go b/internal/api/client/accounts/search_test.go index f5216d5b9..69c42eda3 100644 --- a/internal/api/client/accounts/search_test.go +++ b/internal/api/client/accounts/search_test.go @@ -27,14 +27,14 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountSearchTestSuite struct { diff --git a/internal/api/client/accounts/statuses.go b/internal/api/client/accounts/statuses.go index c9f7977d8..9cfb7db85 100644 --- a/internal/api/client/accounts/statuses.go +++ b/internal/api/client/accounts/statuses.go @@ -23,9 +23,9 @@ import ( "net/http" "strconv" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountStatusesGETHandler swagger:operation GET /api/v1/accounts/{id}/statuses accountStatuses diff --git a/internal/api/client/accounts/statuses_test.go b/internal/api/client/accounts/statuses_test.go index f7a304967..6e83c212d 100644 --- a/internal/api/client/accounts/statuses_test.go +++ b/internal/api/client/accounts/statuses_test.go @@ -25,11 +25,11 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) type AccountStatusesTestSuite struct { diff --git a/internal/api/client/accounts/themesget.go b/internal/api/client/accounts/themesget.go index 6055a619f..f1204e85e 100644 --- a/internal/api/client/accounts/themesget.go +++ b/internal/api/client/accounts/themesget.go @@ -20,9 +20,9 @@ package accounts import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountThemesGETHandler swagger:operation GET /api/v1/accounts/themes accountThemes diff --git a/internal/api/client/accounts/unblock.go b/internal/api/client/accounts/unblock.go index 615d62e60..0f725967f 100644 --- a/internal/api/client/accounts/unblock.go +++ b/internal/api/client/accounts/unblock.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountUnblockPOSTHandler swagger:operation POST /api/v1/accounts/{id}/unblock accountUnblock diff --git a/internal/api/client/accounts/unfollow.go b/internal/api/client/accounts/unfollow.go index 1372a4ffc..458232b73 100644 --- a/internal/api/client/accounts/unfollow.go +++ b/internal/api/client/accounts/unfollow.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountUnfollowPOSTHandler swagger:operation POST /api/v1/accounts/{id}/unfollow accountUnfollow diff --git a/internal/api/client/accounts/unmute.go b/internal/api/client/accounts/unmute.go index 0336e920f..eaee047f7 100644 --- a/internal/api/client/accounts/unmute.go +++ b/internal/api/client/accounts/unmute.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountUnmutePOSTHandler swagger:operation POST /api/v1/accounts/{id}/unmute accountUnmute diff --git a/internal/api/client/accounts/unmute_test.go b/internal/api/client/accounts/unmute_test.go index 5a00c3610..799c346f0 100644 --- a/internal/api/client/accounts/unmute_test.go +++ b/internal/api/client/accounts/unmute_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - "github.com/superseriousbusiness/gotosocial/internal/api/client/accounts" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/accounts" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *MuteTestSuite) postUnmute( diff --git a/internal/api/client/admin/accountaction.go b/internal/api/client/admin/accountaction.go index 74ff0851c..290d80b71 100644 --- a/internal/api/client/admin/accountaction.go +++ b/internal/api/client/admin/accountaction.go @@ -22,10 +22,10 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountActionPOSTHandler swagger:operation POST /api/v1/admin/accounts/{id}/action adminAccountAction diff --git a/internal/api/client/admin/accountapprove.go b/internal/api/client/admin/accountapprove.go index 96a495924..f5838f9d9 100644 --- a/internal/api/client/admin/accountapprove.go +++ b/internal/api/client/admin/accountapprove.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountApprovePOSTHandler swagger:operation POST /api/v1/admin/accounts/{id}/approve adminAccountApprove diff --git a/internal/api/client/admin/accountget.go b/internal/api/client/admin/accountget.go index b73f58adb..75659777c 100644 --- a/internal/api/client/admin/accountget.go +++ b/internal/api/client/admin/accountget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountGETHandler swagger:operation GET /api/v1/admin/accounts/{id} adminAccountGet diff --git a/internal/api/client/admin/accountreject.go b/internal/api/client/admin/accountreject.go index fffdc5811..d9651c792 100644 --- a/internal/api/client/admin/accountreject.go +++ b/internal/api/client/admin/accountreject.go @@ -21,10 +21,10 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AccountRejectPOSTHandler swagger:operation POST /api/v1/admin/accounts/{id}/reject adminAccountReject diff --git a/internal/api/client/admin/accountsgetv1.go b/internal/api/client/admin/accountsgetv1.go index 7d542b97c..3b3b5b783 100644 --- a/internal/api/client/admin/accountsgetv1.go +++ b/internal/api/client/admin/accountsgetv1.go @@ -178,11 +178,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) func (m *Module) AccountsGETV1Handler(c *gin.Context) { diff --git a/internal/api/client/admin/accountsgetv2.go b/internal/api/client/admin/accountsgetv2.go index 8b6d4391d..971ecf9b4 100644 --- a/internal/api/client/admin/accountsgetv2.go +++ b/internal/api/client/admin/accountsgetv2.go @@ -151,11 +151,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) func (m *Module) AccountsGETV2Handler(c *gin.Context) { diff --git a/internal/api/client/admin/accountsgetv2_test.go b/internal/api/client/admin/accountsgetv2_test.go index 2a2c89780..e460f8da6 100644 --- a/internal/api/client/admin/accountsgetv2_test.go +++ b/internal/api/client/admin/accountsgetv2_test.go @@ -25,9 +25,9 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" ) type AccountsGetTestSuite struct { diff --git a/internal/api/client/admin/admin.go b/internal/api/client/admin/admin.go index 01a5796ae..033a1800e 100644 --- a/internal/api/client/admin/admin.go +++ b/internal/api/client/admin/admin.go @@ -20,11 +20,11 @@ package admin import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" "codeberg.org/gruf/go-debug" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" ) const ( diff --git a/internal/api/client/admin/admin_test.go b/internal/api/client/admin/admin_test.go index 6bc777119..2300f5bae 100644 --- a/internal/api/client/admin/admin_test.go +++ b/internal/api/client/admin/admin_test.go @@ -23,23 +23,23 @@ import ( "net/http" "net/http/httptest" + adminactions "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - adminactions "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AdminStandardTestSuite struct { diff --git a/internal/api/client/admin/debug_on.go b/internal/api/client/admin/debug_on.go index eb38e95e5..505875eb2 100644 --- a/internal/api/client/admin/debug_on.go +++ b/internal/api/client/admin/debug_on.go @@ -24,9 +24,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) DebugAPUrlHandler(c *gin.Context) { diff --git a/internal/api/client/admin/domainallowcreate.go b/internal/api/client/admin/domainallowcreate.go index 3e2baa053..d7ccac620 100644 --- a/internal/api/client/admin/domainallowcreate.go +++ b/internal/api/client/admin/domainallowcreate.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainAllowsPOSTHandler swagger:operation POST /api/v1/admin/domain_allows domainAllowCreate diff --git a/internal/api/client/admin/domainallowdelete.go b/internal/api/client/admin/domainallowdelete.go index 20f97fe6d..06e6ea538 100644 --- a/internal/api/client/admin/domainallowdelete.go +++ b/internal/api/client/admin/domainallowdelete.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainAllowDELETEHandler swagger:operation DELETE /api/v1/admin/domain_allows/{id} domainAllowDelete diff --git a/internal/api/client/admin/domainallowget.go b/internal/api/client/admin/domainallowget.go index 6ed845235..61c6dae20 100644 --- a/internal/api/client/admin/domainallowget.go +++ b/internal/api/client/admin/domainallowget.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainAllowGETHandler swagger:operation GET /api/v1/admin/domain_allows/{id} domainAllowGet diff --git a/internal/api/client/admin/domainallowsget.go b/internal/api/client/admin/domainallowsget.go index 4790f1a2b..d973b9df4 100644 --- a/internal/api/client/admin/domainallowsget.go +++ b/internal/api/client/admin/domainallowsget.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainAllowsGETHandler swagger:operation GET /api/v1/admin/domain_allows domainAllowsGet diff --git a/internal/api/client/admin/domainallowupdate.go b/internal/api/client/admin/domainallowupdate.go index 02edfdfef..9b28d4682 100644 --- a/internal/api/client/admin/domainallowupdate.go +++ b/internal/api/client/admin/domainallowupdate.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainAllowUpdatePUTHandler swagger:operation PUT /api/v1/admin/domain_allows/{id} domainAllowUpdate diff --git a/internal/api/client/admin/domainblockcreate.go b/internal/api/client/admin/domainblockcreate.go index 1e98c6f6f..e305d7e5a 100644 --- a/internal/api/client/admin/domainblockcreate.go +++ b/internal/api/client/admin/domainblockcreate.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainBlocksPOSTHandler swagger:operation POST /api/v1/admin/domain_blocks domainBlockCreate diff --git a/internal/api/client/admin/domainblockdelete.go b/internal/api/client/admin/domainblockdelete.go index e9b207505..f7bda40b0 100644 --- a/internal/api/client/admin/domainblockdelete.go +++ b/internal/api/client/admin/domainblockdelete.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainBlockDELETEHandler swagger:operation DELETE /api/v1/admin/domain_blocks/{id} domainBlockDelete diff --git a/internal/api/client/admin/domainblockget.go b/internal/api/client/admin/domainblockget.go index 1d73962fa..23d0795f5 100644 --- a/internal/api/client/admin/domainblockget.go +++ b/internal/api/client/admin/domainblockget.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainBlockGETHandler swagger:operation GET /api/v1/admin/domain_blocks/{id} domainBlockGet diff --git a/internal/api/client/admin/domainblocksget.go b/internal/api/client/admin/domainblocksget.go index 383acbea5..1728fbe3d 100644 --- a/internal/api/client/admin/domainblocksget.go +++ b/internal/api/client/admin/domainblocksget.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainBlocksGETHandler swagger:operation GET /api/v1/admin/domain_blocks domainBlocksGet diff --git a/internal/api/client/admin/domainblockupdate.go b/internal/api/client/admin/domainblockupdate.go index 0fbe72aa8..b3c4408c8 100644 --- a/internal/api/client/admin/domainblockupdate.go +++ b/internal/api/client/admin/domainblockupdate.go @@ -18,8 +18,8 @@ package admin import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainBlockUpdatePUTHandler swagger:operation PUT /api/v1/admin/domain_blocks/{id} domainBlockUpdate diff --git a/internal/api/client/admin/domainkeysexpire.go b/internal/api/client/admin/domainkeysexpire.go index 262d196b4..e18eae126 100644 --- a/internal/api/client/admin/domainkeysexpire.go +++ b/internal/api/client/admin/domainkeysexpire.go @@ -23,11 +23,11 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainKeysExpirePOSTHandler swagger:operation POST /api/v1/admin/domain_keys_expire domainKeysExpire diff --git a/internal/api/client/admin/domainpermission.go b/internal/api/client/admin/domainpermission.go index 91b95334b..0dfbdc804 100644 --- a/internal/api/client/admin/domainpermission.go +++ b/internal/api/client/admin/domainpermission.go @@ -24,12 +24,12 @@ import ( "mime/multipart" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type singleDomainPermCreate func( diff --git a/internal/api/client/admin/domainpermissiondraftaccept.go b/internal/api/client/admin/domainpermissiondraftaccept.go index 345b4d1c3..2514d339c 100644 --- a/internal/api/client/admin/domainpermissiondraftaccept.go +++ b/internal/api/client/admin/domainpermissiondraftaccept.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionDraftAcceptPOSTHandler swagger:operation POST /api/v1/admin/domain_permission_drafts/{id}/accept domainPermissionDraftAccept diff --git a/internal/api/client/admin/domainpermissiondraftcreate.go b/internal/api/client/admin/domainpermissiondraftcreate.go index e7fcd2c40..71aee0c05 100644 --- a/internal/api/client/admin/domainpermissiondraftcreate.go +++ b/internal/api/client/admin/domainpermissiondraftcreate.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // DomainPermissionDraftsPOSTHandler swagger:operation POST /api/v1/admin/domain_permission_drafts domainPermissionDraftCreate diff --git a/internal/api/client/admin/domainpermissiondraftget.go b/internal/api/client/admin/domainpermissiondraftget.go index bff6254f7..8f4aa03bf 100644 --- a/internal/api/client/admin/domainpermissiondraftget.go +++ b/internal/api/client/admin/domainpermissiondraftget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionDraftGETHandler swagger:operation GET /api/v1/admin/domain_permission_drafts/{id} domainPermissionDraftGet diff --git a/internal/api/client/admin/domainpermissiondraftremove.go b/internal/api/client/admin/domainpermissiondraftremove.go index 6346331d1..6cd476b19 100644 --- a/internal/api/client/admin/domainpermissiondraftremove.go +++ b/internal/api/client/admin/domainpermissiondraftremove.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionDraftRemovePOSTHandler swagger:operation POST /api/v1/admin/domain_permission_drafts/{id}/remove domainPermissionDraftRemove diff --git a/internal/api/client/admin/domainpermissiondraftsget.go b/internal/api/client/admin/domainpermissiondraftsget.go index fa5e1ce6a..b54332202 100644 --- a/internal/api/client/admin/domainpermissiondraftsget.go +++ b/internal/api/client/admin/domainpermissiondraftsget.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // DomainPermissionDraftsGETHandler swagger:operation GET /api/v1/admin/domain_permission_drafts domainPermissionDraftsGet diff --git a/internal/api/client/admin/domainpermissionexcludecreate.go b/internal/api/client/admin/domainpermissionexcludecreate.go index 9559ab5b2..1b8dd307b 100644 --- a/internal/api/client/admin/domainpermissionexcludecreate.go +++ b/internal/api/client/admin/domainpermissionexcludecreate.go @@ -22,9 +22,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionExcludesPOSTHandler swagger:operation POST /api/v1/admin/domain_permission_excludes domainPermissionExcludeCreate diff --git a/internal/api/client/admin/domainpermissionexcludeget.go b/internal/api/client/admin/domainpermissionexcludeget.go index 200f20021..18d3ea56e 100644 --- a/internal/api/client/admin/domainpermissionexcludeget.go +++ b/internal/api/client/admin/domainpermissionexcludeget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionExcludeGETHandler swagger:operation GET /api/v1/admin/domain_permission_excludes/{id} domainPermissionExcludeGet diff --git a/internal/api/client/admin/domainpermissionexcluderemove.go b/internal/api/client/admin/domainpermissionexcluderemove.go index 35a4bdd27..c1dc98241 100644 --- a/internal/api/client/admin/domainpermissionexcluderemove.go +++ b/internal/api/client/admin/domainpermissionexcluderemove.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionExcludeDELETEHandler swagger:operation DELETE /api/v1/admin/domain_permission_excludes/{id} domainPermissionExcludeDelete diff --git a/internal/api/client/admin/domainpermissionexcludesget.go b/internal/api/client/admin/domainpermissionexcludesget.go index 59384079c..d245c1666 100644 --- a/internal/api/client/admin/domainpermissionexcludesget.go +++ b/internal/api/client/admin/domainpermissionexcludesget.go @@ -21,10 +21,10 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // DomainPermissionExcludesGETHandler swagger:operation GET /api/v1/admin/domain_permission_excludes domainPermissionExcludesGet diff --git a/internal/api/client/admin/domainpermissionsubscriptioncreate.go b/internal/api/client/admin/domainpermissionsubscriptioncreate.go index b45ac8d72..f44eda748 100644 --- a/internal/api/client/admin/domainpermissionsubscriptioncreate.go +++ b/internal/api/client/admin/domainpermissionsubscriptioncreate.go @@ -23,11 +23,11 @@ import ( "net/http" "net/url" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // DomainPermissionSubscriptionPOSTHandler swagger:operation POST /api/v1/admin/domain_permission_subscriptions domainPermissionSubscriptionCreate diff --git a/internal/api/client/admin/domainpermissionsubscriptionget.go b/internal/api/client/admin/domainpermissionsubscriptionget.go index 59498beea..43bb90623 100644 --- a/internal/api/client/admin/domainpermissionsubscriptionget.go +++ b/internal/api/client/admin/domainpermissionsubscriptionget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionSubscriptionGETHandler swagger:operation GET /api/v1/admin/domain_permission_subscriptions/{id} domainPermissionSubscriptionGet diff --git a/internal/api/client/admin/domainpermissionsubscriptionremove.go b/internal/api/client/admin/domainpermissionsubscriptionremove.go index c659a7559..f44241d1e 100644 --- a/internal/api/client/admin/domainpermissionsubscriptionremove.go +++ b/internal/api/client/admin/domainpermissionsubscriptionremove.go @@ -21,10 +21,10 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // DomainPermissionSubscriptionRemovePOSTHandler swagger:operation POST /api/v1/admin/domain_permission_subscriptions/{id}/remove domainPermissionSubscriptionRemove diff --git a/internal/api/client/admin/domainpermissionsubscriptionsget.go b/internal/api/client/admin/domainpermissionsubscriptionsget.go index b3509a139..55f1a8de0 100644 --- a/internal/api/client/admin/domainpermissionsubscriptionsget.go +++ b/internal/api/client/admin/domainpermissionsubscriptionsget.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // DomainPermissionSubscriptionsGETHandler swagger:operation GET /api/v1/admin/domain_permission_subscriptions domainPermissionSubscriptionsGet diff --git a/internal/api/client/admin/domainpermissionsubscriptionspreviewget.go b/internal/api/client/admin/domainpermissionsubscriptionspreviewget.go index d942e9612..193a2ca24 100644 --- a/internal/api/client/admin/domainpermissionsubscriptionspreviewget.go +++ b/internal/api/client/admin/domainpermissionsubscriptionspreviewget.go @@ -22,10 +22,10 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // DomainPermissionSubscriptionsPreviewGETHandler swagger:operation GET /api/v1/admin/domain_permission_subscriptions/preview domainPermissionSubscriptionsPreviewGet diff --git a/internal/api/client/admin/domainpermissionsubscriptiontest.go b/internal/api/client/admin/domainpermissionsubscriptiontest.go index 573f1ca01..cb27312c6 100644 --- a/internal/api/client/admin/domainpermissionsubscriptiontest.go +++ b/internal/api/client/admin/domainpermissionsubscriptiontest.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // DomainPermissionSubscriptionTestPOSTHandler swagger:operation POST /api/v1/admin/domain_permission_subscriptions/{id}/test domainPermissionSubscriptionTest diff --git a/internal/api/client/admin/domainpermissionsubscriptiontest_test.go b/internal/api/client/admin/domainpermissionsubscriptiontest_test.go index 4ac366520..6d3356f0e 100644 --- a/internal/api/client/admin/domainpermissionsubscriptiontest_test.go +++ b/internal/api/client/admin/domainpermissionsubscriptiontest_test.go @@ -27,12 +27,12 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type DomainPermissionSubscriptionTestTestSuite struct { diff --git a/internal/api/client/admin/domainpermissionsubscriptionupdate.go b/internal/api/client/admin/domainpermissionsubscriptionupdate.go index 0f6309c19..364e75f80 100644 --- a/internal/api/client/admin/domainpermissionsubscriptionupdate.go +++ b/internal/api/client/admin/domainpermissionsubscriptionupdate.go @@ -23,12 +23,12 @@ import ( "net/http" "net/url" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // DomainPermissionSubscriptionPATCHHandler swagger:operation PATCH /api/v1/admin/domain_permission_subscriptions/${id} domainPermissionSubscriptionUpdate diff --git a/internal/api/client/admin/emailtest.go b/internal/api/client/admin/emailtest.go index 37a5e31d3..bd5d12dc6 100644 --- a/internal/api/client/admin/emailtest.go +++ b/internal/api/client/admin/emailtest.go @@ -22,10 +22,10 @@ import ( "net/http" "net/mail" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // EmailTestPostHandler swagger:operation POST /api/v1/admin/email/test testEmailSend diff --git a/internal/api/client/admin/emojicategoriesget.go b/internal/api/client/admin/emojicategoriesget.go index e678cea86..37d6f12f3 100644 --- a/internal/api/client/admin/emojicategoriesget.go +++ b/internal/api/client/admin/emojicategoriesget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // EmojiCategoriesGETHandler swagger:operation GET /api/v1/admin/custom_emojis/categories emojiCategoriesGet diff --git a/internal/api/client/admin/emojicategoriesget_test.go b/internal/api/client/admin/emojicategoriesget_test.go index bca178bde..6c0f9e80f 100644 --- a/internal/api/client/admin/emojicategoriesget_test.go +++ b/internal/api/client/admin/emojicategoriesget_test.go @@ -25,8 +25,8 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" ) type EmojiCategoriesGetTestSuite struct { diff --git a/internal/api/client/admin/emojicreate.go b/internal/api/client/admin/emojicreate.go index 445c56605..c2723042a 100644 --- a/internal/api/client/admin/emojicreate.go +++ b/internal/api/client/admin/emojicreate.go @@ -22,12 +22,12 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // EmojiCreatePOSTHandler swagger:operation POST /api/v1/admin/custom_emojis emojiCreate diff --git a/internal/api/client/admin/emojicreate_test.go b/internal/api/client/admin/emojicreate_test.go index 9e985459b..1a6983c21 100644 --- a/internal/api/client/admin/emojicreate_test.go +++ b/internal/api/client/admin/emojicreate_test.go @@ -25,10 +25,10 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmojiCreateTestSuite struct { diff --git a/internal/api/client/admin/emojidelete.go b/internal/api/client/admin/emojidelete.go index 05d94f25d..7809608e3 100644 --- a/internal/api/client/admin/emojidelete.go +++ b/internal/api/client/admin/emojidelete.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // EmojiDELETEHandler swagger:operation DELETE /api/v1/admin/custom_emojis/{id} emojiDelete diff --git a/internal/api/client/admin/emojidelete_test.go b/internal/api/client/admin/emojidelete_test.go index 88e929b55..c327bed94 100644 --- a/internal/api/client/admin/emojidelete_test.go +++ b/internal/api/client/admin/emojidelete_test.go @@ -26,10 +26,10 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" ) type EmojiDeleteTestSuite struct { diff --git a/internal/api/client/admin/emojiget.go b/internal/api/client/admin/emojiget.go index 41bea00f8..5abed2aaa 100644 --- a/internal/api/client/admin/emojiget.go +++ b/internal/api/client/admin/emojiget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // EmojiGETHandler swagger:operation GET /api/v1/admin/custom_emojis/{id} emojiGet diff --git a/internal/api/client/admin/emojiget_test.go b/internal/api/client/admin/emojiget_test.go index d6b2924ab..97e32f412 100644 --- a/internal/api/client/admin/emojiget_test.go +++ b/internal/api/client/admin/emojiget_test.go @@ -25,9 +25,9 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) type EmojiGetTestSuite struct { diff --git a/internal/api/client/admin/emojisget.go b/internal/api/client/admin/emojisget.go index c1d05af07..d9cf508ce 100644 --- a/internal/api/client/admin/emojisget.go +++ b/internal/api/client/admin/emojisget.go @@ -22,11 +22,11 @@ import ( "net/http" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // EmojisGETHandler swagger:operation GET /api/v1/admin/custom_emojis emojisGet diff --git a/internal/api/client/admin/emojisget_test.go b/internal/api/client/admin/emojisget_test.go index 85156c79a..a7fd78b20 100644 --- a/internal/api/client/admin/emojisget_test.go +++ b/internal/api/client/admin/emojisget_test.go @@ -24,9 +24,9 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" ) type EmojisGetTestSuite struct { diff --git a/internal/api/client/admin/emojiupdate.go b/internal/api/client/admin/emojiupdate.go index 07337eaa9..807f24844 100644 --- a/internal/api/client/admin/emojiupdate.go +++ b/internal/api/client/admin/emojiupdate.go @@ -23,12 +23,12 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // EmojiPATCHHandler swagger:operation PATCH /api/v1/admin/custom_emojis/{id} emojiUpdate diff --git a/internal/api/client/admin/emojiupdate_test.go b/internal/api/client/admin/emojiupdate_test.go index b6dffa887..91a9ec8f4 100644 --- a/internal/api/client/admin/emojiupdate_test.go +++ b/internal/api/client/admin/emojiupdate_test.go @@ -26,12 +26,12 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmojiUpdateTestSuite struct { diff --git a/internal/api/client/admin/headerfilter.go b/internal/api/client/admin/headerfilter.go index b101e98f6..75bf29b68 100644 --- a/internal/api/client/admin/headerfilter.go +++ b/internal/api/client/admin/headerfilter.go @@ -22,11 +22,11 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // getHeaderFilter is a gin handler function that returns details of an HTTP header filter with provided ID, using given get function. diff --git a/internal/api/client/admin/mediacleanup.go b/internal/api/client/admin/mediacleanup.go index 2554f8508..56610ce3e 100644 --- a/internal/api/client/admin/mediacleanup.go +++ b/internal/api/client/admin/mediacleanup.go @@ -21,11 +21,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // MediaCleanupPOSTHandler swagger:operation POST /api/v1/admin/media_cleanup mediaCleanup diff --git a/internal/api/client/admin/mediacleanup_test.go b/internal/api/client/admin/mediacleanup_test.go index ca3431b33..8224b875f 100644 --- a/internal/api/client/admin/mediacleanup_test.go +++ b/internal/api/client/admin/mediacleanup_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MediaCleanupTestSuite struct { diff --git a/internal/api/client/admin/mediarefetch.go b/internal/api/client/admin/mediarefetch.go index 47301460f..bf32ad207 100644 --- a/internal/api/client/admin/mediarefetch.go +++ b/internal/api/client/admin/mediarefetch.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // MediaRefetchPOSTHandler swagger:operation POST /api/v1/admin/media_refetch mediaRefetch diff --git a/internal/api/client/admin/reportget.go b/internal/api/client/admin/reportget.go index 163043627..6f870303a 100644 --- a/internal/api/client/admin/reportget.go +++ b/internal/api/client/admin/reportget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ReportGETHandler swagger:operation GET /api/v1/admin/reports/{id} adminReportGet diff --git a/internal/api/client/admin/reportresolve.go b/internal/api/client/admin/reportresolve.go index 2b9be3721..df9e749a6 100644 --- a/internal/api/client/admin/reportresolve.go +++ b/internal/api/client/admin/reportresolve.go @@ -21,10 +21,10 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ReportResolvePOSTHandler swagger:operation POST /api/v1/admin/reports/{id}/resolve adminReportResolve diff --git a/internal/api/client/admin/reportresolve_test.go b/internal/api/client/admin/reportresolve_test.go index 561661fe0..e808b533d 100644 --- a/internal/api/client/admin/reportresolve_test.go +++ b/internal/api/client/admin/reportresolve_test.go @@ -26,16 +26,16 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportResolveTestSuite struct { diff --git a/internal/api/client/admin/reportsget.go b/internal/api/client/admin/reportsget.go index 64a144767..31c93cbcc 100644 --- a/internal/api/client/admin/reportsget.go +++ b/internal/api/client/admin/reportsget.go @@ -21,10 +21,10 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // ReportsGETHandler swagger:operation GET /api/v1/admin/reports adminReports diff --git a/internal/api/client/admin/reportsget_test.go b/internal/api/client/admin/reportsget_test.go index ec15b05d3..8489d5c28 100644 --- a/internal/api/client/admin/reportsget_test.go +++ b/internal/api/client/admin/reportsget_test.go @@ -25,16 +25,16 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/admin" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/admin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportsGetTestSuite struct { diff --git a/internal/api/client/admin/rulecreate.go b/internal/api/client/admin/rulecreate.go index 9e4be1da3..ac8febaed 100644 --- a/internal/api/client/admin/rulecreate.go +++ b/internal/api/client/admin/rulecreate.go @@ -22,10 +22,10 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // RulePOSTHandler swagger:operation POST /api/v1/admin/instance/rules ruleCreate diff --git a/internal/api/client/admin/ruledelete.go b/internal/api/client/admin/ruledelete.go index c2797aa8d..b6415cf3b 100644 --- a/internal/api/client/admin/ruledelete.go +++ b/internal/api/client/admin/ruledelete.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // RuleDELETEHandler swagger:operation DELETE /api/v1/admin/instance/rules/{id} ruleDelete diff --git a/internal/api/client/admin/ruleget.go b/internal/api/client/admin/ruleget.go index ce627a0d7..ce21bbb26 100644 --- a/internal/api/client/admin/ruleget.go +++ b/internal/api/client/admin/ruleget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // RuleGETHandler swagger:operation GET /api/v1/admin/instance/rules/{id} adminRuleGet diff --git a/internal/api/client/admin/rulesget.go b/internal/api/client/admin/rulesget.go index bc4961c6a..48cd4b43c 100644 --- a/internal/api/client/admin/rulesget.go +++ b/internal/api/client/admin/rulesget.go @@ -21,9 +21,9 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // RulesGETHandler swagger:operation GET /api/v1/admin/instance/rules adminsRuleGet diff --git a/internal/api/client/admin/ruleupdate.go b/internal/api/client/admin/ruleupdate.go index db8b610e0..8f2efe845 100644 --- a/internal/api/client/admin/ruleupdate.go +++ b/internal/api/client/admin/ruleupdate.go @@ -21,10 +21,10 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // RulePATCHHandler swagger:operation PATCH /api/v1/admin/instance/rules/{id} ruleUpdate diff --git a/internal/api/client/announcements/announcements.go b/internal/api/client/announcements/announcements.go index 611a1c53e..85a1f2eb2 100644 --- a/internal/api/client/announcements/announcements.go +++ b/internal/api/client/announcements/announcements.go @@ -20,8 +20,8 @@ package announcements import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) // BasePath is the base path for this api module, excluding the api prefix diff --git a/internal/api/client/announcements/announcementsget.go b/internal/api/client/announcements/announcementsget.go index 92353a4e7..90347c177 100644 --- a/internal/api/client/announcements/announcementsget.go +++ b/internal/api/client/announcements/announcementsget.go @@ -20,9 +20,9 @@ package announcements import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AnnouncementsGETHandler swagger:operation GET /api/v1/announcements announcementsGet diff --git a/internal/api/client/apps/appcreate.go b/internal/api/client/apps/appcreate.go index 062b2e13d..11784bf63 100644 --- a/internal/api/client/apps/appcreate.go +++ b/internal/api/client/apps/appcreate.go @@ -24,10 +24,10 @@ import ( "slices" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // these consts are used to ensure users can't spam huge entries into our database diff --git a/internal/api/client/apps/appdelete.go b/internal/api/client/apps/appdelete.go index 301579929..db3b31d5c 100644 --- a/internal/api/client/apps/appdelete.go +++ b/internal/api/client/apps/appdelete.go @@ -20,9 +20,9 @@ package apps import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AppDELETEHandler swagger:operation DELETE /api/v1/apps/{id} appDelete diff --git a/internal/api/client/apps/appget.go b/internal/api/client/apps/appget.go index f9d5050b4..fc16c5ae1 100644 --- a/internal/api/client/apps/appget.go +++ b/internal/api/client/apps/appget.go @@ -20,9 +20,9 @@ package apps import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // AppGETHandler swagger:operation GET /api/v1/apps/{id} appGet diff --git a/internal/api/client/apps/apps.go b/internal/api/client/apps/apps.go index 2071c08bd..ae1be030f 100644 --- a/internal/api/client/apps/apps.go +++ b/internal/api/client/apps/apps.go @@ -20,9 +20,9 @@ package apps import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/apps/appsget.go b/internal/api/client/apps/appsget.go index 6bbd4c752..31b2e9337 100644 --- a/internal/api/client/apps/appsget.go +++ b/internal/api/client/apps/appsget.go @@ -20,10 +20,10 @@ package apps import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // AppsGETHandler swagger:operation GET /api/v1/apps appsGet diff --git a/internal/api/client/blocks/blocks.go b/internal/api/client/blocks/blocks.go index 0eeee2bf1..2af1e7871 100644 --- a/internal/api/client/blocks/blocks.go +++ b/internal/api/client/blocks/blocks.go @@ -20,8 +20,8 @@ package blocks import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/blocks/blocksget.go b/internal/api/client/blocks/blocksget.go index 0d9a2234e..45a24cf91 100644 --- a/internal/api/client/blocks/blocksget.go +++ b/internal/api/client/blocks/blocksget.go @@ -20,10 +20,10 @@ package blocks import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // BlocksGETHandler swagger:operation GET /api/v1/blocks blocksGet diff --git a/internal/api/client/bookmarks/bookmarks.go b/internal/api/client/bookmarks/bookmarks.go index 3f4df9011..dbc27787e 100644 --- a/internal/api/client/bookmarks/bookmarks.go +++ b/internal/api/client/bookmarks/bookmarks.go @@ -20,8 +20,8 @@ package bookmarks import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/bookmarks/bookmarks_test.go b/internal/api/client/bookmarks/bookmarks_test.go index 3608078b9..7c18d3b0b 100644 --- a/internal/api/client/bookmarks/bookmarks_test.go +++ b/internal/api/client/bookmarks/bookmarks_test.go @@ -27,24 +27,24 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/bookmarks" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/bookmarks" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type BookmarkTestSuite struct { diff --git a/internal/api/client/bookmarks/bookmarksget.go b/internal/api/client/bookmarks/bookmarksget.go index 6fa87c688..beaec63f3 100644 --- a/internal/api/client/bookmarks/bookmarksget.go +++ b/internal/api/client/bookmarks/bookmarksget.go @@ -22,9 +22,9 @@ import ( "net/http" "strconv" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) const ( diff --git a/internal/api/client/conversations/conversationdelete.go b/internal/api/client/conversations/conversationdelete.go index dabb2bfc8..6757ffe1a 100644 --- a/internal/api/client/conversations/conversationdelete.go +++ b/internal/api/client/conversations/conversationdelete.go @@ -20,9 +20,9 @@ package conversations import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ConversationDELETEHandler swagger:operation DELETE /api/v1/conversations/{id} conversationDelete diff --git a/internal/api/client/conversations/conversationread.go b/internal/api/client/conversations/conversationread.go index e168cca2e..0eb907ca4 100644 --- a/internal/api/client/conversations/conversationread.go +++ b/internal/api/client/conversations/conversationread.go @@ -20,9 +20,9 @@ package conversations import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ConversationReadPOSTHandler swagger:operation POST /api/v1/conversation/{id}/read conversationRead diff --git a/internal/api/client/conversations/conversations.go b/internal/api/client/conversations/conversations.go index e742c8d3d..2cfb6ea65 100644 --- a/internal/api/client/conversations/conversations.go +++ b/internal/api/client/conversations/conversations.go @@ -20,9 +20,9 @@ package conversations import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/conversations/conversationsget.go b/internal/api/client/conversations/conversationsget.go index 8cd70cd00..c9edd0825 100644 --- a/internal/api/client/conversations/conversationsget.go +++ b/internal/api/client/conversations/conversationsget.go @@ -20,10 +20,10 @@ package conversations import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // ConversationsGETHandler swagger:operation GET /api/v1/conversations conversationsGet diff --git a/internal/api/client/customemojis/customemojis.go b/internal/api/client/customemojis/customemojis.go index 69154e186..1a7a996d6 100644 --- a/internal/api/client/customemojis/customemojis.go +++ b/internal/api/client/customemojis/customemojis.go @@ -20,8 +20,8 @@ package customemojis import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/customemojis/customemojisget.go b/internal/api/client/customemojis/customemojisget.go index 7c9b88b4c..c63445aef 100644 --- a/internal/api/client/customemojis/customemojisget.go +++ b/internal/api/client/customemojis/customemojisget.go @@ -20,9 +20,9 @@ package customemojis import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // CustomEmojisGETHandler swagger:operation GET /api/v1/custom_emojis customEmojisGet diff --git a/internal/api/client/exports/blocks.go b/internal/api/client/exports/blocks.go index bc8c2a6b3..fae8a201b 100644 --- a/internal/api/client/exports/blocks.go +++ b/internal/api/client/exports/blocks.go @@ -20,9 +20,9 @@ package exports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ExportBlocksGETHandler swagger:operation GET /api/v1/exports/blocks.csv exportBlocks diff --git a/internal/api/client/exports/exports.go b/internal/api/client/exports/exports.go index 90a246a74..a770e9a32 100644 --- a/internal/api/client/exports/exports.go +++ b/internal/api/client/exports/exports.go @@ -20,8 +20,8 @@ package exports import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/exports/exports_test.go b/internal/api/client/exports/exports_test.go index 6fbeb57d0..5579a8298 100644 --- a/internal/api/client/exports/exports_test.go +++ b/internal/api/client/exports/exports_test.go @@ -25,16 +25,16 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/exports" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/exports" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ExportsTestSuite struct { diff --git a/internal/api/client/exports/followers.go b/internal/api/client/exports/followers.go index ad6306de0..520fbef70 100644 --- a/internal/api/client/exports/followers.go +++ b/internal/api/client/exports/followers.go @@ -20,9 +20,9 @@ package exports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ExportFollowersGETHandler swagger:operation GET /api/v1/exports/followers.csv exportFollowers diff --git a/internal/api/client/exports/following.go b/internal/api/client/exports/following.go index b95492dfa..8d6306092 100644 --- a/internal/api/client/exports/following.go +++ b/internal/api/client/exports/following.go @@ -20,9 +20,9 @@ package exports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ExportFollowingGETHandler swagger:operation GET /api/v1/exports/following.csv exportFollowing diff --git a/internal/api/client/exports/lists.go b/internal/api/client/exports/lists.go index 385df5501..cf152bf55 100644 --- a/internal/api/client/exports/lists.go +++ b/internal/api/client/exports/lists.go @@ -20,9 +20,9 @@ package exports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ExportListsGETHandler swagger:operation GET /api/v1/exports/lists.csv exportLists diff --git a/internal/api/client/exports/mutes.go b/internal/api/client/exports/mutes.go index 6b9d699c9..0db94db62 100644 --- a/internal/api/client/exports/mutes.go +++ b/internal/api/client/exports/mutes.go @@ -20,9 +20,9 @@ package exports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ExportMutesGETHandler swagger:operation GET /api/v1/exports/mutes.csv exportMutes diff --git a/internal/api/client/exports/stats.go b/internal/api/client/exports/stats.go index 783826bb3..6b9436065 100644 --- a/internal/api/client/exports/stats.go +++ b/internal/api/client/exports/stats.go @@ -20,9 +20,9 @@ package exports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ExportStatsGETHandler swagger:operation GET /api/v1/exports/stats exportStats diff --git a/internal/api/client/favourites/favourites.go b/internal/api/client/favourites/favourites.go index 6e2d39100..c72e20b98 100644 --- a/internal/api/client/favourites/favourites.go +++ b/internal/api/client/favourites/favourites.go @@ -20,8 +20,8 @@ package favourites import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/favourites/favourites_test.go b/internal/api/client/favourites/favourites_test.go index 7c65e4b97..3e65e56dc 100644 --- a/internal/api/client/favourites/favourites_test.go +++ b/internal/api/client/favourites/favourites_test.go @@ -18,20 +18,20 @@ package favourites_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/favourites" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/favourites" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FavouritesStandardTestSuite struct { diff --git a/internal/api/client/favourites/favouritesget.go b/internal/api/client/favourites/favouritesget.go index 5396bc155..8b1f646c4 100644 --- a/internal/api/client/favourites/favouritesget.go +++ b/internal/api/client/favourites/favouritesget.go @@ -22,9 +22,9 @@ import ( "net/http" "strconv" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FavouritesGETHandler swagger:operation GET /api/v1/favourites favouritesGet diff --git a/internal/api/client/favourites/favouritesget_test.go b/internal/api/client/favourites/favouritesget_test.go index 85a669c87..f2695b6d0 100644 --- a/internal/api/client/favourites/favouritesget_test.go +++ b/internal/api/client/favourites/favouritesget_test.go @@ -25,12 +25,12 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/favourites" + "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/favourites" - "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FavouritesTestSuite struct { diff --git a/internal/api/client/featuredtags/featuredtags.go b/internal/api/client/featuredtags/featuredtags.go index f5961883d..3885da3f8 100644 --- a/internal/api/client/featuredtags/featuredtags.go +++ b/internal/api/client/featuredtags/featuredtags.go @@ -20,8 +20,8 @@ package featuredtags import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/featuredtags/get.go b/internal/api/client/featuredtags/get.go index cab6b19a3..7b5c68e40 100644 --- a/internal/api/client/featuredtags/get.go +++ b/internal/api/client/featuredtags/get.go @@ -20,9 +20,9 @@ package featuredtags import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FeaturedTagsGETHandler swagger:operation GET /api/v1/featured_tags getFeaturedTags diff --git a/internal/api/client/filters/v1/filter.go b/internal/api/client/filters/v1/filter.go index 9daeb75d3..af5652d7c 100644 --- a/internal/api/client/filters/v1/filter.go +++ b/internal/api/client/filters/v1/filter.go @@ -18,10 +18,11 @@ package v1 import ( - "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" "net/http" + + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "github.com/gin-gonic/gin" ) const ( diff --git a/internal/api/client/filters/v1/filter_test.go b/internal/api/client/filters/v1/filter_test.go index e0bcf8731..172c41977 100644 --- a/internal/api/client/filters/v1/filter_test.go +++ b/internal/api/client/filters/v1/filter_test.go @@ -22,22 +22,22 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FiltersTestSuite struct { diff --git a/internal/api/client/filters/v1/filterdelete.go b/internal/api/client/filters/v1/filterdelete.go index e28221ca6..5283240c5 100644 --- a/internal/api/client/filters/v1/filterdelete.go +++ b/internal/api/client/filters/v1/filterdelete.go @@ -20,9 +20,9 @@ package v1 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterDELETEHandler swagger:operation DELETE /api/v1/filters/{id} filterV1Delete diff --git a/internal/api/client/filters/v1/filterdelete_test.go b/internal/api/client/filters/v1/filterdelete_test.go index 8d7b3d063..314da05bd 100644 --- a/internal/api/client/filters/v1/filterdelete_test.go +++ b/internal/api/client/filters/v1/filterdelete_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) deleteFilter( diff --git a/internal/api/client/filters/v1/filterget.go b/internal/api/client/filters/v1/filterget.go index 4af3dab16..704be540a 100644 --- a/internal/api/client/filters/v1/filterget.go +++ b/internal/api/client/filters/v1/filterget.go @@ -20,9 +20,9 @@ package v1 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterGETHandler swagger:operation GET /api/v1/filters/{id} filterV1Get diff --git a/internal/api/client/filters/v1/filterget_test.go b/internal/api/client/filters/v1/filterget_test.go index e8fdedfaa..93090c880 100644 --- a/internal/api/client/filters/v1/filterget_test.go +++ b/internal/api/client/filters/v1/filterget_test.go @@ -23,13 +23,13 @@ import ( "net/http" "net/http/httptest" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilter( diff --git a/internal/api/client/filters/v1/filterpost.go b/internal/api/client/filters/v1/filterpost.go index fb53b8e9b..d61ddbdb8 100644 --- a/internal/api/client/filters/v1/filterpost.go +++ b/internal/api/client/filters/v1/filterpost.go @@ -20,10 +20,10 @@ package v1 import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterPOSTHandler swagger:operation POST /api/v1/filters filterV1Post diff --git a/internal/api/client/filters/v1/filterpost_test.go b/internal/api/client/filters/v1/filterpost_test.go index b7aecc573..1731aed8f 100644 --- a/internal/api/client/filters/v1/filterpost_test.go +++ b/internal/api/client/filters/v1/filterpost_test.go @@ -26,13 +26,13 @@ import ( "strconv" "strings" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) postFilter( diff --git a/internal/api/client/filters/v1/filterput.go b/internal/api/client/filters/v1/filterput.go index 051fa1f63..ab08f0d92 100644 --- a/internal/api/client/filters/v1/filterput.go +++ b/internal/api/client/filters/v1/filterput.go @@ -20,10 +20,10 @@ package v1 import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterPUTHandler swagger:operation PUT /api/v1/filters/{id} filterV1Put diff --git a/internal/api/client/filters/v1/filterput_test.go b/internal/api/client/filters/v1/filterput_test.go index 626bd52eb..740170a04 100644 --- a/internal/api/client/filters/v1/filterput_test.go +++ b/internal/api/client/filters/v1/filterput_test.go @@ -26,13 +26,13 @@ import ( "strconv" "strings" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) putFilter( diff --git a/internal/api/client/filters/v1/filtersget.go b/internal/api/client/filters/v1/filtersget.go index d65776331..42a7c3b7e 100644 --- a/internal/api/client/filters/v1/filtersget.go +++ b/internal/api/client/filters/v1/filtersget.go @@ -20,9 +20,9 @@ package v1 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FiltersGETHandler swagger:operation GET /api/v1/filters filtersV1Get diff --git a/internal/api/client/filters/v1/filtersget_test.go b/internal/api/client/filters/v1/filtersget_test.go index 281ee4f63..bf8ed8a0b 100644 --- a/internal/api/client/filters/v1/filtersget_test.go +++ b/internal/api/client/filters/v1/filtersget_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV1 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v1" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV1 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v1" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilters( diff --git a/internal/api/client/filters/v1/validate.go b/internal/api/client/filters/v1/validate.go index 9e31abb89..84771d6a8 100644 --- a/internal/api/client/filters/v1/validate.go +++ b/internal/api/client/filters/v1/validate.go @@ -20,10 +20,10 @@ package v1 import ( "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" ) func validateNormalizeCreateUpdateFilter(form *apimodel.FilterCreateUpdateRequestV1) error { diff --git a/internal/api/client/filters/v2/filter.go b/internal/api/client/filters/v2/filter.go index 58e7905ae..e37c2d7e3 100644 --- a/internal/api/client/filters/v2/filter.go +++ b/internal/api/client/filters/v2/filter.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/filters/v2/filter_test.go b/internal/api/client/filters/v2/filter_test.go index af212ac88..8d09457a3 100644 --- a/internal/api/client/filters/v2/filter_test.go +++ b/internal/api/client/filters/v2/filter_test.go @@ -22,22 +22,22 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FiltersTestSuite struct { diff --git a/internal/api/client/filters/v2/filterdelete.go b/internal/api/client/filters/v2/filterdelete.go index 2fd411e98..4ede393de 100644 --- a/internal/api/client/filters/v2/filterdelete.go +++ b/internal/api/client/filters/v2/filterdelete.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterDELETEHandler swagger:operation DELETE /api/v2/filters/{id} filterV2Delete diff --git a/internal/api/client/filters/v2/filterdelete_test.go b/internal/api/client/filters/v2/filterdelete_test.go index 6ef2f00c9..b2d6ae6de 100644 --- a/internal/api/client/filters/v2/filterdelete_test.go +++ b/internal/api/client/filters/v2/filterdelete_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) deleteFilter( diff --git a/internal/api/client/filters/v2/filterget.go b/internal/api/client/filters/v2/filterget.go index eed65f39a..21ac6a2ca 100644 --- a/internal/api/client/filters/v2/filterget.go +++ b/internal/api/client/filters/v2/filterget.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterGETHandler swagger:operation GET /api/v2/filters/{id} filterV2Get diff --git a/internal/api/client/filters/v2/filterget_test.go b/internal/api/client/filters/v2/filterget_test.go index 256732132..48d90cae2 100644 --- a/internal/api/client/filters/v2/filterget_test.go +++ b/internal/api/client/filters/v2/filterget_test.go @@ -23,13 +23,13 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilter( diff --git a/internal/api/client/filters/v2/filterkeyworddelete.go b/internal/api/client/filters/v2/filterkeyworddelete.go index 4dc8b5973..63c235d16 100644 --- a/internal/api/client/filters/v2/filterkeyworddelete.go +++ b/internal/api/client/filters/v2/filterkeyworddelete.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterKeywordDELETEHandler swagger:operation DELETE /api/v2/filters/keywords/{id} filterKeywordDelete diff --git a/internal/api/client/filters/v2/filterkeyworddelete_test.go b/internal/api/client/filters/v2/filterkeyworddelete_test.go index 6f5f07ef4..1b9325c6a 100644 --- a/internal/api/client/filters/v2/filterkeyworddelete_test.go +++ b/internal/api/client/filters/v2/filterkeyworddelete_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) deleteFilterKeyword( diff --git a/internal/api/client/filters/v2/filterkeywordget.go b/internal/api/client/filters/v2/filterkeywordget.go index f298d1af0..e8e4dec0c 100644 --- a/internal/api/client/filters/v2/filterkeywordget.go +++ b/internal/api/client/filters/v2/filterkeywordget.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterKeywordGETHandler swagger:operation GET /api/v2/filters/keywords/{id} filterKeywordGet diff --git a/internal/api/client/filters/v2/filterkeywordget_test.go b/internal/api/client/filters/v2/filterkeywordget_test.go index 13e90c0c2..25167700d 100644 --- a/internal/api/client/filters/v2/filterkeywordget_test.go +++ b/internal/api/client/filters/v2/filterkeywordget_test.go @@ -23,13 +23,13 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilterKeyword( diff --git a/internal/api/client/filters/v2/filterkeywordpost.go b/internal/api/client/filters/v2/filterkeywordpost.go index f7ccc1a80..1068f78f8 100644 --- a/internal/api/client/filters/v2/filterkeywordpost.go +++ b/internal/api/client/filters/v2/filterkeywordpost.go @@ -20,12 +20,12 @@ package v2 import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // FilterKeywordPOSTHandler swagger:operation POST /api/v2/filters/{id}/keywords filterKeywordPost diff --git a/internal/api/client/filters/v2/filterkeywordpost_test.go b/internal/api/client/filters/v2/filterkeywordpost_test.go index 179cd610a..ce7087b0b 100644 --- a/internal/api/client/filters/v2/filterkeywordpost_test.go +++ b/internal/api/client/filters/v2/filterkeywordpost_test.go @@ -26,13 +26,13 @@ import ( "strconv" "strings" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) postFilterKeyword( diff --git a/internal/api/client/filters/v2/filterkeywordput.go b/internal/api/client/filters/v2/filterkeywordput.go index 5f9fa3c9e..dae3a0042 100644 --- a/internal/api/client/filters/v2/filterkeywordput.go +++ b/internal/api/client/filters/v2/filterkeywordput.go @@ -20,10 +20,10 @@ package v2 import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterKeywordPUTHandler swagger:operation PUT /api/v2/filters/keywords{id} filterKeywordPut diff --git a/internal/api/client/filters/v2/filterkeywordput_test.go b/internal/api/client/filters/v2/filterkeywordput_test.go index c90d2e1f6..e98dd899d 100644 --- a/internal/api/client/filters/v2/filterkeywordput_test.go +++ b/internal/api/client/filters/v2/filterkeywordput_test.go @@ -26,13 +26,13 @@ import ( "strconv" "strings" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) putFilterKeyword( diff --git a/internal/api/client/filters/v2/filterkeywordsget.go b/internal/api/client/filters/v2/filterkeywordsget.go index 2fa3140a9..3bfe81bc6 100644 --- a/internal/api/client/filters/v2/filterkeywordsget.go +++ b/internal/api/client/filters/v2/filterkeywordsget.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterKeywordsGETHandler swagger:operation GET /api/v2/filters/{id}/keywords filterKeywordsGet diff --git a/internal/api/client/filters/v2/filterkeywordsget_test.go b/internal/api/client/filters/v2/filterkeywordsget_test.go index 0b0b69e03..a67e5be10 100644 --- a/internal/api/client/filters/v2/filterkeywordsget_test.go +++ b/internal/api/client/filters/v2/filterkeywordsget_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilterKeywords( diff --git a/internal/api/client/filters/v2/filterpost.go b/internal/api/client/filters/v2/filterpost.go index b35938692..c2473557a 100644 --- a/internal/api/client/filters/v2/filterpost.go +++ b/internal/api/client/filters/v2/filterpost.go @@ -20,12 +20,12 @@ package v2 import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // FilterPOSTHandler swagger:operation POST /api/v2/filters filterV2Post diff --git a/internal/api/client/filters/v2/filterpost_test.go b/internal/api/client/filters/v2/filterpost_test.go index 7a79f4665..40a46a2f6 100644 --- a/internal/api/client/filters/v2/filterpost_test.go +++ b/internal/api/client/filters/v2/filterpost_test.go @@ -27,13 +27,13 @@ import ( "strconv" "strings" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) postFilter(title *string, context *[]string, action *string, expiresIn *int, expiresInStr *string, keywordsAttributesWholeWord *[]bool, statusesAttributesStatusID *[]string, requestJson *string, expectedHTTPStatus int, expectedBody string, keywordsAttributesKeyword *[]string) (*apimodel.FilterV2, error) { diff --git a/internal/api/client/filters/v2/filterput.go b/internal/api/client/filters/v2/filterput.go index b4b14e6c3..689c47e5b 100644 --- a/internal/api/client/filters/v2/filterput.go +++ b/internal/api/client/filters/v2/filterput.go @@ -21,12 +21,12 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // FilterPUTHandler swagger:operation PUT /api/v2/filters/{id} filterV2Put diff --git a/internal/api/client/filters/v2/filterput_test.go b/internal/api/client/filters/v2/filterput_test.go index afa858ba9..9ff4dbfad 100644 --- a/internal/api/client/filters/v2/filterput_test.go +++ b/internal/api/client/filters/v2/filterput_test.go @@ -27,13 +27,13 @@ import ( "strconv" "strings" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) putFilter(filterID string, title *string, context *[]string, action *string, expiresIn *int, expiresInStr *string, keywordsAttributesKeyword *[]string, keywordsAttributesWholeWord *[]bool, keywordsAttributesDestroy *[]bool, statusesAttributesID *[]string, statusesAttributesStatusID *[]string, statusesAttributesDestroy *[]bool, requestJson *string, expectedHTTPStatus int, expectedBody string, keywordsAttributesID *[]string) (*apimodel.FilterV2, error) { diff --git a/internal/api/client/filters/v2/filtersget.go b/internal/api/client/filters/v2/filtersget.go index f304ffea5..94e1db03b 100644 --- a/internal/api/client/filters/v2/filtersget.go +++ b/internal/api/client/filters/v2/filtersget.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FiltersGETHandler swagger:operation GET /api/v2/filters filtersV2Get diff --git a/internal/api/client/filters/v2/filtersget_test.go b/internal/api/client/filters/v2/filtersget_test.go index b77df42a6..76802d83a 100644 --- a/internal/api/client/filters/v2/filtersget_test.go +++ b/internal/api/client/filters/v2/filtersget_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilters( diff --git a/internal/api/client/filters/v2/filterstatusdelete.go b/internal/api/client/filters/v2/filterstatusdelete.go index 2adc48190..8522fde06 100644 --- a/internal/api/client/filters/v2/filterstatusdelete.go +++ b/internal/api/client/filters/v2/filterstatusdelete.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterStatusDELETEHandler swagger:operation DELETE /api/v2/filters/statuses/{id} filterStatusDelete diff --git a/internal/api/client/filters/v2/filterstatusdelete_test.go b/internal/api/client/filters/v2/filterstatusdelete_test.go index fd2a5cbdb..017b2739b 100644 --- a/internal/api/client/filters/v2/filterstatusdelete_test.go +++ b/internal/api/client/filters/v2/filterstatusdelete_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) deleteFilterStatus( diff --git a/internal/api/client/filters/v2/filterstatusesget.go b/internal/api/client/filters/v2/filterstatusesget.go index ae76e814f..31616bd36 100644 --- a/internal/api/client/filters/v2/filterstatusesget.go +++ b/internal/api/client/filters/v2/filterstatusesget.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterStatusesGETHandler swagger:operation GET /api/v2/filters/{id}/statuses filterStatusesGet diff --git a/internal/api/client/filters/v2/filterstatusesget_test.go b/internal/api/client/filters/v2/filterstatusesget_test.go index 6b8262f26..ba728e2bc 100644 --- a/internal/api/client/filters/v2/filterstatusesget_test.go +++ b/internal/api/client/filters/v2/filterstatusesget_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilterStatuses( diff --git a/internal/api/client/filters/v2/filterstatusget.go b/internal/api/client/filters/v2/filterstatusget.go index efe20f0c2..3add79c26 100644 --- a/internal/api/client/filters/v2/filterstatusget.go +++ b/internal/api/client/filters/v2/filterstatusget.go @@ -20,9 +20,9 @@ package v2 import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FilterStatusGETHandler swagger:operation GET /api/v2/filters/statuses/{id} filterStatusGet diff --git a/internal/api/client/filters/v2/filterstatusget_test.go b/internal/api/client/filters/v2/filterstatusget_test.go index 5df3971a8..d7c27eed2 100644 --- a/internal/api/client/filters/v2/filterstatusget_test.go +++ b/internal/api/client/filters/v2/filterstatusget_test.go @@ -23,12 +23,12 @@ import ( "net/http" "net/http/httptest" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) getFilterStatus( diff --git a/internal/api/client/filters/v2/filterstatuspost.go b/internal/api/client/filters/v2/filterstatuspost.go index c6921e584..b7b6019ac 100644 --- a/internal/api/client/filters/v2/filterstatuspost.go +++ b/internal/api/client/filters/v2/filterstatuspost.go @@ -20,11 +20,11 @@ package v2 import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // FilterStatusPOSTHandler swagger:operation POST /api/v2/filters/{id}/statuses filterStatusPost diff --git a/internal/api/client/filters/v2/filterstatuspost_test.go b/internal/api/client/filters/v2/filterstatuspost_test.go index da068e14a..d6a960372 100644 --- a/internal/api/client/filters/v2/filterstatuspost_test.go +++ b/internal/api/client/filters/v2/filterstatuspost_test.go @@ -25,13 +25,13 @@ import ( "net/url" "strings" - filtersV2 "github.com/superseriousbusiness/gotosocial/internal/api/client/filters/v2" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" + filtersV2 "code.superseriousbusiness.org/gotosocial/internal/api/client/filters/v2" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FiltersTestSuite) postFilterStatus( diff --git a/internal/api/client/followedtags/followedtags.go b/internal/api/client/followedtags/followedtags.go index 27fca918d..056e8abfa 100644 --- a/internal/api/client/followedtags/followedtags.go +++ b/internal/api/client/followedtags/followedtags.go @@ -20,8 +20,8 @@ package followedtags import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/followedtags/followedtags_test.go b/internal/api/client/followedtags/followedtags_test.go index e7c83ca68..c1de03c3f 100644 --- a/internal/api/client/followedtags/followedtags_test.go +++ b/internal/api/client/followedtags/followedtags_test.go @@ -20,19 +20,19 @@ package followedtags_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followedtags" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followedtags" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FollowedTagsTestSuite struct { diff --git a/internal/api/client/followedtags/get.go b/internal/api/client/followedtags/get.go index f1fa45b07..5cd7e91fb 100644 --- a/internal/api/client/followedtags/get.go +++ b/internal/api/client/followedtags/get.go @@ -20,10 +20,10 @@ package followedtags import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // FollowedTagsGETHandler swagger:operation GET /api/v1/followed_tags getFollowedTags diff --git a/internal/api/client/followedtags/get_test.go b/internal/api/client/followedtags/get_test.go index bd82c7037..41a8b43d8 100644 --- a/internal/api/client/followedtags/get_test.go +++ b/internal/api/client/followedtags/get_test.go @@ -24,12 +24,12 @@ import ( "net/http" "net/http/httptest" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followedtags" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followedtags" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *FollowedTagsTestSuite) getFollowedTags( diff --git a/internal/api/client/followrequests/authorize.go b/internal/api/client/followrequests/authorize.go index cc7b5598c..bcaad9be6 100644 --- a/internal/api/client/followrequests/authorize.go +++ b/internal/api/client/followrequests/authorize.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FollowRequestAuthorizePOSTHandler swagger:operation POST /api/v1/follow_requests/{account_id}/authorize authorizeFollowRequest diff --git a/internal/api/client/followrequests/authorize_test.go b/internal/api/client/followrequests/authorize_test.go index 4c0617958..712263e86 100644 --- a/internal/api/client/followrequests/authorize_test.go +++ b/internal/api/client/followrequests/authorize_test.go @@ -28,10 +28,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followrequests" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followrequests" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type AuthorizeTestSuite struct { diff --git a/internal/api/client/followrequests/followrequest.go b/internal/api/client/followrequests/followrequest.go index c2d72b476..4d4f0837a 100644 --- a/internal/api/client/followrequests/followrequest.go +++ b/internal/api/client/followrequests/followrequest.go @@ -20,8 +20,8 @@ package followrequests import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/followrequests/followrequest_test.go b/internal/api/client/followrequests/followrequest_test.go index fbaf9a560..74fa30cdb 100644 --- a/internal/api/client/followrequests/followrequest_test.go +++ b/internal/api/client/followrequests/followrequest_test.go @@ -22,23 +22,23 @@ import ( "fmt" "net/http/httptest" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followrequests" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followrequests" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FollowRequestStandardTestSuite struct { diff --git a/internal/api/client/followrequests/get.go b/internal/api/client/followrequests/get.go index 4b7760a6d..a55ea3ab2 100644 --- a/internal/api/client/followrequests/get.go +++ b/internal/api/client/followrequests/get.go @@ -20,10 +20,10 @@ package followrequests import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // FollowRequestGETHandler swagger:operation GET /api/v1/follow_requests getFollowRequests diff --git a/internal/api/client/followrequests/get_test.go b/internal/api/client/followrequests/get_test.go index bf16a509e..ad0fc839d 100644 --- a/internal/api/client/followrequests/get_test.go +++ b/internal/api/client/followrequests/get_test.go @@ -31,10 +31,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "github.com/tomnomnom/linkheader" ) diff --git a/internal/api/client/followrequests/reject.go b/internal/api/client/followrequests/reject.go index 4207925db..d60a1af08 100644 --- a/internal/api/client/followrequests/reject.go +++ b/internal/api/client/followrequests/reject.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // FollowRequestRejectPOSTHandler swagger:operation POST /api/v1/follow_requests/{account_id}/reject rejectFollowRequest diff --git a/internal/api/client/followrequests/reject_test.go b/internal/api/client/followrequests/reject_test.go index e6837066c..3d5f93286 100644 --- a/internal/api/client/followrequests/reject_test.go +++ b/internal/api/client/followrequests/reject_test.go @@ -28,10 +28,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/followrequests" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/followrequests" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type RejectTestSuite struct { diff --git a/internal/api/client/import/import.go b/internal/api/client/import/import.go index 8e2dde0c9..ebd4f64ad 100644 --- a/internal/api/client/import/import.go +++ b/internal/api/client/import/import.go @@ -26,10 +26,10 @@ import ( "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/processing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/import/import_test.go b/internal/api/client/import/import_test.go index 1edb54b64..8b1e17282 100644 --- a/internal/api/client/import/import_test.go +++ b/internal/api/client/import/import_test.go @@ -27,13 +27,13 @@ import ( "github.com/stretchr/testify/suite" - importdata "github.com/superseriousbusiness/gotosocial/internal/api/client/import" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" + importdata "code.superseriousbusiness.org/gotosocial/internal/api/client/import" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" ) type ImportTestSuite struct { diff --git a/internal/api/client/instance/instance.go b/internal/api/client/instance/instance.go index 82f6a4714..cd6c438c8 100644 --- a/internal/api/client/instance/instance.go +++ b/internal/api/client/instance/instance.go @@ -20,8 +20,8 @@ package instance import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/instance/instance_test.go b/internal/api/client/instance/instance_test.go index 965d09609..7ad6469db 100644 --- a/internal/api/client/instance/instance_test.go +++ b/internal/api/client/instance/instance_test.go @@ -22,23 +22,23 @@ import ( "fmt" "net/http/httptest" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/instance" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/instance" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InstanceStandardTestSuite struct { diff --git a/internal/api/client/instance/instanceget.go b/internal/api/client/instance/instanceget.go index 3ca69d93b..4740fe1e8 100644 --- a/internal/api/client/instance/instanceget.go +++ b/internal/api/client/instance/instanceget.go @@ -20,10 +20,10 @@ package instance import ( "net/http" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" ) diff --git a/internal/api/client/instance/instancepatch.go b/internal/api/client/instance/instancepatch.go index 67856100d..b81f14298 100644 --- a/internal/api/client/instance/instancepatch.go +++ b/internal/api/client/instance/instancepatch.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // InstanceUpdatePATCHHandler swagger:operation PATCH /api/v1/instance instanceUpdate diff --git a/internal/api/client/instance/instancepatch_test.go b/internal/api/client/instance/instancepatch_test.go index b0ce795f0..5b2b71d37 100644 --- a/internal/api/client/instance/instancepatch_test.go +++ b/internal/api/client/instance/instancepatch_test.go @@ -26,11 +26,11 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/instance" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/instance" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InstancePatchTestSuite struct { @@ -85,8 +85,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch1() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "Example Instance", - "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "

This is the GoToSocial testrig. It doesn't federate or anything.

When the testrig is shut down, all data on it will be deleted.

Don't use this in production!

", "short_description_text": "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", "email": "someone@example.org", @@ -228,8 +228,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch2() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "Geoff's Instance", - "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "

This is the GoToSocial testrig. It doesn't federate or anything.

When the testrig is shut down, all data on it will be deleted.

Don't use this in production!

", "short_description_text": "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", "email": "admin@example.org", @@ -371,8 +371,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch3() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "GoToSocial Testrig Instance", - "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "

This is some html, which is allowed in short descriptions.

", "short_description_text": "This is some html, which is allowed in short descriptions.", "email": "admin@example.org", @@ -565,8 +565,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch6() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "GoToSocial Testrig Instance", - "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "

This is the GoToSocial testrig. It doesn't federate or anything.

When the testrig is shut down, all data on it will be deleted.

Don't use this in production!

", "short_description_text": "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", "email": "", @@ -730,8 +730,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "GoToSocial Testrig Instance", - "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "

This is the GoToSocial testrig. It doesn't federate or anything.

When the testrig is shut down, all data on it will be deleted.

Don't use this in production!

", "short_description_text": "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", "email": "admin@example.org", @@ -914,8 +914,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch9() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "GoToSocial Testrig Instance", - "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "

This is the GoToSocial testrig. It doesn't federate or anything.

When the testrig is shut down, all data on it will be deleted.

Don't use this in production!

", "short_description_text": "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", "email": "admin@example.org", diff --git a/internal/api/client/instance/instancepeersget.go b/internal/api/client/instance/instancepeersget.go index 0b32a87e9..7afeb7104 100644 --- a/internal/api/client/instance/instancepeersget.go +++ b/internal/api/client/instance/instancepeersget.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" ) diff --git a/internal/api/client/instance/instancepeersget_test.go b/internal/api/client/instance/instancepeersget_test.go index 2421205f7..a18e30875 100644 --- a/internal/api/client/instance/instancepeersget_test.go +++ b/internal/api/client/instance/instancepeersget_test.go @@ -27,13 +27,13 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/instance" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin/render" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/instance" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InstancePeersGetTestSuite struct { diff --git a/internal/api/client/instance/instancerulesget.go b/internal/api/client/instance/instancerulesget.go index 9df1b8fbe..8daedec74 100644 --- a/internal/api/client/instance/instancerulesget.go +++ b/internal/api/client/instance/instancerulesget.go @@ -20,9 +20,9 @@ package instance import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // instanceRulesGETHandler swagger:operation GET /api/v1/instance/rules rules diff --git a/internal/api/client/interactionpolicies/getdefaults.go b/internal/api/client/interactionpolicies/getdefaults.go index 870425e8d..a5890fc8b 100644 --- a/internal/api/client/interactionpolicies/getdefaults.go +++ b/internal/api/client/interactionpolicies/getdefaults.go @@ -20,9 +20,9 @@ package interactionpolicies import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PoliciesDefaultsGETHandler swagger:operation GET /api/v1/interaction_policies/defaults policiesDefaultsGet diff --git a/internal/api/client/interactionpolicies/policies.go b/internal/api/client/interactionpolicies/policies.go index 9b34a8c80..304218496 100644 --- a/internal/api/client/interactionpolicies/policies.go +++ b/internal/api/client/interactionpolicies/policies.go @@ -20,8 +20,8 @@ package interactionpolicies import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/interactionpolicies/updatedefaults.go b/internal/api/client/interactionpolicies/updatedefaults.go index 8496b00aa..1b3c0bc7a 100644 --- a/internal/api/client/interactionpolicies/updatedefaults.go +++ b/internal/api/client/interactionpolicies/updatedefaults.go @@ -21,12 +21,12 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" "github.com/go-playground/form/v4" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PoliciesDefaultsPATCHHandler swagger:operation PATCH /api/v1/interaction_policies/defaults policiesDefaultsUpdate diff --git a/internal/api/client/interactionrequests/authorize.go b/internal/api/client/interactionrequests/authorize.go index 8191923ba..81a612e7a 100644 --- a/internal/api/client/interactionrequests/authorize.go +++ b/internal/api/client/interactionrequests/authorize.go @@ -20,9 +20,9 @@ package interactionrequests import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // InteractionRequestAuthorizePOSTHandler swagger:operation POST /api/v1/interaction_requests/{id}/authorize authorizeInteractionRequest diff --git a/internal/api/client/interactionrequests/get.go b/internal/api/client/interactionrequests/get.go index d1d5f5eb4..a4f09f490 100644 --- a/internal/api/client/interactionrequests/get.go +++ b/internal/api/client/interactionrequests/get.go @@ -20,9 +20,9 @@ package interactionrequests import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // InteractionRequestGETHandler swagger:operation GET /api/v1/interaction_requests/{id} getInteractionRequest diff --git a/internal/api/client/interactionrequests/getpage.go b/internal/api/client/interactionrequests/getpage.go index f3f1251cc..d938b220f 100644 --- a/internal/api/client/interactionrequests/getpage.go +++ b/internal/api/client/interactionrequests/getpage.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // InteractionRequestsGETHandler swagger:operation GET /api/v1/interaction_requests getInteractionRequests diff --git a/internal/api/client/interactionrequests/interactionrequests.go b/internal/api/client/interactionrequests/interactionrequests.go index 172951817..b443a4f68 100644 --- a/internal/api/client/interactionrequests/interactionrequests.go +++ b/internal/api/client/interactionrequests/interactionrequests.go @@ -20,9 +20,9 @@ package interactionrequests import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/interactionrequests/reject.go b/internal/api/client/interactionrequests/reject.go index 0102d872a..2f87643a1 100644 --- a/internal/api/client/interactionrequests/reject.go +++ b/internal/api/client/interactionrequests/reject.go @@ -20,9 +20,9 @@ package interactionrequests import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // InteractionRequestRejectPOSTHandler swagger:operation POST /api/v1/interaction_requests/{id}/reject rejectInteractionRequest diff --git a/internal/api/client/lists/list.go b/internal/api/client/lists/list.go index 515075271..c3432c6b5 100644 --- a/internal/api/client/lists/list.go +++ b/internal/api/client/lists/list.go @@ -20,8 +20,8 @@ package lists import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/lists/listaccounts.go b/internal/api/client/lists/listaccounts.go index 4c6c00292..ac3f21ef5 100644 --- a/internal/api/client/lists/listaccounts.go +++ b/internal/api/client/lists/listaccounts.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // ListAccountsGETHandler swagger:operation GET /api/v1/lists/{id}/accounts listAccounts diff --git a/internal/api/client/lists/listaccounts_test.go b/internal/api/client/lists/listaccounts_test.go index e0a16e29f..f71055aaf 100644 --- a/internal/api/client/lists/listaccounts_test.go +++ b/internal/api/client/lists/listaccounts_test.go @@ -25,14 +25,14 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/lists" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/lists" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ListAccountsTestSuite struct { diff --git a/internal/api/client/lists/listaccountsadd.go b/internal/api/client/lists/listaccountsadd.go index b27cd1e92..b89b9100b 100644 --- a/internal/api/client/lists/listaccountsadd.go +++ b/internal/api/client/lists/listaccountsadd.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ListAccountsPOSTHandler swagger:operation POST /api/v1/lists/{id}/accounts addListAccounts diff --git a/internal/api/client/lists/listaccountsadd_test.go b/internal/api/client/lists/listaccountsadd_test.go index e71cf0992..a20796f51 100644 --- a/internal/api/client/lists/listaccountsadd_test.go +++ b/internal/api/client/lists/listaccountsadd_test.go @@ -25,12 +25,12 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/lists" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "codeberg.org/gruf/go-bytes" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/lists" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ListAccountsAddTestSuite struct { diff --git a/internal/api/client/lists/listaccountsremove.go b/internal/api/client/lists/listaccountsremove.go index 160552d62..fc4cb0344 100644 --- a/internal/api/client/lists/listaccountsremove.go +++ b/internal/api/client/lists/listaccountsremove.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ListAccountsDELETEHandler swagger:operation DELETE /api/v1/lists/{id}/accounts removeListAccounts diff --git a/internal/api/client/lists/listcreate.go b/internal/api/client/lists/listcreate.go index 5d3daf2ed..75ad48b0c 100644 --- a/internal/api/client/lists/listcreate.go +++ b/internal/api/client/lists/listcreate.go @@ -21,12 +21,12 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // ListCreatePOSTHandler swagger:operation POST /api/v1/lists listCreate diff --git a/internal/api/client/lists/listdelete.go b/internal/api/client/lists/listdelete.go index 33c0add70..7e5b58b58 100644 --- a/internal/api/client/lists/listdelete.go +++ b/internal/api/client/lists/listdelete.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ListDELETEHandler swagger:operation DELETE /api/v1/lists/{id} listDelete diff --git a/internal/api/client/lists/listget.go b/internal/api/client/lists/listget.go index 008d516ba..e8e2759a8 100644 --- a/internal/api/client/lists/listget.go +++ b/internal/api/client/lists/listget.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ListGETHandler swagger:operation GET /api/v1/lists/{id} list diff --git a/internal/api/client/lists/lists_test.go b/internal/api/client/lists/lists_test.go index a4afa24bb..da3f72c42 100644 --- a/internal/api/client/lists/lists_test.go +++ b/internal/api/client/lists/lists_test.go @@ -18,20 +18,20 @@ package lists_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/lists" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/lists" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ListsStandardTestSuite struct { diff --git a/internal/api/client/lists/listsget.go b/internal/api/client/lists/listsget.go index 9a40702b8..1cd4d33e0 100644 --- a/internal/api/client/lists/listsget.go +++ b/internal/api/client/lists/listsget.go @@ -20,9 +20,9 @@ package lists import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ListsGETHandler swagger:operation GET /api/v1/lists lists diff --git a/internal/api/client/lists/listupdate.go b/internal/api/client/lists/listupdate.go index 388d878a9..e4258b013 100644 --- a/internal/api/client/lists/listupdate.go +++ b/internal/api/client/lists/listupdate.go @@ -22,12 +22,12 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // ListUpdatePUTHandler swagger:operation PUT /api/v1/lists/{id} listUpdate diff --git a/internal/api/client/markers/markers.go b/internal/api/client/markers/markers.go index fcf584d12..b6369b797 100644 --- a/internal/api/client/markers/markers.go +++ b/internal/api/client/markers/markers.go @@ -20,8 +20,8 @@ package markers import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/markers/markersget.go b/internal/api/client/markers/markersget.go index f5b70ca68..5706e74cd 100644 --- a/internal/api/client/markers/markersget.go +++ b/internal/api/client/markers/markersget.go @@ -20,11 +20,11 @@ package markers import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) // MarkersGETHandler swagger:operation GET /api/v1/markers markersGet diff --git a/internal/api/client/markers/markerspost.go b/internal/api/client/markers/markerspost.go index e2fffa265..199d370d3 100644 --- a/internal/api/client/markers/markerspost.go +++ b/internal/api/client/markers/markerspost.go @@ -20,11 +20,11 @@ package markers import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // MarkersPOSTHandler swagger:operation POST /api/v1/markers markersPost diff --git a/internal/api/client/media/media.go b/internal/api/client/media/media.go index dc640d380..fe9a2c158 100644 --- a/internal/api/client/media/media.go +++ b/internal/api/client/media/media.go @@ -20,9 +20,9 @@ package media import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/media/mediacreate.go b/internal/api/client/media/mediacreate.go index 4abcb8b22..5b71dd527 100644 --- a/internal/api/client/media/mediacreate.go +++ b/internal/api/client/media/mediacreate.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // MediaCreatePOSTHandler swagger:operation POST /api/{api_version}/media mediaCreate diff --git a/internal/api/client/media/mediacreate_test.go b/internal/api/client/media/mediacreate_test.go index 6f7bf781f..51faf2603 100644 --- a/internal/api/client/media/mediacreate_test.go +++ b/internal/api/client/media/mediacreate_test.go @@ -28,23 +28,23 @@ import ( "net/http/httptest" "testing" + mediamodule "code.superseriousbusiness.org/gotosocial/internal/api/client/media" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - mediamodule "github.com/superseriousbusiness/gotosocial/internal/api/client/media" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MediaCreateTestSuite struct { diff --git a/internal/api/client/media/mediaget.go b/internal/api/client/media/mediaget.go index 8428e202f..e08ef6bfa 100644 --- a/internal/api/client/media/mediaget.go +++ b/internal/api/client/media/mediaget.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // MediaGETHandler swagger:operation GET /api/v1/media/{id} mediaGet diff --git a/internal/api/client/media/mediaupdate.go b/internal/api/client/media/mediaupdate.go index b71b0c5f1..d10fc97b1 100644 --- a/internal/api/client/media/mediaupdate.go +++ b/internal/api/client/media/mediaupdate.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // MediaPUTHandler swagger:operation PUT /api/v1/media/{id} mediaUpdate diff --git a/internal/api/client/media/mediaupdate_test.go b/internal/api/client/media/mediaupdate_test.go index 8e033f367..903ba9414 100644 --- a/internal/api/client/media/mediaupdate_test.go +++ b/internal/api/client/media/mediaupdate_test.go @@ -26,23 +26,23 @@ import ( "net/http/httptest" "testing" + mediamodule "code.superseriousbusiness.org/gotosocial/internal/api/client/media" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - mediamodule "github.com/superseriousbusiness/gotosocial/internal/api/client/media" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MediaUpdateTestSuite struct { diff --git a/internal/api/client/mutes/mutes.go b/internal/api/client/mutes/mutes.go index 217c08f91..95f3c575d 100644 --- a/internal/api/client/mutes/mutes.go +++ b/internal/api/client/mutes/mutes.go @@ -20,8 +20,8 @@ package mutes import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/mutes/mutes_test.go b/internal/api/client/mutes/mutes_test.go index fdfca4414..4af1063ad 100644 --- a/internal/api/client/mutes/mutes_test.go +++ b/internal/api/client/mutes/mutes_test.go @@ -23,23 +23,23 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/mutes" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/mutes" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MutesTestSuite struct { diff --git a/internal/api/client/mutes/mutesget.go b/internal/api/client/mutes/mutesget.go index 76c31ebc6..5aa4f99eb 100644 --- a/internal/api/client/mutes/mutesget.go +++ b/internal/api/client/mutes/mutesget.go @@ -20,10 +20,10 @@ package mutes import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // MutesGETHandler swagger:operation GET /api/v1/mutes mutesGet diff --git a/internal/api/client/mutes/mutesget_test.go b/internal/api/client/mutes/mutesget_test.go index f9cfe5d9c..978c1a845 100644 --- a/internal/api/client/mutes/mutesget_test.go +++ b/internal/api/client/mutes/mutesget_test.go @@ -25,13 +25,13 @@ import ( "net/http/httptest" "time" - "github.com/superseriousbusiness/gotosocial/internal/api/client/mutes" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/mutes" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) func (suite *MutesTestSuite) getMutedAccounts( diff --git a/internal/api/client/notifications/notificationget.go b/internal/api/client/notifications/notificationget.go index 0c15cf937..e9265d1bc 100644 --- a/internal/api/client/notifications/notificationget.go +++ b/internal/api/client/notifications/notificationget.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // NotificationGETHandler swagger:operation GET /api/v1/notification/{id} notification diff --git a/internal/api/client/notifications/notifications.go b/internal/api/client/notifications/notifications.go index cb1edf3ff..c8edbc8f2 100644 --- a/internal/api/client/notifications/notifications.go +++ b/internal/api/client/notifications/notifications.go @@ -20,8 +20,8 @@ package notifications import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/notifications/notifications_test.go b/internal/api/client/notifications/notifications_test.go index b84e7d768..66dd92b30 100644 --- a/internal/api/client/notifications/notifications_test.go +++ b/internal/api/client/notifications/notifications_test.go @@ -18,20 +18,20 @@ package notifications_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/notifications" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/notifications" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type NotificationsTestSuite struct { diff --git a/internal/api/client/notifications/notificationsclear.go b/internal/api/client/notifications/notificationsclear.go index 3742f7eba..58c2c7f70 100644 --- a/internal/api/client/notifications/notificationsclear.go +++ b/internal/api/client/notifications/notificationsclear.go @@ -20,9 +20,9 @@ package notifications import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // NotificationsClearPOSTHandler swagger:operation POST /api/v1/notifications/clear clearNotifications diff --git a/internal/api/client/notifications/notificationsget.go b/internal/api/client/notifications/notificationsget.go index e02ca23d8..e6f0d342b 100644 --- a/internal/api/client/notifications/notificationsget.go +++ b/internal/api/client/notifications/notificationsget.go @@ -21,12 +21,12 @@ import ( "context" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // NotificationsGETHandler swagger:operation GET /api/v1/notifications notifications diff --git a/internal/api/client/notifications/notificationsget_test.go b/internal/api/client/notifications/notificationsget_test.go index 5a6f83959..78e746f79 100644 --- a/internal/api/client/notifications/notificationsget_test.go +++ b/internal/api/client/notifications/notificationsget_test.go @@ -27,15 +27,15 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/notifications" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/notifications" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) func (suite *NotificationsTestSuite) getNotifications( diff --git a/internal/api/client/polls/polls.go b/internal/api/client/polls/polls.go index a2c176449..ed5396361 100644 --- a/internal/api/client/polls/polls.go +++ b/internal/api/client/polls/polls.go @@ -20,9 +20,9 @@ package polls import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/polls/polls_get.go b/internal/api/client/polls/polls_get.go index e432b1f8e..dd3892abc 100644 --- a/internal/api/client/polls/polls_get.go +++ b/internal/api/client/polls/polls_get.go @@ -20,9 +20,9 @@ package polls import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PollGETHandler swagger:operation GET /api/v1/polls/{id} poll diff --git a/internal/api/client/polls/polls_test.go b/internal/api/client/polls/polls_test.go index 5df5cf88d..0e05c045d 100644 --- a/internal/api/client/polls/polls_test.go +++ b/internal/api/client/polls/polls_test.go @@ -18,20 +18,20 @@ package polls_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/polls" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/polls" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type PollsStandardTestSuite struct { diff --git a/internal/api/client/polls/polls_vote.go b/internal/api/client/polls/polls_vote.go index 0c857e2d8..62352fbb0 100644 --- a/internal/api/client/polls/polls_vote.go +++ b/internal/api/client/polls/polls_vote.go @@ -22,10 +22,10 @@ import ( "net/http" "strconv" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PollVotePOSTHandler swagger:operation POST /api/v1/polls/{id}/votes pollVote diff --git a/internal/api/client/polls/polls_vote_test.go b/internal/api/client/polls/polls_vote_test.go index 54f98c192..eadfe1007 100644 --- a/internal/api/client/polls/polls_vote_test.go +++ b/internal/api/client/polls/polls_vote_test.go @@ -26,13 +26,13 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/polls" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/polls" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type PollCreateTestSuite struct { diff --git a/internal/api/client/preferences/preferences.go b/internal/api/client/preferences/preferences.go index 4a1ba8fe6..4a185388d 100644 --- a/internal/api/client/preferences/preferences.go +++ b/internal/api/client/preferences/preferences.go @@ -20,8 +20,8 @@ package preferences import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/preferences/preferencesget.go b/internal/api/client/preferences/preferencesget.go index 20cfc7d36..06485f53a 100644 --- a/internal/api/client/preferences/preferencesget.go +++ b/internal/api/client/preferences/preferencesget.go @@ -20,9 +20,9 @@ package preferences import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PreferencesGETHandler swagger:operation GET /api/v1/preferences preferencesGet diff --git a/internal/api/client/push/push.go b/internal/api/client/push/push.go index 33b974efa..fa0decb2c 100644 --- a/internal/api/client/push/push.go +++ b/internal/api/client/push/push.go @@ -20,8 +20,8 @@ package push import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/push/push_test.go b/internal/api/client/push/push_test.go index 6a3754546..7a1d3e2b9 100644 --- a/internal/api/client/push/push_test.go +++ b/internal/api/client/push/push_test.go @@ -20,18 +20,18 @@ package push_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/push" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/push" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/testrig" ) type PushTestSuite struct { diff --git a/internal/api/client/push/pushsubscriptiondelete.go b/internal/api/client/push/pushsubscriptiondelete.go index c82222248..8cafa3e39 100644 --- a/internal/api/client/push/pushsubscriptiondelete.go +++ b/internal/api/client/push/pushsubscriptiondelete.go @@ -20,8 +20,8 @@ package push import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // PushSubscriptionDELETEHandler swagger:operation DELETE /api/v1/push/subscription pushSubscriptionDelete diff --git a/internal/api/client/push/pushsubscriptiondelete_test.go b/internal/api/client/push/pushsubscriptiondelete_test.go index 2548f2fb7..87f27647a 100644 --- a/internal/api/client/push/pushsubscriptiondelete_test.go +++ b/internal/api/client/push/pushsubscriptiondelete_test.go @@ -22,10 +22,10 @@ import ( "net/http" "net/http/httptest" - "github.com/superseriousbusiness/gotosocial/internal/api/client/push" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/push" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) // deleteSubscription deletes the push subscription for the named account and token. diff --git a/internal/api/client/push/pushsubscriptionget.go b/internal/api/client/push/pushsubscriptionget.go index d48e43108..2a3e69e3d 100644 --- a/internal/api/client/push/pushsubscriptionget.go +++ b/internal/api/client/push/pushsubscriptionget.go @@ -20,8 +20,8 @@ package push import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // PushSubscriptionGETHandler swagger:operation GET /api/v1/push/subscription pushSubscriptionGet diff --git a/internal/api/client/push/pushsubscriptionget_test.go b/internal/api/client/push/pushsubscriptionget_test.go index 80f387195..523b62936 100644 --- a/internal/api/client/push/pushsubscriptionget_test.go +++ b/internal/api/client/push/pushsubscriptionget_test.go @@ -24,11 +24,11 @@ import ( "net/http" "net/http/httptest" - "github.com/superseriousbusiness/gotosocial/internal/api/client/push" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/push" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) // getSubscription gets the push subscription for the named account and token. diff --git a/internal/api/client/push/pushsubscriptionpost.go b/internal/api/client/push/pushsubscriptionpost.go index 9893d7fe1..1929ae714 100644 --- a/internal/api/client/push/pushsubscriptionpost.go +++ b/internal/api/client/push/pushsubscriptionpost.go @@ -25,10 +25,10 @@ import ( "net/http" "net/url" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PushSubscriptionPOSTHandler swagger:operation POST /api/v1/push/subscription pushSubscriptionPost diff --git a/internal/api/client/push/pushsubscriptionpost_test.go b/internal/api/client/push/pushsubscriptionpost_test.go index 251dde1f9..ecb387464 100644 --- a/internal/api/client/push/pushsubscriptionpost_test.go +++ b/internal/api/client/push/pushsubscriptionpost_test.go @@ -27,11 +27,11 @@ import ( "strconv" "strings" - "github.com/superseriousbusiness/gotosocial/internal/api/client/push" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/push" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) // postSubscription creates or replaces the push subscription for the named account and token. diff --git a/internal/api/client/push/pushsubscriptionput.go b/internal/api/client/push/pushsubscriptionput.go index 53e6a72e9..1a2b51cb7 100644 --- a/internal/api/client/push/pushsubscriptionput.go +++ b/internal/api/client/push/pushsubscriptionput.go @@ -20,11 +20,11 @@ package push import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // PushSubscriptionPUTHandler swagger:operation PUT /api/v1/push/subscription pushSubscriptionPut diff --git a/internal/api/client/push/pushsubscriptionput_test.go b/internal/api/client/push/pushsubscriptionput_test.go index 8b86add9e..584714221 100644 --- a/internal/api/client/push/pushsubscriptionput_test.go +++ b/internal/api/client/push/pushsubscriptionput_test.go @@ -27,11 +27,11 @@ import ( "strconv" "strings" - "github.com/superseriousbusiness/gotosocial/internal/api/client/push" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/api/client/push" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) // putSubscription updates the push subscription for the named account and token. diff --git a/internal/api/client/reports/reportcreate.go b/internal/api/client/reports/reportcreate.go index b9a4666ee..51e29a1b5 100644 --- a/internal/api/client/reports/reportcreate.go +++ b/internal/api/client/reports/reportcreate.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/regexes" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/regexes" ) // ReportPOSTHandler swagger:operation POST /api/v1/reports reportCreate diff --git a/internal/api/client/reports/reportcreate_test.go b/internal/api/client/reports/reportcreate_test.go index 35dc3d015..a94f46fa9 100644 --- a/internal/api/client/reports/reportcreate_test.go +++ b/internal/api/client/reports/reportcreate_test.go @@ -26,13 +26,13 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/reports" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/reports" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportCreateTestSuite struct { diff --git a/internal/api/client/reports/reportget.go b/internal/api/client/reports/reportget.go index 1219e4a12..abb677a31 100644 --- a/internal/api/client/reports/reportget.go +++ b/internal/api/client/reports/reportget.go @@ -20,9 +20,9 @@ package reports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ReportGETHandler swagger:operation GET /api/v1/reports/{id} reportGet diff --git a/internal/api/client/reports/reportget_test.go b/internal/api/client/reports/reportget_test.go index 51b80703d..59ee097cf 100644 --- a/internal/api/client/reports/reportget_test.go +++ b/internal/api/client/reports/reportget_test.go @@ -24,13 +24,13 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/reports" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/reports" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportGetTestSuite struct { diff --git a/internal/api/client/reports/reports.go b/internal/api/client/reports/reports.go index b10697c1f..40ff5a988 100644 --- a/internal/api/client/reports/reports.go +++ b/internal/api/client/reports/reports.go @@ -20,9 +20,9 @@ package reports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/reports/reports_test.go b/internal/api/client/reports/reports_test.go index da39c78e1..b4a02d6a0 100644 --- a/internal/api/client/reports/reports_test.go +++ b/internal/api/client/reports/reports_test.go @@ -18,20 +18,20 @@ package reports_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/reports" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/reports" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportsStandardTestSuite struct { diff --git a/internal/api/client/reports/reportsget.go b/internal/api/client/reports/reportsget.go index 65adf664f..7d35fbd03 100644 --- a/internal/api/client/reports/reportsget.go +++ b/internal/api/client/reports/reportsget.go @@ -20,10 +20,10 @@ package reports import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // ReportsGETHandler swagger:operation GET /api/v1/reports reports diff --git a/internal/api/client/reports/reportsget_test.go b/internal/api/client/reports/reportsget_test.go index b6c3a0662..ffca6295c 100644 --- a/internal/api/client/reports/reportsget_test.go +++ b/internal/api/client/reports/reportsget_test.go @@ -26,15 +26,15 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/reports" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/reports" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportsGetTestSuite struct { diff --git a/internal/api/client/search/search.go b/internal/api/client/search/search.go index d413aff91..076d91cb1 100644 --- a/internal/api/client/search/search.go +++ b/internal/api/client/search/search.go @@ -20,9 +20,9 @@ package search import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/search/search_test.go b/internal/api/client/search/search_test.go index 9eb7f08fe..1c336d228 100644 --- a/internal/api/client/search/search_test.go +++ b/internal/api/client/search/search_test.go @@ -22,23 +22,23 @@ import ( "net/http" "net/http/httptest" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/search" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/search" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type SearchStandardTestSuite struct { diff --git a/internal/api/client/search/searchget.go b/internal/api/client/search/searchget.go index 05a64f244..a5dc2527f 100644 --- a/internal/api/client/search/searchget.go +++ b/internal/api/client/search/searchget.go @@ -20,10 +20,10 @@ package search import ( "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // SearchGETHandler swagger:operation GET /api/{api_version}/search searchGet diff --git a/internal/api/client/search/searchget_test.go b/internal/api/client/search/searchget_test.go index 7d5b73572..b978c0d3f 100644 --- a/internal/api/client/search/searchget_test.go +++ b/internal/api/client/search/searchget_test.go @@ -30,16 +30,16 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/search" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/search" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type SearchGetTestSuite struct { diff --git a/internal/api/client/statuses/status.go b/internal/api/client/statuses/status.go index 88b34cbf5..77b295bcd 100644 --- a/internal/api/client/statuses/status.go +++ b/internal/api/client/statuses/status.go @@ -20,8 +20,8 @@ package statuses import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/statuses/status_test.go b/internal/api/client/statuses/status_test.go index 2b916125e..e8eafc2e8 100644 --- a/internal/api/client/statuses/status_test.go +++ b/internal/api/client/statuses/status_test.go @@ -24,21 +24,21 @@ import ( "net/http/httptest" "strings" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusStandardTestSuite struct { diff --git a/internal/api/client/statuses/statusbookmark.go b/internal/api/client/statuses/statusbookmark.go index 059ed7e57..804044763 100644 --- a/internal/api/client/statuses/statusbookmark.go +++ b/internal/api/client/statuses/statusbookmark.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusBookmarkPOSTHandler swagger:operation POST /api/v1/statuses/{id}/bookmark statusBookmark diff --git a/internal/api/client/statuses/statusbookmark_test.go b/internal/api/client/statuses/statusbookmark_test.go index 6899831e9..5ef4fbe3f 100644 --- a/internal/api/client/statuses/statusbookmark_test.go +++ b/internal/api/client/statuses/statusbookmark_test.go @@ -24,12 +24,12 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusBookmarkTestSuite struct { diff --git a/internal/api/client/statuses/statusboost.go b/internal/api/client/statuses/statusboost.go index fb4c5e5ee..5e8418dec 100644 --- a/internal/api/client/statuses/statusboost.go +++ b/internal/api/client/statuses/statusboost.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusBoostPOSTHandler swagger:operation POST /api/v1/statuses/{id}/reblog statusReblog diff --git a/internal/api/client/statuses/statusboost_test.go b/internal/api/client/statuses/statusboost_test.go index a9fee34f7..4c8d41a99 100644 --- a/internal/api/client/statuses/statusboost_test.go +++ b/internal/api/client/statuses/statusboost_test.go @@ -22,13 +22,13 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusBoostTestSuite struct { diff --git a/internal/api/client/statuses/statusboostedby.go b/internal/api/client/statuses/statusboostedby.go index 9ee82c709..70111afcc 100644 --- a/internal/api/client/statuses/statusboostedby.go +++ b/internal/api/client/statuses/statusboostedby.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusBoostedByGETHandler swagger:operation GET /api/v1/statuses/{id}/reblogged_by statusBoostedBy diff --git a/internal/api/client/statuses/statusboostedby_test.go b/internal/api/client/statuses/statusboostedby_test.go index 881f4808e..f5cd657be 100644 --- a/internal/api/client/statuses/statusboostedby_test.go +++ b/internal/api/client/statuses/statusboostedby_test.go @@ -24,11 +24,11 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusBoostedByTestSuite struct { diff --git a/internal/api/client/statuses/statuscontext.go b/internal/api/client/statuses/statuscontext.go index cae48e938..4a5e8abf3 100644 --- a/internal/api/client/statuses/statuscontext.go +++ b/internal/api/client/statuses/statuscontext.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusContextGETHandler swagger:operation GET /api/v1/statuses/{id}/context threadContext diff --git a/internal/api/client/statuses/statuscreate.go b/internal/api/client/statuses/statuscreate.go index 686e29ec4..048acd421 100644 --- a/internal/api/client/statuses/statuscreate.go +++ b/internal/api/client/statuses/statuscreate.go @@ -22,13 +22,13 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" "github.com/go-playground/form/v4" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // StatusCreatePOSTHandler swagger:operation POST /api/v1/statuses statusCreate diff --git a/internal/api/client/statuses/statuscreate_test.go b/internal/api/client/statuses/statuscreate_test.go index aba39ba23..514109223 100644 --- a/internal/api/client/statuses/statuscreate_test.go +++ b/internal/api/client/statuses/statuscreate_test.go @@ -28,12 +28,12 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusCreateTestSuite struct { diff --git a/internal/api/client/statuses/statusdelete.go b/internal/api/client/statuses/statusdelete.go index c5ff046f7..006b6e601 100644 --- a/internal/api/client/statuses/statusdelete.go +++ b/internal/api/client/statuses/statusdelete.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusDELETEHandler swagger:operation DELETE /api/v1/statuses/{id} statusDelete diff --git a/internal/api/client/statuses/statusdelete_test.go b/internal/api/client/statuses/statusdelete_test.go index d7efd5725..2cf40213f 100644 --- a/internal/api/client/statuses/statusdelete_test.go +++ b/internal/api/client/statuses/statusdelete_test.go @@ -25,13 +25,13 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusDeleteTestSuite struct { diff --git a/internal/api/client/statuses/statusedit.go b/internal/api/client/statuses/statusedit.go index 5c58c5098..22d22da71 100644 --- a/internal/api/client/statuses/statusedit.go +++ b/internal/api/client/statuses/statusedit.go @@ -22,12 +22,12 @@ import ( "fmt" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // StatusEditPUTHandler swagger:operation PUT /api/v1/statuses/{id} statusEdit diff --git a/internal/api/client/statuses/statusfave.go b/internal/api/client/statuses/statusfave.go index 23ff2d7a1..54d717ddd 100644 --- a/internal/api/client/statuses/statusfave.go +++ b/internal/api/client/statuses/statusfave.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusFavePOSTHandler swagger:operation POST /api/v1/statuses/{id}/favourite statusFave diff --git a/internal/api/client/statuses/statusfave_test.go b/internal/api/client/statuses/statusfave_test.go index 983935184..11ac4fc5f 100644 --- a/internal/api/client/statuses/statusfave_test.go +++ b/internal/api/client/statuses/statusfave_test.go @@ -24,15 +24,15 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" ) type StatusFaveTestSuite struct { diff --git a/internal/api/client/statuses/statusfavedby.go b/internal/api/client/statuses/statusfavedby.go index a4a0611ce..baa1bcf0d 100644 --- a/internal/api/client/statuses/statusfavedby.go +++ b/internal/api/client/statuses/statusfavedby.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusFavedByGETHandler swagger:operation GET /api/v1/statuses/{id}/favourited_by statusFavedBy diff --git a/internal/api/client/statuses/statusfavedby_test.go b/internal/api/client/statuses/statusfavedby_test.go index a51c06421..15d38e5e8 100644 --- a/internal/api/client/statuses/statusfavedby_test.go +++ b/internal/api/client/statuses/statusfavedby_test.go @@ -26,13 +26,13 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusFavedByTestSuite struct { diff --git a/internal/api/client/statuses/statusget.go b/internal/api/client/statuses/statusget.go index f8fb2cb50..ac91f6e44 100644 --- a/internal/api/client/statuses/statusget.go +++ b/internal/api/client/statuses/statusget.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusGETHandler swagger:operation GET /api/v1/statuses/{id} statusGet diff --git a/internal/api/client/statuses/statushistory.go b/internal/api/client/statuses/statushistory.go index d493b6ffe..2f94d38d1 100644 --- a/internal/api/client/statuses/statushistory.go +++ b/internal/api/client/statuses/statushistory.go @@ -20,9 +20,9 @@ package statuses import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusHistoryGETHandler swagger:operation GET /api/v1/statuses/{id}/history statusHistoryGet diff --git a/internal/api/client/statuses/statushistory_test.go b/internal/api/client/statuses/statushistory_test.go index fe650402f..3f6d56493 100644 --- a/internal/api/client/statuses/statushistory_test.go +++ b/internal/api/client/statuses/statushistory_test.go @@ -27,11 +27,11 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusHistoryTestSuite struct { diff --git a/internal/api/client/statuses/statusmute.go b/internal/api/client/statuses/statusmute.go index 42df112a3..a73029f7c 100644 --- a/internal/api/client/statuses/statusmute.go +++ b/internal/api/client/statuses/statusmute.go @@ -20,9 +20,9 @@ package statuses import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusMutePOSTHandler swagger:operation POST /api/v1/statuses/{id}/mute statusMute diff --git a/internal/api/client/statuses/statusmute_test.go b/internal/api/client/statuses/statusmute_test.go index a98eff78a..d3c880f09 100644 --- a/internal/api/client/statuses/statusmute_test.go +++ b/internal/api/client/statuses/statusmute_test.go @@ -27,12 +27,12 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusMuteTestSuite struct { diff --git a/internal/api/client/statuses/statuspin.go b/internal/api/client/statuses/statuspin.go index 0c4c681a6..b12842ef2 100644 --- a/internal/api/client/statuses/statuspin.go +++ b/internal/api/client/statuses/statuspin.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusPinPOSTHandler swagger:operation POST /api/v1/statuses/{id}/pin statusPin diff --git a/internal/api/client/statuses/statuspin_test.go b/internal/api/client/statuses/statuspin_test.go index e9b65bd37..87650dd43 100644 --- a/internal/api/client/statuses/statuspin_test.go +++ b/internal/api/client/statuses/statuspin_test.go @@ -27,17 +27,17 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusPinTestSuite struct { diff --git a/internal/api/client/statuses/statussource.go b/internal/api/client/statuses/statussource.go index fd15e8719..aed57098f 100644 --- a/internal/api/client/statuses/statussource.go +++ b/internal/api/client/statuses/statussource.go @@ -20,9 +20,9 @@ package statuses import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusSourceGETHandler swagger:operation GET /api/v1/statuses/{id}/source statusSourceGet diff --git a/internal/api/client/statuses/statussource_test.go b/internal/api/client/statuses/statussource_test.go index e36a939ef..8439f12fa 100644 --- a/internal/api/client/statuses/statussource_test.go +++ b/internal/api/client/statuses/statussource_test.go @@ -27,11 +27,11 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusSourceTestSuite struct { diff --git a/internal/api/client/statuses/statusunbookmark.go b/internal/api/client/statuses/statusunbookmark.go index ca4e669a7..695600edf 100644 --- a/internal/api/client/statuses/statusunbookmark.go +++ b/internal/api/client/statuses/statusunbookmark.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusUnbookmarkPOSTHandler swagger:operation POST /api/v1/statuses/{id}/unbookmark statusUnbookmark diff --git a/internal/api/client/statuses/statusunbookmark_test.go b/internal/api/client/statuses/statusunbookmark_test.go index e62219913..cf95dab6d 100644 --- a/internal/api/client/statuses/statusunbookmark_test.go +++ b/internal/api/client/statuses/statusunbookmark_test.go @@ -24,12 +24,12 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusUnbookmarkTestSuite struct { diff --git a/internal/api/client/statuses/statusunboost.go b/internal/api/client/statuses/statusunboost.go index c7fd00ab7..7863696df 100644 --- a/internal/api/client/statuses/statusunboost.go +++ b/internal/api/client/statuses/statusunboost.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusUnboostPOSTHandler swagger:operation POST /api/v1/statuses/{id}/unreblog statusUnreblog diff --git a/internal/api/client/statuses/statusunfave.go b/internal/api/client/statuses/statusunfave.go index d7dbe10ce..a19c56eed 100644 --- a/internal/api/client/statuses/statusunfave.go +++ b/internal/api/client/statuses/statusunfave.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusUnfavePOSTHandler swagger:operation POST /api/v1/statuses/{id}/unfavourite statusUnfave diff --git a/internal/api/client/statuses/statusunfave_test.go b/internal/api/client/statuses/statusunfave_test.go index d02de47a5..004f4d892 100644 --- a/internal/api/client/statuses/statusunfave_test.go +++ b/internal/api/client/statuses/statusunfave_test.go @@ -26,13 +26,13 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusUnfaveTestSuite struct { diff --git a/internal/api/client/statuses/statusunmute.go b/internal/api/client/statuses/statusunmute.go index 76018fd27..e1e89da3b 100644 --- a/internal/api/client/statuses/statusunmute.go +++ b/internal/api/client/statuses/statusunmute.go @@ -20,9 +20,9 @@ package statuses import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusUnmutePOSTHandler swagger:operation POST /api/v1/statuses/{id}/unmute statusUnmute diff --git a/internal/api/client/statuses/statusunpin.go b/internal/api/client/statuses/statusunpin.go index 32cb913e0..90d1e7b7f 100644 --- a/internal/api/client/statuses/statusunpin.go +++ b/internal/api/client/statuses/statusunpin.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // StatusUnpinPOSTHandler swagger:operation POST /api/v1/statuses/{id}/unpin statusUnpin diff --git a/internal/api/client/statuses/statusunpin_test.go b/internal/api/client/statuses/statusunpin_test.go index 14253f804..b9e600c4f 100644 --- a/internal/api/client/statuses/statusunpin_test.go +++ b/internal/api/client/statuses/statusunpin_test.go @@ -24,13 +24,13 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/statuses" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/statuses" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusUnpinTestSuite struct { diff --git a/internal/api/client/streaming/stream.go b/internal/api/client/streaming/stream.go index 8fafed7c2..7bb65f7a1 100644 --- a/internal/api/client/streaming/stream.go +++ b/internal/api/client/streaming/stream.go @@ -24,12 +24,12 @@ import ( "slices" "time" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - streampkg "github.com/superseriousbusiness/gotosocial/internal/stream" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + streampkg "code.superseriousbusiness.org/gotosocial/internal/stream" "github.com/gin-gonic/gin" "github.com/gorilla/websocket" diff --git a/internal/api/client/streaming/streaming.go b/internal/api/client/streaming/streaming.go index 303e16cd3..3a8426fe3 100644 --- a/internal/api/client/streaming/streaming.go +++ b/internal/api/client/streaming/streaming.go @@ -21,9 +21,9 @@ import ( "net/http" "time" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" "github.com/gorilla/websocket" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/streaming/streaming_test.go b/internal/api/client/streaming/streaming_test.go index 4cc5dc1b2..ef11f44b2 100644 --- a/internal/api/client/streaming/streaming_test.go +++ b/internal/api/client/streaming/streaming_test.go @@ -29,22 +29,22 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/streaming" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/streaming" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StreamingTestSuite struct { diff --git a/internal/api/client/tags/follow.go b/internal/api/client/tags/follow.go index 07804013a..f8b81780a 100644 --- a/internal/api/client/tags/follow.go +++ b/internal/api/client/tags/follow.go @@ -20,8 +20,8 @@ package tags import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // FollowTagPOSTHandler swagger:operation POST /api/v1/tags/{tag_name}/follow followTag diff --git a/internal/api/client/tags/follow_test.go b/internal/api/client/tags/follow_test.go index d3b08cf5c..87f903452 100644 --- a/internal/api/client/tags/follow_test.go +++ b/internal/api/client/tags/follow_test.go @@ -21,8 +21,8 @@ import ( "context" "net/http" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tags" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tags" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" ) func (suite *TagsTestSuite) follow( diff --git a/internal/api/client/tags/get.go b/internal/api/client/tags/get.go index a6a433d7d..0a88a418d 100644 --- a/internal/api/client/tags/get.go +++ b/internal/api/client/tags/get.go @@ -20,8 +20,8 @@ package tags import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // TagGETHandler swagger:operation GET /api/v1/tags/{tag_name} getTag diff --git a/internal/api/client/tags/get_test.go b/internal/api/client/tags/get_test.go index fa31bce7d..d8052822e 100644 --- a/internal/api/client/tags/get_test.go +++ b/internal/api/client/tags/get_test.go @@ -21,8 +21,8 @@ import ( "context" "net/http" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tags" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tags" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" ) // tagAction follows or unfollows a tag. diff --git a/internal/api/client/tags/tags.go b/internal/api/client/tags/tags.go index 281859547..34a88abfc 100644 --- a/internal/api/client/tags/tags.go +++ b/internal/api/client/tags/tags.go @@ -20,9 +20,9 @@ package tags import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/tags/tags_test.go b/internal/api/client/tags/tags_test.go index 4718d5f34..a09d07861 100644 --- a/internal/api/client/tags/tags_test.go +++ b/internal/api/client/tags/tags_test.go @@ -24,23 +24,23 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tags" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tags" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TagsTestSuite struct { diff --git a/internal/api/client/tags/unfollow.go b/internal/api/client/tags/unfollow.go index 49ebd463e..1dd0e6a9d 100644 --- a/internal/api/client/tags/unfollow.go +++ b/internal/api/client/tags/unfollow.go @@ -20,8 +20,8 @@ package tags import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // UnfollowTagPOSTHandler swagger:operation POST /api/v1/tags/{tag_name}/unfollow unfollowTag diff --git a/internal/api/client/tags/unfollow_test.go b/internal/api/client/tags/unfollow_test.go index 51bc34797..5b748a8aa 100644 --- a/internal/api/client/tags/unfollow_test.go +++ b/internal/api/client/tags/unfollow_test.go @@ -21,8 +21,8 @@ import ( "context" "net/http" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tags" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tags" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" ) func (suite *TagsTestSuite) unfollow( diff --git a/internal/api/client/timelines/home.go b/internal/api/client/timelines/home.go index 8e957d498..ad12c38a4 100644 --- a/internal/api/client/timelines/home.go +++ b/internal/api/client/timelines/home.go @@ -20,9 +20,9 @@ package timelines import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // HomeTimelineGETHandler swagger:operation GET /api/v1/timelines/home homeTimeline diff --git a/internal/api/client/timelines/list.go b/internal/api/client/timelines/list.go index b02489d6c..3ea276c5b 100644 --- a/internal/api/client/timelines/list.go +++ b/internal/api/client/timelines/list.go @@ -20,9 +20,9 @@ package timelines import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ListTimelineGETHandler swagger:operation GET /api/v1/timelines/list/{id} listTimeline diff --git a/internal/api/client/timelines/public.go b/internal/api/client/timelines/public.go index d6df36f09..f438244a7 100644 --- a/internal/api/client/timelines/public.go +++ b/internal/api/client/timelines/public.go @@ -20,10 +20,10 @@ package timelines import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // PublicTimelineGETHandler swagger:operation GET /api/v1/timelines/public publicTimeline diff --git a/internal/api/client/timelines/tag.go b/internal/api/client/timelines/tag.go index 8c3a86f81..daf88f528 100644 --- a/internal/api/client/timelines/tag.go +++ b/internal/api/client/timelines/tag.go @@ -20,9 +20,9 @@ package timelines import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // TagTimelineGETHandler swagger:operation GET /api/v1/timelines/tag/{tag_name} tagTimeline diff --git a/internal/api/client/timelines/timeline.go b/internal/api/client/timelines/timeline.go index 2362ca47e..86e0597d0 100644 --- a/internal/api/client/timelines/timeline.go +++ b/internal/api/client/timelines/timeline.go @@ -20,9 +20,9 @@ package timelines import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/tokens/tokenget.go b/internal/api/client/tokens/tokenget.go index c88b78743..c0ef980a3 100644 --- a/internal/api/client/tokens/tokenget.go +++ b/internal/api/client/tokens/tokenget.go @@ -20,9 +20,9 @@ package tokens import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // TokenInfoGETHandler swagger:operation GET /api/v1/tokens/{id} tokenInfoGet diff --git a/internal/api/client/tokens/tokenget_test.go b/internal/api/client/tokens/tokenget_test.go index c7cbf3022..89ad7a642 100644 --- a/internal/api/client/tokens/tokenget_test.go +++ b/internal/api/client/tokens/tokenget_test.go @@ -21,8 +21,8 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tokens" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tokens" ) type TokenGetTestSuite struct { diff --git a/internal/api/client/tokens/tokeninvalidate.go b/internal/api/client/tokens/tokeninvalidate.go index 192bbf33b..eab77cc04 100644 --- a/internal/api/client/tokens/tokeninvalidate.go +++ b/internal/api/client/tokens/tokeninvalidate.go @@ -20,9 +20,9 @@ package tokens import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // TokenInvalidatePOSTHandler swagger:operation POST /api/v1/tokens/{id}/invalidate tokenInvalidatePost diff --git a/internal/api/client/tokens/tokeninvalidate_test.go b/internal/api/client/tokens/tokeninvalidate_test.go index 281f9b96d..2e726bd50 100644 --- a/internal/api/client/tokens/tokeninvalidate_test.go +++ b/internal/api/client/tokens/tokeninvalidate_test.go @@ -22,9 +22,9 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tokens" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tokens" - "github.com/superseriousbusiness/gotosocial/internal/db" ) type TokenInvalidateTestSuite struct { diff --git a/internal/api/client/tokens/tokens.go b/internal/api/client/tokens/tokens.go index aadaf72c2..0e7b5399e 100644 --- a/internal/api/client/tokens/tokens.go +++ b/internal/api/client/tokens/tokens.go @@ -20,9 +20,9 @@ package tokens import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/tokens/tokens_test.go b/internal/api/client/tokens/tokens_test.go index bae140194..852723978 100644 --- a/internal/api/client/tokens/tokens_test.go +++ b/internal/api/client/tokens/tokens_test.go @@ -23,12 +23,12 @@ import ( "io" "net/http/httptest" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tokens" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tokens" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TokensStandardTestSuite struct { diff --git a/internal/api/client/tokens/tokensget.go b/internal/api/client/tokens/tokensget.go index 5c92beccc..ee85c730f 100644 --- a/internal/api/client/tokens/tokensget.go +++ b/internal/api/client/tokens/tokensget.go @@ -20,10 +20,10 @@ package tokens import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) // TokensInfoGETHandler swagger:operation GET /api/v1/tokens tokensInfoGet diff --git a/internal/api/client/tokens/tokensget_test.go b/internal/api/client/tokens/tokensget_test.go index 0164c0379..acf05cb70 100644 --- a/internal/api/client/tokens/tokensget_test.go +++ b/internal/api/client/tokens/tokensget_test.go @@ -21,8 +21,8 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/tokens" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/tokens" ) type TokensGetTestSuite struct { diff --git a/internal/api/client/user/emailchange.go b/internal/api/client/user/emailchange.go index 09d5e8fde..d0238824d 100644 --- a/internal/api/client/user/emailchange.go +++ b/internal/api/client/user/emailchange.go @@ -21,10 +21,10 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // EmailChangePOSTHandler swagger:operation POST /api/v1/user/email_change userEmailChange diff --git a/internal/api/client/user/emailchange_test.go b/internal/api/client/user/emailchange_test.go index 868ad766c..bdd052ca6 100644 --- a/internal/api/client/user/emailchange_test.go +++ b/internal/api/client/user/emailchange_test.go @@ -23,11 +23,11 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/user" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/user" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmailChangeTestSuite struct { diff --git a/internal/api/client/user/passwordchange.go b/internal/api/client/user/passwordchange.go index 8b1c7e29a..caa90583f 100644 --- a/internal/api/client/user/passwordchange.go +++ b/internal/api/client/user/passwordchange.go @@ -21,11 +21,11 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) const OIDCPasswordHelp = "password change request cannot be processed by GoToSocial as this instance is running with OIDC enabled; you must change password using your OIDC provider" diff --git a/internal/api/client/user/passwordchange_test.go b/internal/api/client/user/passwordchange_test.go index baf6f6b8d..8fee821c0 100644 --- a/internal/api/client/user/passwordchange_test.go +++ b/internal/api/client/user/passwordchange_test.go @@ -23,10 +23,10 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/client/user" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "codeberg.org/gruf/go-byteutil" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/client/user" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/api/client/user/twofactor.go b/internal/api/client/user/twofactor.go index f6e2bffc2..a359607e4 100644 --- a/internal/api/client/user/twofactor.go +++ b/internal/api/client/user/twofactor.go @@ -21,11 +21,11 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) const OIDCTwoFactorHelp = "two factor authentication request cannot be processed by GoToSocial as this instance is running with OIDC enabled; you must use 2FA provided by your OIDC provider" diff --git a/internal/api/client/user/user.go b/internal/api/client/user/user.go index 7a95c5e33..d150173df 100644 --- a/internal/api/client/user/user.go +++ b/internal/api/client/user/user.go @@ -20,8 +20,8 @@ package user import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/client/user/user_test.go b/internal/api/client/user/user_test.go index 8f54c82a0..87dd0d8ae 100644 --- a/internal/api/client/user/user_test.go +++ b/internal/api/client/user/user_test.go @@ -22,21 +22,21 @@ import ( "net/http/httptest" "net/url" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/client/user" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/client/user" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type UserStandardTestSuite struct { diff --git a/internal/api/client/user/userget.go b/internal/api/client/user/userget.go index c82a6d644..ff92815b6 100644 --- a/internal/api/client/user/userget.go +++ b/internal/api/client/user/userget.go @@ -20,9 +20,9 @@ package user import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // UserGETHandler swagger:operation GET /api/v1/user getUser diff --git a/internal/api/fileserver.go b/internal/api/fileserver.go index e0377b0e6..11aad2b42 100644 --- a/internal/api/fileserver.go +++ b/internal/api/fileserver.go @@ -18,13 +18,13 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/fileserver" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/fileserver" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type Fileserver struct { diff --git a/internal/api/fileserver/fileserver.go b/internal/api/fileserver/fileserver.go index db15ce2e0..bbf178404 100644 --- a/internal/api/fileserver/fileserver.go +++ b/internal/api/fileserver/fileserver.go @@ -20,8 +20,8 @@ package fileserver import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/fileserver/fileserver_test.go b/internal/api/fileserver/fileserver_test.go index 9ba647ff3..87e9c7246 100644 --- a/internal/api/fileserver/fileserver_test.go +++ b/internal/api/fileserver/fileserver_test.go @@ -18,22 +18,22 @@ package fileserver_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/fileserver" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/fileserver" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FileserverTestSuite struct { diff --git a/internal/api/fileserver/servefile.go b/internal/api/fileserver/servefile.go index 56285ea48..04cbe10f6 100644 --- a/internal/api/fileserver/servefile.go +++ b/internal/api/fileserver/servefile.go @@ -25,12 +25,12 @@ import ( "strings" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-fastcopy" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) // ServeFile is for serving attachments, headers, and avatars to the requester from instance storage. diff --git a/internal/api/fileserver/servefile_test.go b/internal/api/fileserver/servefile_test.go index 33afe34d0..cfaa73515 100644 --- a/internal/api/fileserver/servefile_test.go +++ b/internal/api/fileserver/servefile_test.go @@ -24,12 +24,12 @@ import ( "net/http/httptest" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/fileserver" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/fileserver" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ServeFileTestSuite struct { diff --git a/internal/api/health.go b/internal/api/health.go index e1dfd1924..8ea9446b2 100644 --- a/internal/api/health.go +++ b/internal/api/health.go @@ -20,10 +20,10 @@ package api import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/api/health" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/health" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type Health struct { diff --git a/internal/api/health/ready.go b/internal/api/health/ready.go index 70e3a324a..04efea17c 100644 --- a/internal/api/health/ready.go +++ b/internal/api/health/ready.go @@ -20,7 +20,7 @@ package health import ( "net/http" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" ) diff --git a/internal/api/metrics.go b/internal/api/metrics.go index 5d97b9610..add14b0bb 100644 --- a/internal/api/metrics.go +++ b/internal/api/metrics.go @@ -18,11 +18,11 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/metrics" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/metrics" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type Metrics struct { diff --git a/internal/api/model/content.go b/internal/api/model/content.go index 5af81b11b..ec8d4652a 100644 --- a/internal/api/model/content.go +++ b/internal/api/model/content.go @@ -20,7 +20,7 @@ package model import ( "io" - "github.com/superseriousbusiness/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/storage" ) // Content wraps everything needed to serve a blob of content (some kind of media) through the API. diff --git a/internal/api/model/poll.go b/internal/api/model/poll.go index 089dfc0f0..0fd8c02ea 100644 --- a/internal/api/model/poll.go +++ b/internal/api/model/poll.go @@ -17,7 +17,7 @@ package model -import "github.com/superseriousbusiness/gotosocial/internal/language" +import "code.superseriousbusiness.org/gotosocial/internal/language" // Poll represents a poll attached to a status. // diff --git a/internal/api/model/status.go b/internal/api/model/status.go index bcd0c0f93..4561996ad 100644 --- a/internal/api/model/status.go +++ b/internal/api/model/status.go @@ -20,7 +20,7 @@ package model import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/language" ) // Status models a status or post. diff --git a/internal/api/nodeinfo.go b/internal/api/nodeinfo.go index 2f0c234fd..9a65b4038 100644 --- a/internal/api/nodeinfo.go +++ b/internal/api/nodeinfo.go @@ -18,12 +18,12 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/nodeinfo" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/nodeinfo" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type NodeInfo struct { diff --git a/internal/api/nodeinfo/nodeinfo.go b/internal/api/nodeinfo/nodeinfo.go index 96adbc956..55f871f3f 100644 --- a/internal/api/nodeinfo/nodeinfo.go +++ b/internal/api/nodeinfo/nodeinfo.go @@ -20,8 +20,8 @@ package nodeinfo import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/nodeinfo/nodeinfoget.go b/internal/api/nodeinfo/nodeinfoget.go index 28a60cff9..b8f2d7e4f 100644 --- a/internal/api/nodeinfo/nodeinfoget.go +++ b/internal/api/nodeinfo/nodeinfoget.go @@ -21,9 +21,9 @@ import ( "errors" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // NodeInfo2GETHandler swagger:operation GET /nodeinfo/{schema_version} nodeInfoGet diff --git a/internal/api/robots.go b/internal/api/robots.go index 29e2823ef..bbf1bd3fb 100644 --- a/internal/api/robots.go +++ b/internal/api/robots.go @@ -18,10 +18,10 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/robots" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/robots" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type Robots struct { diff --git a/internal/api/robots/robots.go b/internal/api/robots/robots.go index b72a01ed6..c4dfa1da2 100644 --- a/internal/api/robots/robots.go +++ b/internal/api/robots/robots.go @@ -20,9 +20,9 @@ package robots import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" ) type Module struct{} diff --git a/internal/api/util/auth.go b/internal/api/util/auth.go index 481ca8776..f224c1d2e 100644 --- a/internal/api/util/auth.go +++ b/internal/api/util/auth.go @@ -22,11 +22,11 @@ import ( "slices" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "code.superseriousbusiness.org/oauth2/v4" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) // Auth wraps an authorized token, application, user, and account. diff --git a/internal/api/util/errorhandling.go b/internal/api/util/errorhandling.go index d2b9171c8..3341e7399 100644 --- a/internal/api/util/errorhandling.go +++ b/internal/api/util/errorhandling.go @@ -22,12 +22,12 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-kv" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) // TODO: add more templated html pages here for different error types diff --git a/internal/api/util/mime_test.go b/internal/api/util/mime_test.go index 6b12d1436..25b5fb0d1 100644 --- a/internal/api/util/mime_test.go +++ b/internal/api/util/mime_test.go @@ -3,7 +3,7 @@ package util_test import ( "testing" - "github.com/superseriousbusiness/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/api/util" ) func TestIsASContentType(t *testing.T) { diff --git a/internal/api/util/opengraph.go b/internal/api/util/opengraph.go index 770bada83..321b0f92d 100644 --- a/internal/api/util/opengraph.go +++ b/internal/api/util/opengraph.go @@ -22,8 +22,8 @@ import ( "strconv" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/text" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/text" ) const maxOGDescriptionLength = 300 diff --git a/internal/api/util/opengraph_test.go b/internal/api/util/opengraph_test.go index 4e94d78ef..821aabaff 100644 --- a/internal/api/util/opengraph_test.go +++ b/internal/api/util/opengraph_test.go @@ -21,8 +21,8 @@ import ( "fmt" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" ) type OpenGraphTestSuite struct { diff --git a/internal/api/util/parseform.go b/internal/api/util/parseform.go index 8bb10012c..a2fbe9ee9 100644 --- a/internal/api/util/parseform.go +++ b/internal/api/util/parseform.go @@ -23,9 +23,9 @@ import ( "strconv" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // ParseFocus parses a media attachment focus parameters from incoming API string. diff --git a/internal/api/util/parsequery.go b/internal/api/util/parsequery.go index 9f4c02aed..fc2c16c15 100644 --- a/internal/api/util/parsequery.go +++ b/internal/api/util/parsequery.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) const ( diff --git a/internal/api/util/response.go b/internal/api/util/response.go index 01f15ccfb..105537f36 100644 --- a/internal/api/util/response.go +++ b/internal/api/util/response.go @@ -26,10 +26,10 @@ import ( "strconv" "sync" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-byteutil" "codeberg.org/gruf/go-fastcopy" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/log" ) var ( diff --git a/internal/api/util/scopes_test.go b/internal/api/util/scopes_test.go index 72f6b57aa..2e1df8ca9 100644 --- a/internal/api/util/scopes_test.go +++ b/internal/api/util/scopes_test.go @@ -20,7 +20,7 @@ package util_test import ( "testing" - "github.com/superseriousbusiness/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/api/util" ) func TestScopes(t *testing.T) { diff --git a/internal/api/util/template.go b/internal/api/util/template.go index 86d179cdc..67aeb7033 100644 --- a/internal/api/util/template.go +++ b/internal/api/util/template.go @@ -21,10 +21,10 @@ import ( "net/http" "net/netip" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" ) // WebPage encapsulates variables for diff --git a/internal/api/wellknown.go b/internal/api/wellknown.go index 90e18d637..4f793e4cc 100644 --- a/internal/api/wellknown.go +++ b/internal/api/wellknown.go @@ -18,13 +18,13 @@ package api import ( + "code.superseriousbusiness.org/gotosocial/internal/api/wellknown/hostmeta" + "code.superseriousbusiness.org/gotosocial/internal/api/wellknown/nodeinfo" + "code.superseriousbusiness.org/gotosocial/internal/api/wellknown/webfinger" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/wellknown/hostmeta" - "github.com/superseriousbusiness/gotosocial/internal/api/wellknown/nodeinfo" - "github.com/superseriousbusiness/gotosocial/internal/api/wellknown/webfinger" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type WellKnown struct { diff --git a/internal/api/wellknown/hostmeta/hostmeta.go b/internal/api/wellknown/hostmeta/hostmeta.go index 43c6b161e..b0967bfb1 100644 --- a/internal/api/wellknown/hostmeta/hostmeta.go +++ b/internal/api/wellknown/hostmeta/hostmeta.go @@ -20,9 +20,9 @@ package hostmeta import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/wellknown/hostmeta/hostmetaget.go b/internal/api/wellknown/hostmeta/hostmetaget.go index 131e2ac58..c6676cabe 100644 --- a/internal/api/wellknown/hostmeta/hostmetaget.go +++ b/internal/api/wellknown/hostmeta/hostmetaget.go @@ -20,9 +20,9 @@ package hostmeta import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // HostMetaGETHandler swagger:operation GET /.well-known/host-meta hostMetaGet diff --git a/internal/api/wellknown/nodeinfo/nodeinfo.go b/internal/api/wellknown/nodeinfo/nodeinfo.go index 270dde2b1..7b266bab7 100644 --- a/internal/api/wellknown/nodeinfo/nodeinfo.go +++ b/internal/api/wellknown/nodeinfo/nodeinfo.go @@ -20,12 +20,12 @@ package nodeinfo import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/wellknown/webfinger/webfinger.go b/internal/api/wellknown/webfinger/webfinger.go index c70afab9d..d60b0bfc3 100644 --- a/internal/api/wellknown/webfinger/webfinger.go +++ b/internal/api/wellknown/webfinger/webfinger.go @@ -20,9 +20,9 @@ package webfinger import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) const ( diff --git a/internal/api/wellknown/webfinger/webfinger_test.go b/internal/api/wellknown/webfinger/webfinger_test.go index d6521aff0..b9db9b556 100644 --- a/internal/api/wellknown/webfinger/webfinger_test.go +++ b/internal/api/wellknown/webfinger/webfinger_test.go @@ -18,21 +18,21 @@ package webfinger_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/api/wellknown/webfinger" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/api/wellknown/webfinger" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type WebfingerStandardTestSuite struct { diff --git a/internal/api/wellknown/webfinger/webfingerget.go b/internal/api/wellknown/webfinger/webfingerget.go index 74cb8fefe..e277622fd 100644 --- a/internal/api/wellknown/webfinger/webfingerget.go +++ b/internal/api/wellknown/webfinger/webfingerget.go @@ -22,11 +22,11 @@ import ( "fmt" "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // WebfingerGETRequest swagger:operation GET /.well-known/webfinger webfingerGet diff --git a/internal/api/wellknown/webfinger/webfingerget_test.go b/internal/api/wellknown/webfinger/webfingerget_test.go index 94c084146..a0a8aa22f 100644 --- a/internal/api/wellknown/webfinger/webfingerget_test.go +++ b/internal/api/wellknown/webfinger/webfingerget_test.go @@ -29,17 +29,17 @@ import ( "net/http/httptest" "testing" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/api/wellknown/webfinger" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/api/wellknown/webfinger" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/testrig" ) type WebfingerGetTestSuite struct { diff --git a/internal/cache/cache.go b/internal/cache/cache.go index 7844c03f8..3fd9b4593 100644 --- a/internal/cache/cache.go +++ b/internal/cache/cache.go @@ -20,11 +20,11 @@ package cache import ( "time" + "code.superseriousbusiness.org/gotosocial/internal/cache/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-cache/v3/ttl" - "github.com/superseriousbusiness/gotosocial/internal/cache/headerfilter" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type Caches struct { diff --git a/internal/cache/db.go b/internal/cache/db.go index 82cd9ac5f..31e78f0a5 100644 --- a/internal/cache/db.go +++ b/internal/cache/db.go @@ -20,11 +20,11 @@ package cache import ( "sync/atomic" + "code.superseriousbusiness.org/gotosocial/internal/cache/domain" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/cache/domain" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type DBCaches struct { diff --git a/internal/cache/domain/domain_test.go b/internal/cache/domain/domain_test.go index 974425b7c..a3cbbca78 100644 --- a/internal/cache/domain/domain_test.go +++ b/internal/cache/domain/domain_test.go @@ -21,7 +21,7 @@ import ( "errors" "testing" - "github.com/superseriousbusiness/gotosocial/internal/cache/domain" + "code.superseriousbusiness.org/gotosocial/internal/cache/domain" ) func TestCache(t *testing.T) { diff --git a/internal/cache/headerfilter/filter.go b/internal/cache/headerfilter/filter.go index 96b6e757f..afab0b3f7 100644 --- a/internal/cache/headerfilter/filter.go +++ b/internal/cache/headerfilter/filter.go @@ -22,8 +22,8 @@ import ( "net/http" "sync/atomic" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/headerfilter" ) // Cache provides a means of caching headerfilter.Filters in diff --git a/internal/cache/invalidate.go b/internal/cache/invalidate.go index 949238ec6..3512bb51e 100644 --- a/internal/cache/invalidate.go +++ b/internal/cache/invalidate.go @@ -18,8 +18,8 @@ package cache import ( - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Below are cache invalidation hooks between other caches, diff --git a/internal/cache/size.go b/internal/cache/size.go index 9a30d5f08..2d9acc7ba 100644 --- a/internal/cache/size.go +++ b/internal/cache/size.go @@ -23,13 +23,13 @@ import ( "time" "unsafe" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-cache/v3/simple" "github.com/DmitriyVTitov/size" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) const ( diff --git a/internal/cache/util.go b/internal/cache/util.go index ceb053e34..783fc2e24 100644 --- a/internal/cache/util.go +++ b/internal/cache/util.go @@ -20,8 +20,8 @@ package cache import ( "errors" + "code.superseriousbusiness.org/gotosocial/internal/db" errorsv2 "codeberg.org/gruf/go-errors/v2" - "github.com/superseriousbusiness/gotosocial/internal/db" ) // SentinelError is an error that can be returned and checked against to indicate a non-permanent diff --git a/internal/cache/visibility.go b/internal/cache/visibility.go index a424ca5ac..63927cf08 100644 --- a/internal/cache/visibility.go +++ b/internal/cache/visibility.go @@ -18,9 +18,9 @@ package cache import ( + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type VisibilityCache struct { diff --git a/internal/cleaner/cleaner.go b/internal/cleaner/cleaner.go index 62e84a09b..7e32566ee 100644 --- a/internal/cleaner/cleaner.go +++ b/internal/cleaner/cleaner.go @@ -21,12 +21,12 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" ) const ( diff --git a/internal/cleaner/cleaner_test.go b/internal/cleaner/cleaner_test.go index 42006611b..b3c38abdd 100644 --- a/internal/cleaner/cleaner_test.go +++ b/internal/cleaner/cleaner_test.go @@ -20,11 +20,11 @@ package cleaner_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type CleanerTestSuite struct { diff --git a/internal/cleaner/emoji.go b/internal/cleaner/emoji.go index 05588ccb2..245dfac27 100644 --- a/internal/cleaner/emoji.go +++ b/internal/cleaner/emoji.go @@ -22,12 +22,12 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Emoji encompasses a set of diff --git a/internal/cleaner/emoji_test.go b/internal/cleaner/emoji_test.go index 30642a818..b789d2d5a 100644 --- a/internal/cleaner/emoji_test.go +++ b/internal/cleaner/emoji_test.go @@ -5,11 +5,11 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func copyMap(in map[string]*gtsmodel.Emoji) map[string]*gtsmodel.Emoji { diff --git a/internal/cleaner/media.go b/internal/cleaner/media.go index 9a6855ab2..6384ba368 100644 --- a/internal/cleaner/media.go +++ b/internal/cleaner/media.go @@ -22,15 +22,15 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/regexes" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // Media encompasses a set of diff --git a/internal/cleaner/media_test.go b/internal/cleaner/media_test.go index afa015783..b3dec7d12 100644 --- a/internal/cleaner/media_test.go +++ b/internal/cleaner/media_test.go @@ -25,19 +25,19 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MediaTestSuite struct { diff --git a/internal/config/config.go b/internal/config/config.go index d4b3901e7..07676627d 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -21,9 +21,9 @@ import ( "reflect" "time" + "code.superseriousbusiness.org/gotosocial/internal/language" "codeberg.org/gruf/go-bytesize" "github.com/mitchellh/mapstructure" - "github.com/superseriousbusiness/gotosocial/internal/language" ) // cfgtype is the reflected type information of Configuration{}. diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 5f41cbe08..006d4a449 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -23,10 +23,10 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" "github.com/spf13/cobra" "github.com/spf13/viper" "github.com/stretchr/testify/assert" - "github.com/superseriousbusiness/gotosocial/internal/config" "gopkg.in/yaml.v3" ) diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 9a507b421..f07aeb41b 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -20,9 +20,9 @@ package config import ( "time" + "code.superseriousbusiness.org/gotosocial/internal/language" "codeberg.org/gruf/go-bytesize" "github.com/coreos/go-oidc/v3/oidc" - "github.com/superseriousbusiness/gotosocial/internal/language" ) // Defaults contains a populated Configuration with reasonable defaults. Note that diff --git a/internal/config/gen/gen.go b/internal/config/gen/gen.go index 9130f8606..dda321e7c 100644 --- a/internal/config/gen/gen.go +++ b/internal/config/gen/gen.go @@ -26,7 +26,7 @@ import ( "reflect" "strings" - "github.com/superseriousbusiness/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/config" ) const license = `// GoToSocial @@ -67,7 +67,7 @@ func main() { fmt.Fprint(output, "import (\n") fmt.Fprint(output, "\t\"time\"\n\n") fmt.Fprint(output, "\t\"codeberg.org/gruf/go-bytesize\"\n") - fmt.Fprint(output, "\t\"github.com/superseriousbusiness/gotosocial/internal/language\"\n") + fmt.Fprint(output, "\t\"code.superseriousbusiness.org/gotosocial/internal/language\"\n") fmt.Fprint(output, ")\n\n") generateFields(output, nil, reflect.TypeOf(config.Configuration{})) _ = output.Close() diff --git a/internal/config/helpers.gen.go b/internal/config/helpers.gen.go index ac41a73e9..56eb0e3e8 100644 --- a/internal/config/helpers.gen.go +++ b/internal/config/helpers.gen.go @@ -21,8 +21,8 @@ package config import ( "time" + "code.superseriousbusiness.org/gotosocial/internal/language" "codeberg.org/gruf/go-bytesize" - "github.com/superseriousbusiness/gotosocial/internal/language" ) // GetLogLevel safely fetches the Configuration value for state's 'LogLevel' field diff --git a/internal/config/validate.go b/internal/config/validate.go index d36d18ba4..f1c50e4a1 100644 --- a/internal/config/validate.go +++ b/internal/config/validate.go @@ -22,10 +22,10 @@ import ( "net/url" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/miekg/dns" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/language" - "github.com/superseriousbusiness/gotosocial/internal/log" ) // Validate validates global config settings. diff --git a/internal/config/validate_test.go b/internal/config/validate_test.go index 1ae3d6c78..fb20ea0fb 100644 --- a/internal/config/validate_test.go +++ b/internal/config/validate_test.go @@ -20,9 +20,9 @@ package config_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ConfigValidateTestSuite struct { diff --git a/internal/db/account.go b/internal/db/account.go index 0caac3453..59ea9ff1a 100644 --- a/internal/db/account.go +++ b/internal/db/account.go @@ -21,8 +21,8 @@ import ( "context" "net/netip" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Account contains functions related to account getting/setting/creation. diff --git a/internal/db/admin.go b/internal/db/admin.go index 1f24c7932..d33917547 100644 --- a/internal/db/admin.go +++ b/internal/db/admin.go @@ -21,7 +21,7 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Admin contains functions related to instance administration (new signups etc). diff --git a/internal/db/advancedmigration.go b/internal/db/advancedmigration.go index 2b4601bdb..13ccf1835 100644 --- a/internal/db/advancedmigration.go +++ b/internal/db/advancedmigration.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type AdvancedMigration interface { diff --git a/internal/db/application.go b/internal/db/application.go index 76948b0fd..4781c9a95 100644 --- a/internal/db/application.go +++ b/internal/db/application.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) type Application interface { diff --git a/internal/db/bundb/account.go b/internal/db/bundb/account.go index 88a923ecf..66dc3b307 100644 --- a/internal/db/bundb/account.go +++ b/internal/db/bundb/account.go @@ -26,17 +26,17 @@ import ( "strings" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/account_test.go b/internal/db/bundb/account_test.go index ffd44de79..bb842415c 100644 --- a/internal/db/bundb/account_test.go +++ b/internal/db/bundb/account_test.go @@ -29,13 +29,13 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type AccountTestSuite struct { diff --git a/internal/db/bundb/admin.go b/internal/db/bundb/admin.go index 12cb6a6f7..9f5ccad01 100644 --- a/internal/db/bundb/admin.go +++ b/internal/db/bundb/admin.go @@ -27,16 +27,16 @@ import ( "strings" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/google/uuid" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" "github.com/uptrace/bun" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/db/bundb/admin_test.go b/internal/db/bundb/admin_test.go index 8018ef3fa..0ac3cc073 100644 --- a/internal/db/bundb/admin_test.go +++ b/internal/db/bundb/admin_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20211113114307_init" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20211113114307_init" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AdminTestSuite struct { diff --git a/internal/db/bundb/advancedmigration.go b/internal/db/bundb/advancedmigration.go index 2a0ec93e6..d8e6e66d2 100644 --- a/internal/db/bundb/advancedmigration.go +++ b/internal/db/bundb/advancedmigration.go @@ -20,8 +20,8 @@ package bundb import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/application.go b/internal/db/bundb/application.go index 562614e5e..9df4b54c7 100644 --- a/internal/db/bundb/application.go +++ b/internal/db/bundb/application.go @@ -22,12 +22,12 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/application_test.go b/internal/db/bundb/application_test.go index 540c632b5..858cb15b6 100644 --- a/internal/db/bundb/application_test.go +++ b/internal/db/bundb/application_test.go @@ -23,9 +23,9 @@ import ( "reflect" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ApplicationTestSuite struct { diff --git a/internal/db/bundb/basic.go b/internal/db/bundb/basic.go index 82212fc42..2384ee9b7 100644 --- a/internal/db/bundb/basic.go +++ b/internal/db/bundb/basic.go @@ -21,8 +21,8 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/basic_test.go b/internal/db/bundb/basic_test.go index 4c5ea8d18..bdda1cad3 100644 --- a/internal/db/bundb/basic_test.go +++ b/internal/db/bundb/basic_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type BasicTestSuite struct { diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go index 18fe5384c..8a3108ef2 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -32,17 +32,17 @@ import ( "strings" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/observability" + "code.superseriousbusiness.org/gotosocial/internal/state" "codeberg.org/gruf/go-bytesize" "github.com/google/uuid" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/stdlib" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/observability" - "github.com/superseriousbusiness/gotosocial/internal/state" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" "github.com/uptrace/bun/dialect/pgdialect" diff --git a/internal/db/bundb/bundb_test.go b/internal/db/bundb/bundb_test.go index c128eca27..5154b6bf2 100644 --- a/internal/db/bundb/bundb_test.go +++ b/internal/db/bundb/bundb_test.go @@ -18,13 +18,13 @@ package bundb_test import ( + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type BunDBStandardTestSuite struct { diff --git a/internal/db/bundb/bundbnew_test.go b/internal/db/bundb/bundbnew_test.go index e05c21ef3..6dbe2120b 100644 --- a/internal/db/bundb/bundbnew_test.go +++ b/internal/db/bundb/bundbnew_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" ) type BundbNewTestSuite struct { diff --git a/internal/db/bundb/conversation.go b/internal/db/bundb/conversation.go index 354463111..0946ed23b 100644 --- a/internal/db/bundb/conversation.go +++ b/internal/db/bundb/conversation.go @@ -23,15 +23,15 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/conversation_test.go b/internal/db/bundb/conversation_test.go index 24d35d482..15cdf8b3c 100644 --- a/internal/db/bundb/conversation_test.go +++ b/internal/db/bundb/conversation_test.go @@ -22,10 +22,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db/test" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/db/test" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ConversationTestSuite struct { diff --git a/internal/db/bundb/domain.go b/internal/db/bundb/domain.go index 23b9abc74..3d9ab41d0 100644 --- a/internal/db/bundb/domain.go +++ b/internal/db/bundb/domain.go @@ -22,12 +22,12 @@ import ( "net/url" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/domain_test.go b/internal/db/bundb/domain_test.go index a56f469c4..553cdeb80 100644 --- a/internal/db/bundb/domain_test.go +++ b/internal/db/bundb/domain_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type DomainTestSuite struct { diff --git a/internal/db/bundb/domainpermissiondraft.go b/internal/db/bundb/domainpermissiondraft.go index 281db1224..0fe0eb2b1 100644 --- a/internal/db/bundb/domainpermissiondraft.go +++ b/internal/db/bundb/domainpermissiondraft.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/domainpermissiondraft_test.go b/internal/db/bundb/domainpermissiondraft_test.go index e4f255483..b3bb20d00 100644 --- a/internal/db/bundb/domainpermissiondraft_test.go +++ b/internal/db/bundb/domainpermissiondraft_test.go @@ -22,10 +22,10 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type DomainPermissionDraftTestSuite struct { diff --git a/internal/db/bundb/domainpermissionexclude.go b/internal/db/bundb/domainpermissionexclude.go index 1527a584b..ee8c13c81 100644 --- a/internal/db/bundb/domainpermissionexclude.go +++ b/internal/db/bundb/domainpermissionexclude.go @@ -22,14 +22,14 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/domainpermissionexclude_test.go b/internal/db/bundb/domainpermissionexclude_test.go index 47af710f9..dd55d7add 100644 --- a/internal/db/bundb/domainpermissionexclude_test.go +++ b/internal/db/bundb/domainpermissionexclude_test.go @@ -22,10 +22,10 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type DomainPermissionExcludeTestSuite struct { diff --git a/internal/db/bundb/domainpermissionsubscription.go b/internal/db/bundb/domainpermissionsubscription.go index be22b96a3..1f7e609e8 100644 --- a/internal/db/bundb/domainpermissionsubscription.go +++ b/internal/db/bundb/domainpermissionsubscription.go @@ -22,12 +22,12 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/domainpermissionsubscription_test.go b/internal/db/bundb/domainpermissionsubscription_test.go index 7a5cf8685..b05330138 100644 --- a/internal/db/bundb/domainpermissionsubscription_test.go +++ b/internal/db/bundb/domainpermissionsubscription_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type DomainPermissionSubscriptionTestSuite struct { diff --git a/internal/db/bundb/drivers.go b/internal/db/bundb/drivers.go index f39189c9d..e4f60ff6c 100644 --- a/internal/db/bundb/drivers.go +++ b/internal/db/bundb/drivers.go @@ -20,8 +20,8 @@ package bundb import ( "database/sql" - "github.com/superseriousbusiness/gotosocial/internal/db/postgres" - "github.com/superseriousbusiness/gotosocial/internal/db/sqlite" + "code.superseriousbusiness.org/gotosocial/internal/db/postgres" + "code.superseriousbusiness.org/gotosocial/internal/db/sqlite" ) func init() { diff --git a/internal/db/bundb/emoji.go b/internal/db/bundb/emoji.go index ee564317e..bea96f6bf 100644 --- a/internal/db/bundb/emoji.go +++ b/internal/db/bundb/emoji.go @@ -24,14 +24,14 @@ import ( "strings" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/emoji_test.go b/internal/db/bundb/emoji_test.go index a4bf18f6e..a71678eac 100644 --- a/internal/db/bundb/emoji_test.go +++ b/internal/db/bundb/emoji_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmojiTestSuite struct { diff --git a/internal/db/bundb/errors_test.go b/internal/db/bundb/errors_test.go index 400780196..a235e185b 100644 --- a/internal/db/bundb/errors_test.go +++ b/internal/db/bundb/errors_test.go @@ -22,9 +22,9 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ErrorsTestSuite struct { diff --git a/internal/db/bundb/filter.go b/internal/db/bundb/filter.go index fe23bb405..24208b1f3 100644 --- a/internal/db/bundb/filter.go +++ b/internal/db/bundb/filter.go @@ -23,11 +23,11 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/filter_test.go b/internal/db/bundb/filter_test.go index fbb2a6bfb..faa2957d6 100644 --- a/internal/db/bundb/filter_test.go +++ b/internal/db/bundb/filter_test.go @@ -22,10 +22,10 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type FilterTestSuite struct { diff --git a/internal/db/bundb/filterkeyword.go b/internal/db/bundb/filterkeyword.go index 0e1d8daeb..1c80061e9 100644 --- a/internal/db/bundb/filterkeyword.go +++ b/internal/db/bundb/filterkeyword.go @@ -22,11 +22,11 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/filterkeyword_test.go b/internal/db/bundb/filterkeyword_test.go index 91c8d192c..e1482a225 100644 --- a/internal/db/bundb/filterkeyword_test.go +++ b/internal/db/bundb/filterkeyword_test.go @@ -21,9 +21,9 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // TestFilterKeywordCRUD tests CRUD and read-all operations on filter keywords. diff --git a/internal/db/bundb/filterstatus.go b/internal/db/bundb/filterstatus.go index 1cd924d13..a14e2a7b4 100644 --- a/internal/db/bundb/filterstatus.go +++ b/internal/db/bundb/filterstatus.go @@ -22,10 +22,10 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/filterstatus_test.go b/internal/db/bundb/filterstatus_test.go index 48ddb1bed..e5dceb7f1 100644 --- a/internal/db/bundb/filterstatus_test.go +++ b/internal/db/bundb/filterstatus_test.go @@ -21,9 +21,9 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // TestFilterStatusCRD tests CRD (no U) and read-all operations on filter statuses. diff --git a/internal/db/bundb/headerfilter.go b/internal/db/bundb/headerfilter.go index b02d9249e..ffd08a787 100644 --- a/internal/db/bundb/headerfilter.go +++ b/internal/db/bundb/headerfilter.go @@ -23,8 +23,8 @@ import ( "time" "unsafe" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/headerfilter_test.go b/internal/db/bundb/headerfilter_test.go index d7e2b26ee..85a2dd03e 100644 --- a/internal/db/bundb/headerfilter_test.go +++ b/internal/db/bundb/headerfilter_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type HeaderFilterTestSuite struct { diff --git a/internal/db/bundb/hook.go b/internal/db/bundb/hook.go index 16de74f11..798868ccb 100644 --- a/internal/db/bundb/hook.go +++ b/internal/db/bundb/hook.go @@ -21,8 +21,8 @@ import ( "context" "time" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/instance.go b/internal/db/bundb/instance.go index 154c1d34e..824adeff4 100644 --- a/internal/db/bundb/instance.go +++ b/internal/db/bundb/instance.go @@ -21,15 +21,15 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/instance_test.go b/internal/db/bundb/instance_test.go index c0d63003d..c6f177821 100644 --- a/internal/db/bundb/instance_test.go +++ b/internal/db/bundb/instance_test.go @@ -21,11 +21,11 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type InstanceTestSuite struct { diff --git a/internal/db/bundb/interaction.go b/internal/db/bundb/interaction.go index 9fbe00711..3de75ded1 100644 --- a/internal/db/bundb/interaction.go +++ b/internal/db/bundb/interaction.go @@ -22,14 +22,14 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/interaction_test.go b/internal/db/bundb/interaction_test.go index 1eb8154c1..4518f7ac9 100644 --- a/internal/db/bundb/interaction_test.go +++ b/internal/db/bundb/interaction_test.go @@ -23,13 +23,13 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type InteractionTestSuite struct { diff --git a/internal/db/bundb/list.go b/internal/db/bundb/list.go index f81c59c42..61109fe83 100644 --- a/internal/db/bundb/list.go +++ b/internal/db/bundb/list.go @@ -24,14 +24,14 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/list_test.go b/internal/db/bundb/list_test.go index 3952a87c0..dde336c46 100644 --- a/internal/db/bundb/list_test.go +++ b/internal/db/bundb/list_test.go @@ -22,9 +22,9 @@ import ( "slices" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ListTestSuite struct { diff --git a/internal/db/bundb/marker.go b/internal/db/bundb/marker.go index 80b87e232..14ce60e1c 100644 --- a/internal/db/bundb/marker.go +++ b/internal/db/bundb/marker.go @@ -23,9 +23,9 @@ import ( "fmt" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/markers_test.go b/internal/db/bundb/markers_test.go index eb0a43437..618fb3383 100644 --- a/internal/db/bundb/markers_test.go +++ b/internal/db/bundb/markers_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // MarkersTestSuite uses home timelines for Get tests diff --git a/internal/db/bundb/media.go b/internal/db/bundb/media.go index 09c8188f0..845844980 100644 --- a/internal/db/bundb/media.go +++ b/internal/db/bundb/media.go @@ -23,12 +23,12 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/mention.go b/internal/db/bundb/mention.go index 04aa5d76e..e70541ede 100644 --- a/internal/db/bundb/mention.go +++ b/internal/db/bundb/mention.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20211113114307_init.go b/internal/db/bundb/migrations/20211113114307_init.go index 63783beb8..061cd99ab 100644 --- a/internal/db/bundb/migrations/20211113114307_init.go +++ b/internal/db/bundb/migrations/20211113114307_init.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20211113114307_init" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20211113114307_init" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220214175650_media_cleanup.go b/internal/db/bundb/migrations/20220214175650_media_cleanup.go index 3a8ec7b5a..f1691dca0 100644 --- a/internal/db/bundb/migrations/20220214175650_media_cleanup.go +++ b/internal/db/bundb/migrations/20220214175650_media_cleanup.go @@ -22,8 +22,8 @@ import ( "database/sql" "time" - previousgtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20211113114307_init" - newgtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20220214175650_media_cleanup" + previousgtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20211113114307_init" + newgtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20220214175650_media_cleanup" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220305130328_database_optimizations.go b/internal/db/bundb/migrations/20220305130328_database_optimizations.go index 897e4f91f..cfabfe2ac 100644 --- a/internal/db/bundb/migrations/20220305130328_database_optimizations.go +++ b/internal/db/bundb/migrations/20220305130328_database_optimizations.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220315160814_admin_account_actions.go b/internal/db/bundb/migrations/20220315160814_admin_account_actions.go index 5fcbfc127..83a06e7b8 100644 --- a/internal/db/bundb/migrations/20220315160814_admin_account_actions.go +++ b/internal/db/bundb/migrations/20220315160814_admin_account_actions.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20220315160814_admin_account_actions" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20220315160814_admin_account_actions" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220502113806_add_missing_indexes.go b/internal/db/bundb/migrations/20220502113806_add_missing_indexes.go index 601f26e77..7cbdada60 100644 --- a/internal/db/bundb/migrations/20220502113806_add_missing_indexes.go +++ b/internal/db/bundb/migrations/20220502113806_add_missing_indexes.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220518123621_additional_indexing.go b/internal/db/bundb/migrations/20220518123621_additional_indexing.go index 4aa3450a9..08198b0c0 100644 --- a/internal/db/bundb/migrations/20220518123621_additional_indexing.go +++ b/internal/db/bundb/migrations/20220518123621_additional_indexing.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go b/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go index 6c280fb11..fd714aa5c 100644 --- a/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go +++ b/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go @@ -23,11 +23,11 @@ import ( "errors" "fmt" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-storage" "codeberg.org/gruf/go-storage/disk" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220710153020_fix_slow_web_profile_queries.go b/internal/db/bundb/migrations/20220710153020_fix_slow_web_profile_queries.go index 02d591158..5765908f0 100644 --- a/internal/db/bundb/migrations/20220710153020_fix_slow_web_profile_queries.go +++ b/internal/db/bundb/migrations/20220710153020_fix_slow_web_profile_queries.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220827085121_assign_missing_in_reply_to_uris.go b/internal/db/bundb/migrations/20220827085121_assign_missing_in_reply_to_uris.go index c7a4dce78..e12a44632 100644 --- a/internal/db/bundb/migrations/20220827085121_assign_missing_in_reply_to_uris.go +++ b/internal/db/bundb/migrations/20220827085121_assign_missing_in_reply_to_uris.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220830014732_regenerate_indexes_for_follows.go b/internal/db/bundb/migrations/20220830014732_regenerate_indexes_for_follows.go index ff618878f..fd8ab66c0 100644 --- a/internal/db/bundb/migrations/20220830014732_regenerate_indexes_for_follows.go +++ b/internal/db/bundb/migrations/20220830014732_regenerate_indexes_for_follows.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20220905150505_custom_emoji_updates.go b/internal/db/bundb/migrations/20220905150505_custom_emoji_updates.go index 1d2f764fc..5767ceca8 100644 --- a/internal/db/bundb/migrations/20220905150505_custom_emoji_updates.go +++ b/internal/db/bundb/migrations/20220905150505_custom_emoji_updates.go @@ -21,7 +21,7 @@ import ( "context" "database/sql" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20211113114307_init" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20211113114307_init" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20220916122701_emojis_in_accounts.go b/internal/db/bundb/migrations/20220916122701_emojis_in_accounts.go index ef533f57b..0c19a8135 100644 --- a/internal/db/bundb/migrations/20220916122701_emojis_in_accounts.go +++ b/internal/db/bundb/migrations/20220916122701_emojis_in_accounts.go @@ -20,8 +20,8 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20220926115233_indexes.go b/internal/db/bundb/migrations/20220926115233_indexes.go index 1fecb3bac..b565eb85a 100644 --- a/internal/db/bundb/migrations/20220926115233_indexes.go +++ b/internal/db/bundb/migrations/20220926115233_indexes.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20221011125732_refetch_updated_emojis.go b/internal/db/bundb/migrations/20221011125732_refetch_updated_emojis.go index 60756579a..bcac19045 100644 --- a/internal/db/bundb/migrations/20221011125732_refetch_updated_emojis.go +++ b/internal/db/bundb/migrations/20221011125732_refetch_updated_emojis.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20221031145649_emoji_categories.go b/internal/db/bundb/migrations/20221031145649_emoji_categories.go index bdec3bd6e..5d1bb1d57 100644 --- a/internal/db/bundb/migrations/20221031145649_emoji_categories.go +++ b/internal/db/bundb/migrations/20221031145649_emoji_categories.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20221108142419_create_account_tombstones.go b/internal/db/bundb/migrations/20221108142419_create_account_tombstones.go index a08b83244..6d3619b2c 100644 --- a/internal/db/bundb/migrations/20221108142419_create_account_tombstones.go +++ b/internal/db/bundb/migrations/20221108142419_create_account_tombstones.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230105171144_report_model.go b/internal/db/bundb/migrations/20230105171144_report_model.go index 44b80727c..7a51fbcf7 100644 --- a/internal/db/bundb/migrations/20230105171144_report_model.go +++ b/internal/db/bundb/migrations/20230105171144_report_model.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230221150957_status_pin_client_api.go b/internal/db/bundb/migrations/20230221150957_status_pin_client_api.go index 5c4d5218b..2ec53f321 100644 --- a/internal/db/bundb/migrations/20230221150957_status_pin_client_api.go +++ b/internal/db/bundb/migrations/20230221150957_status_pin_client_api.go @@ -21,7 +21,7 @@ import ( "context" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230328203024_migration_fix.go b/internal/db/bundb/migrations/20230328203024_migration_fix.go index 3b64fb618..2cbb3896d 100644 --- a/internal/db/bundb/migrations/20230328203024_migration_fix.go +++ b/internal/db/bundb/migrations/20230328203024_migration_fix.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20230328203024_migration_fix" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20230328203024_migration_fix" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230405130021_status_fave_unique_constraints.go b/internal/db/bundb/migrations/20230405130021_status_fave_unique_constraints.go index c1d4ef2ac..e4c3f3a8a 100644 --- a/internal/db/bundb/migrations/20230405130021_status_fave_unique_constraints.go +++ b/internal/db/bundb/migrations/20230405130021_status_fave_unique_constraints.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230515173919_lists.go b/internal/db/bundb/migrations/20230515173919_lists.go index e0ea5c7b6..2f8bb3a88 100644 --- a/internal/db/bundb/migrations/20230515173919_lists.go +++ b/internal/db/bundb/migrations/20230515173919_lists.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230521105850_emoji_empty_domain_fix.go b/internal/db/bundb/migrations/20230521105850_emoji_empty_domain_fix.go index efb9f6ce6..12020e69e 100644 --- a/internal/db/bundb/migrations/20230521105850_emoji_empty_domain_fix.go +++ b/internal/db/bundb/migrations/20230521105850_emoji_empty_domain_fix.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20230521105850_emoji_empty_domain_fix" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20230521105850_emoji_empty_domain_fix" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20230620103932_search_updates.go b/internal/db/bundb/migrations/20230620103932_search_updates.go index 0e26069a8..98c92f5c2 100644 --- a/internal/db/bundb/migrations/20230620103932_search_updates.go +++ b/internal/db/bundb/migrations/20230620103932_search_updates.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230711214815_account_notes.go b/internal/db/bundb/migrations/20230711214815_account_notes.go index 49d60745b..a88b2827f 100644 --- a/internal/db/bundb/migrations/20230711214815_account_notes.go +++ b/internal/db/bundb/migrations/20230711214815_account_notes.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230713025939_markers_api.go b/internal/db/bundb/migrations/20230713025939_markers_api.go index b2ace6856..acb235f81 100644 --- a/internal/db/bundb/migrations/20230713025939_markers_api.go +++ b/internal/db/bundb/migrations/20230713025939_markers_api.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230815164500_rules_model.go b/internal/db/bundb/migrations/20230815164500_rules_model.go index 9b202ede9..579e56386 100644 --- a/internal/db/bundb/migrations/20230815164500_rules_model.go +++ b/internal/db/bundb/migrations/20230815164500_rules_model.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230821075342_attachment_cleanup_updates.go b/internal/db/bundb/migrations/20230821075342_attachment_cleanup_updates.go index 2ee0a0c7d..182459237 100644 --- a/internal/db/bundb/migrations/20230821075342_attachment_cleanup_updates.go +++ b/internal/db/bundb/migrations/20230821075342_attachment_cleanup_updates.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20230828101322_admin_action_locking.go b/internal/db/bundb/migrations/20230828101322_admin_action_locking.go index 29c29a747..0af01cfa4 100644 --- a/internal/db/bundb/migrations/20230828101322_admin_action_locking.go +++ b/internal/db/bundb/migrations/20230828101322_admin_action_locking.go @@ -22,9 +22,9 @@ import ( "github.com/uptrace/bun" - oldmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20220315160814_admin_account_actions" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + oldmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20220315160814_admin_account_actions" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func init() { diff --git a/internal/db/bundb/migrations/20230908083121_allowlist.go.go b/internal/db/bundb/migrations/20230908083121_allowlist.go.go index 2d86f8c03..0b3469680 100644 --- a/internal/db/bundb/migrations/20230908083121_allowlist.go.go +++ b/internal/db/bundb/migrations/20230908083121_allowlist.go.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20231002153327_add_status_polls.go b/internal/db/bundb/migrations/20231002153327_add_status_polls.go index 019a369d4..956bf9750 100644 --- a/internal/db/bundb/migrations/20231002153327_add_status_polls.go +++ b/internal/db/bundb/migrations/20231002153327_add_status_polls.go @@ -21,7 +21,7 @@ import ( "context" "strings" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20231002153327_add_status_polls" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20231002153327_add_status_polls" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20231016113235_mute_status_thread.go b/internal/db/bundb/migrations/20231016113235_mute_status_thread.go index c4a4a4fe7..44eed5c1d 100644 --- a/internal/db/bundb/migrations/20231016113235_mute_status_thread.go +++ b/internal/db/bundb/migrations/20231016113235_mute_status_thread.go @@ -21,8 +21,8 @@ import ( "context" "strings" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20231128140847_remove_duplicate_indices.go b/internal/db/bundb/migrations/20231128140847_remove_duplicate_indices.go index 673c45209..486a42229 100644 --- a/internal/db/bundb/migrations/20231128140847_remove_duplicate_indices.go +++ b/internal/db/bundb/migrations/20231128140847_remove_duplicate_indices.go @@ -21,7 +21,7 @@ import ( "context" "strings" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20231130103643_fix_index_whoopsie.go b/internal/db/bundb/migrations/20231130103643_fix_index_whoopsie.go index 3b0d6c6db..7bb4a3ec9 100644 --- a/internal/db/bundb/migrations/20231130103643_fix_index_whoopsie.go +++ b/internal/db/bundb/migrations/20231130103643_fix_index_whoopsie.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20231208152242_sqlite_analyze.go b/internal/db/bundb/migrations/20231208152242_sqlite_analyze.go index 94cd5632d..ea9a836ec 100644 --- a/internal/db/bundb/migrations/20231208152242_sqlite_analyze.go +++ b/internal/db/bundb/migrations/20231208152242_sqlite_analyze.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20231212144715_add_header_filters.go b/internal/db/bundb/migrations/20231212144715_add_header_filters.go index 2d671bf46..c7cda5224 100644 --- a/internal/db/bundb/migrations/20231212144715_add_header_filters.go +++ b/internal/db/bundb/migrations/20231212144715_add_header_filters.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240114112637_postgres_header_filter_fix.go b/internal/db/bundb/migrations/20240114112637_postgres_header_filter_fix.go index 92e19fe34..29a442196 100644 --- a/internal/db/bundb/migrations/20240114112637_postgres_header_filter_fix.go +++ b/internal/db/bundb/migrations/20240114112637_postgres_header_filter_fix.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20240126064004_add_filters.go b/internal/db/bundb/migrations/20240126064004_add_filters.go index 3ea9ae63c..d7fd6a19c 100644 --- a/internal/db/bundb/migrations/20240126064004_add_filters.go +++ b/internal/db/bundb/migrations/20240126064004_add_filters.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20240126064004_add_filters" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20240126064004_add_filters" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240129170725_moved_to_also_known_as.go b/internal/db/bundb/migrations/20240129170725_moved_to_also_known_as.go index 9a2cabdfc..9cce031aa 100644 --- a/internal/db/bundb/migrations/20240129170725_moved_to_also_known_as.go +++ b/internal/db/bundb/migrations/20240129170725_moved_to_also_known_as.go @@ -21,7 +21,7 @@ import ( "context" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240220204526_add_statuses_mentions_is_null_or_empty_idx.go b/internal/db/bundb/migrations/20240220204526_add_statuses_mentions_is_null_or_empty_idx.go index fb09d6b12..3b3518af6 100644 --- a/internal/db/bundb/migrations/20240220204526_add_statuses_mentions_is_null_or_empty_idx.go +++ b/internal/db/bundb/migrations/20240220204526_add_statuses_mentions_is_null_or_empty_idx.go @@ -20,8 +20,8 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20240228113608_readd_statuses_account_id_id_idx.go b/internal/db/bundb/migrations/20240228113608_readd_statuses_account_id_id_idx.go index 6df74fc4d..3529da20c 100644 --- a/internal/db/bundb/migrations/20240228113608_readd_statuses_account_id_id_idx.go +++ b/internal/db/bundb/migrations/20240228113608_readd_statuses_account_id_id_idx.go @@ -20,8 +20,8 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240318115336_account_settings.go b/internal/db/bundb/migrations/20240318115336_account_settings.go index 3bf58e21e..125698ed3 100644 --- a/internal/db/bundb/migrations/20240318115336_account_settings.go +++ b/internal/db/bundb/migrations/20240318115336_account_settings.go @@ -20,10 +20,10 @@ package migrations import ( "context" - oldgtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20230328203024_migration_fix" - newgtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20240318115336_account_settings" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + oldgtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20230328203024_migration_fix" + newgtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20240318115336_account_settings" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240401130338_sign_up.go b/internal/db/bundb/migrations/20240401130338_sign_up.go index 51317fd9f..deed272a9 100644 --- a/internal/db/bundb/migrations/20240401130338_sign_up.go +++ b/internal/db/bundb/migrations/20240401130338_sign_up.go @@ -21,7 +21,7 @@ import ( "context" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240414122348_account_stats_model.go b/internal/db/bundb/migrations/20240414122348_account_stats_model.go index 450ca04d4..bfa4268b7 100644 --- a/internal/db/bundb/migrations/20240414122348_account_stats_model.go +++ b/internal/db/bundb/migrations/20240414122348_account_stats_model.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240426122821_pageable_admin_accounts.go b/internal/db/bundb/migrations/20240426122821_pageable_admin_accounts.go index 00465cc85..872006cae 100644 --- a/internal/db/bundb/migrations/20240426122821_pageable_admin_accounts.go +++ b/internal/db/bundb/migrations/20240426122821_pageable_admin_accounts.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20240528071620_add_user_mutes.go b/internal/db/bundb/migrations/20240528071620_add_user_mutes.go index e92e4df5b..6f29b844e 100644 --- a/internal/db/bundb/migrations/20240528071620_add_user_mutes.go +++ b/internal/db/bundb/migrations/20240528071620_add_user_mutes.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240611190733_add_conversations.go b/internal/db/bundb/migrations/20240611190733_add_conversations.go index 25b226aff..59cc5b816 100644 --- a/internal/db/bundb/migrations/20240611190733_add_conversations.go +++ b/internal/db/bundb/migrations/20240611190733_add_conversations.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240613091853_drop_unused_media_columns.go b/internal/db/bundb/migrations/20240613091853_drop_unused_media_columns.go index e13845fd2..831b2c831 100644 --- a/internal/db/bundb/migrations/20240613091853_drop_unused_media_columns.go +++ b/internal/db/bundb/migrations/20240613091853_drop_unused_media_columns.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240617134210_add_worker_tasks_table.go b/internal/db/bundb/migrations/20240617134210_add_worker_tasks_table.go index 3b0ebcfd8..a099fd266 100644 --- a/internal/db/bundb/migrations/20240617134210_add_worker_tasks_table.go +++ b/internal/db/bundb/migrations/20240617134210_add_worker_tasks_table.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240620074530_interaction_policy.go b/internal/db/bundb/migrations/20240620074530_interaction_policy.go index 7678af7ed..33f2c184f 100644 --- a/internal/db/bundb/migrations/20240620074530_interaction_policy.go +++ b/internal/db/bundb/migrations/20240620074530_interaction_policy.go @@ -20,10 +20,10 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" - oldmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20240620074530_interaction_policy" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + oldmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20240620074530_interaction_policy" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240712005536_add_advanced_migrations.go b/internal/db/bundb/migrations/20240712005536_add_advanced_migrations.go index 183065285..f1c00b6dc 100644 --- a/internal/db/bundb/migrations/20240712005536_add_advanced_migrations.go +++ b/internal/db/bundb/migrations/20240712005536_add_advanced_migrations.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240715204203_media_pipeline_improvements.go b/internal/db/bundb/migrations/20240715204203_media_pipeline_improvements.go index 9bf948bed..a3f3e1503 100644 --- a/internal/db/bundb/migrations/20240715204203_media_pipeline_improvements.go +++ b/internal/db/bundb/migrations/20240715204203_media_pipeline_improvements.go @@ -20,9 +20,9 @@ package migrations import ( "context" - old_gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20240715204203_media_pipeline_improvements" - new_gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + old_gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20240715204203_media_pipeline_improvements" + new_gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240722222556_remove_boost_content.go b/internal/db/bundb/migrations/20240722222556_remove_boost_content.go index a7764e2f7..c8a0eaf82 100644 --- a/internal/db/bundb/migrations/20240722222556_remove_boost_content.go +++ b/internal/db/bundb/migrations/20240722222556_remove_boost_content.go @@ -20,8 +20,8 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240725211933_add_followed_tags.go b/internal/db/bundb/migrations/20240725211933_add_followed_tags.go index f86b7d070..037f9b260 100644 --- a/internal/db/bundb/migrations/20240725211933_add_followed_tags.go +++ b/internal/db/bundb/migrations/20240725211933_add_followed_tags.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240809134448_interaction_requests_client_api.go b/internal/db/bundb/migrations/20240809134448_interaction_requests_client_api.go index a3fb8675e..391322f3e 100644 --- a/internal/db/bundb/migrations/20240809134448_interaction_requests_client_api.go +++ b/internal/db/bundb/migrations/20240809134448_interaction_requests_client_api.go @@ -20,8 +20,8 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240904084406_fedi_api_reject_interaction.go b/internal/db/bundb/migrations/20240904084406_fedi_api_reject_interaction.go index d3c0f49a4..74276a6f5 100644 --- a/internal/db/bundb/migrations/20240904084406_fedi_api_reject_interaction.go +++ b/internal/db/bundb/migrations/20240904084406_fedi_api_reject_interaction.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20240904084406_fedi_api_reject_interaction" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20240904084406_fedi_api_reject_interaction" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20240906144432_unauthed_visibility.go.go b/internal/db/bundb/migrations/20240906144432_unauthed_visibility.go.go index 473783790..4810a4fc3 100644 --- a/internal/db/bundb/migrations/20240906144432_unauthed_visibility.go.go +++ b/internal/db/bundb/migrations/20240906144432_unauthed_visibility.go.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241011115713_pending_approval_fix.go b/internal/db/bundb/migrations/20241011115713_pending_approval_fix.go index c6d3e288f..fae74a3e9 100644 --- a/internal/db/bundb/migrations/20241011115713_pending_approval_fix.go +++ b/internal/db/bundb/migrations/20241011115713_pending_approval_fix.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241018151036_filter_unique_fix.go b/internal/db/bundb/migrations/20241018151036_filter_unique_fix.go index f2ead0b92..c8fc7ecb2 100644 --- a/internal/db/bundb/migrations/20241018151036_filter_unique_fix.go +++ b/internal/db/bundb/migrations/20241018151036_filter_unique_fix.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20241022153016_domain_permission_draft_exclude.go b/internal/db/bundb/migrations/20241022153016_domain_permission_draft_exclude.go index 32485ec64..a5308a4ff 100644 --- a/internal/db/bundb/migrations/20241022153016_domain_permission_draft_exclude.go +++ b/internal/db/bundb/migrations/20241022153016_domain_permission_draft_exclude.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20241022153016_domain_permission_draft_exclude" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20241022153016_domain_permission_draft_exclude" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241113151042_remove_mention_updated_at.go b/internal/db/bundb/migrations/20241113151042_remove_mention_updated_at.go index ba6e0bd3a..7ecdbcb5d 100644 --- a/internal/db/bundb/migrations/20241113151042_remove_mention_updated_at.go +++ b/internal/db/bundb/migrations/20241113151042_remove_mention_updated_at.go @@ -20,8 +20,8 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241113152126_add_status_edits.go b/internal/db/bundb/migrations/20241113152126_add_status_edits.go index 5d4fb7b3e..64654ca30 100644 --- a/internal/db/bundb/migrations/20241113152126_add_status_edits.go +++ b/internal/db/bundb/migrations/20241113152126_add_status_edits.go @@ -21,8 +21,8 @@ import ( "context" "reflect" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20241113152126_add_status_edits" - "github.com/superseriousbusiness/gotosocial/internal/log" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20241113152126_add_status_edits" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241113152126_add_status_edits/status.go b/internal/db/bundb/migrations/20241113152126_add_status_edits/status.go index 1b7d93f70..d9e1052a4 100644 --- a/internal/db/bundb/migrations/20241113152126_add_status_edits/status.go +++ b/internal/db/bundb/migrations/20241113152126_add_status_edits/status.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Status represents a user-created 'post' or 'status' in the database, either remote or local diff --git a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints.go b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints.go index 113958437..532178f25 100644 --- a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints.go +++ b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints.go @@ -20,10 +20,10 @@ package migrations import ( "context" - old_gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints" - new_gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + old_gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints" + new_gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/accountsettings.go b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/accountsettings.go index 9a9cfd8e1..7745f19b9 100644 --- a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/accountsettings.go +++ b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/accountsettings.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // AccountSettings models settings / preferences for a local, non-instance account. diff --git a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/notification.go b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/notification.go index 77166a35d..318649073 100644 --- a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/notification.go +++ b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/notification.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Notification models an alert/notification sent to an account about something like a reblog, like, new follow request, etc. diff --git a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/status.go b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/status.go index 38583c7fc..90f609d80 100644 --- a/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/status.go +++ b/internal/db/bundb/migrations/20241121121623_enum_strings_to_ints/status.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Status represents a user-created 'post' or 'status' in the database, either remote or local diff --git a/internal/db/bundb/migrations/20241124012635_add_vapid_key_pairs.go b/internal/db/bundb/migrations/20241124012635_add_vapid_key_pairs.go index c1a32f6be..02382e271 100644 --- a/internal/db/bundb/migrations/20241124012635_add_vapid_key_pairs.go +++ b/internal/db/bundb/migrations/20241124012635_add_vapid_key_pairs.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241124012636_add_web_push_subscriptions.go b/internal/db/bundb/migrations/20241124012636_add_web_push_subscriptions.go index 87d966903..c9b419c5c 100644 --- a/internal/db/bundb/migrations/20241124012636_add_web_push_subscriptions.go +++ b/internal/db/bundb/migrations/20241124012636_add_web_push_subscriptions.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20241203124608_remove_media_attachment_updated_at.go b/internal/db/bundb/migrations/20241203124608_remove_media_attachment_updated_at.go index 63e5d5f90..699f0c505 100644 --- a/internal/db/bundb/migrations/20241203124608_remove_media_attachment_updated_at.go +++ b/internal/db/bundb/migrations/20241203124608_remove_media_attachment_updated_at.go @@ -20,8 +20,8 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go b/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go index fa28c7ce3..8b362c96d 100644 --- a/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go +++ b/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go @@ -22,9 +22,9 @@ import ( "fmt" "reflect" - oldmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat" - newmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + oldmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat" + newmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go b/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go index cdc5db632..bb98bd3e4 100644 --- a/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go +++ b/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go @@ -22,9 +22,9 @@ import ( "fmt" "slices" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250119112745_domain_permission_subscriptions.go b/internal/db/bundb/migrations/20250119112745_domain_permission_subscriptions.go index 7d2bd085c..64473c814 100644 --- a/internal/db/bundb/migrations/20250119112745_domain_permission_subscriptions.go +++ b/internal/db/bundb/migrations/20250119112745_domain_permission_subscriptions.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20241022153016_domain_permission_subscriptions" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20241022153016_domain_permission_subscriptions" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250119112746_domain_perm_sub_caching_tweaks.go b/internal/db/bundb/migrations/20250119112746_domain_perm_sub_caching_tweaks.go index c37e4aa7f..5023e0379 100644 --- a/internal/db/bundb/migrations/20250119112746_domain_perm_sub_caching_tweaks.go +++ b/internal/db/bundb/migrations/20250119112746_domain_perm_sub_caching_tweaks.go @@ -22,8 +22,8 @@ import ( "fmt" "reflect" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250124164400_domain_perm_sub_migration_fix.go b/internal/db/bundb/migrations/20250124164400_domain_perm_sub_migration_fix.go index 5914c752a..6e9756e39 100644 --- a/internal/db/bundb/migrations/20250124164400_domain_perm_sub_migration_fix.go +++ b/internal/db/bundb/migrations/20250124164400_domain_perm_sub_migration_fix.go @@ -20,7 +20,7 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20241022153016_domain_permission_subscriptions" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20241022153016_domain_permission_subscriptions" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250126162825_top_level_mention_replies_fix.go b/internal/db/bundb/migrations/20250126162825_top_level_mention_replies_fix.go index 0b198f17b..5ca4a054b 100644 --- a/internal/db/bundb/migrations/20250126162825_top_level_mention_replies_fix.go +++ b/internal/db/bundb/migrations/20250126162825_top_level_mention_replies_fix.go @@ -20,8 +20,8 @@ package migrations import ( "context" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20250131184755_add_web_push_subscription_policy.go b/internal/db/bundb/migrations/20250131184755_add_web_push_subscription_policy.go index d833a669f..b849e850b 100644 --- a/internal/db/bundb/migrations/20250131184755_add_web_push_subscription_policy.go +++ b/internal/db/bundb/migrations/20250131184755_add_web_push_subscription_policy.go @@ -22,7 +22,7 @@ import ( "reflect" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go b/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go index 4ceef0808..68fbbb151 100644 --- a/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go +++ b/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go @@ -20,10 +20,10 @@ package migrations import ( "context" - oldmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20211113114307_init" - newmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250224105654_token_app_client_refactor" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" + oldmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20211113114307_init" + newmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250224105654_token_app_client_refactor" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250226013442_add_status_content_type.go b/internal/db/bundb/migrations/20250226013442_add_status_content_type.go index ba9584ac2..684341ebc 100644 --- a/internal/db/bundb/migrations/20250226013442_add_status_content_type.go +++ b/internal/db/bundb/migrations/20250226013442_add_status_content_type.go @@ -21,7 +21,7 @@ import ( "context" "reflect" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250226013442_add_status_content_type" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250226013442_add_status_content_type" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250226013442_add_status_content_type/status.go b/internal/db/bundb/migrations/20250226013442_add_status_content_type/status.go index 93b747a62..cebf9cb85 100644 --- a/internal/db/bundb/migrations/20250226013442_add_status_content_type/status.go +++ b/internal/db/bundb/migrations/20250226013442_add_status_content_type/status.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Status represents a user-created 'post' or 'status' in the database, either remote or local diff --git a/internal/db/bundb/migrations/20250226013442_add_status_content_type/statusedit.go b/internal/db/bundb/migrations/20250226013442_add_status_content_type/statusedit.go index c69e6ea7a..01e14e61a 100644 --- a/internal/db/bundb/migrations/20250226013442_add_status_content_type/statusedit.go +++ b/internal/db/bundb/migrations/20250226013442_add_status_content_type/statusedit.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // StatusEdit represents a **historical** view of a Status diff --git a/internal/db/bundb/migrations/20250305205820_content_warning_fixes.go b/internal/db/bundb/migrations/20250305205820_content_warning_fixes.go index cf4de834c..4f6237026 100644 --- a/internal/db/bundb/migrations/20250305205820_content_warning_fixes.go +++ b/internal/db/bundb/migrations/20250305205820_content_warning_fixes.go @@ -22,8 +22,8 @@ import ( "fmt" "reflect" - newmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250305205820_content_warning_fixes" - "github.com/superseriousbusiness/gotosocial/internal/log" + newmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250305205820_content_warning_fixes" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250310094108_statuses_count_query_optimize.go b/internal/db/bundb/migrations/20250310094108_statuses_count_query_optimize.go index b20340f32..80ce409ce 100644 --- a/internal/db/bundb/migrations/20250310094108_statuses_count_query_optimize.go +++ b/internal/db/bundb/migrations/20250310094108_statuses_count_query_optimize.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250310144102_application_management.go b/internal/db/bundb/migrations/20250310144102_application_management.go index e20cd2921..3b5fb6a4d 100644 --- a/internal/db/bundb/migrations/20250310144102_application_management.go +++ b/internal/db/bundb/migrations/20250310144102_application_management.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/config" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250314120945_add_gallery_web_layout.go b/internal/db/bundb/migrations/20250314120945_add_gallery_web_layout.go index 64b133cd5..a2418ddf8 100644 --- a/internal/db/bundb/migrations/20250314120945_add_gallery_web_layout.go +++ b/internal/db/bundb/migrations/20250314120945_add_gallery_web_layout.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250318093828_statuses_public_timeline_reindex.go b/internal/db/bundb/migrations/20250318093828_statuses_public_timeline_reindex.go index f1f5b71b4..37bcc6ff9 100644 --- a/internal/db/bundb/migrations/20250318093828_statuses_public_timeline_reindex.go +++ b/internal/db/bundb/migrations/20250318093828_statuses_public_timeline_reindex.go @@ -20,7 +20,7 @@ package migrations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go index acc37529d..6e753b569 100644 --- a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go +++ b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go @@ -23,11 +23,11 @@ import ( "fmt" "strings" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - new_gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/new" - old_gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/old" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + new_gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/new" + old_gtsmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/old" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" diff --git a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/new/account.go b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/new/account.go index 55fa7f1b4..0fb891813 100644 --- a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/new/account.go +++ b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/new/account.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/common" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/common" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/old/account.go b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/old/account.go index a630805d4..549691c89 100644 --- a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/old/account.go +++ b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/old/account.go @@ -21,7 +21,7 @@ import ( "crypto/rsa" "time" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/common" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness/common" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/20250324173534_2fa.go b/internal/db/bundb/migrations/20250324173534_2fa.go index 64393ee94..b7bdcbeae 100644 --- a/internal/db/bundb/migrations/20250324173534_2fa.go +++ b/internal/db/bundb/migrations/20250324173534_2fa.go @@ -22,8 +22,8 @@ import ( "fmt" "reflect" - newmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20250324173534_2fa" - "github.com/superseriousbusiness/gotosocial/internal/log" + newmodel "code.superseriousbusiness.org/gotosocial/internal/db/bundb/migrations/20250324173534_2fa" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/migrations/util.go b/internal/db/bundb/migrations/util.go index b8a60417d..3219a8aa7 100644 --- a/internal/db/bundb/migrations/util.go +++ b/internal/db/bundb/migrations/util.go @@ -26,10 +26,10 @@ import ( "strconv" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" "github.com/uptrace/bun/dialect/feature" diff --git a/internal/db/bundb/move.go b/internal/db/bundb/move.go index 23e5c6d27..0d0f24101 100644 --- a/internal/db/bundb/move.go +++ b/internal/db/bundb/move.go @@ -24,10 +24,10 @@ import ( "net/url" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/move_test.go b/internal/db/bundb/move_test.go index 1e1a0613f..c3e0dce3d 100644 --- a/internal/db/bundb/move_test.go +++ b/internal/db/bundb/move_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type MoveTestSuite struct { diff --git a/internal/db/bundb/notification.go b/internal/db/bundb/notification.go index d4f8799bd..77d4861b2 100644 --- a/internal/db/bundb/notification.go +++ b/internal/db/bundb/notification.go @@ -22,14 +22,14 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/notification_test.go b/internal/db/bundb/notification_test.go index 8cc778071..a6dcdd407 100644 --- a/internal/db/bundb/notification_test.go +++ b/internal/db/bundb/notification_test.go @@ -23,13 +23,13 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" ) func (suite *NotificationTestSuite) spamNotifs() { diff --git a/internal/db/bundb/poll.go b/internal/db/bundb/poll.go index d21945377..e0989e571 100644 --- a/internal/db/bundb/poll.go +++ b/internal/db/bundb/poll.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/poll_test.go b/internal/db/bundb/poll_test.go index 8af9295d9..04c8609e8 100644 --- a/internal/db/bundb/poll_test.go +++ b/internal/db/bundb/poll_test.go @@ -24,11 +24,11 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type PollTestSuite struct { diff --git a/internal/db/bundb/relationship.go b/internal/db/bundb/relationship.go index 69b91f161..c8dcd5a50 100644 --- a/internal/db/bundb/relationship.go +++ b/internal/db/bundb/relationship.go @@ -22,12 +22,12 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/relationship_block.go b/internal/db/bundb/relationship_block.go index 9578b0e3e..9724166df 100644 --- a/internal/db/bundb/relationship_block.go +++ b/internal/db/bundb/relationship_block.go @@ -22,12 +22,12 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/relationship_follow.go b/internal/db/bundb/relationship_follow.go index aea36f39c..f37efa94b 100644 --- a/internal/db/bundb/relationship_follow.go +++ b/internal/db/bundb/relationship_follow.go @@ -23,12 +23,12 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/relationship_follow_req.go b/internal/db/bundb/relationship_follow_req.go index f36d626ca..513f5abb0 100644 --- a/internal/db/bundb/relationship_follow_req.go +++ b/internal/db/bundb/relationship_follow_req.go @@ -23,12 +23,12 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/relationship_mute.go b/internal/db/bundb/relationship_mute.go index b7b7e109e..3b5601f49 100644 --- a/internal/db/bundb/relationship_mute.go +++ b/internal/db/bundb/relationship_mute.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/relationship_note.go b/internal/db/bundb/relationship_note.go index 5c75bcdd9..4f05f945a 100644 --- a/internal/db/bundb/relationship_note.go +++ b/internal/db/bundb/relationship_note.go @@ -21,9 +21,9 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/relationship_test.go b/internal/db/bundb/relationship_test.go index 7aa749c90..50f790a42 100644 --- a/internal/db/bundb/relationship_test.go +++ b/internal/db/bundb/relationship_test.go @@ -24,11 +24,11 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type RelationshipTestSuite struct { diff --git a/internal/db/bundb/report.go b/internal/db/bundb/report.go index 582584988..661cffc8d 100644 --- a/internal/db/bundb/report.go +++ b/internal/db/bundb/report.go @@ -23,13 +23,13 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/report_test.go b/internal/db/bundb/report_test.go index 57828890d..910a5c370 100644 --- a/internal/db/bundb/report_test.go +++ b/internal/db/bundb/report_test.go @@ -21,13 +21,13 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ReportTestSuite struct { diff --git a/internal/db/bundb/rule.go b/internal/db/bundb/rule.go index b20f869cf..774f603ff 100644 --- a/internal/db/bundb/rule.go +++ b/internal/db/bundb/rule.go @@ -22,12 +22,12 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/rule_test.go b/internal/db/bundb/rule_test.go index 822f92fca..deaf7c14c 100644 --- a/internal/db/bundb/rule_test.go +++ b/internal/db/bundb/rule_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" ) type RuleTestSuite struct { diff --git a/internal/db/bundb/search.go b/internal/db/bundb/search.go index e54cb78e7..0de0891b9 100644 --- a/internal/db/bundb/search.go +++ b/internal/db/bundb/search.go @@ -21,10 +21,10 @@ import ( "context" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/search_test.go b/internal/db/bundb/search_test.go index cf24b2881..5ce1a6064 100644 --- a/internal/db/bundb/search_test.go +++ b/internal/db/bundb/search_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" ) type SearchTestSuite struct { diff --git a/internal/db/bundb/session.go b/internal/db/bundb/session.go index 2177a57ae..1b06f18ee 100644 --- a/internal/db/bundb/session.go +++ b/internal/db/bundb/session.go @@ -22,8 +22,8 @@ import ( "crypto/rand" "io" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/sinbinstatus.go b/internal/db/bundb/sinbinstatus.go index dd2c17f67..c827a7040 100644 --- a/internal/db/bundb/sinbinstatus.go +++ b/internal/db/bundb/sinbinstatus.go @@ -22,9 +22,9 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/status.go b/internal/db/bundb/status.go index 8383a9c01..f33362a3d 100644 --- a/internal/db/bundb/status.go +++ b/internal/db/bundb/status.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/status_test.go b/internal/db/bundb/status_test.go index b64177c32..982169b36 100644 --- a/internal/db/bundb/status_test.go +++ b/internal/db/bundb/status_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type StatusTestSuite struct { diff --git a/internal/db/bundb/statusbookmark.go b/internal/db/bundb/statusbookmark.go index 6cbd7f583..eebd4c10f 100644 --- a/internal/db/bundb/statusbookmark.go +++ b/internal/db/bundb/statusbookmark.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/statusbookmark_test.go b/internal/db/bundb/statusbookmark_test.go index 104b090fe..c2977fdfb 100644 --- a/internal/db/bundb/statusbookmark_test.go +++ b/internal/db/bundb/statusbookmark_test.go @@ -22,9 +22,9 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type StatusBookmarkTestSuite struct { diff --git a/internal/db/bundb/statusedit.go b/internal/db/bundb/statusedit.go index c932968fd..ed62c64f1 100644 --- a/internal/db/bundb/statusedit.go +++ b/internal/db/bundb/statusedit.go @@ -22,13 +22,13 @@ import ( "errors" "slices" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/statusedit_test.go b/internal/db/bundb/statusedit_test.go index b6a15e825..639e5ba9b 100644 --- a/internal/db/bundb/statusedit_test.go +++ b/internal/db/bundb/statusedit_test.go @@ -25,8 +25,8 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type StatusEditTestSuite struct { diff --git a/internal/db/bundb/statusfave.go b/internal/db/bundb/statusfave.go index c1fa375aa..e97c3751a 100644 --- a/internal/db/bundb/statusfave.go +++ b/internal/db/bundb/statusfave.go @@ -25,13 +25,13 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/statusfave_test.go b/internal/db/bundb/statusfave_test.go index 5d83369a6..88f10e146 100644 --- a/internal/db/bundb/statusfave_test.go +++ b/internal/db/bundb/statusfave_test.go @@ -22,9 +22,9 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type StatusFaveTestSuite struct { diff --git a/internal/db/bundb/tag.go b/internal/db/bundb/tag.go index dfb80e829..631e05f6c 100644 --- a/internal/db/bundb/tag.go +++ b/internal/db/bundb/tag.go @@ -23,12 +23,12 @@ import ( "slices" "strings" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/tag_test.go b/internal/db/bundb/tag_test.go index 3647c92de..62d6e8543 100644 --- a/internal/db/bundb/tag_test.go +++ b/internal/db/bundb/tag_test.go @@ -22,10 +22,10 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" ) type TagTestSuite struct { diff --git a/internal/db/bundb/thread.go b/internal/db/bundb/thread.go index 2b44b6fa5..cf2dbf924 100644 --- a/internal/db/bundb/thread.go +++ b/internal/db/bundb/thread.go @@ -21,9 +21,9 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/thread_test.go b/internal/db/bundb/thread_test.go index 4d14f73e2..d8b8d0b3b 100644 --- a/internal/db/bundb/thread_test.go +++ b/internal/db/bundb/thread_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ThreadTestSuite struct { diff --git a/internal/db/bundb/timeline.go b/internal/db/bundb/timeline.go index 404cb6601..2c294165f 100644 --- a/internal/db/bundb/timeline.go +++ b/internal/db/bundb/timeline.go @@ -24,12 +24,12 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/timeline_test.go b/internal/db/bundb/timeline_test.go index 4988ab362..cda2c397f 100644 --- a/internal/db/bundb/timeline_test.go +++ b/internal/db/bundb/timeline_test.go @@ -22,13 +22,13 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-kv" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type TimelineTestSuite struct { diff --git a/internal/db/bundb/tombstone.go b/internal/db/bundb/tombstone.go index 773702323..4e31af4ec 100644 --- a/internal/db/bundb/tombstone.go +++ b/internal/db/bundb/tombstone.go @@ -20,9 +20,9 @@ package bundb import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/upsert.go b/internal/db/bundb/upsert.go index 4a6395179..9667766f4 100644 --- a/internal/db/bundb/upsert.go +++ b/internal/db/bundb/upsert.go @@ -23,7 +23,7 @@ import ( "reflect" "strings" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/user.go b/internal/db/bundb/user.go index fc8effa91..2800a32e9 100644 --- a/internal/db/bundb/user.go +++ b/internal/db/bundb/user.go @@ -21,10 +21,10 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/user_test.go b/internal/db/bundb/user_test.go index 870a1af91..f5ece561d 100644 --- a/internal/db/bundb/user_test.go +++ b/internal/db/bundb/user_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type UserTestSuite struct { diff --git a/internal/db/bundb/util.go b/internal/db/bundb/util.go index c7a2b96c2..6c743ffe9 100644 --- a/internal/db/bundb/util.go +++ b/internal/db/bundb/util.go @@ -23,10 +23,10 @@ import ( "slices" "strings" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect" ) diff --git a/internal/db/bundb/webpush.go b/internal/db/bundb/webpush.go index c61209573..8d3510f30 100644 --- a/internal/db/bundb/webpush.go +++ b/internal/db/bundb/webpush.go @@ -21,12 +21,12 @@ import ( "context" "errors" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" webpushgo "github.com/SherClockHolmes/webpush-go" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" "github.com/uptrace/bun" ) diff --git a/internal/db/bundb/workertask.go b/internal/db/bundb/workertask.go index eec51530d..1ac0cb71b 100644 --- a/internal/db/bundb/workertask.go +++ b/internal/db/bundb/workertask.go @@ -21,7 +21,7 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/uptrace/bun" ) diff --git a/internal/db/conversation.go b/internal/db/conversation.go index 3d0b4213e..eaf76bcd7 100644 --- a/internal/db/conversation.go +++ b/internal/db/conversation.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) type Conversation interface { diff --git a/internal/db/domain.go b/internal/db/domain.go index 95a2f0755..0c1fb97b3 100644 --- a/internal/db/domain.go +++ b/internal/db/domain.go @@ -21,8 +21,8 @@ import ( "context" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Domain contains DB functions related to domains and domain blocks. diff --git a/internal/db/emoji.go b/internal/db/emoji.go index 26a881dbc..11a98de67 100644 --- a/internal/db/emoji.go +++ b/internal/db/emoji.go @@ -21,8 +21,8 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // EmojiAllDomains can be used as the `domain` value in a GetEmojis diff --git a/internal/db/filter.go b/internal/db/filter.go index eee61a99d..4962aa1de 100644 --- a/internal/db/filter.go +++ b/internal/db/filter.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Filter contains methods for creating, reading, updating, and deleting filters and their keyword and status entries. diff --git a/internal/db/headerfilter.go b/internal/db/headerfilter.go index 5fe8a5b17..4704f627f 100644 --- a/internal/db/headerfilter.go +++ b/internal/db/headerfilter.go @@ -21,7 +21,7 @@ import ( "context" "net/http" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type HeaderFilter interface { diff --git a/internal/db/instance.go b/internal/db/instance.go index 23a2fc8dc..9ac0a3439 100644 --- a/internal/db/instance.go +++ b/internal/db/instance.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Instance contains functions for instance-level actions (counting instance users etc.). diff --git a/internal/db/interaction.go b/internal/db/interaction.go index a3a3afde9..4e58e1db3 100644 --- a/internal/db/interaction.go +++ b/internal/db/interaction.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) type Interaction interface { diff --git a/internal/db/list.go b/internal/db/list.go index 4ce0ff988..e46442970 100644 --- a/internal/db/list.go +++ b/internal/db/list.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) type List interface { diff --git a/internal/db/marker.go b/internal/db/marker.go index 14502865b..803602a83 100644 --- a/internal/db/marker.go +++ b/internal/db/marker.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type Marker interface { diff --git a/internal/db/media.go b/internal/db/media.go index a41f8970a..a6b992b89 100644 --- a/internal/db/media.go +++ b/internal/db/media.go @@ -21,8 +21,8 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Media contains functions related to creating/getting/removing media attachments. diff --git a/internal/db/mention.go b/internal/db/mention.go index 994ec04b5..c76b3bc6b 100644 --- a/internal/db/mention.go +++ b/internal/db/mention.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Mention contains functions for getting/creating mentions in the database. diff --git a/internal/db/move.go b/internal/db/move.go index 42357627b..07a3019f3 100644 --- a/internal/db/move.go +++ b/internal/db/move.go @@ -21,7 +21,7 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type Move interface { diff --git a/internal/db/notification.go b/internal/db/notification.go index c608261dc..029a3bc62 100644 --- a/internal/db/notification.go +++ b/internal/db/notification.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Notification contains functions for creating and getting notifications. diff --git a/internal/db/poll.go b/internal/db/poll.go index 2b92bd4d7..6927db543 100644 --- a/internal/db/poll.go +++ b/internal/db/poll.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type Poll interface { diff --git a/internal/db/postgres/driver.go b/internal/db/postgres/driver.go index 994c9ffba..3fbd04c00 100644 --- a/internal/db/postgres/driver.go +++ b/internal/db/postgres/driver.go @@ -21,8 +21,8 @@ import ( "context" "database/sql/driver" + "code.superseriousbusiness.org/gotosocial/internal/db" pgx "github.com/jackc/pgx/v5/stdlib" - "github.com/superseriousbusiness/gotosocial/internal/db" ) var ( diff --git a/internal/db/postgres/errors.go b/internal/db/postgres/errors.go index cb8989a73..0c614599c 100644 --- a/internal/db/postgres/errors.go +++ b/internal/db/postgres/errors.go @@ -20,8 +20,8 @@ package postgres import ( "fmt" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/jackc/pgx/v5/pgconn" - "github.com/superseriousbusiness/gotosocial/internal/db" ) // processPostgresError processes an error, replacing any diff --git a/internal/db/relationship.go b/internal/db/relationship.go index e121f07bd..b63e911e6 100644 --- a/internal/db/relationship.go +++ b/internal/db/relationship.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Relationship contains functions for getting or modifying the relationship between two accounts. diff --git a/internal/db/report.go b/internal/db/report.go index 605d6d80b..396d96050 100644 --- a/internal/db/report.go +++ b/internal/db/report.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Report handles getting/creation/deletion/updating of user reports/flags. diff --git a/internal/db/rule.go b/internal/db/rule.go index 651b8bced..eea6d4903 100644 --- a/internal/db/rule.go +++ b/internal/db/rule.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Rule handles getting/creation/deletion/updating of instance rules. diff --git a/internal/db/search.go b/internal/db/search.go index bdfd3a8e6..abe1bd70f 100644 --- a/internal/db/search.go +++ b/internal/db/search.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type Search interface { diff --git a/internal/db/session.go b/internal/db/session.go index 944fa4215..0f7a50807 100644 --- a/internal/db/session.go +++ b/internal/db/session.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Session handles getting/creation of router sessions. diff --git a/internal/db/sinbinstatus.go b/internal/db/sinbinstatus.go index 16abcf8bd..ab1d94382 100644 --- a/internal/db/sinbinstatus.go +++ b/internal/db/sinbinstatus.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type SinBinStatus interface { diff --git a/internal/db/sqlite/driver.go b/internal/db/sqlite/driver.go index 203edaff3..2c384718d 100644 --- a/internal/db/sqlite/driver.go +++ b/internal/db/sqlite/driver.go @@ -23,7 +23,7 @@ import ( "context" "database/sql/driver" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" sqlite3driver "github.com/ncruces/go-sqlite3/driver" _ "github.com/ncruces/go-sqlite3/embed" // embed wasm binary diff --git a/internal/db/sqlite/driver_moderncsqlite3.go b/internal/db/sqlite/driver_moderncsqlite3.go index 2ba11cea4..5f01f10e8 100644 --- a/internal/db/sqlite/driver_moderncsqlite3.go +++ b/internal/db/sqlite/driver_moderncsqlite3.go @@ -25,7 +25,7 @@ import ( "modernc.org/sqlite" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" ) // Driver is our own wrapper around the diff --git a/internal/db/sqlite/errors.go b/internal/db/sqlite/errors.go index 9429a1bcd..4f986aaf4 100644 --- a/internal/db/sqlite/errors.go +++ b/internal/db/sqlite/errors.go @@ -23,8 +23,8 @@ import ( "database/sql/driver" "fmt" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/ncruces/go-sqlite3" - "github.com/superseriousbusiness/gotosocial/internal/db" ) // processSQLiteError processes an sqlite3.Error to diff --git a/internal/db/sqlite/errors_moderncsqlite3.go b/internal/db/sqlite/errors_moderncsqlite3.go index c490f514e..c01d0a3ae 100644 --- a/internal/db/sqlite/errors_moderncsqlite3.go +++ b/internal/db/sqlite/errors_moderncsqlite3.go @@ -26,7 +26,7 @@ import ( "modernc.org/sqlite" sqlite3 "modernc.org/sqlite/lib" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" ) // processSQLiteError processes an sqlite3.Error to diff --git a/internal/db/status.go b/internal/db/status.go index 6bf9653c8..adb31d391 100644 --- a/internal/db/status.go +++ b/internal/db/status.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Status contains functions for getting statuses, creating statuses, and checking various other fields on statuses. diff --git a/internal/db/statusbookmark.go b/internal/db/statusbookmark.go index d16bbcd7c..8e222caba 100644 --- a/internal/db/statusbookmark.go +++ b/internal/db/statusbookmark.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type StatusBookmark interface { diff --git a/internal/db/statusedit.go b/internal/db/statusedit.go index 32e770fb9..c25275c59 100644 --- a/internal/db/statusedit.go +++ b/internal/db/statusedit.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type StatusEdit interface { diff --git a/internal/db/statusfave.go b/internal/db/statusfave.go index 192ef436b..5c701bffb 100644 --- a/internal/db/statusfave.go +++ b/internal/db/statusfave.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type StatusFave interface { diff --git a/internal/db/tag.go b/internal/db/tag.go index 66c880e86..300d0b528 100644 --- a/internal/db/tag.go +++ b/internal/db/tag.go @@ -20,8 +20,8 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Tag contains functions for getting/creating tags in the database. diff --git a/internal/db/test/conversation.go b/internal/db/test/conversation.go index 50bca5308..5f221e05e 100644 --- a/internal/db/test/conversation.go +++ b/internal/db/test/conversation.go @@ -22,11 +22,11 @@ import ( "crypto/rand" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/oklog/ulid" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type testSuite interface { diff --git a/internal/db/thread.go b/internal/db/thread.go index dd494167a..d285c8ba3 100644 --- a/internal/db/thread.go +++ b/internal/db/thread.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Thread contains functions for getting/creating diff --git a/internal/db/timeline.go b/internal/db/timeline.go index 43ac655d0..f767a7314 100644 --- a/internal/db/timeline.go +++ b/internal/db/timeline.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Timeline contains functionality for retrieving home/public/faved etc timelines for an account. diff --git a/internal/db/tombstone.go b/internal/db/tombstone.go index 362b6747d..6a7fc2429 100644 --- a/internal/db/tombstone.go +++ b/internal/db/tombstone.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Tombstone contains functionality for storing + retrieving tombstones for remote AP Activities + Objects. diff --git a/internal/db/user.go b/internal/db/user.go index 28fa59130..c8f33ee44 100644 --- a/internal/db/user.go +++ b/internal/db/user.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // User contains functions related to user getting/setting/creation. diff --git a/internal/db/webpush.go b/internal/db/webpush.go index 22bf449de..04b281ce6 100644 --- a/internal/db/webpush.go +++ b/internal/db/webpush.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // WebPush contains functions related to Web Push notifications. diff --git a/internal/db/workertask.go b/internal/db/workertask.go index 0276f231a..ea16c4af1 100644 --- a/internal/db/workertask.go +++ b/internal/db/workertask.go @@ -20,7 +20,7 @@ package db import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type WorkerTask interface { diff --git a/internal/email/common.go b/internal/email/common.go index 68e3b429b..1d8a585ce 100644 --- a/internal/email/common.go +++ b/internal/email/common.go @@ -28,10 +28,10 @@ import ( "text/template" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/google/uuid" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) func (s *sender) sendTemplate(template string, subject string, data any, toAddresses ...string) error { diff --git a/internal/email/email_test.go b/internal/email/email_test.go index ce1ae177f..9087f7d09 100644 --- a/internal/email/email_test.go +++ b/internal/email/email_test.go @@ -21,10 +21,10 @@ import ( "regexp" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmailTestSuite struct { diff --git a/internal/email/noopsender.go b/internal/email/noopsender.go index bd9b1206e..2702b3a8b 100644 --- a/internal/email/noopsender.go +++ b/internal/email/noopsender.go @@ -21,8 +21,8 @@ import ( "bytes" "text/template" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // NewNoopSender returns a no-op email sender that will just execute the given sendCallback diff --git a/internal/email/sender.go b/internal/email/sender.go index 2bcc6086f..2c7c79256 100644 --- a/internal/email/sender.go +++ b/internal/email/sender.go @@ -22,7 +22,7 @@ import ( "net/smtp" "text/template" - "github.com/superseriousbusiness/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/config" ) // Sender contains functions for sending emails to instance users/new signups. diff --git a/internal/federation/authenticate.go b/internal/federation/authenticate.go index 907dccd81..2355aaa03 100644 --- a/internal/federation/authenticate.go +++ b/internal/federation/authenticate.go @@ -30,15 +30,15 @@ import ( "code.superseriousbusiness.org/activity/streams" typepublickey "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "code.superseriousbusiness.org/httpsig" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" ) var ( diff --git a/internal/federation/dereferencing/account.go b/internal/federation/dereferencing/account.go index 1a5bf2d0e..6c9afc665 100644 --- a/internal/federation/dereferencing/account.go +++ b/internal/federation/dereferencing/account.go @@ -25,17 +25,17 @@ import ( "time" "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/util" errorsv2 "codeberg.org/gruf/go-errors/v2" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // accountFresh returns true if the given account is diff --git a/internal/federation/dereferencing/account_test.go b/internal/federation/dereferencing/account_test.go index 859461779..24ee16f82 100644 --- a/internal/federation/dereferencing/account_test.go +++ b/internal/federation/dereferencing/account_test.go @@ -33,13 +33,13 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountTestSuite struct { diff --git a/internal/federation/dereferencing/announce.go b/internal/federation/dereferencing/announce.go index eb949f159..5d83b48a9 100644 --- a/internal/federation/dereferencing/announce.go +++ b/internal/federation/dereferencing/announce.go @@ -22,11 +22,11 @@ import ( "errors" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // EnrichAnnounce enriches the given boost wrapper status diff --git a/internal/federation/dereferencing/authenticate.go b/internal/federation/dereferencing/authenticate.go index 7c5946202..db9e5ef71 100644 --- a/internal/federation/dereferencing/authenticate.go +++ b/internal/federation/dereferencing/authenticate.go @@ -20,7 +20,7 @@ package dereferencing import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // verifyAccountKeysOnUpdate verifies that account's public key hasn't changed on update from diff --git a/internal/federation/dereferencing/collection.go b/internal/federation/dereferencing/collection.go index 714af9832..9ba0aad2c 100644 --- a/internal/federation/dereferencing/collection.go +++ b/internal/federation/dereferencing/collection.go @@ -22,9 +22,9 @@ import ( "net/url" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // dereferenceCollectionPage returns the activitystreams Collection at the specified IRI, or an error if something goes wrong. diff --git a/internal/federation/dereferencing/dereferencer.go b/internal/federation/dereferencing/dereferencer.go index 5e7b2b9c0..94e0cf053 100644 --- a/internal/federation/dereferencing/dereferencer.go +++ b/internal/federation/dereferencing/dereferencer.go @@ -22,13 +22,13 @@ import ( "sync" "time" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // FreshnessWindow represents a duration in which a diff --git a/internal/federation/dereferencing/dereferencer_test.go b/internal/federation/dereferencing/dereferencer_test.go index 95c879920..a97ada80a 100644 --- a/internal/federation/dereferencing/dereferencer_test.go +++ b/internal/federation/dereferencing/dereferencer_test.go @@ -19,18 +19,18 @@ package dereferencing_test import ( "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type DereferencerStandardTestSuite struct { diff --git a/internal/federation/dereferencing/emoji.go b/internal/federation/dereferencing/emoji.go index 0a117f762..fbe2e4d98 100644 --- a/internal/federation/dereferencing/emoji.go +++ b/internal/federation/dereferencing/emoji.go @@ -23,13 +23,13 @@ import ( "io" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // GetEmoji fetches the emoji with given shortcode, diff --git a/internal/federation/dereferencing/emoji_test.go b/internal/federation/dereferencing/emoji_test.go index 12965207c..3c77d5108 100644 --- a/internal/federation/dereferencing/emoji_test.go +++ b/internal/federation/dereferencing/emoji_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/media" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/media" ) type EmojiTestSuite struct { diff --git a/internal/federation/dereferencing/finger.go b/internal/federation/dereferencing/finger.go index d11950a1e..f0f79aee3 100644 --- a/internal/federation/dereferencing/finger.go +++ b/internal/federation/dereferencing/finger.go @@ -22,12 +22,12 @@ import ( "encoding/json" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // fingerRemoteAccount performs a webfinger call for the diff --git a/internal/federation/dereferencing/instance.go b/internal/federation/dereferencing/instance.go index 66d0a21be..0a1caedb2 100644 --- a/internal/federation/dereferencing/instance.go +++ b/internal/federation/dereferencing/instance.go @@ -21,8 +21,8 @@ import ( "context" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func (d *Dereferencer) GetRemoteInstance(ctx context.Context, username string, remoteInstanceURI *url.URL) (*gtsmodel.Instance, error) { diff --git a/internal/federation/dereferencing/instance_test.go b/internal/federation/dereferencing/instance_test.go index c07490d4b..614e49035 100644 --- a/internal/federation/dereferencing/instance_test.go +++ b/internal/federation/dereferencing/instance_test.go @@ -22,9 +22,9 @@ import ( "net/url" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InstanceTestSuite struct { diff --git a/internal/federation/dereferencing/media.go b/internal/federation/dereferencing/media.go index 7fc9f9aef..776279572 100644 --- a/internal/federation/dereferencing/media.go +++ b/internal/federation/dereferencing/media.go @@ -22,11 +22,11 @@ import ( "io" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // GetMedia fetches the media at given remote URL by diff --git a/internal/federation/dereferencing/status.go b/internal/federation/dereferencing/status.go index d99bae15b..d040ef614 100644 --- a/internal/federation/dereferencing/status.go +++ b/internal/federation/dereferencing/status.go @@ -25,17 +25,17 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" ) // statusFresh returns true if the given status is still diff --git a/internal/federation/dereferencing/status_permitted.go b/internal/federation/dereferencing/status_permitted.go index 86d391a59..65251ed55 100644 --- a/internal/federation/dereferencing/status_permitted.go +++ b/internal/federation/dereferencing/status_permitted.go @@ -23,15 +23,15 @@ import ( "net/url" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // isPermittedStatus returns whether the given status diff --git a/internal/federation/dereferencing/status_test.go b/internal/federation/dereferencing/status_test.go index 817afbe3b..6f9ee9359 100644 --- a/internal/federation/dereferencing/status_test.go +++ b/internal/federation/dereferencing/status_test.go @@ -24,13 +24,13 @@ import ( "time" "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) // instantFreshness is the shortest possible freshness window. diff --git a/internal/federation/dereferencing/thread.go b/internal/federation/dereferencing/thread.go index 76c6dfcc3..f9d6adb99 100644 --- a/internal/federation/dereferencing/thread.go +++ b/internal/federation/dereferencing/thread.go @@ -23,12 +23,12 @@ import ( "net/url" "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" ) // maxIter defines how many iterations of descendants or diff --git a/internal/federation/dereferencing/util.go b/internal/federation/dereferencing/util.go index 208117660..fa7c9a9ae 100644 --- a/internal/federation/dereferencing/util.go +++ b/internal/federation/dereferencing/util.go @@ -20,7 +20,7 @@ package dereferencing import ( "slices" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // getEmojiByShortcodeDomain searches input slice diff --git a/internal/federation/federatingactor.go b/internal/federation/federatingactor.go index e05f7e9ac..56bc0a416 100644 --- a/internal/federation/federatingactor.go +++ b/internal/federation/federatingactor.go @@ -27,15 +27,15 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" errorsv2 "codeberg.org/gruf/go-errors/v2" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" ) // federatingActor wraps the pub.FederatingActor diff --git a/internal/federation/federatingactor_test.go b/internal/federation/federatingactor_test.go index af12b409a..c08ddcbcf 100644 --- a/internal/federation/federatingactor_test.go +++ b/internal/federation/federatingactor_test.go @@ -26,13 +26,13 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FederatingActorTestSuite struct { diff --git a/internal/federation/federatingdb/accept.go b/internal/federation/federatingdb/accept.go index 45c0a1920..273b9255f 100644 --- a/internal/federation/federatingdb/accept.go +++ b/internal/federation/federatingdb/accept.go @@ -24,15 +24,15 @@ import ( "net/url" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (f *federatingDB) GetAccept( diff --git a/internal/federation/federatingdb/announce.go b/internal/federation/federatingdb/announce.go index 654b036e4..2d467ea8c 100644 --- a/internal/federation/federatingdb/announce.go +++ b/internal/federation/federatingdb/announce.go @@ -23,10 +23,10 @@ import ( "slices" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (f *federatingDB) Announce(ctx context.Context, announce vocab.ActivityStreamsAnnounce) error { diff --git a/internal/federation/federatingdb/announce_test.go b/internal/federation/federatingdb/announce_test.go index cda53bd9c..efb8c2381 100644 --- a/internal/federation/federatingdb/announce_test.go +++ b/internal/federation/federatingdb/announce_test.go @@ -22,10 +22,10 @@ import ( "time" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" ) type AnnounceTestSuite struct { diff --git a/internal/federation/federatingdb/block.go b/internal/federation/federatingdb/block.go index 501ee1cfb..54da2030a 100644 --- a/internal/federation/federatingdb/block.go +++ b/internal/federation/federatingdb/block.go @@ -22,11 +22,11 @@ import ( "net/http" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (f *federatingDB) Block(ctx context.Context, blockable vocab.ActivityStreamsBlock) error { diff --git a/internal/federation/federatingdb/create.go b/internal/federation/federatingdb/create.go index 368c7b1e4..2cfbb1d4c 100644 --- a/internal/federation/federatingdb/create.go +++ b/internal/federation/federatingdb/create.go @@ -23,14 +23,14 @@ import ( "slices" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // Create adds a new entry to the database which must be able to be diff --git a/internal/federation/federatingdb/create_test.go b/internal/federation/federatingdb/create_test.go index 9e6410095..2061c6be1 100644 --- a/internal/federation/federatingdb/create_test.go +++ b/internal/federation/federatingdb/create_test.go @@ -25,11 +25,11 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type CreateTestSuite struct { diff --git a/internal/federation/federatingdb/db.go b/internal/federation/federatingdb/db.go index 30aa38f6a..539305204 100644 --- a/internal/federation/federatingdb/db.go +++ b/internal/federation/federatingdb/db.go @@ -23,13 +23,13 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/spam" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" "codeberg.org/gruf/go-cache/v3/simple" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/spam" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" ) // DB wraps the pub.Database interface with diff --git a/internal/federation/federatingdb/delete.go b/internal/federation/federatingdb/delete.go index c628bd2d1..fb967fce9 100644 --- a/internal/federation/federatingdb/delete.go +++ b/internal/federation/federatingdb/delete.go @@ -22,12 +22,12 @@ import ( "errors" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // Delete removes the entry with the given id. diff --git a/internal/federation/federatingdb/federatingdb_test.go b/internal/federation/federatingdb/federatingdb_test.go index ee8f84e55..b8d2c513f 100644 --- a/internal/federation/federatingdb/federatingdb_test.go +++ b/internal/federation/federatingdb/federatingdb_test.go @@ -21,17 +21,17 @@ import ( "context" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/federatingdb" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/federatingdb" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FederatingDBTestSuite struct { diff --git a/internal/federation/federatingdb/flag.go b/internal/federation/federatingdb/flag.go index cbb046d50..1198e688a 100644 --- a/internal/federation/federatingdb/flag.go +++ b/internal/federation/federatingdb/flag.go @@ -22,12 +22,12 @@ import ( "net/http" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" "github.com/miekg/dns" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" ) func (f *federatingDB) Flag(ctx context.Context, flaggable vocab.ActivityStreamsFlag) error { diff --git a/internal/federation/federatingdb/follow.go b/internal/federation/federatingdb/follow.go index 9494503c4..f8ae8c580 100644 --- a/internal/federation/federatingdb/follow.go +++ b/internal/federation/federatingdb/follow.go @@ -22,11 +22,11 @@ import ( "net/http" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (f *federatingDB) Follow(ctx context.Context, followable vocab.ActivityStreamsFollow) error { diff --git a/internal/federation/federatingdb/followers.go b/internal/federation/federatingdb/followers.go index f3f3320c1..4f8aaf459 100644 --- a/internal/federation/federatingdb/followers.go +++ b/internal/federation/federatingdb/followers.go @@ -23,7 +23,7 @@ import ( "net/url" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // Followers obtains the Followers Collection for an actor with the diff --git a/internal/federation/federatingdb/followers_test.go b/internal/federation/federatingdb/followers_test.go index f6297ec8c..2c40c0a8c 100644 --- a/internal/federation/federatingdb/followers_test.go +++ b/internal/federation/federatingdb/followers_test.go @@ -22,9 +22,9 @@ import ( "encoding/json" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FollowersTestSuite struct { diff --git a/internal/federation/federatingdb/following.go b/internal/federation/federatingdb/following.go index bcbcf9533..6f65930bc 100644 --- a/internal/federation/federatingdb/following.go +++ b/internal/federation/federatingdb/following.go @@ -22,7 +22,7 @@ import ( "net/url" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // Following obtains the Following Collection for an actor with the diff --git a/internal/federation/federatingdb/following_test.go b/internal/federation/federatingdb/following_test.go index 83d1a72b5..ff8c11160 100644 --- a/internal/federation/federatingdb/following_test.go +++ b/internal/federation/federatingdb/following_test.go @@ -22,9 +22,9 @@ import ( "encoding/json" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FollowingTestSuite struct { diff --git a/internal/federation/federatingdb/get.go b/internal/federation/federatingdb/get.go index e1e61e916..10e7dae8c 100644 --- a/internal/federation/federatingdb/get.go +++ b/internal/federation/federatingdb/get.go @@ -23,8 +23,8 @@ import ( "net/url" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // Get returns the database entry for the specified id. diff --git a/internal/federation/federatingdb/inbox.go b/internal/federation/federatingdb/inbox.go index e5b10f596..2fb0ebad9 100644 --- a/internal/federation/federatingdb/inbox.go +++ b/internal/federation/federatingdb/inbox.go @@ -24,9 +24,9 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // InboxContains returns true if the OrderedCollection at 'inbox' diff --git a/internal/federation/federatingdb/inbox_test.go b/internal/federation/federatingdb/inbox_test.go index 36595ce04..d8c308a10 100644 --- a/internal/federation/federatingdb/inbox_test.go +++ b/internal/federation/federatingdb/inbox_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InboxTestSuite struct { diff --git a/internal/federation/federatingdb/like.go b/internal/federation/federatingdb/like.go index 119958750..76ae19a52 100644 --- a/internal/federation/federatingdb/like.go +++ b/internal/federation/federatingdb/like.go @@ -23,12 +23,12 @@ import ( "net/http" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (f *federatingDB) Like(ctx context.Context, likeable vocab.ActivityStreamsLike) error { diff --git a/internal/federation/federatingdb/move.go b/internal/federation/federatingdb/move.go index 0c88cd3f4..2740d0de9 100644 --- a/internal/federation/federatingdb/move.go +++ b/internal/federation/federatingdb/move.go @@ -28,11 +28,11 @@ import ( "fmt" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (f *federatingDB) Move(ctx context.Context, move vocab.ActivityStreamsMove) error { diff --git a/internal/federation/federatingdb/move_test.go b/internal/federation/federatingdb/move_test.go index 65e97be70..38a869f15 100644 --- a/internal/federation/federatingdb/move_test.go +++ b/internal/federation/federatingdb/move_test.go @@ -24,9 +24,9 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type MoveTestSuite struct { diff --git a/internal/federation/federatingdb/owns.go b/internal/federation/federatingdb/owns.go index 3da41dd61..7d08a877f 100644 --- a/internal/federation/federatingdb/owns.go +++ b/internal/federation/federatingdb/owns.go @@ -23,12 +23,12 @@ import ( "fmt" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // Owns returns true if the IRI belongs to this instance, and if diff --git a/internal/federation/federatingdb/reject.go b/internal/federation/federatingdb/reject.go index 138aa6b22..1c657a5a9 100644 --- a/internal/federation/federatingdb/reject.go +++ b/internal/federation/federatingdb/reject.go @@ -23,14 +23,14 @@ import ( "time" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) func (f *federatingDB) Reject(ctx context.Context, reject vocab.ActivityStreamsReject) error { diff --git a/internal/federation/federatingdb/reject_test.go b/internal/federation/federatingdb/reject_test.go index cca7c6498..28a46eaad 100644 --- a/internal/federation/federatingdb/reject_test.go +++ b/internal/federation/federatingdb/reject_test.go @@ -22,12 +22,12 @@ import ( "time" "code.superseriousbusiness.org/activity/streams" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/testrig" ) type RejectTestSuite struct { diff --git a/internal/federation/federatingdb/undo.go b/internal/federation/federatingdb/undo.go index a40b6c31a..0e7b5491c 100644 --- a/internal/federation/federatingdb/undo.go +++ b/internal/federation/federatingdb/undo.go @@ -23,13 +23,13 @@ import ( "fmt" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (f *federatingDB) Undo(ctx context.Context, undo vocab.ActivityStreamsUndo) error { diff --git a/internal/federation/federatingdb/update.go b/internal/federation/federatingdb/update.go index f6f126efa..94471c33a 100644 --- a/internal/federation/federatingdb/update.go +++ b/internal/federation/federatingdb/update.go @@ -22,13 +22,13 @@ import ( "errors" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // Update sets an existing entry to the database based on the value's diff --git a/internal/federation/federatingdb/util.go b/internal/federation/federatingdb/util.go index b9f9a7529..32aec51a5 100644 --- a/internal/federation/federatingdb/util.go +++ b/internal/federation/federatingdb/util.go @@ -25,14 +25,14 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" ) func typeNames(objects []ap.TypeOrIRI) []string { diff --git a/internal/federation/federatingprotocol.go b/internal/federation/federatingprotocol.go index 82b39606e..60ee48eaa 100644 --- a/internal/federation/federatingprotocol.go +++ b/internal/federation/federatingprotocol.go @@ -27,15 +27,15 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" ) type errOtherIRIBlocked struct { diff --git a/internal/federation/federatingprotocol_test.go b/internal/federation/federatingprotocol_test.go index 08c7fcd8f..fa4950d82 100644 --- a/internal/federation/federatingprotocol_test.go +++ b/internal/federation/federatingprotocol_test.go @@ -27,14 +27,14 @@ import ( "net/url" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "code.superseriousbusiness.org/httpsig" errorsv2 "codeberg.org/gruf/go-errors/v2" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FederatingProtocolTestSuite struct { diff --git a/internal/federation/federator.go b/internal/federation/federator.go index 08d346137..93df31735 100644 --- a/internal/federation/federator.go +++ b/internal/federation/federator.go @@ -19,15 +19,15 @@ package federation import ( "code.superseriousbusiness.org/activity/pub" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/federation/federatingdb" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/federation/federatingdb" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) var _ interface { diff --git a/internal/federation/federator_test.go b/internal/federation/federator_test.go index a4f8c4683..2dd73fad1 100644 --- a/internal/federation/federator_test.go +++ b/internal/federation/federator_test.go @@ -22,14 +22,14 @@ import ( "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" ) type FederatorStandardTestSuite struct { diff --git a/internal/federation/gone.go b/internal/federation/gone.go index e0278765c..932bd17a1 100644 --- a/internal/federation/gone.go +++ b/internal/federation/gone.go @@ -21,8 +21,8 @@ import ( "context" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // CheckGone checks if a tombstone exists in the database for AP Actor or Object with the given uri. diff --git a/internal/federation/transport.go b/internal/federation/transport.go index 471a454ca..040e7364d 100644 --- a/internal/federation/transport.go +++ b/internal/federation/transport.go @@ -23,7 +23,7 @@ import ( "net/url" "code.superseriousbusiness.org/activity/pub" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // NewTransport returns a new Transport on behalf of a specific actor. diff --git a/internal/filter/interaction/filter.go b/internal/filter/interaction/filter.go index 49e0758c1..e2dffce82 100644 --- a/internal/filter/interaction/filter.go +++ b/internal/filter/interaction/filter.go @@ -18,7 +18,7 @@ package interaction import ( - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/state" ) // Filter packages up logic for checking whether diff --git a/internal/filter/interaction/interactable.go b/internal/filter/interaction/interactable.go index 4d0882068..e8afbd83c 100644 --- a/internal/filter/interaction/interactable.go +++ b/internal/filter/interaction/interactable.go @@ -22,11 +22,11 @@ import ( "fmt" "slices" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) type matchType int diff --git a/internal/filter/spam/spam.go b/internal/filter/spam/spam.go index 386c2719b..00767dacc 100644 --- a/internal/filter/spam/spam.go +++ b/internal/filter/spam/spam.go @@ -17,7 +17,7 @@ package spam -import "github.com/superseriousbusiness/gotosocial/internal/state" +import "code.superseriousbusiness.org/gotosocial/internal/state" // Filter packages logic for checking whether // given statuses should be considered spam. diff --git a/internal/filter/spam/spam_test.go b/internal/filter/spam/spam_test.go index d9d867a07..84ab34b1d 100644 --- a/internal/filter/spam/spam_test.go +++ b/internal/filter/spam/spam_test.go @@ -18,12 +18,12 @@ package spam_test import ( + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/spam" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/spam" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FilterStandardTestSuite struct { diff --git a/internal/filter/spam/statusable.go b/internal/filter/spam/statusable.go index 3e9e51697..802accc31 100644 --- a/internal/filter/spam/statusable.go +++ b/internal/filter/spam/statusable.go @@ -24,16 +24,16 @@ import ( "slices" "strings" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/miekg/dns" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/regexes" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // preppedMention represents a partially-parsed diff --git a/internal/filter/spam/statusable_test.go b/internal/filter/spam/statusable_test.go index f59f09328..7d710416f 100644 --- a/internal/filter/spam/statusable_test.go +++ b/internal/filter/spam/statusable_test.go @@ -23,11 +23,11 @@ import ( "io" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" ) type StatusableTestSuite struct { diff --git a/internal/filter/usermute/usermute.go b/internal/filter/usermute/usermute.go index 6d710e995..d8d1aae46 100644 --- a/internal/filter/usermute/usermute.go +++ b/internal/filter/usermute/usermute.go @@ -20,8 +20,8 @@ package usermute import ( "time" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type compiledUserMuteListEntry struct { diff --git a/internal/filter/visibility/account.go b/internal/filter/visibility/account.go index ebbbe4a2f..f13de723d 100644 --- a/internal/filter/visibility/account.go +++ b/internal/filter/visibility/account.go @@ -20,11 +20,11 @@ package visibility import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // AccountVisible will check if given account is visible to requester, accounting for requester with no auth (i.e is nil), suspensions, disabled local users and account blocks. diff --git a/internal/filter/visibility/filter.go b/internal/filter/visibility/filter.go index 43f862681..b17127aa3 100644 --- a/internal/filter/visibility/filter.go +++ b/internal/filter/visibility/filter.go @@ -18,7 +18,7 @@ package visibility import ( - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/state" ) // NoAuth is a placeholder ID used in cache lookups diff --git a/internal/filter/visibility/filter_test.go b/internal/filter/visibility/filter_test.go index ccd60f173..48b1df2e5 100644 --- a/internal/filter/visibility/filter_test.go +++ b/internal/filter/visibility/filter_test.go @@ -18,12 +18,12 @@ package visibility_test import ( + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FilterStandardTestSuite struct { diff --git a/internal/filter/visibility/home_timeline.go b/internal/filter/visibility/home_timeline.go index 37348e71d..03a3b62c3 100644 --- a/internal/filter/visibility/home_timeline.go +++ b/internal/filter/visibility/home_timeline.go @@ -22,12 +22,12 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // StatusHomeTimelineable checks if given status should be included on owner's home timeline. Primarily relying on status visibility to owner and the AP visibility setting, but also taking into account thread replies etc. diff --git a/internal/filter/visibility/home_timeline_test.go b/internal/filter/visibility/home_timeline_test.go index f33ad3999..084da42a0 100644 --- a/internal/filter/visibility/home_timeline_test.go +++ b/internal/filter/visibility/home_timeline_test.go @@ -22,11 +22,11 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusStatusHomeTimelineableTestSuite struct { diff --git a/internal/filter/visibility/public_timeline.go b/internal/filter/visibility/public_timeline.go index 9cc3c2357..83c250dee 100644 --- a/internal/filter/visibility/public_timeline.go +++ b/internal/filter/visibility/public_timeline.go @@ -21,11 +21,11 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // StatusHomeTimelineable checks if given status should be included on requester's public timeline. Primarily relying on status visibility to requester and the AP visibility setting, and ignoring conversation threads. diff --git a/internal/filter/visibility/status.go b/internal/filter/visibility/status.go index a0f971464..6edb32ec0 100644 --- a/internal/filter/visibility/status.go +++ b/internal/filter/visibility/status.go @@ -21,11 +21,11 @@ import ( "context" "slices" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // StatusesVisible calls StatusVisible for each status in the statuses slice, and returns a slice of only statuses which are visible to the requester. diff --git a/internal/filter/visibility/status_test.go b/internal/filter/visibility/status_test.go index 795441e7f..d7442089c 100644 --- a/internal/filter/visibility/status_test.go +++ b/internal/filter/visibility/status_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type StatusVisibleTestSuite struct { diff --git a/internal/filter/visibility/tag_timeline.go b/internal/filter/visibility/tag_timeline.go index b2c9dbf29..0d0860e36 100644 --- a/internal/filter/visibility/tag_timeline.go +++ b/internal/filter/visibility/tag_timeline.go @@ -21,8 +21,8 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // StatusHomeTimelineable checks if given status should be included diff --git a/internal/gtscontext/context.go b/internal/gtscontext/context.go index 985361a98..39d7efe95 100644 --- a/internal/gtscontext/context.go +++ b/internal/gtscontext/context.go @@ -22,8 +22,8 @@ import ( "net/http" "net/url" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "code.superseriousbusiness.org/httpsig" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // package private context key type. diff --git a/internal/gtscontext/log_hooks.go b/internal/gtscontext/log_hooks.go index 494ce1f63..3e8b166ff 100644 --- a/internal/gtscontext/log_hooks.go +++ b/internal/gtscontext/log_hooks.go @@ -20,8 +20,8 @@ package gtscontext import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/log" ) func init() { diff --git a/internal/gtserror/multi_test.go b/internal/gtserror/multi_test.go index b58c1b881..a2996222b 100644 --- a/internal/gtserror/multi_test.go +++ b/internal/gtserror/multi_test.go @@ -21,8 +21,8 @@ import ( "errors" "testing" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) func TestMultiError(t *testing.T) { diff --git a/internal/gtserror/new_test.go b/internal/gtserror/new_test.go index 8b4dae1ba..9b30b5809 100644 --- a/internal/gtserror/new_test.go +++ b/internal/gtserror/new_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" ) func TestResponseError(t *testing.T) { diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go index c2ab1c9a4..664f1f66a 100644 --- a/internal/gtsmodel/account.go +++ b/internal/gtsmodel/account.go @@ -27,8 +27,8 @@ import ( "strings" "time" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // Account represents either a local or a remote ActivityPub actor. diff --git a/internal/gtsmodel/conversation.go b/internal/gtsmodel/conversation.go index d3bdcbf1d..56a999686 100644 --- a/internal/gtsmodel/conversation.go +++ b/internal/gtsmodel/conversation.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" ) // Conversation represents direct messages between the owner account and a set of other accounts. diff --git a/internal/gtsmodel/domainpermissionexclude.go b/internal/gtsmodel/domainpermissionexclude.go index 10492a5c1..6ce549f52 100644 --- a/internal/gtsmodel/domainpermissionexclude.go +++ b/internal/gtsmodel/domainpermissionexclude.go @@ -20,7 +20,7 @@ package gtsmodel import ( "time" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // DomainPermissionExclude represents one domain that should be excluded diff --git a/internal/gtsmodel/filter.go b/internal/gtsmodel/filter.go index 593918ec1..36ebc8391 100644 --- a/internal/gtsmodel/filter.go +++ b/internal/gtsmodel/filter.go @@ -21,7 +21,7 @@ import ( "regexp" "time" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Filter stores a filter created by a local account. diff --git a/internal/gtsmodel/status.go b/internal/gtsmodel/status.go index 62458c2db..a7d917f78 100644 --- a/internal/gtsmodel/status.go +++ b/internal/gtsmodel/status.go @@ -21,8 +21,8 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" ) // Status represents a user-created 'post' or 'status' in the database, either remote or local diff --git a/internal/httpclient/client.go b/internal/httpclient/client.go index 445c6a9e5..bc93205d3 100644 --- a/internal/httpclient/client.go +++ b/internal/httpclient/client.go @@ -31,12 +31,12 @@ import ( "strings" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-cache/v3" errorsv2 "codeberg.org/gruf/go-errors/v2" "codeberg.org/gruf/go-iotools" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) var ( diff --git a/internal/httpclient/client_test.go b/internal/httpclient/client_test.go index 2e36a6e90..e94644da8 100644 --- a/internal/httpclient/client_test.go +++ b/internal/httpclient/client_test.go @@ -26,7 +26,7 @@ import ( "net/netip" "testing" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" ) var privateIPs = []string{ diff --git a/internal/httpclient/request.go b/internal/httpclient/request.go index 853563945..39b0b253c 100644 --- a/internal/httpclient/request.go +++ b/internal/httpclient/request.go @@ -22,7 +22,7 @@ import ( "strconv" "time" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" ) const ( diff --git a/internal/httpclient/sanitizer_test.go b/internal/httpclient/sanitizer_test.go index 1cb8a7d2e..1c292b779 100644 --- a/internal/httpclient/sanitizer_test.go +++ b/internal/httpclient/sanitizer_test.go @@ -22,7 +22,7 @@ import ( "net/netip" "testing" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" ) func TestSafeIP(t *testing.T) { diff --git a/internal/httpclient/transport.go b/internal/httpclient/transport.go index 350d24fab..a92c1ab0d 100644 --- a/internal/httpclient/transport.go +++ b/internal/httpclient/transport.go @@ -21,7 +21,7 @@ import ( "net/http" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" ) // SignFunc is a function signature that provides request signing. diff --git a/internal/id/ulid.go b/internal/id/ulid.go index 3c57c9f1b..b281ef5b8 100644 --- a/internal/id/ulid.go +++ b/internal/id/ulid.go @@ -22,9 +22,9 @@ import ( "math/big" "time" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-kv" "github.com/oklog/ulid" - "github.com/superseriousbusiness/gotosocial/internal/log" ) const ( diff --git a/internal/language/language.go b/internal/language/language.go index d91e3a4db..233ae5a1d 100644 --- a/internal/language/language.go +++ b/internal/language/language.go @@ -18,7 +18,7 @@ package language import ( - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "golang.org/x/text/language" "golang.org/x/text/language/display" ) diff --git a/internal/language/language_test.go b/internal/language/language_test.go index 024448ab4..1f41a0b6d 100644 --- a/internal/language/language_test.go +++ b/internal/language/language_test.go @@ -21,7 +21,7 @@ import ( "slices" "testing" - "github.com/superseriousbusiness/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/language" golanguage "golang.org/x/text/language" ) diff --git a/internal/log/log.go b/internal/log/log.go index 52703ef28..bf2259b50 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -25,8 +25,8 @@ import ( "strings" "time" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" ) var ( diff --git a/internal/log/syslog_test.go b/internal/log/syslog_test.go index 354c81556..66d9367ad 100644 --- a/internal/log/syslog_test.go +++ b/internal/log/syslog_test.go @@ -22,10 +22,10 @@ import ( "regexp" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/testrig" "gopkg.in/mcuadros/go-syslog.v2" "gopkg.in/mcuadros/go-syslog.v2/format" ) diff --git a/internal/log/sysloglongunixgram_test.go b/internal/log/sysloglongunixgram_test.go index e64a9fef9..6f180df7e 100644 --- a/internal/log/sysloglongunixgram_test.go +++ b/internal/log/sysloglongunixgram_test.go @@ -25,10 +25,10 @@ import ( "path" "regexp" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/google/uuid" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/testrig" ) // TestSyslogLongMessageUnixgram is known to hang on macOS for messages longer than about 1500 bytes. diff --git a/internal/media/ffmpeg.go b/internal/media/ffmpeg.go index 6bf39cae2..41cc2666f 100644 --- a/internal/media/ffmpeg.go +++ b/internal/media/ffmpeg.go @@ -28,10 +28,10 @@ import ( "codeberg.org/gruf/go-byteutil" - _ffmpeg "github.com/superseriousbusiness/gotosocial/internal/media/ffmpeg" + _ffmpeg "code.superseriousbusiness.org/gotosocial/internal/media/ffmpeg" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/tetratelabs/wazero" ) diff --git a/internal/media/ffmpeg/wasm.go b/internal/media/ffmpeg/wasm.go index 51735bec1..1cd92f05d 100644 --- a/internal/media/ffmpeg/wasm.go +++ b/internal/media/ffmpeg/wasm.go @@ -26,9 +26,9 @@ import ( "sync/atomic" "unsafe" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-ffmpreg/embed" "codeberg.org/gruf/go-ffmpreg/wasm" - "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/tetratelabs/wazero" "golang.org/x/sys/cpu" ) diff --git a/internal/media/manager.go b/internal/media/manager.go index 6d9c5629f..a7bd8948b 100644 --- a/internal/media/manager.go +++ b/internal/media/manager.go @@ -23,15 +23,15 @@ import ( "strings" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-iotools" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" ) var SupportedMIMETypes = []string{ diff --git a/internal/media/manager_test.go b/internal/media/manager_test.go index 5b6882100..8497c1c9e 100644 --- a/internal/media/manager_test.go +++ b/internal/media/manager_test.go @@ -27,16 +27,16 @@ import ( "testing" "time" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + gtsstorage "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "codeberg.org/gruf/go-iotools" "codeberg.org/gruf/go-storage/disk" "github.com/stretchr/testify/suite" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - gtsstorage "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ManagerTestSuite struct { diff --git a/internal/media/media_test.go b/internal/media/media_test.go index f46f837da..f1e1559a1 100644 --- a/internal/media/media_test.go +++ b/internal/media/media_test.go @@ -18,17 +18,17 @@ package media_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + gtsmodel "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - gtsmodel "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MediaStandardTestSuite struct { diff --git a/internal/media/metadata.go b/internal/media/metadata.go index 458ad00e2..44b1a87b6 100644 --- a/internal/media/metadata.go +++ b/internal/media/metadata.go @@ -23,8 +23,8 @@ import ( "strings" terminator "code.superseriousbusiness.org/exif-terminator" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // clearMetadata performs our best-attempt at cleaning metadata from diff --git a/internal/media/probe.go b/internal/media/probe.go index 882a2981d..791b6a8c2 100644 --- a/internal/media/probe.go +++ b/internal/media/probe.go @@ -25,9 +25,9 @@ import ( "os" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) const ( diff --git a/internal/media/processingemoji.go b/internal/media/processingemoji.go index 95c224cda..d28edcc0c 100644 --- a/internal/media/processingemoji.go +++ b/internal/media/processingemoji.go @@ -21,14 +21,14 @@ import ( "context" "os" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" errorsv2 "codeberg.org/gruf/go-errors/v2" "codeberg.org/gruf/go-runners" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // ProcessingEmoji represents an emoji currently processing. It exposes diff --git a/internal/media/processingmedia.go b/internal/media/processingmedia.go index 894975a1b..a1305f104 100644 --- a/internal/media/processingmedia.go +++ b/internal/media/processingmedia.go @@ -25,12 +25,12 @@ import ( "codeberg.org/gruf/go-kv" "codeberg.org/gruf/go-runners" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // ProcessingMedia represents a piece of media diff --git a/internal/media/refetch.go b/internal/media/refetch.go index c467333c9..94e0a5338 100644 --- a/internal/media/refetch.go +++ b/internal/media/refetch.go @@ -24,10 +24,10 @@ import ( "io" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) type DereferenceMedia func(ctx context.Context, iri *url.URL, maxsz int64) (io.ReadCloser, error) diff --git a/internal/media/thumbnail.go b/internal/media/thumbnail.go index f1c7c678e..56247bc33 100644 --- a/internal/media/thumbnail.go +++ b/internal/media/thumbnail.go @@ -27,9 +27,9 @@ import ( "os" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/buckket/go-blurhash" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" "golang.org/x/image/webp" ) diff --git a/internal/media/util.go b/internal/media/util.go index 4e47955ad..ea52b415b 100644 --- a/internal/media/util.go +++ b/internal/media/util.go @@ -25,9 +25,9 @@ import ( "os" "path" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "codeberg.org/gruf/go-bytesize" "codeberg.org/gruf/go-iotools" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // file represents one file diff --git a/internal/messages/messages.go b/internal/messages/messages.go index 8abc714aa..6744adfc9 100644 --- a/internal/messages/messages.go +++ b/internal/messages/messages.go @@ -25,9 +25,9 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) // FromClientAPI wraps a message that diff --git a/internal/messages/messages_test.go b/internal/messages/messages_test.go index e5b2a2841..8492edbff 100644 --- a/internal/messages/messages_test.go +++ b/internal/messages/messages_test.go @@ -23,10 +23,10 @@ import ( "net/url" "testing" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/testrig" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/google/go-cmp/cmp" ) diff --git a/internal/middleware/contentsecuritypolicy_test.go b/internal/middleware/contentsecuritypolicy_test.go index fad05931b..a337763df 100644 --- a/internal/middleware/contentsecuritypolicy_test.go +++ b/internal/middleware/contentsecuritypolicy_test.go @@ -20,7 +20,7 @@ package middleware_test import ( "testing" - "github.com/superseriousbusiness/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/middleware" ) func TestBuildContentSecurityPolicy(t *testing.T) { diff --git a/internal/middleware/headerfilter.go b/internal/middleware/headerfilter.go index 5a17a8a71..6fb9fc996 100644 --- a/internal/middleware/headerfilter.go +++ b/internal/middleware/headerfilter.go @@ -20,12 +20,12 @@ package middleware import ( "errors" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/headerfilter" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" ) var ( diff --git a/internal/middleware/headerfilter_test.go b/internal/middleware/headerfilter_test.go index a28644153..4ad40b86f 100644 --- a/internal/middleware/headerfilter_test.go +++ b/internal/middleware/headerfilter_test.go @@ -25,15 +25,15 @@ import ( "strings" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/headerfilter" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) func TestHeaderFilter(t *testing.T) { diff --git a/internal/middleware/logger.go b/internal/middleware/logger.go index da5be9dfa..9fa245666 100644 --- a/internal/middleware/logger.go +++ b/internal/middleware/logger.go @@ -23,13 +23,13 @@ import ( "runtime" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-bytesize" "codeberg.org/gruf/go-errors/v2" "codeberg.org/gruf/go-kv" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) // Logger returns a gin middleware which provides request logging and panic recovery. diff --git a/internal/middleware/ratelimit.go b/internal/middleware/ratelimit.go index a259cd575..6d39721ec 100644 --- a/internal/middleware/ratelimit.go +++ b/internal/middleware/ratelimit.go @@ -24,13 +24,13 @@ import ( "strconv" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" "github.com/ulule/limiter/v3" "github.com/ulule/limiter/v3/drivers/store/memory" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" ) const rateLimitPeriod = 5 * time.Minute diff --git a/internal/middleware/ratelimit_test.go b/internal/middleware/ratelimit_test.go index e5afd40a6..d3a3722eb 100644 --- a/internal/middleware/ratelimit_test.go +++ b/internal/middleware/ratelimit_test.go @@ -25,10 +25,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type RateLimitTestSuite struct { diff --git a/internal/middleware/requestid.go b/internal/middleware/requestid.go index 7d98787a7..96551be01 100644 --- a/internal/middleware/requestid.go +++ b/internal/middleware/requestid.go @@ -26,8 +26,8 @@ import ( "sync" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" ) var ( diff --git a/internal/middleware/robots.go b/internal/middleware/robots.go index fefd93be0..24dcb68b8 100644 --- a/internal/middleware/robots.go +++ b/internal/middleware/robots.go @@ -18,8 +18,8 @@ package middleware import ( + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // RobotsHeaders adds robots directives to the X-Robots-Tag HTTP header. diff --git a/internal/middleware/session.go b/internal/middleware/session.go index 9f96ff055..50433002a 100644 --- a/internal/middleware/session.go +++ b/internal/middleware/session.go @@ -23,11 +23,11 @@ import ( "net/url" "strings" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/gin-contrib/sessions" "github.com/gin-contrib/sessions/memstore" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" "golang.org/x/net/idna" ) diff --git a/internal/middleware/session_test.go b/internal/middleware/session_test.go index 210f44d86..78370a9e0 100644 --- a/internal/middleware/session_test.go +++ b/internal/middleware/session_test.go @@ -20,10 +20,10 @@ package middleware_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/testrig" ) type SessionTestSuite struct { diff --git a/internal/middleware/signaturecheck.go b/internal/middleware/signaturecheck.go index fd89cd886..5ee09e675 100644 --- a/internal/middleware/signaturecheck.go +++ b/internal/middleware/signaturecheck.go @@ -22,8 +22,8 @@ import ( "net/http" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/log" "code.superseriousbusiness.org/httpsig" "github.com/gin-gonic/gin" diff --git a/internal/middleware/throttling.go b/internal/middleware/throttling.go index 739189b79..f0a2067a5 100644 --- a/internal/middleware/throttling.go +++ b/internal/middleware/throttling.go @@ -34,7 +34,7 @@ import ( "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" ) // token represents a request that is being processed. diff --git a/internal/middleware/throttling_test.go b/internal/middleware/throttling_test.go index 4610ee63b..1e18eee5b 100644 --- a/internal/middleware/throttling_test.go +++ b/internal/middleware/throttling_test.go @@ -34,8 +34,8 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/middleware" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/middleware" ) func TestThrottlingMiddleware(t *testing.T) { diff --git a/internal/middleware/tokencheck.go b/internal/middleware/tokencheck.go index e06aa08c7..cc82e6e2f 100644 --- a/internal/middleware/tokencheck.go +++ b/internal/middleware/tokencheck.go @@ -20,11 +20,11 @@ package middleware import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "code.superseriousbusiness.org/oauth2/v4" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) // TokenCheck returns a new gin middleware for validating oauth tokens in requests. diff --git a/internal/middleware/useragent.go b/internal/middleware/useragent.go index 38d28f4e5..21740378b 100644 --- a/internal/middleware/useragent.go +++ b/internal/middleware/useragent.go @@ -20,8 +20,8 @@ package middleware import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // UserAgent returns a gin middleware which aborts requests with diff --git a/internal/middleware/util.go b/internal/middleware/util.go index 82850fd6d..530cd11a9 100644 --- a/internal/middleware/util.go +++ b/internal/middleware/util.go @@ -20,8 +20,8 @@ package middleware import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" ) // respondBlocked responds to the given gin context with diff --git a/internal/oauth/clientstore.go b/internal/oauth/clientstore.go index 77e18bd07..f780e13d5 100644 --- a/internal/oauth/clientstore.go +++ b/internal/oauth/clientstore.go @@ -20,9 +20,9 @@ package oauth import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/state" "code.superseriousbusiness.org/oauth2/v4" "code.superseriousbusiness.org/oauth2/v4/errors" - "github.com/superseriousbusiness/gotosocial/internal/state" ) type clientStore struct { diff --git a/internal/oauth/clientstore_test.go b/internal/oauth/clientstore_test.go index c6621186a..73e070002 100644 --- a/internal/oauth/clientstore_test.go +++ b/internal/oauth/clientstore_test.go @@ -21,13 +21,13 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ClientStoreTestSuite struct { diff --git a/internal/oauth/handlers/handlers.go b/internal/oauth/handlers/handlers.go index df83cd548..b2a0045ec 100644 --- a/internal/oauth/handlers/handlers.go +++ b/internal/oauth/handlers/handlers.go @@ -25,16 +25,16 @@ import ( "slices" "strings" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" "code.superseriousbusiness.org/oauth2/v4" oautherr "code.superseriousbusiness.org/oauth2/v4/errors" "code.superseriousbusiness.org/oauth2/v4/manage" "code.superseriousbusiness.org/oauth2/v4/server" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" ) // GetClientScopeHandler returns a handler for testing scope on a TokenGenerateRequest. diff --git a/internal/oauth/server.go b/internal/oauth/server.go index 4f08818b5..05e8cad44 100644 --- a/internal/oauth/server.go +++ b/internal/oauth/server.go @@ -24,17 +24,17 @@ import ( "net/http" "strings" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" "code.superseriousbusiness.org/oauth2/v4" oautherr "code.superseriousbusiness.org/oauth2/v4/errors" "code.superseriousbusiness.org/oauth2/v4/manage" "code.superseriousbusiness.org/oauth2/v4/server" errorsv2 "codeberg.org/gruf/go-errors/v2" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" ) const ( diff --git a/internal/oauth/tokenstore.go b/internal/oauth/tokenstore.go index 87bde5504..add478039 100644 --- a/internal/oauth/tokenstore.go +++ b/internal/oauth/tokenstore.go @@ -22,14 +22,14 @@ import ( "errors" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" "code.superseriousbusiness.org/oauth2/v4" "code.superseriousbusiness.org/oauth2/v4/models" "codeberg.org/gruf/go-mutexes" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" ) // tokenStore is an implementation of oauth2.TokenStore, which uses our db interface as a storage backend. diff --git a/internal/observability/metrics.go b/internal/observability/metrics.go index f2ff2ac0d..97ddd088f 100644 --- a/internal/observability/metrics.go +++ b/internal/observability/metrics.go @@ -23,8 +23,8 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/gin-gonic/gin" "github.com/technologize/otel-go-contrib/otelginmetrics" diff --git a/internal/observability/no_otel.go b/internal/observability/no_otel.go index 122d7a897..f1d0589bb 100644 --- a/internal/observability/no_otel.go +++ b/internal/observability/no_otel.go @@ -20,7 +20,7 @@ package observability import ( - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/gin-gonic/gin" "github.com/uptrace/bun" diff --git a/internal/observability/tracing.go b/internal/observability/tracing.go index 7827004a3..65fd1ac11 100644 --- a/internal/observability/tracing.go +++ b/internal/observability/tracing.go @@ -36,14 +36,14 @@ import ( semconv "go.opentelemetry.io/otel/semconv/v1.24.0" oteltrace "go.opentelemetry.io/otel/trace" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/log" ) const ( tracerKey = "gotosocial-server-tracer" - tracerName = "github.com/superseriousbusiness/gotosocial/internal/observability" + tracerName = "code.superseriousbusiness.org/gotosocial/internal/observability" ) func InitializeTracing() error { diff --git a/internal/oidc/handlecallback.go b/internal/oidc/handlecallback.go index 870a81627..ef4efe2a9 100644 --- a/internal/oidc/handlecallback.go +++ b/internal/oidc/handlecallback.go @@ -22,8 +22,8 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" ) func (i *idp) HandleCallback(ctx context.Context, code string) (*Claims, gtserror.WithCode) { diff --git a/internal/oidc/idp.go b/internal/oidc/idp.go index 0b360da0a..381133de1 100644 --- a/internal/oidc/idp.go +++ b/internal/oidc/idp.go @@ -21,9 +21,9 @@ import ( "context" "fmt" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/coreos/go-oidc/v3/oidc" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" "golang.org/x/oauth2" ) diff --git a/internal/paging/page_test.go b/internal/paging/page_test.go index dcf727aec..0ee69504d 100644 --- a/internal/paging/page_test.go +++ b/internal/paging/page_test.go @@ -24,8 +24,8 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/stretchr/testify/assert" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) type Case struct { diff --git a/internal/paging/parse.go b/internal/paging/parse.go index ce6391708..726288de7 100644 --- a/internal/paging/parse.go +++ b/internal/paging/parse.go @@ -20,8 +20,8 @@ package paging import ( "strconv" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) // ParseIDPage parses an ID Page from a request context, returning BadRequest on error parsing. diff --git a/internal/paging/response.go b/internal/paging/response.go index 71b0cf213..a832aa3df 100644 --- a/internal/paging/response.go +++ b/internal/paging/response.go @@ -21,8 +21,8 @@ import ( "net/url" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" ) // ResponseParams models the parameters to pass to PageableResponse. diff --git a/internal/paging/response_test.go b/internal/paging/response_test.go index b4b7d6058..73163088c 100644 --- a/internal/paging/response_test.go +++ b/internal/paging/response_test.go @@ -20,9 +20,9 @@ package paging_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/paging" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/paging" ) type PagingSuite struct { diff --git a/internal/processing/account/account.go b/internal/processing/account/account.go index d65d7360c..1e8be372f 100644 --- a/internal/processing/account/account.go +++ b/internal/processing/account/account.go @@ -18,14 +18,14 @@ package account import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Processor wraps functionality for updating, creating, and deleting accounts in response to API requests. diff --git a/internal/processing/account/account_test.go b/internal/processing/account/account_test.go index 4173162cc..699df7fdf 100644 --- a/internal/processing/account/account_test.go +++ b/internal/processing/account/account_test.go @@ -21,23 +21,23 @@ import ( "context" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountStandardTestSuite struct { diff --git a/internal/processing/account/alias.go b/internal/processing/account/alias.go index ca27a518c..01d4e0999 100644 --- a/internal/processing/account/alias.go +++ b/internal/processing/account/alias.go @@ -24,10 +24,10 @@ import ( "net/url" "slices" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" ) func (p *Processor) Alias( diff --git a/internal/processing/account/alias_test.go b/internal/processing/account/alias_test.go index 80fdb81c1..f3231cd74 100644 --- a/internal/processing/account/alias_test.go +++ b/internal/processing/account/alias_test.go @@ -22,8 +22,8 @@ import ( "slices" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type AliasTestSuite struct { diff --git a/internal/processing/account/block.go b/internal/processing/account/block.go index d3904bffa..21ec5eb07 100644 --- a/internal/processing/account/block.go +++ b/internal/processing/account/block.go @@ -22,17 +22,17 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // BlockCreate handles the creation of a block from requestingAccount to targetAccountID, either remote or local. diff --git a/internal/processing/account/bookmarks.go b/internal/processing/account/bookmarks.go index d64108d3a..7c7f7cb07 100644 --- a/internal/processing/account/bookmarks.go +++ b/internal/processing/account/bookmarks.go @@ -21,13 +21,13 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // BookmarksGet returns a pageable response of statuses that are bookmarked by requestingAccount. diff --git a/internal/processing/account/delete.go b/internal/processing/account/delete.go index 2d3ef88de..46057707d 100644 --- a/internal/processing/account/delete.go +++ b/internal/processing/account/delete.go @@ -23,16 +23,16 @@ import ( "net" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-kv" "github.com/google/uuid" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/util" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/processing/account/delete_test.go b/internal/processing/account/delete_test.go index 587071a11..fd19099c3 100644 --- a/internal/processing/account/delete_test.go +++ b/internal/processing/account/delete_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type AccountDeleteTestSuite struct { diff --git a/internal/processing/account/export.go b/internal/processing/account/export.go index 68cc17b6d..b36c0e75b 100644 --- a/internal/processing/account/export.go +++ b/internal/processing/account/export.go @@ -21,10 +21,10 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // ExportStats returns the requester's export stats, diff --git a/internal/processing/account/follow.go b/internal/processing/account/follow.go index 59de8834b..2c9b1be4e 100644 --- a/internal/processing/account/follow.go +++ b/internal/processing/account/follow.go @@ -21,16 +21,16 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // FollowCreate handles a follow request to an account, either remote or local. diff --git a/internal/processing/account/follow_request.go b/internal/processing/account/follow_request.go index 6f6c7ba2d..a1969ac23 100644 --- a/internal/processing/account/follow_request.go +++ b/internal/processing/account/follow_request.go @@ -21,13 +21,13 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // FollowRequestAccept handles the accepting of a follow request from the sourceAccountID to the requestingAccount (the currently authorized account). diff --git a/internal/processing/account/follow_test.go b/internal/processing/account/follow_test.go index 9ea8ce1b8..68653f329 100644 --- a/internal/processing/account/follow_test.go +++ b/internal/processing/account/follow_test.go @@ -22,10 +22,10 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type FollowTestSuite struct { diff --git a/internal/processing/account/get.go b/internal/processing/account/get.go index 33eb4c101..f7bf84961 100644 --- a/internal/processing/account/get.go +++ b/internal/processing/account/get.go @@ -22,12 +22,12 @@ import ( "errors" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // Get processes the given request for account information. diff --git a/internal/processing/account/import.go b/internal/processing/account/import.go index 5c830639a..f645662d3 100644 --- a/internal/processing/account/import.go +++ b/internal/processing/account/import.go @@ -24,10 +24,10 @@ import ( "fmt" "mime/multipart" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) func (p *Processor) ImportData( diff --git a/internal/processing/account/interactionpolicies.go b/internal/processing/account/interactionpolicies.go index e02b43e9e..405c92230 100644 --- a/internal/processing/account/interactionpolicies.go +++ b/internal/processing/account/interactionpolicies.go @@ -21,10 +21,10 @@ import ( "cmp" "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) func (p *Processor) DefaultInteractionPoliciesGet( diff --git a/internal/processing/account/lists.go b/internal/processing/account/lists.go index 04cf4ca73..be6c86d47 100644 --- a/internal/processing/account/lists.go +++ b/internal/processing/account/lists.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // ListsGet returns all lists owned by requestingAccount, which contain a follow for targetAccountID. diff --git a/internal/processing/account/move.go b/internal/processing/account/move.go index 734331503..58db5d452 100644 --- a/internal/processing/account/move.go +++ b/internal/processing/account/move.go @@ -25,18 +25,18 @@ import ( "slices" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/processing/account/move_test.go b/internal/processing/account/move_test.go index 76cbe1512..54b016528 100644 --- a/internal/processing/account/move_test.go +++ b/internal/processing/account/move_test.go @@ -22,11 +22,11 @@ import ( "testing" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) type MoveTestSuite struct { diff --git a/internal/processing/account/mute.go b/internal/processing/account/mute.go index 00bb9dd22..43dc45497 100644 --- a/internal/processing/account/mute.go +++ b/internal/processing/account/mute.go @@ -22,14 +22,14 @@ import ( "errors" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // MuteCreate handles the creation or updating of a mute from requestingAccount to targetAccountID. diff --git a/internal/processing/account/note.go b/internal/processing/account/note.go index 7606c1a91..231bb2ed8 100644 --- a/internal/processing/account/note.go +++ b/internal/processing/account/note.go @@ -20,10 +20,10 @@ package account import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // PutNote updates the requesting account's private note on the target account. diff --git a/internal/processing/account/relationships.go b/internal/processing/account/relationships.go index 53d2ee3c7..6a82e67a4 100644 --- a/internal/processing/account/relationships.go +++ b/internal/processing/account/relationships.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // FollowersGet fetches a list of the target account's followers. diff --git a/internal/processing/account/rss.go b/internal/processing/account/rss.go index b0debcc91..495aa2e54 100644 --- a/internal/processing/account/rss.go +++ b/internal/processing/account/rss.go @@ -23,11 +23,11 @@ import ( "fmt" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/gorilla/feeds" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) const ( diff --git a/internal/processing/account/statuses.go b/internal/processing/account/statuses.go index 3b4e067f9..191fdcb5f 100644 --- a/internal/processing/account/statuses.go +++ b/internal/processing/account/statuses.go @@ -22,13 +22,13 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // StatusesGet fetches a number of statuses (in time descending order) from the diff --git a/internal/processing/account/themes.go b/internal/processing/account/themes.go index 4f8cc49a1..88fd3ff6c 100644 --- a/internal/processing/account/themes.go +++ b/internal/processing/account/themes.go @@ -25,11 +25,11 @@ import ( "slices" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-bytesize" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" ) var ( diff --git a/internal/processing/account/themes_test.go b/internal/processing/account/themes_test.go index 9506aee50..fff129f68 100644 --- a/internal/processing/account/themes_test.go +++ b/internal/processing/account/themes_test.go @@ -20,9 +20,9 @@ package account_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" ) type ThemesTestSuite struct { diff --git a/internal/processing/account/tokens.go b/internal/processing/account/tokens.go index dcd997839..eaeffe38b 100644 --- a/internal/processing/account/tokens.go +++ b/internal/processing/account/tokens.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) func (p *Processor) TokensGet( diff --git a/internal/processing/account/update.go b/internal/processing/account/update.go index 83a046a25..f0e3b790b 100644 --- a/internal/processing/account/update.go +++ b/internal/processing/account/update.go @@ -24,19 +24,19 @@ import ( "io" "mime/multipart" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" "codeberg.org/gruf/go-iotools" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) func (p *Processor) selectNoteFormatter(contentType string) text.FormatFunc { diff --git a/internal/processing/account/update_test.go b/internal/processing/account/update_test.go index 674502b75..52895a463 100644 --- a/internal/processing/account/update_test.go +++ b/internal/processing/account/update_test.go @@ -22,11 +22,11 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type AccountUpdateTestSuite struct { diff --git a/internal/processing/admin/account_test.go b/internal/processing/admin/account_test.go index baa6eb646..76c4c82f5 100644 --- a/internal/processing/admin/account_test.go +++ b/internal/processing/admin/account_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AccountTestSuite struct { diff --git a/internal/processing/admin/accountaction.go b/internal/processing/admin/accountaction.go index 959f2cfcd..19b04a145 100644 --- a/internal/processing/admin/accountaction.go +++ b/internal/processing/admin/accountaction.go @@ -21,12 +21,12 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (p *Processor) AccountAction( diff --git a/internal/processing/admin/accountget.go b/internal/processing/admin/accountget.go index 5a3c34c62..06a47cedc 100644 --- a/internal/processing/admin/accountget.go +++ b/internal/processing/admin/accountget.go @@ -22,9 +22,9 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) func (p *Processor) AccountGet(ctx context.Context, accountID string) (*apimodel.AdminAccountInfo, gtserror.WithCode) { diff --git a/internal/processing/admin/accounts.go b/internal/processing/admin/accounts.go index ba2a88ce6..2be71ddc3 100644 --- a/internal/processing/admin/accounts.go +++ b/internal/processing/admin/accounts.go @@ -25,12 +25,12 @@ import ( "net/url" "slices" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) var ( diff --git a/internal/processing/admin/admin.go b/internal/processing/admin/admin.go index 08e6bf0d5..7ad2450de 100644 --- a/internal/processing/admin/admin.go +++ b/internal/processing/admin/admin.go @@ -18,15 +18,15 @@ package admin import ( - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/admin/admin_test.go b/internal/processing/admin/admin_test.go index 804abbc62..7effffaae 100644 --- a/internal/processing/admin/admin_test.go +++ b/internal/processing/admin/admin_test.go @@ -18,26 +18,26 @@ package admin_test import ( + adminactions "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/processing/admin" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - adminactions "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/processing/admin" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AdminStandardTestSuite struct { diff --git a/internal/processing/admin/debug_apurl.go b/internal/processing/admin/debug_apurl.go index dbf337dc3..f6098c534 100644 --- a/internal/processing/admin/debug_apurl.go +++ b/internal/processing/admin/debug_apurl.go @@ -23,11 +23,11 @@ import ( "net/http" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // DebugAPUrl performs a GET to the given url, using the diff --git a/internal/processing/admin/domainallow.go b/internal/processing/admin/domainallow.go index 134351ad5..388ca5cb1 100644 --- a/internal/processing/admin/domainallow.go +++ b/internal/processing/admin/domainallow.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/text" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/text" ) func (p *Processor) createDomainAllow( diff --git a/internal/processing/admin/domainblock.go b/internal/processing/admin/domainblock.go index 3dd5a256f..1c5d004bd 100644 --- a/internal/processing/admin/domainblock.go +++ b/internal/processing/admin/domainblock.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/text" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/text" ) func (p *Processor) createDomainBlock( diff --git a/internal/processing/admin/domainkeysexpire.go b/internal/processing/admin/domainkeysexpire.go index 0613f502d..39fe77dc7 100644 --- a/internal/processing/admin/domainkeysexpire.go +++ b/internal/processing/admin/domainkeysexpire.go @@ -20,9 +20,9 @@ package admin import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // DomainKeysExpire iterates through all diff --git a/internal/processing/admin/domainpermission.go b/internal/processing/admin/domainpermission.go index 9b8c88030..d7546fb15 100644 --- a/internal/processing/admin/domainpermission.go +++ b/internal/processing/admin/domainpermission.go @@ -26,11 +26,11 @@ import ( "mime/multipart" "net/http" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // DomainPermissionCreate creates an instance-level permission diff --git a/internal/processing/admin/domainpermission_test.go b/internal/processing/admin/domainpermission_test.go index c8f3560c3..f53c241b6 100644 --- a/internal/processing/admin/domainpermission_test.go +++ b/internal/processing/admin/domainpermission_test.go @@ -22,13 +22,13 @@ import ( "net/http" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/testrig" ) type DomainBlockTestSuite struct { diff --git a/internal/processing/admin/domainpermissiondraft.go b/internal/processing/admin/domainpermissiondraft.go index 0dc17a45a..9e067f20b 100644 --- a/internal/processing/admin/domainpermissiondraft.go +++ b/internal/processing/admin/domainpermissiondraft.go @@ -23,16 +23,16 @@ import ( "fmt" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // DomainPermissionDraftGet returns one diff --git a/internal/processing/admin/domainpermissionexclude.go b/internal/processing/admin/domainpermissionexclude.go index 761ca8b9c..b2134777d 100644 --- a/internal/processing/admin/domainpermissionexclude.go +++ b/internal/processing/admin/domainpermissionexclude.go @@ -23,13 +23,13 @@ import ( "fmt" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) func (p *Processor) DomainPermissionExcludeCreate( diff --git a/internal/processing/admin/domainpermissionsubscription.go b/internal/processing/admin/domainpermissionsubscription.go index bdc38df63..b4dc72aa3 100644 --- a/internal/processing/admin/domainpermissionsubscription.go +++ b/internal/processing/admin/domainpermissionsubscription.go @@ -24,13 +24,13 @@ import ( "net/url" "slices" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // DomainPermissionSubscriptionGet returns one diff --git a/internal/processing/admin/email.go b/internal/processing/admin/email.go index 949be6e4b..fe69236db 100644 --- a/internal/processing/admin/email.go +++ b/internal/processing/admin/email.go @@ -21,10 +21,10 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // EmailTest sends a generic test email to the given diff --git a/internal/processing/admin/emoji.go b/internal/processing/admin/emoji.go index 5a7da445e..b45d31e96 100644 --- a/internal/processing/admin/emoji.go +++ b/internal/processing/admin/emoji.go @@ -25,15 +25,15 @@ import ( "mime/multipart" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-iotools" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // EmojiCreate creates a custom emoji on this instance. diff --git a/internal/processing/admin/emoji_test.go b/internal/processing/admin/emoji_test.go index 17f5fc864..4968ad1af 100644 --- a/internal/processing/admin/emoji_test.go +++ b/internal/processing/admin/emoji_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type EmojiTestSuite struct { diff --git a/internal/processing/admin/headerfilter.go b/internal/processing/admin/headerfilter.go index 13105d191..dc74c151b 100644 --- a/internal/processing/admin/headerfilter.go +++ b/internal/processing/admin/headerfilter.go @@ -23,13 +23,13 @@ import ( "net/textproto" "regexp" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/headerfilter" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // GetAllowHeaderFilter fetches allow HTTP header filter with provided ID from the database. diff --git a/internal/processing/admin/media.go b/internal/processing/admin/media.go index 9cd68d88b..785ee0e98 100644 --- a/internal/processing/admin/media.go +++ b/internal/processing/admin/media.go @@ -21,10 +21,10 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // MediaRefetch forces a refetch of remote emojis. diff --git a/internal/processing/admin/report.go b/internal/processing/admin/report.go index ed34a4e83..bb94e67f5 100644 --- a/internal/processing/admin/report.go +++ b/internal/processing/admin/report.go @@ -25,14 +25,14 @@ import ( "strconv" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // ReportsGet returns reports stored on this diff --git a/internal/processing/admin/rule.go b/internal/processing/admin/rule.go index 8134c21cd..a665da9a1 100644 --- a/internal/processing/admin/rule.go +++ b/internal/processing/admin/rule.go @@ -22,13 +22,13 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // RulesGet returns all rules stored on this instance. diff --git a/internal/processing/admin/signupapprove.go b/internal/processing/admin/signupapprove.go index 84e04fa8d..d33227bb2 100644 --- a/internal/processing/admin/signupapprove.go +++ b/internal/processing/admin/signupapprove.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (p *Processor) SignupApprove( diff --git a/internal/processing/admin/signupapprove_test.go b/internal/processing/admin/signupapprove_test.go index 58b8fdade..7203c3223 100644 --- a/internal/processing/admin/signupapprove_test.go +++ b/internal/processing/admin/signupapprove_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AdminApproveTestSuite struct { diff --git a/internal/processing/admin/signupreject.go b/internal/processing/admin/signupreject.go index 39eff0b87..5b7872a19 100644 --- a/internal/processing/admin/signupreject.go +++ b/internal/processing/admin/signupreject.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (p *Processor) SignupReject( diff --git a/internal/processing/admin/signupreject_test.go b/internal/processing/admin/signupreject_test.go index cb6a25eb3..2017c6364 100644 --- a/internal/processing/admin/signupreject_test.go +++ b/internal/processing/admin/signupreject_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AdminRejectTestSuite struct { diff --git a/internal/processing/admin/util.go b/internal/processing/admin/util.go index f04b3654b..2ad0069d7 100644 --- a/internal/processing/admin/util.go +++ b/internal/processing/admin/util.go @@ -20,9 +20,9 @@ package admin import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // apiDomainPerm is a cheeky shortcut for returning diff --git a/internal/processing/admin/workertask.go b/internal/processing/admin/workertask.go index 6d7cc7b7a..9fcd1f5a1 100644 --- a/internal/processing/admin/workertask.go +++ b/internal/processing/admin/workertask.go @@ -23,12 +23,12 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" ) // NOTE: diff --git a/internal/processing/admin/workertask_test.go b/internal/processing/admin/workertask_test.go index bf326bafd..37b7059d7 100644 --- a/internal/processing/admin/workertask_test.go +++ b/internal/processing/admin/workertask_test.go @@ -27,14 +27,14 @@ import ( "net/url" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" - "github.com/superseriousbusiness/gotosocial/testrig" ) var ( diff --git a/internal/processing/advancedmigrations/advancedmigrations.go b/internal/processing/advancedmigrations/advancedmigrations.go index 3f1876539..d4404bb85 100644 --- a/internal/processing/advancedmigrations/advancedmigrations.go +++ b/internal/processing/advancedmigrations/advancedmigrations.go @@ -21,7 +21,7 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/processing/conversations" + "code.superseriousbusiness.org/gotosocial/internal/processing/conversations" ) // Processor holds references to any other processor that has migrations to run. diff --git a/internal/processing/application/application.go b/internal/processing/application/application.go index 4ad35749e..acecd7f85 100644 --- a/internal/processing/application/application.go +++ b/internal/processing/application/application.go @@ -18,8 +18,8 @@ package application import ( - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/application/create.go b/internal/processing/application/create.go index d1340a39f..7ee6fb6b9 100644 --- a/internal/processing/application/create.go +++ b/internal/processing/application/create.go @@ -24,12 +24,12 @@ import ( "net/url" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/oauth" "github.com/google/uuid" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/oauth" ) func (p *Processor) Create( diff --git a/internal/processing/application/delete.go b/internal/processing/application/delete.go index 02f5e4bfa..7d1a3b495 100644 --- a/internal/processing/application/delete.go +++ b/internal/processing/application/delete.go @@ -21,9 +21,9 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) func (p *Processor) Delete( diff --git a/internal/processing/application/get.go b/internal/processing/application/get.go index 0a3eb8e04..25cc634a6 100644 --- a/internal/processing/application/get.go +++ b/internal/processing/application/get.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) func (p *Processor) Get( diff --git a/internal/processing/common/account.go b/internal/processing/common/account.go index ae26e4ebd..07644e839 100644 --- a/internal/processing/common/account.go +++ b/internal/processing/common/account.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // GetTargetAccountBy fetches the target account with db load function, given the authorized (or, nil) requester's diff --git a/internal/processing/common/common.go b/internal/processing/common/common.go index 29def3506..9f4753147 100644 --- a/internal/processing/common/common.go +++ b/internal/processing/common/common.go @@ -18,11 +18,11 @@ package common import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Processor provides a processor with logic diff --git a/internal/processing/common/media.go b/internal/processing/common/media.go index 7957470cd..e379bfe40 100644 --- a/internal/processing/common/media.go +++ b/internal/processing/common/media.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" ) // StoreLocalMedia is a wrapper around CreateMedia() and diff --git a/internal/processing/common/status.go b/internal/processing/common/status.go index 01f2ab72d..3d62fedad 100644 --- a/internal/processing/common/status.go +++ b/internal/processing/common/status.go @@ -21,14 +21,14 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // GetOwnStatus fetches the given status with ID, diff --git a/internal/processing/conversations/conversations.go b/internal/processing/conversations/conversations.go index d95740605..a4b8b7234 100644 --- a/internal/processing/conversations/conversations.go +++ b/internal/processing/conversations/conversations.go @@ -21,14 +21,14 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/conversations/conversations_test.go b/internal/processing/conversations/conversations_test.go index fecaf5666..ed763b80a 100644 --- a/internal/processing/conversations/conversations_test.go +++ b/internal/processing/conversations/conversations_test.go @@ -22,23 +22,23 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + dbtest "code.superseriousbusiness.org/gotosocial/internal/db/test" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/processing/conversations" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - dbtest "github.com/superseriousbusiness/gotosocial/internal/db/test" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/processing/conversations" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ConversationsTestSuite struct { diff --git a/internal/processing/conversations/delete.go b/internal/processing/conversations/delete.go index 5cbdd00a5..0f8281716 100644 --- a/internal/processing/conversations/delete.go +++ b/internal/processing/conversations/delete.go @@ -20,9 +20,9 @@ package conversations import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func (p *Processor) Delete( diff --git a/internal/processing/conversations/get.go b/internal/processing/conversations/get.go index 0c7832cae..9218942bf 100644 --- a/internal/processing/conversations/get.go +++ b/internal/processing/conversations/get.go @@ -21,13 +21,13 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // GetAll returns conversations owned by the given account. diff --git a/internal/processing/conversations/get_test.go b/internal/processing/conversations/get_test.go index 7b3d60749..ea8794601 100644 --- a/internal/processing/conversations/get_test.go +++ b/internal/processing/conversations/get_test.go @@ -21,7 +21,7 @@ import ( "context" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" ) func (suite *ConversationsTestSuite) TestGetAll() { diff --git a/internal/processing/conversations/migrate.go b/internal/processing/conversations/migrate.go index 959ffcca4..902024944 100644 --- a/internal/processing/conversations/migrate.go +++ b/internal/processing/conversations/migrate.go @@ -22,12 +22,12 @@ import ( "encoding/json" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) const advancedMigrationID = "20240611190733_add_conversations" diff --git a/internal/processing/conversations/migrate_test.go b/internal/processing/conversations/migrate_test.go index b625e59ba..7253b30a6 100644 --- a/internal/processing/conversations/migrate_test.go +++ b/internal/processing/conversations/migrate_test.go @@ -20,9 +20,9 @@ package conversations_test import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Test that we can migrate DMs to conversations. diff --git a/internal/processing/conversations/read.go b/internal/processing/conversations/read.go index 512a004a3..42f369582 100644 --- a/internal/processing/conversations/read.go +++ b/internal/processing/conversations/read.go @@ -20,10 +20,10 @@ package conversations import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (p *Processor) Read( diff --git a/internal/processing/conversations/read_test.go b/internal/processing/conversations/read_test.go index ebd8f7fe5..3b86326fd 100644 --- a/internal/processing/conversations/read_test.go +++ b/internal/processing/conversations/read_test.go @@ -20,7 +20,7 @@ package conversations_test import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (suite *ConversationsTestSuite) TestRead() { diff --git a/internal/processing/conversations/update.go b/internal/processing/conversations/update.go index 7445994ae..1651d5367 100644 --- a/internal/processing/conversations/update.go +++ b/internal/processing/conversations/update.go @@ -21,14 +21,14 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // ConversationNotification carries the arguments to processing/stream.Processor.Conversation. diff --git a/internal/processing/fedi/accept.go b/internal/processing/fedi/accept.go index fc699ee08..e63b460db 100644 --- a/internal/processing/fedi/accept.go +++ b/internal/processing/fedi/accept.go @@ -21,9 +21,9 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // AcceptGet handles the getting of a fedi/activitypub diff --git a/internal/processing/fedi/collections.go b/internal/processing/fedi/collections.go index c802fb295..5f2615b64 100644 --- a/internal/processing/fedi/collections.go +++ b/internal/processing/fedi/collections.go @@ -24,13 +24,13 @@ import ( "net/url" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // InboxPost handles POST requests to a user's inbox for new activitypub messages. diff --git a/internal/processing/fedi/common.go b/internal/processing/fedi/common.go index 1a4d38bc1..9059aef39 100644 --- a/internal/processing/fedi/common.go +++ b/internal/processing/fedi/common.go @@ -22,9 +22,9 @@ import ( "errors" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) type commonAuth struct { diff --git a/internal/processing/fedi/emoji.go b/internal/processing/fedi/emoji.go index 9ac0ea244..8db8b48ea 100644 --- a/internal/processing/fedi/emoji.go +++ b/internal/processing/fedi/emoji.go @@ -21,8 +21,8 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // EmojiGet handles the GET for a federated emoji originating from this instance. diff --git a/internal/processing/fedi/fedi.go b/internal/processing/fedi/fedi.go index 52a9d70bf..d770f3927 100644 --- a/internal/processing/fedi/fedi.go +++ b/internal/processing/fedi/fedi.go @@ -18,11 +18,11 @@ package fedi import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/fedi/status.go b/internal/processing/fedi/status.go index 86925c2b1..497bcc177 100644 --- a/internal/processing/fedi/status.go +++ b/internal/processing/fedi/status.go @@ -25,12 +25,12 @@ import ( "strconv" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // StatusGet handles the getting of a fedi/activitypub representation of a local status. diff --git a/internal/processing/fedi/user.go b/internal/processing/fedi/user.go index 79c1b4fdb..bf2f2a90e 100644 --- a/internal/processing/fedi/user.go +++ b/internal/processing/fedi/user.go @@ -23,10 +23,10 @@ import ( "fmt" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // UserGet handles the getting of a fedi/activitypub representation of a user/account, diff --git a/internal/processing/fedi/wellknown.go b/internal/processing/fedi/wellknown.go index 93fd3b28f..0e6989803 100644 --- a/internal/processing/fedi/wellknown.go +++ b/internal/processing/fedi/wellknown.go @@ -21,9 +21,9 @@ import ( "context" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) const ( @@ -34,7 +34,7 @@ const ( nodeInfoSoftwareName = "gotosocial" nodeInfo20Rel = "http://nodeinfo.diaspora.software/ns/schema/2.0" nodeInfo21Rel = "http://nodeinfo.diaspora.software/ns/schema/2.1" - nodeInfoRepo = "https://github.com/superseriousbusiness/gotosocial" + nodeInfoRepo = "https://codeberg.org/superseriousbusiness/gotosocial" nodeInfoHomepage = "https://docs.gotosocial.org" webfingerProfilePage = "http://webfinger.net/rel/profile-page" webFingerProfilePageContentType = "text/html" diff --git a/internal/processing/filters/v1/convert.go b/internal/processing/filters/v1/convert.go index 1e0db5ff1..417cf7b7d 100644 --- a/internal/processing/filters/v1/convert.go +++ b/internal/processing/filters/v1/convert.go @@ -21,9 +21,9 @@ import ( "context" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // apiFilter is a shortcut to return the API v1 filter version of the given diff --git a/internal/processing/filters/v1/create.go b/internal/processing/filters/v1/create.go index 86019d2a6..24517dd7b 100644 --- a/internal/processing/filters/v1/create.go +++ b/internal/processing/filters/v1/create.go @@ -23,12 +23,12 @@ import ( "fmt" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Create a new filter and filter keyword for the given account, using the provided parameters. diff --git a/internal/processing/filters/v1/delete.go b/internal/processing/filters/v1/delete.go index 89282c65d..6a081ff04 100644 --- a/internal/processing/filters/v1/delete.go +++ b/internal/processing/filters/v1/delete.go @@ -21,10 +21,10 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Delete an existing filter keyword and (if empty afterwards) filter for the given account. diff --git a/internal/processing/filters/v1/filters.go b/internal/processing/filters/v1/filters.go index daa9087a9..89b509912 100644 --- a/internal/processing/filters/v1/filters.go +++ b/internal/processing/filters/v1/filters.go @@ -18,9 +18,9 @@ package v1 import ( - "github.com/superseriousbusiness/gotosocial/internal/processing/stream" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/processing/stream" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/filters/v1/get.go b/internal/processing/filters/v1/get.go index 3ead09b20..ad35e6272 100644 --- a/internal/processing/filters/v1/get.go +++ b/internal/processing/filters/v1/get.go @@ -23,10 +23,10 @@ import ( "slices" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Get looks up a filter keyword by ID and returns it as a v1 filter. diff --git a/internal/processing/filters/v1/update.go b/internal/processing/filters/v1/update.go index 15c5de365..8b50c3fcf 100644 --- a/internal/processing/filters/v1/update.go +++ b/internal/processing/filters/v1/update.go @@ -24,12 +24,12 @@ import ( "strings" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Update an existing filter and filter keyword for the given account, using the provided parameters. diff --git a/internal/processing/filters/v2/convert.go b/internal/processing/filters/v2/convert.go index 1e544e6e4..590edd04b 100644 --- a/internal/processing/filters/v2/convert.go +++ b/internal/processing/filters/v2/convert.go @@ -21,9 +21,9 @@ import ( "context" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // apiFilter is a shortcut to return the API v2 filter version of the given diff --git a/internal/processing/filters/v2/create.go b/internal/processing/filters/v2/create.go index 60dd46f43..c221e1539 100644 --- a/internal/processing/filters/v2/create.go +++ b/internal/processing/filters/v2/create.go @@ -23,13 +23,13 @@ import ( "fmt" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Create a new filter for the given account, using the provided parameters. diff --git a/internal/processing/filters/v2/delete.go b/internal/processing/filters/v2/delete.go index a312180b8..b6a4c6321 100644 --- a/internal/processing/filters/v2/delete.go +++ b/internal/processing/filters/v2/delete.go @@ -21,8 +21,8 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Delete an existing filter and all its attached keywords and statuses for the given account. diff --git a/internal/processing/filters/v2/filters.go b/internal/processing/filters/v2/filters.go index 85da4df6b..82fef36b6 100644 --- a/internal/processing/filters/v2/filters.go +++ b/internal/processing/filters/v2/filters.go @@ -18,9 +18,9 @@ package v2 import ( - "github.com/superseriousbusiness/gotosocial/internal/processing/stream" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/processing/stream" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/filters/v2/get.go b/internal/processing/filters/v2/get.go index 39b937eb2..7240d1ba3 100644 --- a/internal/processing/filters/v2/get.go +++ b/internal/processing/filters/v2/get.go @@ -24,10 +24,10 @@ import ( "slices" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Get looks up a filter by ID and returns it with keywords and statuses. diff --git a/internal/processing/filters/v2/keywordcreate.go b/internal/processing/filters/v2/keywordcreate.go index 92d9e5dfd..89ada34f4 100644 --- a/internal/processing/filters/v2/keywordcreate.go +++ b/internal/processing/filters/v2/keywordcreate.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // KeywordCreate adds a filter keyword to an existing filter for the given account, using the provided parameters. diff --git a/internal/processing/filters/v2/keyworddelete.go b/internal/processing/filters/v2/keyworddelete.go index 024991109..390c7b2cf 100644 --- a/internal/processing/filters/v2/keyworddelete.go +++ b/internal/processing/filters/v2/keyworddelete.go @@ -21,8 +21,8 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // KeywordDelete deletes an existing filter keyword from a filter. diff --git a/internal/processing/filters/v2/keywordget.go b/internal/processing/filters/v2/keywordget.go index 5f5a63b26..e824b2e57 100644 --- a/internal/processing/filters/v2/keywordget.go +++ b/internal/processing/filters/v2/keywordget.go @@ -24,11 +24,11 @@ import ( "slices" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // KeywordGet looks up a filter keyword by ID. diff --git a/internal/processing/filters/v2/keywordupdate.go b/internal/processing/filters/v2/keywordupdate.go index 9492e7b3a..4c0a54b83 100644 --- a/internal/processing/filters/v2/keywordupdate.go +++ b/internal/processing/filters/v2/keywordupdate.go @@ -22,11 +22,11 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // KeywordUpdate updates an existing filter keyword for the given account, using the provided parameters. diff --git a/internal/processing/filters/v2/statuscreate.go b/internal/processing/filters/v2/statuscreate.go index 7d4469eef..927986c69 100644 --- a/internal/processing/filters/v2/statuscreate.go +++ b/internal/processing/filters/v2/statuscreate.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // StatusCreate adds a filter status to an existing filter for the given account, using the provided parameters. diff --git a/internal/processing/filters/v2/statusdelete.go b/internal/processing/filters/v2/statusdelete.go index 706ca691d..e25f7279e 100644 --- a/internal/processing/filters/v2/statusdelete.go +++ b/internal/processing/filters/v2/statusdelete.go @@ -21,8 +21,8 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // StatusDelete deletes an existing filter status from a filter. diff --git a/internal/processing/filters/v2/statusget.go b/internal/processing/filters/v2/statusget.go index 197a3872e..06a56d271 100644 --- a/internal/processing/filters/v2/statusget.go +++ b/internal/processing/filters/v2/statusget.go @@ -24,11 +24,11 @@ import ( "slices" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // StatusGet looks up a filter status by ID. diff --git a/internal/processing/filters/v2/update.go b/internal/processing/filters/v2/update.go index d5b5cce01..9d38cac66 100644 --- a/internal/processing/filters/v2/update.go +++ b/internal/processing/filters/v2/update.go @@ -21,14 +21,15 @@ import ( "context" "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" "time" + + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Update an existing filter for the given account, using the provided parameters. diff --git a/internal/processing/followrequest_test.go b/internal/processing/followrequest_test.go index db0419522..ca77d1e34 100644 --- a/internal/processing/followrequest_test.go +++ b/internal/processing/followrequest_test.go @@ -25,10 +25,10 @@ import ( "testing" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) // TODO: move this to the "internal/processing/account" pkg diff --git a/internal/processing/instance.go b/internal/processing/instance.go index e723c751e..87fe1e3ef 100644 --- a/internal/processing/instance.go +++ b/internal/processing/instance.go @@ -22,16 +22,16 @@ import ( "fmt" "sort" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" ) func (p *Processor) InstanceGetV1(ctx context.Context) (*apimodel.InstanceV1, gtserror.WithCode) { diff --git a/internal/processing/interactionrequests/accept.go b/internal/processing/interactionrequests/accept.go index ad86e50d1..ce682380b 100644 --- a/internal/processing/interactionrequests/accept.go +++ b/internal/processing/interactionrequests/accept.go @@ -21,13 +21,13 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Accept accepts an interaction request with the given ID, diff --git a/internal/processing/interactionrequests/accept_test.go b/internal/processing/interactionrequests/accept_test.go index 75fb1e512..eae17b6d6 100644 --- a/internal/processing/interactionrequests/accept_test.go +++ b/internal/processing/interactionrequests/accept_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing/interactionrequests" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing/interactionrequests" - "github.com/superseriousbusiness/gotosocial/testrig" ) type AcceptTestSuite struct { diff --git a/internal/processing/interactionrequests/get.go b/internal/processing/interactionrequests/get.go index 8f8a7f35d..397730855 100644 --- a/internal/processing/interactionrequests/get.go +++ b/internal/processing/interactionrequests/get.go @@ -23,13 +23,13 @@ import ( "net/url" "strconv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // GetPage returns a page of interaction requests targeting diff --git a/internal/processing/interactionrequests/interactionrequests.go b/internal/processing/interactionrequests/interactionrequests.go index d56636233..435bbd42f 100644 --- a/internal/processing/interactionrequests/interactionrequests.go +++ b/internal/processing/interactionrequests/interactionrequests.go @@ -18,9 +18,9 @@ package interactionrequests import ( - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Processor wraps functionality for getting, diff --git a/internal/processing/interactionrequests/interactionrequests_test.go b/internal/processing/interactionrequests/interactionrequests_test.go index ce2aa351a..6459036fc 100644 --- a/internal/processing/interactionrequests/interactionrequests_test.go +++ b/internal/processing/interactionrequests/interactionrequests_test.go @@ -18,9 +18,9 @@ package interactionrequests_test import ( + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) const ( diff --git a/internal/processing/interactionrequests/reject.go b/internal/processing/interactionrequests/reject.go index dcf07a03f..3ceaa47d9 100644 --- a/internal/processing/interactionrequests/reject.go +++ b/internal/processing/interactionrequests/reject.go @@ -21,12 +21,12 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // Reject rejects an interaction request with the given ID, diff --git a/internal/processing/interactionrequests/reject_test.go b/internal/processing/interactionrequests/reject_test.go index 6e4aac691..353684938 100644 --- a/internal/processing/interactionrequests/reject_test.go +++ b/internal/processing/interactionrequests/reject_test.go @@ -22,11 +22,11 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/processing/interactionrequests" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/processing/interactionrequests" - "github.com/superseriousbusiness/gotosocial/testrig" ) type RejectTestSuite struct { diff --git a/internal/processing/list/create.go b/internal/processing/list/create.go index dacd7909f..43bec321a 100644 --- a/internal/processing/list/create.go +++ b/internal/processing/list/create.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // Create creates one a new list for the given account, using the provided parameters. diff --git a/internal/processing/list/delete.go b/internal/processing/list/delete.go index 327ac9d16..8039487dd 100644 --- a/internal/processing/list/delete.go +++ b/internal/processing/list/delete.go @@ -20,9 +20,9 @@ package list import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Delete deletes one list for the given account. diff --git a/internal/processing/list/get.go b/internal/processing/list/get.go index b98678eef..aefa01027 100644 --- a/internal/processing/list/get.go +++ b/internal/processing/list/get.go @@ -21,13 +21,13 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Get returns the api model of one list with the given ID. diff --git a/internal/processing/list/list.go b/internal/processing/list/list.go index 0003816fb..453bf3a57 100644 --- a/internal/processing/list/list.go +++ b/internal/processing/list/list.go @@ -18,8 +18,8 @@ package list import ( - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/list/update.go b/internal/processing/list/update.go index 408c334de..c64686344 100644 --- a/internal/processing/list/update.go +++ b/internal/processing/list/update.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Update updates one list for the given account, using the provided parameters. diff --git a/internal/processing/list/updateentries.go b/internal/processing/list/updateentries.go index c15248f39..7cf6a3cd3 100644 --- a/internal/processing/list/updateentries.go +++ b/internal/processing/list/updateentries.go @@ -22,12 +22,12 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // AddToList adds targetAccountIDs to the given list, if valid. diff --git a/internal/processing/list/util.go b/internal/processing/list/util.go index 74d148704..faed5479b 100644 --- a/internal/processing/list/util.go +++ b/internal/processing/list/util.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // getList is a shortcut to get one list from the database and diff --git a/internal/processing/markers/get.go b/internal/processing/markers/get.go index 38e8b53dc..19c8feedc 100644 --- a/internal/processing/markers/get.go +++ b/internal/processing/markers/get.go @@ -22,11 +22,11 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Get returns an API model for the markers of the requested timelines. diff --git a/internal/processing/markers/markers.go b/internal/processing/markers/markers.go index 8817ed1a7..18624d44c 100644 --- a/internal/processing/markers/markers.go +++ b/internal/processing/markers/markers.go @@ -18,8 +18,8 @@ package markers import ( - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/markers/update.go b/internal/processing/markers/update.go index 22fe65faf..21c1bc169 100644 --- a/internal/processing/markers/update.go +++ b/internal/processing/markers/update.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Update updates the given markers and returns an API model for them. diff --git a/internal/processing/media/create.go b/internal/processing/media/create.go index 5ea630618..e925297ff 100644 --- a/internal/processing/media/create.go +++ b/internal/processing/media/create.go @@ -23,13 +23,13 @@ import ( "fmt" "io" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" "codeberg.org/gruf/go-iotools" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" ) // Create creates a new media attachment belonging to the given account, using the request form. diff --git a/internal/processing/media/delete.go b/internal/processing/media/delete.go index 32650fb2c..afb5af1f3 100644 --- a/internal/processing/media/delete.go +++ b/internal/processing/media/delete.go @@ -23,9 +23,9 @@ import ( "fmt" "strings" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/storage" ) // Delete deletes the media attachment with the given ID, including all files pertaining to that attachment. diff --git a/internal/processing/media/getemoji.go b/internal/processing/media/getemoji.go index 06712756a..d80886979 100644 --- a/internal/processing/media/getemoji.go +++ b/internal/processing/media/getemoji.go @@ -21,10 +21,10 @@ import ( "context" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // GetCustomEmojis returns a list of all useable local custom emojis stored on this instance. diff --git a/internal/processing/media/getfile.go b/internal/processing/media/getfile.go index 11d8f7eb5..2f46d6e0c 100644 --- a/internal/processing/media/getfile.go +++ b/internal/processing/media/getfile.go @@ -25,14 +25,14 @@ import ( "strings" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/regexes" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/uris" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // GetFile retrieves a file from storage and streams it back diff --git a/internal/processing/media/getfile_test.go b/internal/processing/media/getfile_test.go index 34f5d99a2..cde0864f8 100644 --- a/internal/processing/media/getfile_test.go +++ b/internal/processing/media/getfile_test.go @@ -23,12 +23,12 @@ import ( "path" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type GetFileTestSuite struct { diff --git a/internal/processing/media/getmedia.go b/internal/processing/media/getmedia.go index 8f5b9d740..5144bbd8e 100644 --- a/internal/processing/media/getmedia.go +++ b/internal/processing/media/getmedia.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func (p *Processor) Get(ctx context.Context, account *gtsmodel.Account, mediaAttachmentID string) (*apimodel.Attachment, gtserror.WithCode) { diff --git a/internal/processing/media/media.go b/internal/processing/media/media.go index 76ed68f5a..4967e4d11 100644 --- a/internal/processing/media/media.go +++ b/internal/processing/media/media.go @@ -18,12 +18,12 @@ package media import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/media/media_test.go b/internal/processing/media/media_test.go index 6d44321b7..b074ae768 100644 --- a/internal/processing/media/media_test.go +++ b/internal/processing/media/media_test.go @@ -18,19 +18,19 @@ package media_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + mediaprocessing "code.superseriousbusiness.org/gotosocial/internal/processing/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - mediaprocessing "github.com/superseriousbusiness/gotosocial/internal/processing/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type MediaStandardTestSuite struct { diff --git a/internal/processing/media/profile.go b/internal/processing/media/profile.go index 5c266e372..38c2893e1 100644 --- a/internal/processing/media/profile.go +++ b/internal/processing/media/profile.go @@ -21,9 +21,9 @@ import ( "context" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // DeleteAvatar deletes the account's avatar, if one exists, and returns the updated account. diff --git a/internal/processing/media/unattach.go b/internal/processing/media/unattach.go index ddf2dda20..8eec907fd 100644 --- a/internal/processing/media/unattach.go +++ b/internal/processing/media/unattach.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Unattach unattaches the media attachment with the given ID from any statuses it was attached to, making it available diff --git a/internal/processing/media/update.go b/internal/processing/media/update.go index 5afa5d63c..3acf238b0 100644 --- a/internal/processing/media/update.go +++ b/internal/processing/media/update.go @@ -22,13 +22,13 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/text" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/text" ) // Update updates a media attachment with the given id, using the provided form parameters. diff --git a/internal/processing/oauth.go b/internal/processing/oauth.go index 749716398..573c0d53a 100644 --- a/internal/processing/oauth.go +++ b/internal/processing/oauth.go @@ -21,8 +21,8 @@ import ( "context" "net/http" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "code.superseriousbusiness.org/oauth2/v4" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (p *Processor) OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) gtserror.WithCode { diff --git a/internal/processing/parsemention.go b/internal/processing/parsemention.go index 035f057b8..6566ecd1c 100644 --- a/internal/processing/parsemention.go +++ b/internal/processing/parsemention.go @@ -21,13 +21,13 @@ import ( "context" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // GetParseMentionFunc returns a new ParseMentionFunc using the provided state and federator. diff --git a/internal/processing/parsemention_test.go b/internal/processing/parsemention_test.go index f97133969..2c2cc3085 100644 --- a/internal/processing/parsemention_test.go +++ b/internal/processing/parsemention_test.go @@ -22,10 +22,10 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/processing" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/processing" ) type ParseMentionTestSuite struct { diff --git a/internal/processing/polls/expiry.go b/internal/processing/polls/expiry.go index d02a05f0d..5ce893111 100644 --- a/internal/processing/polls/expiry.go +++ b/internal/processing/polls/expiry.go @@ -21,12 +21,12 @@ import ( "context" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (p *Processor) ScheduleAll(ctx context.Context) error { diff --git a/internal/processing/polls/get.go b/internal/processing/polls/get.go index 42fecbd43..fa4e235f7 100644 --- a/internal/processing/polls/get.go +++ b/internal/processing/polls/get.go @@ -20,9 +20,9 @@ package polls import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func (p *Processor) PollGet(ctx context.Context, requester *gtsmodel.Account, pollID string) (*apimodel.Poll, gtserror.WithCode) { diff --git a/internal/processing/polls/poll.go b/internal/processing/polls/poll.go index fe8fc71c5..c51bb0e96 100644 --- a/internal/processing/polls/poll.go +++ b/internal/processing/polls/poll.go @@ -20,12 +20,12 @@ package polls import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/polls/poll_test.go b/internal/processing/polls/poll_test.go index bf6ae4aad..421f05361 100644 --- a/internal/processing/polls/poll_test.go +++ b/internal/processing/polls/poll_test.go @@ -23,17 +23,17 @@ import ( "net/http" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/processing/polls" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/processing/polls" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type PollTestSuite struct { diff --git a/internal/processing/polls/vote.go b/internal/processing/polls/vote.go index 6585793cd..14777d9df 100644 --- a/internal/processing/polls/vote.go +++ b/internal/processing/polls/vote.go @@ -21,13 +21,13 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) func (p *Processor) PollVote(ctx context.Context, requester *gtsmodel.Account, pollID string, choices []int) (*apimodel.Poll, gtserror.WithCode) { diff --git a/internal/processing/preferences.go b/internal/processing/preferences.go index fb445ec5b..ebcb0e6b6 100644 --- a/internal/processing/preferences.go +++ b/internal/processing/preferences.go @@ -20,9 +20,9 @@ package processing import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func (p *Processor) PreferencesGet(ctx context.Context, accountID string) (*apimodel.Preferences, gtserror.WithCode) { diff --git a/internal/processing/preferences_test.go b/internal/processing/preferences_test.go index be88b5edf..dc6a8d878 100644 --- a/internal/processing/preferences_test.go +++ b/internal/processing/preferences_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type PreferencesTestSuite struct { diff --git a/internal/processing/processor.go b/internal/processing/processor.go index 0324f49cf..63e996b38 100644 --- a/internal/processing/processor.go +++ b/internal/processing/processor.go @@ -18,42 +18,42 @@ package processing import ( - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - mm "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" - "github.com/superseriousbusiness/gotosocial/internal/processing/admin" - "github.com/superseriousbusiness/gotosocial/internal/processing/advancedmigrations" - "github.com/superseriousbusiness/gotosocial/internal/processing/application" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/processing/conversations" - "github.com/superseriousbusiness/gotosocial/internal/processing/fedi" - filtersv1 "github.com/superseriousbusiness/gotosocial/internal/processing/filters/v1" - filtersv2 "github.com/superseriousbusiness/gotosocial/internal/processing/filters/v2" - "github.com/superseriousbusiness/gotosocial/internal/processing/interactionrequests" - "github.com/superseriousbusiness/gotosocial/internal/processing/list" - "github.com/superseriousbusiness/gotosocial/internal/processing/markers" - "github.com/superseriousbusiness/gotosocial/internal/processing/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/polls" - "github.com/superseriousbusiness/gotosocial/internal/processing/push" - "github.com/superseriousbusiness/gotosocial/internal/processing/report" - "github.com/superseriousbusiness/gotosocial/internal/processing/search" - "github.com/superseriousbusiness/gotosocial/internal/processing/status" - "github.com/superseriousbusiness/gotosocial/internal/processing/stream" - "github.com/superseriousbusiness/gotosocial/internal/processing/tags" - "github.com/superseriousbusiness/gotosocial/internal/processing/timeline" - "github.com/superseriousbusiness/gotosocial/internal/processing/user" - "github.com/superseriousbusiness/gotosocial/internal/processing/workers" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/webpush" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + mm "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" + "code.superseriousbusiness.org/gotosocial/internal/processing/admin" + "code.superseriousbusiness.org/gotosocial/internal/processing/advancedmigrations" + "code.superseriousbusiness.org/gotosocial/internal/processing/application" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/processing/conversations" + "code.superseriousbusiness.org/gotosocial/internal/processing/fedi" + filtersv1 "code.superseriousbusiness.org/gotosocial/internal/processing/filters/v1" + filtersv2 "code.superseriousbusiness.org/gotosocial/internal/processing/filters/v2" + "code.superseriousbusiness.org/gotosocial/internal/processing/interactionrequests" + "code.superseriousbusiness.org/gotosocial/internal/processing/list" + "code.superseriousbusiness.org/gotosocial/internal/processing/markers" + "code.superseriousbusiness.org/gotosocial/internal/processing/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/polls" + "code.superseriousbusiness.org/gotosocial/internal/processing/push" + "code.superseriousbusiness.org/gotosocial/internal/processing/report" + "code.superseriousbusiness.org/gotosocial/internal/processing/search" + "code.superseriousbusiness.org/gotosocial/internal/processing/status" + "code.superseriousbusiness.org/gotosocial/internal/processing/stream" + "code.superseriousbusiness.org/gotosocial/internal/processing/tags" + "code.superseriousbusiness.org/gotosocial/internal/processing/timeline" + "code.superseriousbusiness.org/gotosocial/internal/processing/user" + "code.superseriousbusiness.org/gotosocial/internal/processing/workers" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/webpush" ) // Processor groups together processing functions and diff --git a/internal/processing/processor_test.go b/internal/processing/processor_test.go index 4b6406b03..f280d6884 100644 --- a/internal/processing/processor_test.go +++ b/internal/processing/processor_test.go @@ -20,26 +20,26 @@ package processing_test import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/admin" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ProcessingStandardTestSuite struct { diff --git a/internal/processing/push/create.go b/internal/processing/push/create.go index dc15ccf12..3beeab6cc 100644 --- a/internal/processing/push/create.go +++ b/internal/processing/push/create.go @@ -20,11 +20,11 @@ package push import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // CreateOrReplace creates a Web Push subscription for the given access token, diff --git a/internal/processing/push/delete.go b/internal/processing/push/delete.go index 6f5c61444..e5369f56a 100644 --- a/internal/processing/push/delete.go +++ b/internal/processing/push/delete.go @@ -20,7 +20,7 @@ package push import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // Delete deletes the Web Push subscription for the given access token, if there is one. diff --git a/internal/processing/push/get.go b/internal/processing/push/get.go index 542f08862..df0e80dc3 100644 --- a/internal/processing/push/get.go +++ b/internal/processing/push/get.go @@ -21,9 +21,9 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // Get returns the Web Push subscription for the given access token. diff --git a/internal/processing/push/push.go b/internal/processing/push/push.go index f46280386..24a2254ac 100644 --- a/internal/processing/push/push.go +++ b/internal/processing/push/push.go @@ -20,11 +20,11 @@ package push import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/push/update.go b/internal/processing/push/update.go index 94529455a..bbd9e3943 100644 --- a/internal/processing/push/update.go +++ b/internal/processing/push/update.go @@ -21,10 +21,10 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Update updates the Web Push subscription for the given access token. diff --git a/internal/processing/report/create.go b/internal/processing/report/create.go index dd31a8798..734670e17 100644 --- a/internal/processing/report/create.go +++ b/internal/processing/report/create.go @@ -22,14 +22,14 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // Create creates one user report / flag, using the provided form parameters. diff --git a/internal/processing/report/get.go b/internal/processing/report/get.go index 2e3c1b2dc..136f09470 100644 --- a/internal/processing/report/get.go +++ b/internal/processing/report/get.go @@ -24,12 +24,12 @@ import ( "net/url" "strconv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/paging" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/paging" ) // Get returns the user view of a moderation report, with the given id. diff --git a/internal/processing/report/report.go b/internal/processing/report/report.go index c871172bb..cdc2dc3e0 100644 --- a/internal/processing/report/report.go +++ b/internal/processing/report/report.go @@ -18,8 +18,8 @@ package report import ( - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/search/accounts.go b/internal/processing/search/accounts.go index 7201d0688..9345aaba6 100644 --- a/internal/processing/search/accounts.go +++ b/internal/processing/search/accounts.go @@ -22,14 +22,14 @@ import ( "errors" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-kv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // Accounts does a partial search for accounts that diff --git a/internal/processing/search/get.go b/internal/processing/search/get.go index 7a65bed1d..2051fb399 100644 --- a/internal/processing/search/get.go +++ b/internal/processing/search/get.go @@ -25,16 +25,16 @@ import ( "net/url" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-kv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/util" ) const ( diff --git a/internal/processing/search/lookup.go b/internal/processing/search/lookup.go index f5c131841..3250f9848 100644 --- a/internal/processing/search/lookup.go +++ b/internal/processing/search/lookup.go @@ -23,12 +23,12 @@ import ( "fmt" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-kv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // Lookup does a quick, non-resolving search for accounts that diff --git a/internal/processing/search/search.go b/internal/processing/search/search.go index 18008647c..0543b4db4 100644 --- a/internal/processing/search/search.go +++ b/internal/processing/search/search.go @@ -18,10 +18,10 @@ package search import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/search/util.go b/internal/processing/search/util.go index e2947ea16..5d8e34960 100644 --- a/internal/processing/search/util.go +++ b/internal/processing/search/util.go @@ -20,11 +20,11 @@ package search import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // return true if given queryType should include accounts. diff --git a/internal/processing/status/bookmark.go b/internal/processing/status/bookmark.go index ae61696a8..7996a9518 100644 --- a/internal/processing/status/bookmark.go +++ b/internal/processing/status/bookmark.go @@ -21,12 +21,12 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // BookmarkCreate adds a bookmark for the requestingAccount, targeting the given status (no-op if bookmark already exists). diff --git a/internal/processing/status/boost.go b/internal/processing/status/boost.go index 0e09a8e7b..c8c50d3ee 100644 --- a/internal/processing/status/boost.go +++ b/internal/processing/status/boost.go @@ -22,13 +22,13 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // BoostCreate processes the boost/reblog of target diff --git a/internal/processing/status/common.go b/internal/processing/status/common.go index 77058ed10..c764a64b4 100644 --- a/internal/processing/status/common.go +++ b/internal/processing/status/common.go @@ -23,16 +23,16 @@ import ( "fmt" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" - "github.com/superseriousbusiness/gotosocial/internal/validate" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/validate" ) // validateStatusContent will validate the common diff --git a/internal/processing/status/context.go b/internal/processing/status/context.go index 47806a64b..c18a4f7bd 100644 --- a/internal/processing/status/context.go +++ b/internal/processing/status/context.go @@ -23,11 +23,11 @@ import ( "slices" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // internalThreadContext is like diff --git a/internal/processing/status/context_test.go b/internal/processing/status/context_test.go index aba58e776..5d7e40b71 100644 --- a/internal/processing/status/context_test.go +++ b/internal/processing/status/context_test.go @@ -20,9 +20,9 @@ package status_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing/status" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing/status" ) type topoSortTestSuite struct { diff --git a/internal/processing/status/create.go b/internal/processing/status/create.go index 775ba78e2..8596f2f1a 100644 --- a/internal/processing/status/create.go +++ b/internal/processing/status/create.go @@ -22,19 +22,19 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Create processes the given form to create a new status, returning the api model representation of that status if it's OK. diff --git a/internal/processing/status/create_test.go b/internal/processing/status/create_test.go index 1199642b6..13e066387 100644 --- a/internal/processing/status/create_test.go +++ b/internal/processing/status/create_test.go @@ -21,12 +21,12 @@ import ( "context" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type StatusCreateTestSuite struct { diff --git a/internal/processing/status/delete.go b/internal/processing/status/delete.go index 8fec8fc5e..4a3c32f4a 100644 --- a/internal/processing/status/delete.go +++ b/internal/processing/status/delete.go @@ -22,11 +22,11 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // Delete processes the delete of a given status, returning the deleted status if the delete goes through. diff --git a/internal/processing/status/edit.go b/internal/processing/status/edit.go index a9323a72c..464ddde43 100644 --- a/internal/processing/status/edit.go +++ b/internal/processing/status/edit.go @@ -24,16 +24,16 @@ import ( "slices" "time" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" ) // Edit ... diff --git a/internal/processing/status/edit_test.go b/internal/processing/status/edit_test.go index e6673c3cc..6078a7d3e 100644 --- a/internal/processing/status/edit_test.go +++ b/internal/processing/status/edit_test.go @@ -23,12 +23,12 @@ import ( "testing" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" ) type StatusEditTestSuite struct { diff --git a/internal/processing/status/fave.go b/internal/processing/status/fave.go index defc59af0..95eb8bff2 100644 --- a/internal/processing/status/fave.go +++ b/internal/processing/status/fave.go @@ -22,16 +22,16 @@ import ( "errors" "fmt" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (p *Processor) getFaveableStatus( diff --git a/internal/processing/status/get.go b/internal/processing/status/get.go index e97d9e1b2..edcaa07fa 100644 --- a/internal/processing/status/get.go +++ b/internal/processing/status/get.go @@ -21,10 +21,10 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Get gets the given status, taking account of privacy settings and blocks etc. diff --git a/internal/processing/status/mute.go b/internal/processing/status/mute.go index 8888b59d4..638b7cfb2 100644 --- a/internal/processing/status/mute.go +++ b/internal/processing/status/mute.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // getMuteableStatus fetches targetStatusID status and diff --git a/internal/processing/status/pin.go b/internal/processing/status/pin.go index 3f8435e52..dad11d6b2 100644 --- a/internal/processing/status/pin.go +++ b/internal/processing/status/pin.go @@ -23,9 +23,9 @@ import ( "fmt" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) const allowedPinnedCount = 10 diff --git a/internal/processing/status/status.go b/internal/processing/status/status.go index 26dfd0d7a..b911c03d7 100644 --- a/internal/processing/status/status.go +++ b/internal/processing/status/status.go @@ -18,16 +18,16 @@ package status import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/processing/interactionrequests" - "github.com/superseriousbusiness/gotosocial/internal/processing/polls" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/processing/interactionrequests" + "code.superseriousbusiness.org/gotosocial/internal/processing/polls" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/status/status_test.go b/internal/processing/status/status_test.go index c163f95a7..075a22397 100644 --- a/internal/processing/status/status_test.go +++ b/internal/processing/status/status_test.go @@ -18,24 +18,24 @@ package status_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/processing/interactionrequests" + "code.superseriousbusiness.org/gotosocial/internal/processing/polls" + "code.superseriousbusiness.org/gotosocial/internal/processing/status" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/processing/interactionrequests" - "github.com/superseriousbusiness/gotosocial/internal/processing/polls" - "github.com/superseriousbusiness/gotosocial/internal/processing/status" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StatusStandardTestSuite struct { diff --git a/internal/processing/status/util.go b/internal/processing/status/util.go index 99cff7c56..fcaf37d82 100644 --- a/internal/processing/status/util.go +++ b/internal/processing/status/util.go @@ -21,10 +21,10 @@ import ( "context" "errors" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (p *Processor) implicitlyAccept( diff --git a/internal/processing/stream/authorize.go b/internal/processing/stream/authorize.go index cedd21e0b..44463d5c6 100644 --- a/internal/processing/stream/authorize.go +++ b/internal/processing/stream/authorize.go @@ -24,10 +24,10 @@ import ( "slices" "strings" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Authorize returns an oauth2 token info in response to an access token query from the streaming API diff --git a/internal/processing/stream/authorize_test.go b/internal/processing/stream/authorize_test.go index cb91d5b30..ee0e528af 100644 --- a/internal/processing/stream/authorize_test.go +++ b/internal/processing/stream/authorize_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/db" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" ) type AuthorizeTestSuite struct { diff --git a/internal/processing/stream/conversation.go b/internal/processing/stream/conversation.go index a0236c459..b5394ee17 100644 --- a/internal/processing/stream/conversation.go +++ b/internal/processing/stream/conversation.go @@ -21,10 +21,10 @@ import ( "context" "encoding/json" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/stream" "codeberg.org/gruf/go-byteutil" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/stream" ) // Conversation streams the given conversation to any open, appropriate streams belonging to the given account. diff --git a/internal/processing/stream/delete.go b/internal/processing/stream/delete.go index 1c61b98d3..fc763f910 100644 --- a/internal/processing/stream/delete.go +++ b/internal/processing/stream/delete.go @@ -20,7 +20,7 @@ package stream import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/stream" ) // Delete streams the delete of the given statusID to *ALL* open streams. diff --git a/internal/processing/stream/filterschanged.go b/internal/processing/stream/filterschanged.go index b98506b9f..dff22c64b 100644 --- a/internal/processing/stream/filterschanged.go +++ b/internal/processing/stream/filterschanged.go @@ -20,8 +20,8 @@ package stream import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/stream" ) // FiltersChanged streams a filters changed event to any open, appropriate streams belonging to the given account. diff --git a/internal/processing/stream/notification.go b/internal/processing/stream/notification.go index a16da11e6..ef3acdc79 100644 --- a/internal/processing/stream/notification.go +++ b/internal/processing/stream/notification.go @@ -21,11 +21,11 @@ import ( "context" "encoding/json" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/stream" "codeberg.org/gruf/go-byteutil" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/stream" ) // Notify streams the given notification to any open, appropriate streams belonging to the given account. diff --git a/internal/processing/stream/notification_test.go b/internal/processing/stream/notification_test.go index 2ede28079..e0874e713 100644 --- a/internal/processing/stream/notification_test.go +++ b/internal/processing/stream/notification_test.go @@ -23,9 +23,9 @@ import ( "encoding/json" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" ) type NotificationTestSuite struct { diff --git a/internal/processing/stream/open.go b/internal/processing/stream/open.go index 2f2bbd4a3..bafa277a5 100644 --- a/internal/processing/stream/open.go +++ b/internal/processing/stream/open.go @@ -20,11 +20,11 @@ package stream import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/stream" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/stream" ) // Open returns a new Stream for the given account, which will contain a channel for passing messages back to the caller. diff --git a/internal/processing/stream/statusupdate.go b/internal/processing/stream/statusupdate.go index bd4658873..2f1ca598b 100644 --- a/internal/processing/stream/statusupdate.go +++ b/internal/processing/stream/statusupdate.go @@ -21,11 +21,11 @@ import ( "context" "encoding/json" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/stream" "codeberg.org/gruf/go-byteutil" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/stream" ) // StatusUpdate streams the given edited status to any open, appropriate streams belonging to the given account. diff --git a/internal/processing/stream/statusupdate_test.go b/internal/processing/stream/statusupdate_test.go index 1f0bcd142..0045cceed 100644 --- a/internal/processing/stream/statusupdate_test.go +++ b/internal/processing/stream/statusupdate_test.go @@ -23,10 +23,10 @@ import ( "encoding/json" "testing" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" "github.com/stretchr/testify/suite" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" ) type StatusUpdateTestSuite struct { diff --git a/internal/processing/stream/stream.go b/internal/processing/stream/stream.go index 0b7285b58..19a82a8a2 100644 --- a/internal/processing/stream/stream.go +++ b/internal/processing/stream/stream.go @@ -18,9 +18,9 @@ package stream import ( - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/stream" ) type Processor struct { diff --git a/internal/processing/stream/stream_test.go b/internal/processing/stream/stream_test.go index 3e5bad2b1..47c85af1f 100644 --- a/internal/processing/stream/stream_test.go +++ b/internal/processing/stream/stream_test.go @@ -18,14 +18,14 @@ package stream_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing/stream" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing/stream" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type StreamTestSuite struct { diff --git a/internal/processing/stream/update.go b/internal/processing/stream/update.go index a84763d51..f2b064c28 100644 --- a/internal/processing/stream/update.go +++ b/internal/processing/stream/update.go @@ -21,11 +21,11 @@ import ( "context" "encoding/json" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/stream" "codeberg.org/gruf/go-byteutil" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/stream" ) // Update streams the given update to any open, appropriate streams belonging to the given account. diff --git a/internal/processing/tags/follow.go b/internal/processing/tags/follow.go index f840f4bb7..b0ee0a995 100644 --- a/internal/processing/tags/follow.go +++ b/internal/processing/tags/follow.go @@ -21,11 +21,11 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" ) // Follow follows the tag with the given name as the given account. diff --git a/internal/processing/tags/followed.go b/internal/processing/tags/followed.go index b9c450653..eaecc0983 100644 --- a/internal/processing/tags/followed.go +++ b/internal/processing/tags/followed.go @@ -21,12 +21,12 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Followed gets the user's list of followed tags. diff --git a/internal/processing/tags/followedtags.go b/internal/processing/tags/followedtags.go index c9093a6c6..1619e433a 100644 --- a/internal/processing/tags/followedtags.go +++ b/internal/processing/tags/followedtags.go @@ -20,11 +20,11 @@ package tags import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/tags/get.go b/internal/processing/tags/get.go index c8fa66137..c7e343150 100644 --- a/internal/processing/tags/get.go +++ b/internal/processing/tags/get.go @@ -21,10 +21,10 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Get gets the tag with the given name, including whether it's followed by the given account. diff --git a/internal/processing/tags/unfollow.go b/internal/processing/tags/unfollow.go index fb844cd9f..8f303466c 100644 --- a/internal/processing/tags/unfollow.go +++ b/internal/processing/tags/unfollow.go @@ -21,10 +21,10 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Unfollow unfollows the tag with the given name as the given account. diff --git a/internal/processing/timeline/faved.go b/internal/processing/timeline/faved.go index 6e915f4ef..63cf1ad59 100644 --- a/internal/processing/timeline/faved.go +++ b/internal/processing/timeline/faved.go @@ -22,13 +22,13 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (p *Processor) FavedTimelineGet(ctx context.Context, authed *apiutil.Auth, maxID string, minID string, limit int) (*apimodel.PageableResponse, gtserror.WithCode) { diff --git a/internal/processing/timeline/home.go b/internal/processing/timeline/home.go index 38cf38405..286581724 100644 --- a/internal/processing/timeline/home.go +++ b/internal/processing/timeline/home.go @@ -21,19 +21,19 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // HomeTimelineGrab returns a function that satisfies GrabFunction for home timelines. diff --git a/internal/processing/timeline/home_test.go b/internal/processing/timeline/home_test.go index ea56418f6..7ee803161 100644 --- a/internal/processing/timeline/home_test.go +++ b/internal/processing/timeline/home_test.go @@ -21,16 +21,16 @@ import ( "context" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + tlprocessor "code.superseriousbusiness.org/gotosocial/internal/processing/timeline" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - tlprocessor "github.com/superseriousbusiness/gotosocial/internal/processing/timeline" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type HomeTestSuite struct { diff --git a/internal/processing/timeline/list.go b/internal/processing/timeline/list.go index 147f87ab4..07cefc35e 100644 --- a/internal/processing/timeline/list.go +++ b/internal/processing/timeline/list.go @@ -21,19 +21,19 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // ListTimelineGrab returns a function that satisfies GrabFunction for list timelines. diff --git a/internal/processing/timeline/notification.go b/internal/processing/timeline/notification.go index 04a898198..addff5ef4 100644 --- a/internal/processing/timeline/notification.go +++ b/internal/processing/timeline/notification.go @@ -23,17 +23,17 @@ import ( "fmt" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/paging" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/paging" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (p *Processor) NotificationsGet( diff --git a/internal/processing/timeline/public.go b/internal/processing/timeline/public.go index dc00688e3..31cca4403 100644 --- a/internal/processing/timeline/public.go +++ b/internal/processing/timeline/public.go @@ -22,15 +22,15 @@ import ( "errors" "strconv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (p *Processor) PublicTimelineGet( diff --git a/internal/processing/timeline/public_test.go b/internal/processing/timeline/public_test.go index ab8e33429..6e1b5eeb2 100644 --- a/internal/processing/timeline/public_test.go +++ b/internal/processing/timeline/public_test.go @@ -21,11 +21,11 @@ import ( "context" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type PublicTestSuite struct { diff --git a/internal/processing/timeline/tag.go b/internal/processing/timeline/tag.go index 811d0bb33..8aa3957ec 100644 --- a/internal/processing/timeline/tag.go +++ b/internal/processing/timeline/tag.go @@ -22,16 +22,16 @@ import ( "errors" "fmt" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // TagTimelineGet gets a pageable timeline for the given diff --git a/internal/processing/timeline/timeline.go b/internal/processing/timeline/timeline.go index 5966fe864..90a8ab15a 100644 --- a/internal/processing/timeline/timeline.go +++ b/internal/processing/timeline/timeline.go @@ -18,9 +18,9 @@ package timeline import ( - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/timeline/timeline_test.go b/internal/processing/timeline/timeline_test.go index 8ff6be5d1..5afbb2353 100644 --- a/internal/processing/timeline/timeline_test.go +++ b/internal/processing/timeline/timeline_test.go @@ -18,15 +18,15 @@ package timeline_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing/timeline" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing/timeline" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TimelineStandardTestSuite struct { diff --git a/internal/processing/user/create.go b/internal/processing/user/create.go index 23fef0004..0b2451b4c 100644 --- a/internal/processing/user/create.go +++ b/internal/processing/user/create.go @@ -22,14 +22,14 @@ import ( "fmt" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/text" "code.superseriousbusiness.org/oauth2/v4" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/text" ) // Create processes the given form for creating a new user+account. diff --git a/internal/processing/user/create_test.go b/internal/processing/user/create_test.go index 9781a4214..d193ab883 100644 --- a/internal/processing/user/create_test.go +++ b/internal/processing/user/create_test.go @@ -22,8 +22,8 @@ import ( "net" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" ) type CreateTestSuite struct { diff --git a/internal/processing/user/delete.go b/internal/processing/user/delete.go index 9783010ef..8ab70b278 100644 --- a/internal/processing/user/delete.go +++ b/internal/processing/user/delete.go @@ -20,10 +20,10 @@ package user import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // DeleteSelf is like Account.Delete, but specifically diff --git a/internal/processing/user/email.go b/internal/processing/user/email.go index 417c7c341..7339b282d 100644 --- a/internal/processing/user/email.go +++ b/internal/processing/user/email.go @@ -23,14 +23,14 @@ import ( "fmt" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/validate" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/validate" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/processing/user/get.go b/internal/processing/user/get.go index 9b19189a8..cbc8c6631 100644 --- a/internal/processing/user/get.go +++ b/internal/processing/user/get.go @@ -20,9 +20,9 @@ package user import ( "context" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // Get returns the API model of the given user. diff --git a/internal/processing/user/password.go b/internal/processing/user/password.go index ead79e209..bcde46b3f 100644 --- a/internal/processing/user/password.go +++ b/internal/processing/user/password.go @@ -20,10 +20,10 @@ package user import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/validate" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/validate" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/processing/user/password_test.go b/internal/processing/user/password_test.go index 7d45341c0..5f65a9e1a 100644 --- a/internal/processing/user/password_test.go +++ b/internal/processing/user/password_test.go @@ -22,9 +22,9 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "codeberg.org/gruf/go-byteutil" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/processing/user/twofactor.go b/internal/processing/user/twofactor.go index 02365f3f1..ec0a3edc8 100644 --- a/internal/processing/user/twofactor.go +++ b/internal/processing/user/twofactor.go @@ -30,14 +30,14 @@ import ( "strings" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-byteutil" "github.com/pquerna/otp" "github.com/pquerna/otp/totp" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" "golang.org/x/crypto/bcrypt" ) diff --git a/internal/processing/user/user.go b/internal/processing/user/user.go index 5efb89061..412935fba 100644 --- a/internal/processing/user/user.go +++ b/internal/processing/user/user.go @@ -18,10 +18,10 @@ package user import ( - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Processor struct { diff --git a/internal/processing/user/user_test.go b/internal/processing/user/user_test.go index 46fc73206..9db26a725 100644 --- a/internal/processing/user/user_test.go +++ b/internal/processing/user/user_test.go @@ -18,16 +18,16 @@ package user_test import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing/user" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing/user" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type UserStandardTestSuite struct { diff --git a/internal/processing/workers/federate.go b/internal/processing/workers/federate.go index 909cb4d22..3cc3d130c 100644 --- a/internal/processing/workers/federate.go +++ b/internal/processing/workers/federate.go @@ -23,13 +23,13 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // federate wraps functions for federating diff --git a/internal/processing/workers/fromclientapi.go b/internal/processing/workers/fromclientapi.go index 28a2b37b9..a63a6e5d4 100644 --- a/internal/processing/workers/fromclientapi.go +++ b/internal/processing/workers/fromclientapi.go @@ -22,21 +22,21 @@ import ( "errors" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // clientAPI wraps processing functions diff --git a/internal/processing/workers/fromclientapi_test.go b/internal/processing/workers/fromclientapi_test.go index 1d70eb96c..552db75da 100644 --- a/internal/processing/workers/fromclientapi_test.go +++ b/internal/processing/workers/fromclientapi_test.go @@ -24,19 +24,19 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FromClientAPITestSuite struct { diff --git a/internal/processing/workers/fromfediapi.go b/internal/processing/workers/fromfediapi.go index 2e513449b..5d5e842d0 100644 --- a/internal/processing/workers/fromfediapi.go +++ b/internal/processing/workers/fromfediapi.go @@ -23,22 +23,22 @@ import ( "net/url" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/uris" "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // fediAPI wraps processing functions diff --git a/internal/processing/workers/fromfediapi_move.go b/internal/processing/workers/fromfediapi_move.go index d2f06de5d..e7c75950a 100644 --- a/internal/processing/workers/fromfediapi_move.go +++ b/internal/processing/workers/fromfediapi_move.go @@ -22,14 +22,14 @@ import ( "errors" "time" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/dereferencing" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" ) // ShouldProcessMove checks whether we should attempt diff --git a/internal/processing/workers/fromfediapi_test.go b/internal/processing/workers/fromfediapi_test.go index f3e719890..9fe5cb0f4 100644 --- a/internal/processing/workers/fromfediapi_test.go +++ b/internal/processing/workers/fromfediapi_test.go @@ -26,16 +26,16 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type FromFediAPITestSuite struct { diff --git a/internal/processing/workers/surface.go b/internal/processing/workers/surface.go index 4dc58c433..5604ad71d 100644 --- a/internal/processing/workers/surface.go +++ b/internal/processing/workers/surface.go @@ -18,13 +18,13 @@ package workers import ( - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/processing/conversations" - "github.com/superseriousbusiness/gotosocial/internal/processing/stream" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/webpush" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/processing/conversations" + "code.superseriousbusiness.org/gotosocial/internal/processing/stream" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/webpush" ) // Surface wraps functions for 'surfacing' the result diff --git a/internal/processing/workers/surfaceemail.go b/internal/processing/workers/surfaceemail.go index 56f33eaf3..219f395ad 100644 --- a/internal/processing/workers/surfaceemail.go +++ b/internal/processing/workers/surfaceemail.go @@ -22,13 +22,13 @@ import ( "errors" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/uris" "github.com/google/uuid" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/uris" ) // emailUserReportClosed emails the user who created the diff --git a/internal/processing/workers/surfacenotify.go b/internal/processing/workers/surfacenotify.go index fdbd5e3c1..6dddae359 100644 --- a/internal/processing/workers/surfacenotify.go +++ b/internal/processing/workers/surfacenotify.go @@ -22,14 +22,14 @@ import ( "errors" "strings" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // notifyPendingReply notifies the account replied-to diff --git a/internal/processing/workers/surfacenotify_test.go b/internal/processing/workers/surfacenotify_test.go index 6444314e2..7acea2436 100644 --- a/internal/processing/workers/surfacenotify_test.go +++ b/internal/processing/workers/surfacenotify_test.go @@ -23,12 +23,12 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing/workers" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing/workers" - "github.com/superseriousbusiness/gotosocial/testrig" ) type SurfaceNotifyTestSuite struct { diff --git a/internal/processing/workers/surfacetimeline.go b/internal/processing/workers/surfacetimeline.go index b071bd72e..f7e61b2d8 100644 --- a/internal/processing/workers/surfacetimeline.go +++ b/internal/processing/workers/surfacetimeline.go @@ -21,15 +21,15 @@ import ( "context" "errors" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/util" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // timelineAndNotifyStatus inserts the given status into the HOME diff --git a/internal/processing/workers/util.go b/internal/processing/workers/util.go index b358dc951..60cbdad9e 100644 --- a/internal/processing/workers/util.go +++ b/internal/processing/workers/util.go @@ -21,17 +21,17 @@ import ( "context" "errors" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" - "github.com/superseriousbusiness/gotosocial/internal/processing/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" + "code.superseriousbusiness.org/gotosocial/internal/processing/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // util provides util functions used by both diff --git a/internal/processing/workers/workers.go b/internal/processing/workers/workers.go index 9f37f554e..c5b5f6ce2 100644 --- a/internal/processing/workers/workers.go +++ b/internal/processing/workers/workers.go @@ -18,18 +18,18 @@ package workers import ( - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/processing/account" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/processing/conversations" - "github.com/superseriousbusiness/gotosocial/internal/processing/media" - "github.com/superseriousbusiness/gotosocial/internal/processing/stream" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/webpush" - "github.com/superseriousbusiness/gotosocial/internal/workers" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/processing/account" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/processing/conversations" + "code.superseriousbusiness.org/gotosocial/internal/processing/media" + "code.superseriousbusiness.org/gotosocial/internal/processing/stream" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/webpush" + "code.superseriousbusiness.org/gotosocial/internal/workers" ) type Processor struct { diff --git a/internal/processing/workers/workers_test.go b/internal/processing/workers/workers_test.go index d069f0b89..ddd5bd0e4 100644 --- a/internal/processing/workers/workers_test.go +++ b/internal/processing/workers/workers_test.go @@ -20,12 +20,12 @@ package workers_test import ( "context" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/stream" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/stream" - "github.com/superseriousbusiness/gotosocial/testrig" ) const ( diff --git a/internal/router/router.go b/internal/router/router.go index c2bf18b4f..45419807d 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -25,12 +25,12 @@ import ( "net/http" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-bytesize" "codeberg.org/gruf/go-debug" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" "golang.org/x/crypto/acme/autocert" ) diff --git a/internal/router/template.go b/internal/router/template.go index 51c0c4960..a2cb1daf5 100644 --- a/internal/router/template.go +++ b/internal/router/template.go @@ -28,15 +28,15 @@ import ( "strings" "unsafe" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/render" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/regexes" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // LoadTemplates loads templates found at `web-template-base-dir` diff --git a/internal/state/state.go b/internal/state/state.go index 8aefa658a..5af97a716 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -18,13 +18,13 @@ package state import ( + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/workers" "codeberg.org/gruf/go-mutexes" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/workers" ) // State provides a means of dependency injection and sharing of resources diff --git a/internal/storage/storage.go b/internal/storage/storage.go index dcef9cde4..3e5a69734 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -28,6 +28,9 @@ import ( "path" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-bytesize" "codeberg.org/gruf/go-cache/v3/ttl" "codeberg.org/gruf/go-storage" @@ -35,9 +38,6 @@ import ( "codeberg.org/gruf/go-storage/s3" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) const ( diff --git a/internal/subscriptions/domainperms.go b/internal/subscriptions/domainperms.go index 8da9064f6..1572ffb19 100644 --- a/internal/subscriptions/domainperms.go +++ b/internal/subscriptions/domainperms.go @@ -32,16 +32,16 @@ import ( "codeberg.org/gruf/go-kv" - "github.com/superseriousbusiness/gotosocial/internal/admin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/admin" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // ScheduleJobs schedules domain permission subscription diff --git a/internal/subscriptions/subscriptions.go b/internal/subscriptions/subscriptions.go index 3826cf185..a3794796a 100644 --- a/internal/subscriptions/subscriptions.go +++ b/internal/subscriptions/subscriptions.go @@ -18,9 +18,9 @@ package subscriptions import ( - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) type Subscriptions struct { diff --git a/internal/subscriptions/subscriptions_test.go b/internal/subscriptions/subscriptions_test.go index 4441d8c15..b334207e4 100644 --- a/internal/subscriptions/subscriptions_test.go +++ b/internal/subscriptions/subscriptions_test.go @@ -23,13 +23,13 @@ import ( "testing" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) const ( diff --git a/internal/text/emojify.go b/internal/text/emojify.go index 961ce8771..42b45b7e1 100644 --- a/internal/text/emojify.go +++ b/internal/text/emojify.go @@ -22,8 +22,8 @@ import ( "html" "html/template" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/regexes" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/regexes" ) // EmojifyWeb replaces emoji shortcodes like `:example:` in the given HTML diff --git a/internal/text/formatter.go b/internal/text/formatter.go index 8f7e6e1f6..5af6738fb 100644 --- a/internal/text/formatter.go +++ b/internal/text/formatter.go @@ -20,8 +20,8 @@ package text import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) // FormatFunc is fulfilled by FromPlain, diff --git a/internal/text/formatter_test.go b/internal/text/formatter_test.go index a078111c1..2951ad0d2 100644 --- a/internal/text/formatter_test.go +++ b/internal/text/formatter_test.go @@ -20,13 +20,13 @@ package text_test import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TextStandardTestSuite struct { diff --git a/internal/text/goldmark_custom_renderer.go b/internal/text/goldmark_custom_renderer.go index 0b31d900b..9fed2c54d 100644 --- a/internal/text/goldmark_custom_renderer.go +++ b/internal/text/goldmark_custom_renderer.go @@ -22,13 +22,13 @@ import ( "errors" "strings" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" "github.com/yuin/goldmark" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/parser" diff --git a/internal/text/goldmark_parsers.go b/internal/text/goldmark_parsers.go index e2c87e057..095f1efb8 100644 --- a/internal/text/goldmark_parsers.go +++ b/internal/text/goldmark_parsers.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - "github.com/superseriousbusiness/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/regexes" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/parser" "github.com/yuin/goldmark/text" diff --git a/internal/text/markdown.go b/internal/text/markdown.go index 163996d77..a26182598 100644 --- a/internal/text/markdown.go +++ b/internal/text/markdown.go @@ -23,10 +23,10 @@ import ( "regexp" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/regexes" "codeberg.org/gruf/go-byteutil" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/regexes" "github.com/yuin/goldmark" "github.com/yuin/goldmark/extension" "github.com/yuin/goldmark/renderer" diff --git a/internal/text/minify.go b/internal/text/minify.go index da61bdcf9..3903b71e5 100644 --- a/internal/text/minify.go +++ b/internal/text/minify.go @@ -18,7 +18,7 @@ package text import ( - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/tdewolff/minify/v2" "github.com/tdewolff/minify/v2/html" ) diff --git a/internal/text/plain.go b/internal/text/plain.go index 17e2800ec..232a1b338 100644 --- a/internal/text/plain.go +++ b/internal/text/plain.go @@ -23,11 +23,11 @@ import ( gohtml "html" "strings" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/regexes" "codeberg.org/gruf/go-byteutil" "github.com/k3a/html2text" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/regexes" "github.com/yuin/goldmark" "github.com/yuin/goldmark/extension" "github.com/yuin/goldmark/parser" diff --git a/internal/text/plain_test.go b/internal/text/plain_test.go index cb8f4677e..2ac7ae30b 100644 --- a/internal/text/plain_test.go +++ b/internal/text/plain_test.go @@ -20,8 +20,8 @@ package text_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/text" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/text" ) const ( diff --git a/internal/text/sanitize_test.go b/internal/text/sanitize_test.go index 773713353..f2f668326 100644 --- a/internal/text/sanitize_test.go +++ b/internal/text/sanitize_test.go @@ -20,8 +20,8 @@ package text_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/text" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/text" ) const ( diff --git a/internal/text/substring_test.go b/internal/text/substring_test.go index f85688218..4dbdb8cdd 100644 --- a/internal/text/substring_test.go +++ b/internal/text/substring_test.go @@ -20,8 +20,8 @@ package text_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/text" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/text" ) type SubstringTestSuite struct { diff --git a/internal/trans/decoders.go b/internal/trans/decoders.go index 6187e43fa..ae374fd9c 100644 --- a/internal/trans/decoders.go +++ b/internal/trans/decoders.go @@ -24,8 +24,8 @@ import ( "fmt" "time" + transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model" "github.com/mitchellh/mapstructure" - transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model" ) func newDecoder(target interface{}) (*mapstructure.Decoder, error) { diff --git a/internal/trans/encoders.go b/internal/trans/encoders.go index 3d5688aad..44a655002 100644 --- a/internal/trans/encoders.go +++ b/internal/trans/encoders.go @@ -26,7 +26,7 @@ import ( "fmt" "os" - transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model" + transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model" ) // accountEncode handles special fields like private + public keys on accounts diff --git a/internal/trans/export.go b/internal/trans/export.go index f242c9b94..1e399116a 100644 --- a/internal/trans/export.go +++ b/internal/trans/export.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/superseriousbusiness/gotosocial/internal/db" - transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model" + "code.superseriousbusiness.org/gotosocial/internal/db" + transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model" ) func (e *exporter) exportAccounts(ctx context.Context, where []db.Where, file *os.File) ([]*transmodel.Account, error) { diff --git a/internal/trans/exporter.go b/internal/trans/exporter.go index 54ed3cb37..09a502f08 100644 --- a/internal/trans/exporter.go +++ b/internal/trans/exporter.go @@ -20,7 +20,7 @@ package trans import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" ) // Exporter wraps functionality for exporting entries from the database to a file. diff --git a/internal/trans/exportminimal.go b/internal/trans/exportminimal.go index fea7d5af7..d57a51e69 100644 --- a/internal/trans/exportminimal.go +++ b/internal/trans/exportminimal.go @@ -23,7 +23,7 @@ import ( "fmt" "os" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" ) func (e *exporter) ExportMinimal(ctx context.Context, path string) error { diff --git a/internal/trans/exportminimal_test.go b/internal/trans/exportminimal_test.go index bacf5a47b..a5183b051 100644 --- a/internal/trans/exportminimal_test.go +++ b/internal/trans/exportminimal_test.go @@ -23,9 +23,9 @@ import ( "os" "testing" + "code.superseriousbusiness.org/gotosocial/internal/trans" "github.com/google/uuid" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/trans" ) type ExportMinimalTestSuite struct { diff --git a/internal/trans/import.go b/internal/trans/import.go index c77b439f5..b195c14fc 100644 --- a/internal/trans/import.go +++ b/internal/trans/import.go @@ -25,9 +25,9 @@ import ( "io" "os" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" - transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" + transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model" ) func (i *importer) Import(ctx context.Context, path string) error { diff --git a/internal/trans/import_test.go b/internal/trans/import_test.go index 12094f27e..1147bfa12 100644 --- a/internal/trans/import_test.go +++ b/internal/trans/import_test.go @@ -23,12 +23,12 @@ import ( "os" "testing" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/trans" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/google/uuid" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/trans" - "github.com/superseriousbusiness/gotosocial/testrig" ) type ImportMinimalTestSuite struct { diff --git a/internal/trans/importer.go b/internal/trans/importer.go index ad5bb2763..e8ef0aafb 100644 --- a/internal/trans/importer.go +++ b/internal/trans/importer.go @@ -20,7 +20,7 @@ package trans import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db" ) // Importer wraps functionality for importing entries from a file into the database. diff --git a/internal/trans/trans_test.go b/internal/trans/trans_test.go index 1a413e6b1..55c6f1bf8 100644 --- a/internal/trans/trans_test.go +++ b/internal/trans/trans_test.go @@ -18,11 +18,11 @@ package trans_test import ( + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TransTestSuite struct { diff --git a/internal/transport/controller.go b/internal/transport/controller.go index 1010802c1..7229c216d 100644 --- a/internal/transport/controller.go +++ b/internal/transport/controller.go @@ -30,13 +30,13 @@ import ( "net/url" "code.superseriousbusiness.org/activity/pub" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/federation/federatingdb" + "code.superseriousbusiness.org/gotosocial/internal/state" "codeberg.org/gruf/go-byteutil" "codeberg.org/gruf/go-cache/v3" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/federation/federatingdb" - "github.com/superseriousbusiness/gotosocial/internal/state" ) // Controller generates transports for use in making federation requests to other servers. diff --git a/internal/transport/deliver.go b/internal/transport/deliver.go index e8017b2a6..99879bcce 100644 --- a/internal/transport/deliver.go +++ b/internal/transport/deliver.go @@ -25,12 +25,12 @@ import ( "net/http" "net/url" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" ) func (t *transport) BatchDeliver(ctx context.Context, obj map[string]interface{}, recipients []*url.URL) error { diff --git a/internal/transport/delivery/delivery.go b/internal/transport/delivery/delivery.go index e11eea83c..25bc31fba 100644 --- a/internal/transport/delivery/delivery.go +++ b/internal/transport/delivery/delivery.go @@ -24,7 +24,7 @@ import ( "net/http" "time" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" ) // Delivery wraps an httpclient.Request{} diff --git a/internal/transport/delivery/delivery_test.go b/internal/transport/delivery/delivery_test.go index 81f32d5f8..9c0260d3d 100644 --- a/internal/transport/delivery/delivery_test.go +++ b/internal/transport/delivery/delivery_test.go @@ -24,9 +24,9 @@ import ( "net/http" "testing" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" "github.com/stretchr/testify/assert" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" ) var deliveryCases = []struct { diff --git a/internal/transport/delivery/worker.go b/internal/transport/delivery/worker.go index d6d253769..17dd8dffe 100644 --- a/internal/transport/delivery/worker.go +++ b/internal/transport/delivery/worker.go @@ -23,13 +23,13 @@ import ( "slices" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/queue" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-runners" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/queue" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // WorkerPool wraps multiple Worker{}s in diff --git a/internal/transport/delivery/worker_test.go b/internal/transport/delivery/worker_test.go index 72f485e68..42b7dc5c2 100644 --- a/internal/transport/delivery/worker_test.go +++ b/internal/transport/delivery/worker_test.go @@ -29,9 +29,9 @@ import ( "strings" "testing" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/queue" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/queue" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" ) func TestDeliveryWorkerPool(t *testing.T) { diff --git a/internal/transport/derefdomainpermlist.go b/internal/transport/derefdomainpermlist.go index ba61c8b39..30cbf9425 100644 --- a/internal/transport/derefdomainpermlist.go +++ b/internal/transport/derefdomainpermlist.go @@ -23,9 +23,9 @@ import ( "net/http" "time" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" ) type DereferenceDomainPermissionsResp struct { diff --git a/internal/transport/dereference.go b/internal/transport/dereference.go index 8cc1f2103..85a19efea 100644 --- a/internal/transport/dereference.go +++ b/internal/transport/dereference.go @@ -22,10 +22,10 @@ import ( "net/http" "net/url" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/uris" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) func (t *transport) Dereference(ctx context.Context, iri *url.URL) (*http.Response, error) { diff --git a/internal/transport/derefinstance.go b/internal/transport/derefinstance.go index e7971093d..4c21355d6 100644 --- a/internal/transport/derefinstance.go +++ b/internal/transport/derefinstance.go @@ -28,14 +28,14 @@ import ( "slices" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/validate" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/temoto/robotstxt" ) diff --git a/internal/transport/derefmedia.go b/internal/transport/derefmedia.go index 3a05fcbd6..b8928be11 100644 --- a/internal/transport/derefmedia.go +++ b/internal/transport/derefmedia.go @@ -23,9 +23,9 @@ import ( "net/http" "net/url" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "codeberg.org/gruf/go-bytesize" "codeberg.org/gruf/go-iotools" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (t *transport) DereferenceMedia(ctx context.Context, iri *url.URL, maxsz int64) (io.ReadCloser, error) { diff --git a/internal/transport/derefrobots.go b/internal/transport/derefrobots.go index d6c4f3058..14652a736 100644 --- a/internal/transport/derefrobots.go +++ b/internal/transport/derefrobots.go @@ -22,10 +22,10 @@ import ( "net/http" "net/url" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "codeberg.org/gruf/go-bytesize" "codeberg.org/gruf/go-iotools" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/temoto/robotstxt" ) diff --git a/internal/transport/finger.go b/internal/transport/finger.go index f82719245..d2f38c9c6 100644 --- a/internal/transport/finger.go +++ b/internal/transport/finger.go @@ -25,10 +25,10 @@ import ( "net/http" "net/url" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // webfingerURLFor returns the URL to try a webfinger request against, as diff --git a/internal/transport/transport.go b/internal/transport/transport.go index 2ef070541..562808a84 100644 --- a/internal/transport/transport.go +++ b/internal/transport/transport.go @@ -27,11 +27,11 @@ import ( "sync" "time" + "code.superseriousbusiness.org/gotosocial/internal/gtscontext" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" "code.superseriousbusiness.org/httpsig" - "github.com/superseriousbusiness/gotosocial/internal/gtscontext" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" ) // Transport implements the pub.Transport interface with some additional functionality for fetching remote media. diff --git a/internal/transport/transport_test.go b/internal/transport/transport_test.go index bed683d27..c7f3ec0da 100644 --- a/internal/transport/transport_test.go +++ b/internal/transport/transport_test.go @@ -20,20 +20,20 @@ package transport_test import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TransportTestSuite struct { diff --git a/internal/typeutils/astointernal.go b/internal/typeutils/astointernal.go index 59c696f11..ca6e9ca9d 100644 --- a/internal/typeutils/astointernal.go +++ b/internal/typeutils/astointernal.go @@ -24,15 +24,15 @@ import ( "net/url" "time" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/miekg/dns" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // ASRepresentationToAccount converts a remote account / person diff --git a/internal/typeutils/astointernal_test.go b/internal/typeutils/astointernal_test.go index e2fd36159..80a91fac7 100644 --- a/internal/typeutils/astointernal_test.go +++ b/internal/typeutils/astointernal_test.go @@ -26,10 +26,10 @@ import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/cache" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/cache" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) type ASToInternalTestSuite struct { diff --git a/internal/typeutils/converter.go b/internal/typeutils/converter.go index 4fbe1dfd3..789404426 100644 --- a/internal/typeutils/converter.go +++ b/internal/typeutils/converter.go @@ -25,11 +25,11 @@ import ( "sync/atomic" "time" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" ) type Converter struct { diff --git a/internal/typeutils/converter_test.go b/internal/typeutils/converter_test.go index eb7673743..e37dae48c 100644 --- a/internal/typeutils/converter_test.go +++ b/internal/typeutils/converter_test.go @@ -19,15 +19,15 @@ package typeutils_test import ( "code.superseriousbusiness.org/activity/streams/vocab" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/testrig" ) const ( diff --git a/internal/typeutils/csv.go b/internal/typeutils/csv.go index aff556021..bc6ae345c 100644 --- a/internal/typeutils/csv.go +++ b/internal/typeutils/csv.go @@ -23,11 +23,11 @@ import ( "slices" "strconv" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func (c *Converter) AccountToExportStats( diff --git a/internal/typeutils/defaulticons.go b/internal/typeutils/defaulticons.go index 1076d3476..d8075bce2 100644 --- a/internal/typeutils/defaulticons.go +++ b/internal/typeutils/defaulticons.go @@ -23,9 +23,9 @@ import ( "path/filepath" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" ) const defaultHeaderPath = "/assets/default_header.webp" diff --git a/internal/typeutils/frontendtointernal.go b/internal/typeutils/frontendtointernal.go index eb60c548e..daf64a0d2 100644 --- a/internal/typeutils/frontendtointernal.go +++ b/internal/typeutils/frontendtointernal.go @@ -22,8 +22,8 @@ import ( "net/url" "slices" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" ) func APIVisToVis(m apimodel.Visibility) gtsmodel.Visibility { diff --git a/internal/typeutils/internal.go b/internal/typeutils/internal.go index 573495e0a..4504168ef 100644 --- a/internal/typeutils/internal.go +++ b/internal/typeutils/internal.go @@ -22,14 +22,14 @@ import ( "errors" "net/url" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // FollowRequestToFollow just converts a follow request diff --git a/internal/typeutils/internaltoas.go b/internal/typeutils/internaltoas.go index a00501be5..f21bef83f 100644 --- a/internal/typeutils/internaltoas.go +++ b/internal/typeutils/internaltoas.go @@ -29,14 +29,14 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" ) func accountableForActorType(actorType gtsmodel.AccountActorType) ap.Accountable { diff --git a/internal/typeutils/internaltoas_test.go b/internal/typeutils/internaltoas_test.go index 7c05a14b8..eeba5ac72 100644 --- a/internal/typeutils/internaltoas_test.go +++ b/internal/typeutils/internaltoas_test.go @@ -23,11 +23,11 @@ import ( "errors" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InternalToASTestSuite struct { diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go index 2c662c3bd..ad6dcafea 100644 --- a/internal/typeutils/internaltofrontend.go +++ b/internal/typeutils/internaltofrontend.go @@ -28,21 +28,21 @@ import ( "strings" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-debug" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/language" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/uris" - "github.com/superseriousbusiness/gotosocial/internal/util" ) const ( @@ -51,7 +51,7 @@ const ( instancePollsMaxExpiration = 2629746 // seconds instanceAccountsMaxFeaturedTags = 10 instanceAccountsMaxProfileFields = 6 // FIXME: https://github.com/superseriousbusiness/gotosocial/issues/1876 - instanceSourceURL = "https://github.com/superseriousbusiness/gotosocial" + instanceSourceURL = "https://codeberg.org/superseriousbusiness/gotosocial" instanceMastodonVersion = "3.5.3" ) diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go index da83e4e55..c44ad7c5a 100644 --- a/internal/typeutils/internaltofrontend_test.go +++ b/internal/typeutils/internaltofrontend_test.go @@ -24,15 +24,15 @@ import ( "strings" "testing" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + statusfilter "code.superseriousbusiness.org/gotosocial/internal/filter/status" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - statusfilter "github.com/superseriousbusiness/gotosocial/internal/filter/status" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type InternalToFrontendTestSuite struct { @@ -2296,8 +2296,8 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV1ToFrontend() { "uri": "localhost:8080", "account_domain": "localhost:8080", "title": "GoToSocial Testrig Instance", - "description": "\u003cp\u003eHere's a fuller description of the GoToSocial testrig instance.\u003c/p\u003e\u003cp\u003eThis instance is for testing purposes only. It doesn't federate at all. Go check out \u003ca href=\"https://github.com/superseriousbusiness/gotosocial/tree/main/testrig\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://github.com/superseriousbusiness/gotosocial/tree/main/testrig\u003c/a\u003e and \u003ca href=\"https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\u003c/a\u003e\u003c/p\u003e\u003cp\u003eUsers on this instance:\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@admin\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003eadmin\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (admin!).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@1happyturtle\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003e1happyturtle\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (posts about turtles, we don't know why).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@the_mighty_zork\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003ethe_mighty_zork\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (who knows).\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eIf you need to edit the models for the testrig, you can do so at \u003ccode\u003einternal/testmodels.go\u003c/code\u003e.\u003c/p\u003e", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "description": "\u003cp\u003eHere's a fuller description of the GoToSocial testrig instance.\u003c/p\u003e\u003cp\u003eThis instance is for testing purposes only. It doesn't federate at all. Go check out \u003ca href=\"https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig\u003c/a\u003e and \u003ca href=\"https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\u003c/a\u003e\u003c/p\u003e\u003cp\u003eUsers on this instance:\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@admin\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003eadmin\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (admin!).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@1happyturtle\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003e1happyturtle\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (posts about turtles, we don't know why).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@the_mighty_zork\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003ethe_mighty_zork\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (who knows).\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eIf you need to edit the models for the testrig, you can do so at \u003ccode\u003einternal/testmodels.go\u003c/code\u003e.\u003c/p\u003e", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "short_description": "\u003cp\u003eThis is the GoToSocial testrig. It doesn't federate or anything.\u003c/p\u003e\u003cp\u003eWhen the testrig is shut down, all data on it will be deleted.\u003c/p\u003e\u003cp\u003eDon't use this in production!\u003c/p\u003e", "short_description_text": "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", "email": "admin@example.org", @@ -2440,9 +2440,9 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV2ToFrontend() { "account_domain": "localhost:8080", "title": "GoToSocial Testrig Instance", "version": "0.0.0-testrig", - "source_url": "https://github.com/superseriousbusiness/gotosocial", - "description": "\u003cp\u003eHere's a fuller description of the GoToSocial testrig instance.\u003c/p\u003e\u003cp\u003eThis instance is for testing purposes only. It doesn't federate at all. Go check out \u003ca href=\"https://github.com/superseriousbusiness/gotosocial/tree/main/testrig\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://github.com/superseriousbusiness/gotosocial/tree/main/testrig\u003c/a\u003e and \u003ca href=\"https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\u003c/a\u003e\u003c/p\u003e\u003cp\u003eUsers on this instance:\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@admin\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003eadmin\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (admin!).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@1happyturtle\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003e1happyturtle\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (posts about turtles, we don't know why).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@the_mighty_zork\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003ethe_mighty_zork\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (who knows).\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eIf you need to edit the models for the testrig, you can do so at \u003ccode\u003einternal/testmodels.go\u003c/code\u003e.\u003c/p\u003e", - "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", + "source_url": "https://codeberg.org/superseriousbusiness/gotosocial", + "description": "\u003cp\u003eHere's a fuller description of the GoToSocial testrig instance.\u003c/p\u003e\u003cp\u003eThis instance is for testing purposes only. It doesn't federate at all. Go check out \u003ca href=\"https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig\u003c/a\u003e and \u003ca href=\"https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003ehttps://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\u003c/a\u003e\u003c/p\u003e\u003cp\u003eUsers on this instance:\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@admin\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003eadmin\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (admin!).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@1happyturtle\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003e1happyturtle\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (posts about turtles, we don't know why).\u003c/li\u003e\u003cli\u003e\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:8080/@the_mighty_zork\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\"\u003e@\u003cspan\u003ethe_mighty_zork\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e (who knows).\u003c/li\u003e\u003c/ul\u003e\u003cp\u003eIf you need to edit the models for the testrig, you can do so at \u003ccode\u003einternal/testmodels.go\u003c/code\u003e.\u003c/p\u003e", + "description_text": "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `+"`"+`internal/testmodels.go`+"`"+`.", "usage": { "users": { "active_month": 0 diff --git a/internal/typeutils/internaltorss.go b/internal/typeutils/internaltorss.go index 43ca7ba48..59babcb2d 100644 --- a/internal/typeutils/internaltorss.go +++ b/internal/typeutils/internaltorss.go @@ -23,12 +23,12 @@ import ( "strconv" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/text" "github.com/gorilla/feeds" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/text" ) const ( diff --git a/internal/typeutils/internaltorss_test.go b/internal/typeutils/internaltorss_test.go index 5e0d6f0c1..27d22cf81 100644 --- a/internal/typeutils/internaltorss_test.go +++ b/internal/typeutils/internaltorss_test.go @@ -22,10 +22,10 @@ import ( "encoding/xml" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type InternalToRSSTestSuite struct { diff --git a/internal/typeutils/util.go b/internal/typeutils/util.go index 17394fe49..2a0293f65 100644 --- a/internal/typeutils/util.go +++ b/internal/typeutils/util.go @@ -28,15 +28,15 @@ import ( "strconv" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/language" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/regexes" - "github.com/superseriousbusiness/gotosocial/internal/text" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/text" ) // toAPISize converts a set of media dimensions diff --git a/internal/typeutils/util_test.go b/internal/typeutils/util_test.go index ea6667519..0fbd5d192 100644 --- a/internal/typeutils/util_test.go +++ b/internal/typeutils/util_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/language" "github.com/stretchr/testify/assert" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/language" ) func TestMisskeyReportContentURLs1(t *testing.T) { @@ -188,7 +188,7 @@ func TestFilterableText(t *testing.T) { { status: >smodel.Status{ ContentWarning: "Nerd stuff", - Content: `

Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg, both running on Wazero, and configured with a 50MiB db cache target. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.

`, + Content: `

Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg, both running on Wazero, and configured with a 50MiB db cache target. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.

`, Attachments: []*gtsmodel.MediaAttachment{ { Description: `Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.`, @@ -206,7 +206,7 @@ func TestFilterableText(t *testing.T) { }, expectedFields: []string{ "Nerd stuff", - "Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg , both running on Wazero , and configured with a 50MiB db cache target . This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.", + "Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg , both running on Wazero , and configured with a 50MiB db cache target . This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.", "Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.", "Another media attachment", "Poll option 1", diff --git a/internal/typeutils/wrap.go b/internal/typeutils/wrap.go index 0f63d1c6c..59c7e2264 100644 --- a/internal/typeutils/wrap.go +++ b/internal/typeutils/wrap.go @@ -20,10 +20,10 @@ package typeutils import ( "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // WrapAccountableInUpdate wraps the given accountable diff --git a/internal/typeutils/wrap_test.go b/internal/typeutils/wrap_test.go index dde4f18b5..612b92ae8 100644 --- a/internal/typeutils/wrap_test.go +++ b/internal/typeutils/wrap_test.go @@ -22,9 +22,9 @@ import ( "encoding/json" "testing" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" ) type WrapTestSuite struct { diff --git a/internal/uris/uri.go b/internal/uris/uri.go index e1783b26c..d4bc2d829 100644 --- a/internal/uris/uri.go +++ b/internal/uris/uri.go @@ -22,8 +22,8 @@ import ( "net/url" "strings" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/regexes" ) const ( diff --git a/internal/util/domain_test.go b/internal/util/domain_test.go index a0ffd30b4..aad1472f8 100644 --- a/internal/util/domain_test.go +++ b/internal/util/domain_test.go @@ -22,9 +22,9 @@ import ( "strconv" "testing" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type PunyTestSuite struct { diff --git a/internal/util/namestring.go b/internal/util/namestring.go index bb351c6e8..26aad821f 100644 --- a/internal/util/namestring.go +++ b/internal/util/namestring.go @@ -22,8 +22,8 @@ import ( "net/url" "strings" - "github.com/superseriousbusiness/gotosocial/internal/regexes" - "github.com/superseriousbusiness/gotosocial/internal/uris" + "code.superseriousbusiness.org/gotosocial/internal/regexes" + "code.superseriousbusiness.org/gotosocial/internal/uris" ) // ExtractNamestringParts extracts the username test_user and diff --git a/internal/util/namestring_test.go b/internal/util/namestring_test.go index 2ce5af65c..9368dc7c1 100644 --- a/internal/util/namestring_test.go +++ b/internal/util/namestring_test.go @@ -20,8 +20,8 @@ package util_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type NamestringSuite struct { diff --git a/internal/util/paging.go b/internal/util/paging.go index 190f40afd..712498313 100644 --- a/internal/util/paging.go +++ b/internal/util/paging.go @@ -22,9 +22,9 @@ import ( "net/url" "strings" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" ) // PageableResponseParams models the parameters to pass to PackagePageableResponse. diff --git a/internal/util/paging_test.go b/internal/util/paging_test.go index bab7dcb7b..f041277bc 100644 --- a/internal/util/paging_test.go +++ b/internal/util/paging_test.go @@ -20,9 +20,9 @@ package util_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/util" ) type PagingSuite struct { diff --git a/internal/util/secret_test.go b/internal/util/secret_test.go index 99b2df32c..cda5a484e 100644 --- a/internal/util/secret_test.go +++ b/internal/util/secret_test.go @@ -21,7 +21,7 @@ import ( "regexp" "testing" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/util" ) func TestMustGenerateSecret(t *testing.T) { diff --git a/internal/util/time_test.go b/internal/util/time_test.go index 0af80bb92..a99e2089a 100644 --- a/internal/util/time_test.go +++ b/internal/util/time_test.go @@ -20,9 +20,9 @@ package util_test import ( "testing" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/testrig" ) type TimeSuite struct { diff --git a/internal/util/xslices/slices_test.go b/internal/util/xslices/slices_test.go index 7c62ac77f..dfa54181c 100644 --- a/internal/util/xslices/slices_test.go +++ b/internal/util/xslices/slices_test.go @@ -23,8 +23,8 @@ import ( "slices" "testing" + "code.superseriousbusiness.org/gotosocial/internal/util/xslices" "github.com/stretchr/testify/assert" - "github.com/superseriousbusiness/gotosocial/internal/util/xslices" ) func TestGrowJust(t *testing.T) { diff --git a/internal/validate/formvalidation.go b/internal/validate/formvalidation.go index 4de7636a5..08fa23dcb 100644 --- a/internal/validate/formvalidation.go +++ b/internal/validate/formvalidation.go @@ -22,10 +22,10 @@ import ( "fmt" "net/mail" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/regexes" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/regexes" pwv "github.com/wagslane/go-password-validator" "golang.org/x/text/language" ) diff --git a/internal/validate/formvalidation_test.go b/internal/validate/formvalidation_test.go index 93762cd37..c6dfdbc08 100644 --- a/internal/validate/formvalidation_test.go +++ b/internal/validate/formvalidation_test.go @@ -22,10 +22,10 @@ import ( "fmt" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) type ValidationTestSuite struct { diff --git a/internal/web/about.go b/internal/web/about.go index 2bc558962..e899bcb84 100644 --- a/internal/web/about.go +++ b/internal/web/about.go @@ -20,11 +20,11 @@ package web import ( "context" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) const ( diff --git a/internal/web/assets.go b/internal/web/assets.go index ae185354d..8e453850d 100644 --- a/internal/web/assets.go +++ b/internal/web/assets.go @@ -24,10 +24,10 @@ import ( "path/filepath" "strings" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type fileSystem struct { diff --git a/internal/web/confirmemail.go b/internal/web/confirmemail.go index 323de6bb2..9030cc463 100644 --- a/internal/web/confirmemail.go +++ b/internal/web/confirmemail.go @@ -22,10 +22,10 @@ import ( "errors" "net/http" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) confirmEmailGETHandler(c *gin.Context) { diff --git a/internal/web/customcss.go b/internal/web/customcss.go index 36ae9de55..f0c767503 100644 --- a/internal/web/customcss.go +++ b/internal/web/customcss.go @@ -20,10 +20,10 @@ package web import ( "net/http" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) const textCSSUTF8 = string(apiutil.TextCSS + "; charset=utf-8") diff --git a/internal/web/domain-blocklist.go b/internal/web/domain-blocklist.go index 309e629f2..34e23d899 100644 --- a/internal/web/domain-blocklist.go +++ b/internal/web/domain-blocklist.go @@ -21,11 +21,11 @@ import ( "context" "fmt" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) const ( diff --git a/internal/web/etag.go b/internal/web/etag.go index 88779871c..fcd55603b 100644 --- a/internal/web/etag.go +++ b/internal/web/etag.go @@ -24,7 +24,7 @@ import ( "io" "time" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-cache/v3" ) diff --git a/internal/web/index.go b/internal/web/index.go index 02ce30138..7179e4953 100644 --- a/internal/web/index.go +++ b/internal/web/index.go @@ -22,11 +22,11 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) indexHandler(c *gin.Context) { diff --git a/internal/web/login-info.go b/internal/web/login-info.go index 9aca768b6..f1b2dd104 100644 --- a/internal/web/login-info.go +++ b/internal/web/login-info.go @@ -20,10 +20,10 @@ package web import ( "context" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) const ( diff --git a/internal/web/maintenance.go b/internal/web/maintenance.go index f05fa83dd..299139679 100644 --- a/internal/web/maintenance.go +++ b/internal/web/maintenance.go @@ -21,11 +21,11 @@ import ( "net/http" "time" + "code.superseriousbusiness.org/gotosocial/internal/api/health" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/router" "codeberg.org/gruf/go-cache/v3" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/api/health" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/router" ) type MaintenanceModule struct { diff --git a/internal/web/profile.go b/internal/web/profile.go index dd3ed8e64..98abe5741 100644 --- a/internal/web/profile.go +++ b/internal/web/profile.go @@ -23,11 +23,11 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type profile struct { diff --git a/internal/web/rss.go b/internal/web/rss.go index ced74ed6b..e9fa5ca65 100644 --- a/internal/web/rss.go +++ b/internal/web/rss.go @@ -23,10 +23,10 @@ import ( "strings" "time" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) const appRSSUTF8 = string(apiutil.AppRSSXML) + "; charset=utf-8" diff --git a/internal/web/settings-panel.go b/internal/web/settings-panel.go index 9b27fe871..1dffa8842 100644 --- a/internal/web/settings-panel.go +++ b/internal/web/settings-panel.go @@ -20,10 +20,10 @@ package web import ( "context" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) SettingsPanelHandler(c *gin.Context) { diff --git a/internal/web/signup.go b/internal/web/signup.go index a943f3680..48965a935 100644 --- a/internal/web/signup.go +++ b/internal/web/signup.go @@ -22,12 +22,12 @@ import ( "errors" "net" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/validate" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/validate" ) func (m *Module) signupGETHandler(c *gin.Context) { diff --git a/internal/web/tag.go b/internal/web/tag.go index 5c3cd31a6..e936d0603 100644 --- a/internal/web/tag.go +++ b/internal/web/tag.go @@ -20,10 +20,10 @@ package web import ( "context" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) tagGETHandler(c *gin.Context) { diff --git a/internal/web/thread.go b/internal/web/thread.go index d46e52ac7..3844bc6f3 100644 --- a/internal/web/thread.go +++ b/internal/web/thread.go @@ -24,10 +24,10 @@ import ( "net/http" "strings" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" "github.com/gin-gonic/gin" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) func (m *Module) threadGETHandler(c *gin.Context) { diff --git a/internal/web/web.go b/internal/web/web.go index 5bccca06d..ab440ab2f 100644 --- a/internal/web/web.go +++ b/internal/web/web.go @@ -22,14 +22,14 @@ import ( "net/http" "net/url" + apiutil "code.superseriousbusiness.org/gotosocial/internal/api/util" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/middleware" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/router" + "code.superseriousbusiness.org/gotosocial/internal/uris" "codeberg.org/gruf/go-cache/v3" "github.com/gin-gonic/gin" - apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/middleware" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/router" - "github.com/superseriousbusiness/gotosocial/internal/uris" ) const ( diff --git a/internal/webpush/realsender.go b/internal/webpush/realsender.go index d2aeaf763..0a04a2b68 100644 --- a/internal/webpush/realsender.go +++ b/internal/webpush/realsender.go @@ -27,16 +27,16 @@ import ( "strings" "time" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/text" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" webpushgo "github.com/SherClockHolmes/webpush-go" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/text" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" ) // realSender is the production Web Push sender, diff --git a/internal/webpush/realsender_test.go b/internal/webpush/realsender_test.go index 28a5eae95..884e8d40a 100644 --- a/internal/webpush/realsender_test.go +++ b/internal/webpush/realsender_test.go @@ -27,25 +27,25 @@ import ( // for go:linkname _ "unsafe" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/storage" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/webpush" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/storage" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/util" - "github.com/superseriousbusiness/gotosocial/internal/webpush" - "github.com/superseriousbusiness/gotosocial/testrig" ) type RealSenderStandardTestSuite struct { @@ -281,5 +281,5 @@ func TestRealSenderStandardTestSuite(t *testing.T) { suite.Run(t, &RealSenderStandardTestSuite{}) } -//go:linkname newSenderWith github.com/superseriousbusiness/gotosocial/internal/webpush.newSenderWith +//go:linkname newSenderWith code.superseriousbusiness.org/gotosocial/internal/webpush.newSenderWith func newSenderWith(*http.Client, *state.State, *typeutils.Converter) webpush.Sender diff --git a/internal/webpush/sender.go b/internal/webpush/sender.go index 060118019..b7bb75d41 100644 --- a/internal/webpush/sender.go +++ b/internal/webpush/sender.go @@ -21,11 +21,11 @@ import ( "context" "net/http" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // Sender can send Web Push notifications. diff --git a/internal/workers/worker_fn.go b/internal/workers/worker_fn.go index 3f467e662..c57fcfe88 100644 --- a/internal/workers/worker_fn.go +++ b/internal/workers/worker_fn.go @@ -20,10 +20,10 @@ package workers import ( "context" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/queue" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-runners" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/queue" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // FnWorkerPool wraps multiple FnWorker{}s in diff --git a/internal/workers/worker_msg.go b/internal/workers/worker_msg.go index c7dc568d7..e038fda02 100644 --- a/internal/workers/worker_msg.go +++ b/internal/workers/worker_msg.go @@ -21,11 +21,11 @@ import ( "context" "errors" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/queue" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-runners" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/queue" - "github.com/superseriousbusiness/gotosocial/internal/util" ) // MsgWorkerPool wraps multiple MsgWorker{}s in diff --git a/internal/workers/workers.go b/internal/workers/workers.go index 50ad3cce5..23898e75a 100644 --- a/internal/workers/workers.go +++ b/internal/workers/workers.go @@ -20,11 +20,11 @@ package workers import ( "runtime" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - "github.com/superseriousbusiness/gotosocial/internal/scheduler" - "github.com/superseriousbusiness/gotosocial/internal/transport/delivery" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + "code.superseriousbusiness.org/gotosocial/internal/scheduler" + "code.superseriousbusiness.org/gotosocial/internal/transport/delivery" ) type Workers struct { diff --git a/mkdocs.yml b/mkdocs.yml index f8f9797be..02dadf4cf 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -18,7 +18,7 @@ theme: toggle: icon: material/brightness-4 name: Switch to dark mode -repo_url: https://github.com/superseriousbusiness/gotosocial +repo_url: https://codeberg.org/superseriousbusiness/gotosocial edit_uri: edit/main/docs/ copyright: GoToSocial is licensed under the GNU AGPL v3 LICENSE. Copyright (C) GoToSocial Authors admin@gotosocial.org plugins: diff --git a/testrig/config.go b/testrig/config.go index 9f17530c4..ec7b72faa 100644 --- a/testrig/config.go +++ b/testrig/config.go @@ -24,11 +24,11 @@ import ( "strconv" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/language" + "code.superseriousbusiness.org/gotosocial/internal/media/ffmpeg" "codeberg.org/gruf/go-bytesize" "github.com/coreos/go-oidc/v3/oidc" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/language" - "github.com/superseriousbusiness/gotosocial/internal/media/ffmpeg" ) func init() { diff --git a/testrig/db.go b/testrig/db.go index 2f44b3777..4c8a3568d 100644 --- a/testrig/db.go +++ b/testrig/db.go @@ -20,11 +20,11 @@ package testrig import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/db/bundb" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/db/bundb" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" ) var testModels = []interface{}{ diff --git a/testrig/email.go b/testrig/email.go index a80054f30..5ebc3a4d6 100644 --- a/testrig/email.go +++ b/testrig/email.go @@ -18,9 +18,9 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // NewEmailSender returns a noop email sender that won't make any remote calls. diff --git a/testrig/federatingdb.go b/testrig/federatingdb.go index 73731abae..28c6bd7b4 100644 --- a/testrig/federatingdb.go +++ b/testrig/federatingdb.go @@ -18,12 +18,12 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/federation/federatingdb" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/spam" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation/federatingdb" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/spam" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // NewTestFederatingDB returns a federating DB with the underlying db diff --git a/testrig/federator.go b/testrig/federator.go index cd4f38b10..d0f5b52f2 100644 --- a/testrig/federator.go +++ b/testrig/federator.go @@ -18,13 +18,13 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // NewTestFederator returns a federator with the given database and (mock!!) transport controller. diff --git a/testrig/gin.go b/testrig/gin.go index cd32654e8..2afe34e29 100644 --- a/testrig/gin.go +++ b/testrig/gin.go @@ -20,8 +20,8 @@ package testrig import ( "net/http" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/router" ) // CreateGinTextContext creates a new gin.Context suitable for a test, with an instantiated gin.Engine. diff --git a/testrig/log.go b/testrig/log.go index 439ed72b0..eb00483e7 100644 --- a/testrig/log.go +++ b/testrig/log.go @@ -18,8 +18,8 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" "gopkg.in/mcuadros/go-syslog.v2" "gopkg.in/mcuadros/go-syslog.v2/format" ) diff --git a/testrig/mediahandler.go b/testrig/mediahandler.go index d61ba854d..d67fdfd3d 100644 --- a/testrig/mediahandler.go +++ b/testrig/mediahandler.go @@ -18,8 +18,8 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/state" ) // NewTestMediaManager returns a media handler with the default test config, and the given db and storage. diff --git a/testrig/oauthserver.go b/testrig/oauthserver.go index 9429e751b..817e6ad0e 100644 --- a/testrig/oauthserver.go +++ b/testrig/oauthserver.go @@ -20,9 +20,9 @@ package testrig import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/oauth" - "github.com/superseriousbusiness/gotosocial/internal/oauth/handlers" - "github.com/superseriousbusiness/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/oauth" + "code.superseriousbusiness.org/gotosocial/internal/oauth/handlers" + "code.superseriousbusiness.org/gotosocial/internal/state" ) // NewTestOauthServer returns an oauth server with the given db diff --git a/testrig/processor.go b/testrig/processor.go index 2df7ef197..d2405a6f0 100644 --- a/testrig/processor.go +++ b/testrig/processor.go @@ -18,17 +18,17 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" - "github.com/superseriousbusiness/gotosocial/internal/webpush" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/media" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/webpush" ) // NewTestProcessor returns a Processor suitable for testing purposes. diff --git a/testrig/router.go b/testrig/router.go index 20317dae6..133320ff4 100644 --- a/testrig/router.go +++ b/testrig/router.go @@ -23,10 +23,10 @@ import ( "path/filepath" "strconv" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/db" + "code.superseriousbusiness.org/gotosocial/internal/router" "github.com/gin-gonic/gin" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/internal/router" ) // NewTestRouter returns a Router suitable for testing diff --git a/testrig/storage.go b/testrig/storage.go index 1f833044f..7c5a94236 100644 --- a/testrig/storage.go +++ b/testrig/storage.go @@ -23,8 +23,8 @@ import ( "os" "path" + gtsstorage "code.superseriousbusiness.org/gotosocial/internal/storage" "codeberg.org/gruf/go-storage/memory" - gtsstorage "github.com/superseriousbusiness/gotosocial/internal/storage" ) // NewInMemoryStorage returns a new in memory storage with the default test config diff --git a/testrig/testmodels.go b/testrig/testmodels.go index dd74031c1..8e72f3243 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -37,10 +37,10 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // NewTestTokens returns a map of tokens keyed according to which account the token belongs to. @@ -1908,8 +1908,8 @@ func NewTestInstances() map[string]*gtsmodel.Instance { Title: "GoToSocial Testrig Instance", ShortDescription: "

This is the GoToSocial testrig. It doesn't federate or anything.

When the testrig is shut down, all data on it will be deleted.

Don't use this in production!

", ShortDescriptionText: "This is the GoToSocial testrig. It doesn't federate or anything.\n\nWhen the testrig is shut down, all data on it will be deleted.\n\nDon't use this in production!", - Description: "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", - DescriptionText: "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://github.com/superseriousbusiness/gotosocial/tree/main/testrig and https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `internal/testmodels.go`.", + Description: "

Here's a fuller description of the GoToSocial testrig instance.

This instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing

Users on this instance:

If you need to edit the models for the testrig, you can do so at internal/testmodels.go.

", + DescriptionText: "Here's a fuller description of the GoToSocial testrig instance.\n\nThis instance is for testing purposes only. It doesn't federate at all. Go check out https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/testrig and https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md#testing\n\nUsers on this instance:\n\n- @admin (admin!).\n- @1happyturtle (posts about turtles, we don't know why).\n- @the_mighty_zork (who knows).\n\nIf you need to edit the models for the testrig, you can do so at `internal/testmodels.go`.", Terms: "

This is where a list of terms and conditions might go.

For example:

If you want to sign up on this instance, you oughta know that we:

  1. Will sell your data to whoever offers.
  2. Secure the server with password password wherever possible.
", TermsText: "This is where a list of terms and conditions might go.\n\nFor example:\n\nIf you want to sign up on this instance, you oughta know that we:\n\n1. Will sell your data to whoever offers.\n2. Secure the server with password `password` wherever possible.", ContactEmail: "admin@example.org", diff --git a/testrig/teststructs.go b/testrig/teststructs.go index f8eb1b3ed..edba34263 100644 --- a/testrig/teststructs.go +++ b/testrig/teststructs.go @@ -18,17 +18,17 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/admin" - "github.com/superseriousbusiness/gotosocial/internal/cleaner" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/internal/filter/interaction" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/processing" - "github.com/superseriousbusiness/gotosocial/internal/processing/common" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/subscriptions" - "github.com/superseriousbusiness/gotosocial/internal/transport" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "code.superseriousbusiness.org/gotosocial/internal/admin" + "code.superseriousbusiness.org/gotosocial/internal/cleaner" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/internal/filter/interaction" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/processing" + "code.superseriousbusiness.org/gotosocial/internal/processing/common" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/subscriptions" + "code.superseriousbusiness.org/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" ) // TestStructs encapsulates structs needed to diff --git a/testrig/transportcontroller.go b/testrig/transportcontroller.go index ae7a846d3..34ed35255 100644 --- a/testrig/transportcontroller.go +++ b/testrig/transportcontroller.go @@ -29,14 +29,14 @@ import ( "code.superseriousbusiness.org/activity/pub" "code.superseriousbusiness.org/activity/streams" "code.superseriousbusiness.org/activity/streams/vocab" - "github.com/superseriousbusiness/gotosocial/internal/ap" - apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" - "github.com/superseriousbusiness/gotosocial/internal/federation" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/httpclient" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/transport" + "code.superseriousbusiness.org/gotosocial/internal/ap" + apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model" + "code.superseriousbusiness.org/gotosocial/internal/federation" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/httpclient" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/transport" ) const ( @@ -410,7 +410,7 @@ func NodeInfoResponse(req *http.Request) ( Software: apimodel.NodeInfoSoftware{ Name: "GoToSocial", Version: "1.3.1.2", - Repository: "https://github.com/superseriousbusiness/gotosocial", + Repository: "https://codeberg.org/superseriousbusiness/gotosocial", Homepage: "https://docs.gotosocial.org", }, Protocols: []string{"activitypub"}, @@ -421,7 +421,7 @@ func NodeInfoResponse(req *http.Request) ( Software: apimodel.NodeInfoSoftware{ Name: "GoToSocial", Version: "1.3.1.2", - Repository: "https://github.com/superseriousbusiness/gotosocial", + Repository: "https://codeberg.org/superseriousbusiness/gotosocial", Homepage: "https://docs.gotosocial.org", }, Protocols: []string{"activitypub"}, diff --git a/testrig/util.go b/testrig/util.go index a4bf1bea4..c4a1b0acc 100644 --- a/testrig/util.go +++ b/testrig/util.go @@ -28,16 +28,16 @@ import ( "path" "time" + "code.superseriousbusiness.org/gotosocial/internal/filter/visibility" + "code.superseriousbusiness.org/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/messages" + tlprocessor "code.superseriousbusiness.org/gotosocial/internal/processing/timeline" + "code.superseriousbusiness.org/gotosocial/internal/processing/workers" + "code.superseriousbusiness.org/gotosocial/internal/state" + "code.superseriousbusiness.org/gotosocial/internal/timeline" + "code.superseriousbusiness.org/gotosocial/internal/typeutils" "codeberg.org/gruf/go-byteutil" "codeberg.org/gruf/go-kv/format" - "github.com/superseriousbusiness/gotosocial/internal/filter/visibility" - "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/internal/messages" - tlprocessor "github.com/superseriousbusiness/gotosocial/internal/processing/timeline" - "github.com/superseriousbusiness/gotosocial/internal/processing/workers" - "github.com/superseriousbusiness/gotosocial/internal/state" - "github.com/superseriousbusiness/gotosocial/internal/timeline" - "github.com/superseriousbusiness/gotosocial/internal/typeutils" ) // Starts workers on the provided state using noop processing functions. diff --git a/testrig/webpush.go b/testrig/webpush.go index 4cd5d7a81..d4752ae90 100644 --- a/testrig/webpush.go +++ b/testrig/webpush.go @@ -20,9 +20,9 @@ package testrig import ( "context" - "github.com/superseriousbusiness/gotosocial/internal/filter/usermute" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/webpush" + "code.superseriousbusiness.org/gotosocial/internal/filter/usermute" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/webpush" ) // WebPushMockSender collects a map of notifications sent to each account ID. diff --git a/web/source/settings/components/error.tsx b/web/source/settings/components/error.tsx index 3ca5eb416..0bf8d32d7 100644 --- a/web/source/settings/components/error.tsx +++ b/web/source/settings/components/error.tsx @@ -26,7 +26,7 @@ function ErrorFallback({ error, resetErrorBoundary }) {

{"An error occured, please report this on the "} - GoToSocial issue tracker + GoToSocial issue tracker {" or "} Matrix support room.
Include the details below: diff --git a/web/source/settings/lib/navigation/error.tsx b/web/source/settings/lib/navigation/error.tsx index 08edc83f0..413a1e111 100644 --- a/web/source/settings/lib/navigation/error.tsx +++ b/web/source/settings/lib/navigation/error.tsx @@ -72,7 +72,7 @@ function ErrorFallback({ error, componentStack, resetErrorBoundary }) {

{"An error occured, please report this on the "} - GoToSocial issue tracker + GoToSocial issue tracker {" or "} Matrix support room.
Include the details below: diff --git a/web/template/maintenance.tmpl b/web/template/maintenance.tmpl index 153130c53..d3fa5a271 100644 --- a/web/template/maintenance.tmpl +++ b/web/template/maintenance.tmpl @@ -58,7 +58,7 @@