feat: initial commit

This commit is contained in:
l.weber 2025-12-05 12:20:05 +01:00
commit a161b86c9a
705 changed files with 288162 additions and 0 deletions

24
vendor/sourcery.dny.nu/pana/page.go vendored Normal file
View file

@ -0,0 +1,24 @@
package pana
import (
ld "sourcery.dny.nu/longdistance"
as "sourcery.dny.nu/pana/vocab/w3/activitystreams"
)
// Page is the ActivityStreams Page type.
type Page Object
// NewPage initialises a new Page.
func NewPage() *Page {
return &Page{
Properties: make(ld.Properties),
Type: []string{as.TypePage},
}
}
// Build finalises the Page.
//
// This returns [Any] since that's what [Activity.SetObject] expects.
func (p *Page) Build() Any {
return Any(*p)
}