blob: 7401c2d515280c874deed7b113a02f48ab2649d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
// Code generated by astool. DO NOT EDIT.
package streams
import (
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
// extends from the other's type.
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 {
return typecanannounce.GoToSocialCanAnnounceExtends(other)
}
// GoToSocialGoToSocialCanLikeExtends returns true if CanLike extends from the
// other's type.
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 {
return typecanreply.GoToSocialCanReplyExtends(other)
}
// GoToSocialGoToSocialInteractionPolicyExtends returns true if InteractionPolicy
// extends from the other's type.
func GoToSocialGoToSocialInteractionPolicyExtends(other vocab.Type) bool {
return typeinteractionpolicy.GoToSocialInteractionPolicyExtends(other)
}
// GoToSocialGoToSocialLikeApprovalExtends returns true if LikeApproval extends
// from the other's type.
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)
}
|