feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
45
vendor/sourcery.dny.nu/pana/vocab/gotosocial/context.go
vendored
Normal file
45
vendor/sourcery.dny.nu/pana/vocab/gotosocial/context.go
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
// Package gotosocial contains terms for the GoToSocial namespace.
|
||||
package gotosocial
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed context.jsonld
|
||||
var ContextDocument []byte
|
||||
|
||||
// IRI is the remote context IRI.
|
||||
const IRI = "https://gotosocial.org/ns"
|
||||
|
||||
// Namespace is the IRI prefix used for terms defined in this namespace.
|
||||
const Namespace = IRI + "#"
|
||||
|
||||
const (
|
||||
// Always is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
Always = Namespace + "always"
|
||||
// ApprovalRequired is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
ApprovalRequired = Namespace + "approvalRequired"
|
||||
// ApprovedBy is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
ApprovedBy = Namespace + "approvedBy"
|
||||
// CanAnnounce is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
CanAnnounce = Namespace + "canAnnounce"
|
||||
// CanLike is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
CanLike = Namespace + "canLike"
|
||||
// CanReply is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
CanReply = Namespace + "canReply"
|
||||
// InteractionPolicy is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
InteractionPolicy = Namespace + "interactionPolicy"
|
||||
// TypeAnnounceApproval is a possible value for the type property.
|
||||
TypeAnnounceApproval = Namespace + "AnnounceApproval"
|
||||
// TypeLikeApproval is a possible value for the type property.
|
||||
TypeLikeApproval = Namespace + "LikeApproval"
|
||||
// TypeReplyApproval is a possible value for the type property.
|
||||
TypeReplyApproval = Namespace + "ReplyApproval"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue