summaryrefslogtreecommitdiff
path: root/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_gotosocial_extendedby.go
blob: 6fabac79f5cff48f2ae8f44b8646cd161529b261 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// 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"
)

// GoToSocialAnnounceApprovalIsExtendedBy returns true if the other's type extends
// from AnnounceApproval. Note that it returns false if the types are the
// same; see the "IsOrExtends" variant instead.
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.
func GoToSocialCanAnnounceIsExtendedBy(other vocab.Type) bool {
	return typecanannounce.CanAnnounceIsExtendedBy(other)
}

// GoToSocialCanLikeIsExtendedBy returns true if the other's type extends from
// CanLike. Note that it returns false if the types are the same; see the
// "IsOrExtends" variant instead.
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.
func GoToSocialCanReplyIsExtendedBy(other vocab.Type) bool {
	return typecanreply.CanReplyIsExtendedBy(other)
}

// GoToSocialInteractionPolicyIsExtendedBy returns true if the other's type
// extends from InteractionPolicy. Note that it returns false if the types are
// the same; see the "IsOrExtends" variant instead.
func GoToSocialInteractionPolicyIsExtendedBy(other vocab.Type) bool {
	return typeinteractionpolicy.InteractionPolicyIsExtendedBy(other)
}

// GoToSocialLikeApprovalIsExtendedBy returns true if the other's type extends
// from LikeApproval. Note that it returns false if the types are the same;
// see the "IsOrExtends" variant instead.
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)
}