summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-fed/activity/streams/vocab
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-08-23 12:46:05 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-23 12:46:05 +0200
commit071eca20ce9527153ed2e549f6198aad32380495 (patch)
tree958c75f403655b5fedabb20f5e431386798f02b2 /vendor/github.com/go-fed/activity/streams/vocab
parentDatabase updates (#144) (diff)
downloadgotosocial-071eca20ce9527153ed2e549f6198aad32380495.tar.xz
Manually approves followers (#146)
* update go-fed * update go-fed * manuallyapprovesfollowers * serialize manuallyApprovesFollowers
Diffstat (limited to 'vendor/github.com/go-fed/activity/streams/vocab')
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go53
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_description_interface.go6
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_ref_interface.go4
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_application_interface.go7
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_group_interface.go7
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_organization_interface.go7
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_person_interface.go7
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_service_interface.go7
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_branch_interface.go4
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_commit_interface.go8
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_push_interface.go22
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticket_interface.go8
-rw-r--r--vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go8
13 files changed, 118 insertions, 30 deletions
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go
new file mode 100644
index 000000000..c66ff0ae1
--- /dev/null
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_property_activitystreams_manuallyApprovesFollowers_interface.go
@@ -0,0 +1,53 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// Indicates that the actor manually approves Follow activities and that an
+// automatic Accept should not be expected.
+type ActivityStreamsManuallyApprovesFollowersProperty 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 ActivityStreamsManuallyApprovesFollowersProperty) bool
+ // Name returns the name of this property: "manuallyApprovesFollowers".
+ 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/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_description_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_description_interface.go
index 69c10223b..5ceba68d7 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_description_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_description_interface.go
@@ -14,15 +14,15 @@ import "net/url"
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "attributedTo": "https://example.dev/bob",
-// "context": "https://example.dev/alice/myrepo",
+// "attributedTo": "https://example.org/bob",
+// "context": "https://example.org/alice/myrepo",
// "created": "2019-07-11T12:34:56Z",
// "description": {
// "content": "It's about time people can install on their computers!",
// "mediaType": "text/plain"
// },
// "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
-// "id": "https://example.dev/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
+// "id": "https://example.org/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
// "summary": "Add an installation script, fixes issue #89",
// "type": "Commit"
// }
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_ref_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_ref_interface.go
index 10ad39091..bedabcadc 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_ref_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_property_forgefed_ref_interface.go
@@ -13,8 +13,8 @@ import "net/url"
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "context": "https://example.dev/luke/myrepo",
-// "id": "https://example.dev/luke/myrepo/branches/master",
+// "context": "https://example.org/luke/myrepo",
+// "id": "https://example.org/luke/myrepo/branches/master",
// "name": "master",
// "ref": "refs/heads/master",
// "type": "Branch"
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_application_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_application_interface.go
index 3fec42bd4..f1ff7e577 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_application_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_application_interface.go
@@ -73,6 +73,10 @@ type ActivityStreamsApplication interface {
// GetActivityStreamsLocation returns the "location" property if it
// exists, and nil otherwise.
GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsManuallyApprovesFollowers returns the
+ // "manuallyApprovesFollowers" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsManuallyApprovesFollowers() ActivityStreamsManuallyApprovesFollowersProperty
// GetActivityStreamsMediaType returns the "mediaType" property if it
// exists, and nil otherwise.
GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
@@ -212,6 +216,9 @@ type ActivityStreamsApplication interface {
SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
// SetActivityStreamsLocation sets the "location" property.
SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsManuallyApprovesFollowers sets the
+ // "manuallyApprovesFollowers" property.
+ SetActivityStreamsManuallyApprovesFollowers(i ActivityStreamsManuallyApprovesFollowersProperty)
// SetActivityStreamsMediaType sets the "mediaType" property.
SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
// SetActivityStreamsName sets the "name" property.
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_group_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_group_interface.go
index 8bca5f6dc..570d62072 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_group_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_group_interface.go
@@ -73,6 +73,10 @@ type ActivityStreamsGroup interface {
// GetActivityStreamsLocation returns the "location" property if it
// exists, and nil otherwise.
GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsManuallyApprovesFollowers returns the
+ // "manuallyApprovesFollowers" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsManuallyApprovesFollowers() ActivityStreamsManuallyApprovesFollowersProperty
// GetActivityStreamsMediaType returns the "mediaType" property if it
// exists, and nil otherwise.
GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
@@ -211,6 +215,9 @@ type ActivityStreamsGroup interface {
SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
// SetActivityStreamsLocation sets the "location" property.
SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsManuallyApprovesFollowers sets the
+ // "manuallyApprovesFollowers" property.
+ SetActivityStreamsManuallyApprovesFollowers(i ActivityStreamsManuallyApprovesFollowersProperty)
// SetActivityStreamsMediaType sets the "mediaType" property.
SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
// SetActivityStreamsName sets the "name" property.
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_organization_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_organization_interface.go
index 2b18b584d..5bf86fcf5 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_organization_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_organization_interface.go
@@ -73,6 +73,10 @@ type ActivityStreamsOrganization interface {
// GetActivityStreamsLocation returns the "location" property if it
// exists, and nil otherwise.
GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsManuallyApprovesFollowers returns the
+ // "manuallyApprovesFollowers" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsManuallyApprovesFollowers() ActivityStreamsManuallyApprovesFollowersProperty
// GetActivityStreamsMediaType returns the "mediaType" property if it
// exists, and nil otherwise.
GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
@@ -212,6 +216,9 @@ type ActivityStreamsOrganization interface {
SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
// SetActivityStreamsLocation sets the "location" property.
SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsManuallyApprovesFollowers sets the
+ // "manuallyApprovesFollowers" property.
+ SetActivityStreamsManuallyApprovesFollowers(i ActivityStreamsManuallyApprovesFollowersProperty)
// SetActivityStreamsMediaType sets the "mediaType" property.
SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
// SetActivityStreamsName sets the "name" property.
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_person_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_person_interface.go
index 66b91ccfa..ca027e506 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_person_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_person_interface.go
@@ -73,6 +73,10 @@ type ActivityStreamsPerson interface {
// GetActivityStreamsLocation returns the "location" property if it
// exists, and nil otherwise.
GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsManuallyApprovesFollowers returns the
+ // "manuallyApprovesFollowers" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsManuallyApprovesFollowers() ActivityStreamsManuallyApprovesFollowersProperty
// GetActivityStreamsMediaType returns the "mediaType" property if it
// exists, and nil otherwise.
GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
@@ -211,6 +215,9 @@ type ActivityStreamsPerson interface {
SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
// SetActivityStreamsLocation sets the "location" property.
SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsManuallyApprovesFollowers sets the
+ // "manuallyApprovesFollowers" property.
+ SetActivityStreamsManuallyApprovesFollowers(i ActivityStreamsManuallyApprovesFollowersProperty)
// SetActivityStreamsMediaType sets the "mediaType" property.
SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
// SetActivityStreamsName sets the "name" property.
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_service_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_service_interface.go
index f8bf114a6..d62e421ad 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_service_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_activitystreams_service_interface.go
@@ -73,6 +73,10 @@ type ActivityStreamsService interface {
// GetActivityStreamsLocation returns the "location" property if it
// exists, and nil otherwise.
GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsManuallyApprovesFollowers returns the
+ // "manuallyApprovesFollowers" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsManuallyApprovesFollowers() ActivityStreamsManuallyApprovesFollowersProperty
// GetActivityStreamsMediaType returns the "mediaType" property if it
// exists, and nil otherwise.
GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
@@ -212,6 +216,9 @@ type ActivityStreamsService interface {
SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
// SetActivityStreamsLocation sets the "location" property.
SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsManuallyApprovesFollowers sets the
+ // "manuallyApprovesFollowers" property.
+ SetActivityStreamsManuallyApprovesFollowers(i ActivityStreamsManuallyApprovesFollowersProperty)
// SetActivityStreamsMediaType sets the "mediaType" property.
SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
// SetActivityStreamsName sets the "name" property.
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_branch_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_branch_interface.go
index dcd0c93f7..b18151ebf 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_branch_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_branch_interface.go
@@ -11,8 +11,8 @@ package vocab
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "context": "https://example.dev/luke/myrepo",
-// "id": "https://example.dev/luke/myrepo/branches/master",
+// "context": "https://example.org/luke/myrepo",
+// "id": "https://example.org/luke/myrepo/branches/master",
// "name": "master",
// "ref": "refs/heads/master",
// "type": "Branch"
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_commit_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_commit_interface.go
index b513196c2..acfae3d07 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_commit_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_commit_interface.go
@@ -13,17 +13,17 @@ package vocab
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "attributedTo": "https://example.dev/bob",
+// "attributedTo": "https://example.org/bob",
// "committed": "2019-07-26T23:45:01Z",
-// "committedBy": "https://example.dev/alice",
-// "context": "https://example.dev/alice/myrepo",
+// "committedBy": "https://example.org/alice",
+// "context": "https://example.org/alice/myrepo",
// "created": "2019-07-11T12:34:56Z",
// "description": {
// "content": "It's about time people can install on their computers!",
// "mediaType": "text/plain"
// },
// "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
-// "id": "https://example.dev/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
+// "id": "https://example.org/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
// "summary": "Add an installation script, fixes issue #89",
// "type": "Commit"
// }
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_push_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_push_interface.go
index 39a94296f..6f025aa71 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_push_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_push_interface.go
@@ -9,17 +9,17 @@ package vocab
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "actor": "https://example.dev/aviva",
-// "context": "https://example.dev/aviva/myproject",
-// "id": "https://example.dev/aviva/outbox/reBGo",
+// "actor": "https://example.org/aviva",
+// "context": "https://example.org/aviva/myproject",
+// "id": "https://example.org/aviva/outbox/reBGo",
// "object": {
// "items": [
// {
-// "attributedTo": "https://example.dev/aviva",
-// "context": "https://example.dev/aviva/myproject",
+// "attributedTo": "https://example.org/aviva",
+// "context": "https://example.org/aviva/myproject",
// "created": "2019-11-03T13:43:59Z",
// "hash": "d96596230322716bd6f87a232a648ca9822a1c20",
-// "id": "https://example.dev/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20",
+// "id": "https://example.org/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20",
// "summary": "Provide hints in sign-up form fields",
// "type": "Commit"
// }
@@ -29,12 +29,12 @@ package vocab
// },
// "summary": "\u003cp\u003eAviva pushed a commit to
// myproject\u003c/p\u003e",
-// "target": "https://example.dev/aviva/myproject/branches/master",
+// "target": "https://example.org/aviva/myproject/branches/master",
// "to": [
-// "https://example.dev/aviva/followers",
-// "https://example.dev/aviva/myproject",
-// "https://example.dev/aviva/myproject/team",
-// "https://example.dev/aviva/myproject/followers"
+// "https://example.org/aviva/followers",
+// "https://example.org/aviva/myproject",
+// "https://example.org/aviva/myproject/team",
+// "https://example.org/aviva/myproject/followers"
// ],
// "type": "Push"
// }
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticket_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticket_interface.go
index 28edd6668..899f95f24 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticket_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticket_interface.go
@@ -11,12 +11,12 @@ package vocab
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "assignedTo": "https://example.dev/alice",
-// "attributedTo": "https://dev.community/bob",
+// "assignedTo": "https://example.org/alice",
+// "attributedTo": "https://example.com/bob",
// "content": "\u003cp\u003ePlease fix.
// \u003ci\u003eEverything\u003c/i\u003e is broken!\u003c/p\u003e",
-// "context": "https://example.dev/alice/myrepo",
-// "id": "https://example.dev/alice/myrepo/issues/42",
+// "context": "https://example.org/alice/myrepo",
+// "id": "https://example.org/alice/myrepo/issues/42",
// "isResolved": false,
// "mediaType": "text/html",
// "source": {
diff --git a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go
index 972a3dffe..6d8621f47 100644
--- a/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go
+++ b/vendor/github.com/go-fed/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go
@@ -12,12 +12,12 @@ package vocab
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
-// "attributedTo": "https://example.dev/alice",
-// "id": "https://example.dev/ticket-deps/2342593",
-// "object": "https://dev.community/bob/coolproj/issues/85",
+// "attributedTo": "https://example.org/alice",
+// "id": "https://example.org/ticket-deps/2342593",
+// "object": "https://example.com/bob/coolproj/issues/85",
// "published": "2019-07-11T12:34:56Z",
// "relationship": "dependsOn",
-// "subject": "https://example.dev/alice/myproj/issues/42",
+// "subject": "https://example.org/alice/myproj/issues/42",
// "summary": "Alice's ticket depends on Bob's ticket",
// "type": [
// "Relationship",