mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-01 15:33:32 -06:00
Merge branch 'main' into add_gallery_web_rendering_mode
This commit is contained in:
commit
5822d451c7
214 changed files with 29471 additions and 4720 deletions
|
|
@ -107,10 +107,16 @@ dockers:
|
|||
- "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot-amd64{{ end }}"
|
||||
build_flag_templates:
|
||||
- "--platform=linux/amd64"
|
||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||
- "--label=org.opencontainers.image.title=GoToSocial"
|
||||
- "--label=org.opencontainers.image.authors=GoToSocial Authors"
|
||||
- "--label=org.opencontainers.image.description=Fast, fun, small ActivityPub server."
|
||||
- "--label=org.opencontainers.image.url=https://docs.gotosocial.org"
|
||||
- "--label=org.opencontainers.image.documentation=https://docs.gotosocial.org/en/latest/getting_started/installation/container/"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/superseriousbusiness/gotosocial"
|
||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||
- "--label=org.opencontainers.image.licenses=AGPL-3.0-or-later"
|
||||
extra_files:
|
||||
- web
|
||||
- go.mod
|
||||
|
|
@ -130,10 +136,16 @@ dockers:
|
|||
- "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot-arm64v8{{ end }}"
|
||||
build_flag_templates:
|
||||
- "--platform=linux/arm64/v8"
|
||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||
- "--label=org.opencontainers.image.title=GoToSocial"
|
||||
- "--label=org.opencontainers.image.authors=GoToSocial Authors"
|
||||
- "--label=org.opencontainers.image.description=Fast, fun, small ActivityPub server."
|
||||
- "--label=org.opencontainers.image.url=https://docs.gotosocial.org"
|
||||
- "--label=org.opencontainers.image.documentation=https://docs.gotosocial.org/en/latest/getting_started/installation/container/"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/superseriousbusiness/gotosocial"
|
||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||
- "--label=org.opencontainers.image.licenses=AGPL-3.0-or-later"
|
||||
extra_files:
|
||||
- web
|
||||
- go.mod
|
||||
|
|
|
|||
20
go.mod
20
go.mod
|
|
@ -8,7 +8,7 @@ toolchain go1.23.3
|
|||
replace github.com/go-swagger/go-swagger => codeberg.org/superseriousbusiness/go-swagger v0.31.0-gts-go1.23-fix
|
||||
|
||||
// Replace modernc/sqlite with our version that fixes the concurrency INTERRUPT issue
|
||||
replace modernc.org/sqlite => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.36.0-concurrency-workaround
|
||||
replace modernc.org/sqlite => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.36.1-concurrency-workaround
|
||||
|
||||
require (
|
||||
codeberg.org/gruf/go-bytes v1.0.2
|
||||
|
|
@ -28,7 +28,7 @@ require (
|
|||
codeberg.org/gruf/go-sched v1.2.4
|
||||
codeberg.org/gruf/go-storage v0.2.0
|
||||
codeberg.org/gruf/go-structr v0.9.0
|
||||
codeberg.org/superseriousbusiness/activity v1.12.0-gts
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts
|
||||
codeberg.org/superseriousbusiness/exif-terminator v0.10.0
|
||||
codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB
|
||||
codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB
|
||||
|
|
@ -47,10 +47,10 @@ require (
|
|||
github.com/google/uuid v1.6.0
|
||||
github.com/gorilla/feeds v1.2.0
|
||||
github.com/gorilla/websocket v1.5.3
|
||||
github.com/jackc/pgx/v5 v5.7.2
|
||||
github.com/jackc/pgx/v5 v5.7.3
|
||||
github.com/k3a/html2text v1.2.1
|
||||
github.com/microcosm-cc/bluemonday v1.0.27
|
||||
github.com/miekg/dns v1.1.63
|
||||
github.com/miekg/dns v1.1.64
|
||||
github.com/minio/minio-go/v7 v7.0.85
|
||||
github.com/mitchellh/mapstructure v1.5.0
|
||||
github.com/ncruces/go-sqlite3 v0.24.0
|
||||
|
|
@ -60,7 +60,7 @@ require (
|
|||
github.com/spf13/cobra v1.9.1
|
||||
github.com/spf13/viper v1.19.0
|
||||
github.com/stretchr/testify v1.10.0
|
||||
github.com/tdewolff/minify/v2 v2.21.3
|
||||
github.com/tdewolff/minify/v2 v2.22.3
|
||||
github.com/technologize/otel-go-contrib v1.1.1
|
||||
github.com/temoto/robotstxt v1.1.2
|
||||
github.com/tetratelabs/wazero v1.9.0
|
||||
|
|
@ -83,7 +83,7 @@ require (
|
|||
go.uber.org/automaxprocs v1.6.0
|
||||
golang.org/x/crypto v0.36.0
|
||||
golang.org/x/image v0.24.0
|
||||
golang.org/x/net v0.36.0
|
||||
golang.org/x/net v0.37.0
|
||||
golang.org/x/oauth2 v0.27.0
|
||||
golang.org/x/sys v0.31.0
|
||||
golang.org/x/text v0.23.0
|
||||
|
|
@ -144,7 +144,7 @@ require (
|
|||
github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b // indirect
|
||||
github.com/goccy/go-json v0.10.5 // indirect
|
||||
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
||||
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
|
||||
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
|
||||
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d // indirect
|
||||
github.com/gorilla/context v1.1.2 // indirect
|
||||
github.com/gorilla/css v1.0.1 // indirect
|
||||
|
|
@ -199,7 +199,7 @@ require (
|
|||
github.com/spf13/cast v1.6.0 // indirect
|
||||
github.com/spf13/pflag v1.0.6 // indirect
|
||||
github.com/subosito/gotenv v1.6.0 // indirect
|
||||
github.com/tdewolff/parse/v2 v2.7.19 // indirect
|
||||
github.com/tdewolff/parse/v2 v2.7.21 // indirect
|
||||
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
|
||||
github.com/toqueteos/webbrowser v1.2.0 // indirect
|
||||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
||||
|
|
@ -214,9 +214,9 @@ require (
|
|||
go.uber.org/multierr v1.11.0 // indirect
|
||||
golang.org/x/arch v0.13.0 // indirect
|
||||
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
|
||||
golang.org/x/mod v0.22.0 // indirect
|
||||
golang.org/x/mod v0.23.0 // indirect
|
||||
golang.org/x/sync v0.12.0 // indirect
|
||||
golang.org/x/tools v0.28.0 // indirect
|
||||
golang.org/x/tools v0.30.0 // indirect
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
|
||||
google.golang.org/grpc v1.71.0 // indirect
|
||||
|
|
|
|||
44
go.sum
generated
44
go.sum
generated
|
|
@ -40,8 +40,8 @@ codeberg.org/gruf/go-storage v0.2.0 h1:mKj3Lx6AavEkuXXtxqPhdq+akW9YwrnP16yQBF7K5
|
|||
codeberg.org/gruf/go-storage v0.2.0/go.mod h1:o3GzMDE5QNUaRnm/daUzFqvuAaC4utlgXDXYO79sWKU=
|
||||
codeberg.org/gruf/go-structr v0.9.0 h1:UYw8igp3I4UBnlsRyDR2AbF3g7NPEP7HBrQs1I15218=
|
||||
codeberg.org/gruf/go-structr v0.9.0/go.mod h1:mUvBvn4q1iM/I+d3Fj1w/gxGUU/Ve9GpiNo6dPmBJnk=
|
||||
codeberg.org/superseriousbusiness/activity v1.12.0-gts h1:frNGTENLmOIQHKfOw/jj3UVj/GjHBljDx+CFAAK+m6Q=
|
||||
codeberg.org/superseriousbusiness/activity v1.12.0-gts/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o=
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts h1:4WZLc/SNt+Vt5x2UjL2n6V5dHlIL9ECudUPx8Ld5rxw=
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o=
|
||||
codeberg.org/superseriousbusiness/exif-terminator v0.10.0 h1:FiLX/AK07tzceS36I+kOP2aEH+aytjPSIlFoYePMEyg=
|
||||
codeberg.org/superseriousbusiness/exif-terminator v0.10.0/go.mod h1:c/mCytx/+fisOZeVXtjCpXld/SeZb3VsD1vj3oPAihA=
|
||||
codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB h1:v2shEkOPgydTL0n44EFPsDT9dsEP7KRG85aPnojCYkI=
|
||||
|
|
@ -199,8 +199,9 @@ github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
|
|||
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
|
||||
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
|
||||
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
|
||||
github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk=
|
||||
github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
|
||||
github.com/golang-jwt/jwt/v5 v5.2.2 h1:Rl4B7itRWVtYIHFrSNd7vhTiz9UpLdi6gZhZ3wEeDy8=
|
||||
github.com/golang-jwt/jwt/v5 v5.2.2/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
|
||||
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d h1:C/hKUcHT483btRbeGkrRjJz+Zbcj8audldIi9tRJDCc=
|
||||
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||
|
|
@ -258,8 +259,8 @@ github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsI
|
|||
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
|
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
|
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
|
||||
github.com/jackc/pgx/v5 v5.7.2 h1:mLoDLV6sonKlvjIEsV56SkWNCnuNv531l94GaIzO+XI=
|
||||
github.com/jackc/pgx/v5 v5.7.2/go.mod h1:ncY89UGWxg82EykZUwSpUKEfccBGGYq1xjrOpsbsfGQ=
|
||||
github.com/jackc/pgx/v5 v5.7.3 h1:PO1wNKj/bTAwxSJnO1Z4Ai8j4magtqg2SLNjEDzcXQo=
|
||||
github.com/jackc/pgx/v5 v5.7.3/go.mod h1:ncY89UGWxg82EykZUwSpUKEfccBGGYq1xjrOpsbsfGQ=
|
||||
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
|
||||
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
|
||||
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
|
||||
|
|
@ -298,8 +299,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
|
|||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
||||
github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk=
|
||||
github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA=
|
||||
github.com/miekg/dns v1.1.63 h1:8M5aAw6OMZfFXTT7K5V0Eu5YiiL8l7nUAkyN6C9YwaY=
|
||||
github.com/miekg/dns v1.1.63/go.mod h1:6NGHfjhpmr5lt3XPLuyfDJi5AXbNIPM9PY6H6sF1Nfs=
|
||||
github.com/miekg/dns v1.1.64 h1:wuZgD9wwCE6XMT05UU/mlSko71eRSXEAm2EbjQXLKnQ=
|
||||
github.com/miekg/dns v1.1.64/go.mod h1:Dzw9769uoKVaLuODMDZz9M6ynFU6Em65csPuoi8G0ck=
|
||||
github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34=
|
||||
github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=
|
||||
github.com/minio/minio-go/v7 v7.0.85 h1:9psTLS/NTvC3MWoyjhjXpwcKoNbkongaCSF3PNpSuXo=
|
||||
|
|
@ -409,13 +410,12 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
|
|||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
|
||||
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
|
||||
github.com/tdewolff/minify/v2 v2.21.3 h1:KmhKNGrN/dGcvb2WDdB5yA49bo37s+hcD8RiF+lioV8=
|
||||
github.com/tdewolff/minify/v2 v2.21.3/go.mod h1:iGxHaGiONAnsYuo8CRyf8iPUcqRJVB/RhtEcTpqS7xw=
|
||||
github.com/tdewolff/parse/v2 v2.7.19 h1:7Ljh26yj+gdLFEq/7q9LT4SYyKtwQX4ocNrj45UCePg=
|
||||
github.com/tdewolff/parse/v2 v2.7.19/go.mod h1:3FbJWZp3XT9OWVN3Hmfp0p/a08v4h8J9W1aghka0soA=
|
||||
github.com/tdewolff/test v1.0.11-0.20231101010635-f1265d231d52/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE=
|
||||
github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739 h1:IkjBCtQOOjIn03u/dMQK9g+Iw9ewps4mCl1nB8Sscbo=
|
||||
github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8=
|
||||
github.com/tdewolff/minify/v2 v2.22.3 h1:iWXbYdEwvyMXq+KoZlM7Aybp2ASq1VTibUIUxtiyfWo=
|
||||
github.com/tdewolff/minify/v2 v2.22.3/go.mod h1:K/R8TT7aivpcU8QCNUU1UdR6etfnFPr7L11TO/X7shk=
|
||||
github.com/tdewolff/parse/v2 v2.7.21 h1:OCuPFtGr4mXdnfKikQlUb0n654ROJANhBqCk+wioJ/A=
|
||||
github.com/tdewolff/parse/v2 v2.7.21/go.mod h1:I7TXO37t3aSG9SlPUBefAhgIF8nt7yYUwVGgETIoBcA=
|
||||
github.com/tdewolff/test v1.0.11 h1:FdLbwQVHxqG16SlkGveC0JVyrJN62COWTRyUFzfbtBE=
|
||||
github.com/tdewolff/test v1.0.11/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8=
|
||||
github.com/technologize/otel-go-contrib v1.1.1 h1:wZH9aSPNWZWIkEh3vfaKfMb15AJ80jJ1aVj/4GZdqIw=
|
||||
github.com/technologize/otel-go-contrib v1.1.1/go.mod h1:dCN/wj2WyUO8aFZFdIN+6tfJHImjTML/8r2YVYAy3So=
|
||||
github.com/temoto/robotstxt v1.1.2 h1:W2pOjSJ6SWvldyEuiFXNxz3xZ8aiWX5LbfDiOFd7Fxg=
|
||||
|
|
@ -487,8 +487,8 @@ github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDf
|
|||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
||||
github.com/yuin/goldmark v1.7.8 h1:iERMLn0/QJeHFhxSt3p6PeN9mGnvIKSpG9YYorDMnic=
|
||||
github.com/yuin/goldmark v1.7.8/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
|
||||
gitlab.com/NyaaaWhatsUpDoc/sqlite v1.36.0-concurrency-workaround h1:RnYnhySImxgFLWHUn1i1EeXEWHk8aEjJhZoRI2gP0sQ=
|
||||
gitlab.com/NyaaaWhatsUpDoc/sqlite v1.36.0-concurrency-workaround/go.mod h1:7MPwH7Z6bREicF9ZVUR78P1IKuxfZ8mRIDHD0iD+8TU=
|
||||
gitlab.com/NyaaaWhatsUpDoc/sqlite v1.36.1-concurrency-workaround h1:IOeWvKQZHIzgKW5HK7vUSYqJJqOlcKSjPyfEm3NASFQ=
|
||||
gitlab.com/NyaaaWhatsUpDoc/sqlite v1.36.1-concurrency-workaround/go.mod h1:7MPwH7Z6bREicF9ZVUR78P1IKuxfZ8mRIDHD0iD+8TU=
|
||||
go.mongodb.org/mongo-driver v1.14.0 h1:P98w8egYRjYe3XDjxhYJagTokP/H6HzlsnojRgZRd80=
|
||||
go.mongodb.org/mongo-driver v1.14.0/go.mod h1:Vzb0Mk/pa7e6cWw85R4F/endUC3u0U9jGcNU603k65c=
|
||||
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
|
||||
|
|
@ -540,8 +540,8 @@ golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
|||
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
|
||||
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
|
||||
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
|
||||
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
||||
golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM=
|
||||
golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
|
|
@ -558,8 +558,8 @@ golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
|||
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
|
||||
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
|
||||
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
|
||||
golang.org/x/net v0.36.0 h1:vWF2fRbw4qslQsQzgFqZff+BItCvGFQqKzKIzx1rmoA=
|
||||
golang.org/x/net v0.36.0/go.mod h1:bFmbeoIPfrw4sMHNhb4J9f6+tPziuGjq7Jk/38fxi1I=
|
||||
golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c=
|
||||
golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
|
||||
golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
|
||||
golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
|
||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
|
|
@ -620,8 +620,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc
|
|||
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
|
||||
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
|
||||
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
|
||||
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
|
||||
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
|
||||
golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY=
|
||||
golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a h1:nwKuGPlUAt+aR+pcrkfFRrTU1BVrSmYyYMxYbUIVHr0=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a/go.mod h1:3kWAYMk1I75K4vykHtKt2ycnOgpA6974V7bREqbsenU=
|
||||
|
|
|
|||
|
|
@ -98,10 +98,17 @@ const (
|
|||
// that we don't *yet* know what type of Object something is.
|
||||
ObjectUnknown = "Unknown"
|
||||
|
||||
// Extensions and unofficial additions.
|
||||
/* Extensions and unofficial additions */
|
||||
|
||||
/* GtS stuff */
|
||||
|
||||
ObjectLikeApproval = "LikeApproval"
|
||||
ObjectReplyApproval = "ReplyApproval"
|
||||
ObjectAnnounceApproval = "AnnounceApproval"
|
||||
|
||||
/* Funkwhale stuff */
|
||||
|
||||
ObjectAlbum = "Album"
|
||||
)
|
||||
|
||||
// isActivity returns whether AS type name is of an Activity (NOT IntransitiveActivity).
|
||||
|
|
|
|||
|
|
@ -1078,7 +1078,14 @@ func ExtractInteractionPolicy(
|
|||
statusable Statusable,
|
||||
owner *gtsmodel.Account,
|
||||
) *gtsmodel.InteractionPolicy {
|
||||
policyProp := statusable.GetGoToSocialInteractionPolicy()
|
||||
ipa, ok := statusable.(InteractionPolicyAware)
|
||||
if !ok {
|
||||
// Not a type with interaction
|
||||
// policy properties settable.
|
||||
return nil
|
||||
}
|
||||
|
||||
policyProp := ipa.GetGoToSocialInteractionPolicy()
|
||||
if policyProp == nil || policyProp.Len() != 1 {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,8 @@ func IsStatusable(typeName string) bool {
|
|||
ObjectEvent,
|
||||
ObjectPlace,
|
||||
ObjectProfile,
|
||||
ActivityQuestion:
|
||||
ActivityQuestion,
|
||||
ObjectAlbum:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
|
@ -226,11 +227,13 @@ type Statusable interface {
|
|||
WithTo
|
||||
WithCc
|
||||
WithSensitive
|
||||
WithConversation
|
||||
WithContent
|
||||
WithAttachment
|
||||
WithTag
|
||||
WithReplies
|
||||
}
|
||||
|
||||
type InteractionPolicyAware interface {
|
||||
WithInteractionPolicy
|
||||
WithApprovedBy
|
||||
}
|
||||
|
|
@ -589,10 +592,6 @@ type WithSensitive interface {
|
|||
SetActivityStreamsSensitive(vocab.ActivityStreamsSensitiveProperty)
|
||||
}
|
||||
|
||||
// WithConversation ...
|
||||
type WithConversation interface { // TODO
|
||||
}
|
||||
|
||||
// WithContent represents an activity with ActivityStreamsContentProperty
|
||||
type WithContent interface {
|
||||
GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
|
||||
|
|
|
|||
|
|
@ -80,6 +80,56 @@ func (suite *ResolveTestSuite) TestResolveNonAPJSONAsAccountable() {
|
|||
suite.Nil(accountable)
|
||||
}
|
||||
|
||||
func (suite *ResolveTestSuite) TestResolveBandwagonAlbumAsStatusable() {
|
||||
b := []byte(`{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"discoverable": "toot:discoverable",
|
||||
"indexable": "toot:indexable",
|
||||
"toot": "https://joinmastodon.org/ns#"
|
||||
},
|
||||
"https://funkwhale.audio/ns"
|
||||
],
|
||||
"artists": [
|
||||
{
|
||||
"id": "https://bandwagon.fm/@67a0a0808121f77ed3466870",
|
||||
"name": "Luka Prinčič",
|
||||
"type": "Artist"
|
||||
}
|
||||
],
|
||||
"attachment": [
|
||||
{
|
||||
"mediaType": "image/webp",
|
||||
"name": "image",
|
||||
"type": "Document",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427/attachments/67a0a21bf050061c8b4ce429"
|
||||
}
|
||||
],
|
||||
"attributedTo": "https://bandwagon.fm/@67a0a0808121f77ed3466870",
|
||||
"content": "... a transgenre mutation, a fluid entity, jagged pop, electro-funk, techno-cabaret, a schlager, and soft alternative, queer to the core, satire and tragedy, sharp and fun indulgence for the dance of bodies and brains, activism and hedonism, which would all like to steal your attention.\r\n\r\nDRAGX̶FUNK is pronounced /dɹæɡɑːfʌŋk/.\r\n\r\n---\r\n\r\n## Buy digital\r\n💳 [Stripe](https://buy.stripe.com/6oE8x52iG1Kq5pKeV3)\r\n\r\n---\r\n\r\n## Buy dl/merch\r\n🎵 [Bandcamp](https://lukaprincic.bandcamp.com/album/dragx-funk) \r\n\r\n---\r\n\r\n## More:\r\n🌐 [prin.lu](https://prin.lu/music/241205_dragx-funk/) \r\n👉 [kamizdat.si](https://kamizdat.si/releases/dragx-funk-2/)\r\n",
|
||||
"context": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"id": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"library": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"license": "CC-BY-NC-SA",
|
||||
"name": "DRAGX̶FUNK",
|
||||
"published": "2025-03-17T11:40:53Z",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"tracks": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"type": "Album",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427"
|
||||
}`)
|
||||
|
||||
statusable, err := ap.ResolveStatusable(
|
||||
context.Background(), io.NopCloser(bytes.NewReader(b)),
|
||||
)
|
||||
suite.NoError(err)
|
||||
suite.NotNil(statusable)
|
||||
}
|
||||
|
||||
func TestResolveTestSuite(t *testing.T) {
|
||||
suite.Run(t, &ResolveTestSuite{})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,7 +153,9 @@ func serializeStatusable(t vocab.Type, includeContext bool) (map[string]interfac
|
|||
|
||||
NormalizeOutgoingAttachmentProp(statusable, data)
|
||||
NormalizeOutgoingContentProp(statusable, data)
|
||||
NormalizeOutgoingInteractionPolicyProp(statusable, data)
|
||||
if ipa, ok := statusable.(InteractionPolicyAware); ok {
|
||||
NormalizeOutgoingInteractionPolicyProp(ipa, data)
|
||||
}
|
||||
|
||||
return data, nil
|
||||
}
|
||||
|
|
|
|||
4
internal/cache/cache.go
vendored
4
internal/cache/cache.go
vendored
|
|
@ -144,8 +144,12 @@ func (c *Caches) Start() error {
|
|||
func (c *Caches) Stop() {
|
||||
log.Infof(nil, "stop: %p", c)
|
||||
|
||||
if c.Webfinger != nil {
|
||||
_ = c.Webfinger.Stop()
|
||||
}
|
||||
if c.StatusesFilterableFields != nil {
|
||||
_ = c.StatusesFilterableFields.Stop()
|
||||
}
|
||||
}
|
||||
|
||||
// Sweep will sweep all the available caches to ensure none
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ package subscriptions
|
|||
|
||||
import (
|
||||
"bufio"
|
||||
"cmp"
|
||||
"context"
|
||||
"encoding/csv"
|
||||
"encoding/json"
|
||||
|
|
@ -869,10 +870,13 @@ func (s *Subscriptions) adoptPerm(
|
|||
perm.SetCreatedByAccount(permSub.CreatedByAccount)
|
||||
|
||||
// Set new metadata on the perm.
|
||||
perm.SetObfuscate(obfuscate)
|
||||
perm.SetPrivateComment(privateComment)
|
||||
perm.SetPublicComment(publicComment)
|
||||
|
||||
// Avoid trying to blat nil into the db directly by
|
||||
// defaulting to false if not set on wanted perm.
|
||||
perm.SetObfuscate(cmp.Or(obfuscate, util.Ptr(false)))
|
||||
|
||||
// Update the perm in the db.
|
||||
var err error
|
||||
switch p := perm.(type) {
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/stretchr/testify/suite"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/config"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/subscriptions"
|
||||
|
|
@ -814,6 +815,141 @@ func (suite *SubscriptionsTestSuite) TestAdoption() {
|
|||
suite.Equal(testSubscription.ID, existingBlock3.SubscriptionID)
|
||||
}
|
||||
|
||||
func (suite *SubscriptionsTestSuite) TestDomainAllowsAndBlocks() {
|
||||
var (
|
||||
ctx = context.Background()
|
||||
testStructs = testrig.SetupTestStructs(rMediaPath, rTemplatePath)
|
||||
testAccount = suite.testAccounts["admin_account"]
|
||||
subscriptions = subscriptions.New(
|
||||
testStructs.State,
|
||||
testStructs.TransportController,
|
||||
testStructs.TypeConverter,
|
||||
)
|
||||
|
||||
// Create a subscription for a CSV list of goodies.
|
||||
// This one adopts orphans.
|
||||
testAllowSubscription = >smodel.DomainPermissionSubscription{
|
||||
ID: "01JGE681TQSBPAV59GZXPKE62H",
|
||||
Priority: 255,
|
||||
Title: "goodies!",
|
||||
PermissionType: gtsmodel.DomainPermissionAllow,
|
||||
AsDraft: util.Ptr(false),
|
||||
AdoptOrphans: util.Ptr(true),
|
||||
CreatedByAccountID: testAccount.ID,
|
||||
CreatedByAccount: testAccount,
|
||||
URI: "https://lists.example.org/goodies",
|
||||
ContentType: gtsmodel.DomainPermSubContentTypePlain,
|
||||
}
|
||||
|
||||
existingAllow = >smodel.DomainAllow{
|
||||
ID: "01JHX2V5WN250TKB6FQ1M3QE1H",
|
||||
Domain: "people.we.like.com",
|
||||
CreatedByAccount: testAccount,
|
||||
CreatedByAccountID: testAccount.ID,
|
||||
}
|
||||
|
||||
testBlockSubscription = >smodel.DomainPermissionSubscription{
|
||||
ID: "01JPMVY19TKZND838Z7Y6S4EG8",
|
||||
Priority: 255,
|
||||
Title: "baddies!",
|
||||
PermissionType: gtsmodel.DomainPermissionBlock,
|
||||
AsDraft: util.Ptr(false),
|
||||
AdoptOrphans: util.Ptr(false),
|
||||
CreatedByAccountID: testAccount.ID,
|
||||
CreatedByAccount: testAccount,
|
||||
URI: "https://lists.example.org/baddies.csv",
|
||||
ContentType: gtsmodel.DomainPermSubContentTypeCSV,
|
||||
}
|
||||
)
|
||||
defer testrig.TearDownTestStructs(testStructs)
|
||||
|
||||
// Store test subscriptions.
|
||||
if err := testStructs.State.DB.PutDomainPermissionSubscription(
|
||||
ctx, testAllowSubscription,
|
||||
); err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
if err := testStructs.State.DB.PutDomainPermissionSubscription(
|
||||
ctx, testBlockSubscription,
|
||||
); err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
|
||||
// Store existing allow.
|
||||
if err := testStructs.State.DB.CreateDomainAllow(ctx, existingAllow); err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
|
||||
// Put the instance in allowlist mode.
|
||||
config.SetInstanceFederationMode("allowlist")
|
||||
|
||||
// Fetch + process subscribed perms in order.
|
||||
var order [2]gtsmodel.DomainPermissionType
|
||||
if config.GetInstanceFederationMode() == config.InstanceFederationModeBlocklist {
|
||||
order = [2]gtsmodel.DomainPermissionType{
|
||||
gtsmodel.DomainPermissionAllow,
|
||||
gtsmodel.DomainPermissionBlock,
|
||||
}
|
||||
} else {
|
||||
order = [2]gtsmodel.DomainPermissionType{
|
||||
gtsmodel.DomainPermissionBlock,
|
||||
gtsmodel.DomainPermissionAllow,
|
||||
}
|
||||
}
|
||||
for _, permType := range order {
|
||||
subscriptions.ProcessDomainPermissionSubscriptions(ctx, permType)
|
||||
}
|
||||
|
||||
// We should now have allows for each
|
||||
// domain on the subscribed allow list.
|
||||
for _, domain := range []string{
|
||||
"people.we.like.com",
|
||||
"goodeggs.org",
|
||||
"allowthesefolks.church",
|
||||
} {
|
||||
var (
|
||||
perm gtsmodel.DomainPermission
|
||||
err error
|
||||
)
|
||||
if !testrig.WaitFor(func() bool {
|
||||
perm, err = testStructs.State.DB.GetDomainAllow(ctx, domain)
|
||||
return err == nil
|
||||
}) {
|
||||
suite.FailNowf("", "timed out waiting for domain %s", domain)
|
||||
}
|
||||
|
||||
suite.Equal(testAllowSubscription.ID, perm.GetSubscriptionID())
|
||||
}
|
||||
|
||||
// And blocks for for each domain
|
||||
// on the subscribed block list.
|
||||
for _, domain := range []string{
|
||||
"bumfaces.net",
|
||||
"peepee.poopoo",
|
||||
"nothanks.com",
|
||||
} {
|
||||
var (
|
||||
perm gtsmodel.DomainPermission
|
||||
err error
|
||||
)
|
||||
if !testrig.WaitFor(func() bool {
|
||||
perm, err = testStructs.State.DB.GetDomainBlock(ctx, domain)
|
||||
return err == nil
|
||||
}) {
|
||||
suite.FailNowf("", "timed out waiting for domain %s", domain)
|
||||
}
|
||||
|
||||
suite.Equal(testBlockSubscription.ID, perm.GetSubscriptionID())
|
||||
}
|
||||
|
||||
var err error
|
||||
existingAllow, err = testStructs.State.DB.GetDomainAllow(ctx, "people.we.like.com")
|
||||
if err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
suite.Equal(existingAllow.SubscriptionID, testAllowSubscription.ID)
|
||||
}
|
||||
|
||||
func TestSubscriptionTestSuite(t *testing.T) {
|
||||
suite.Run(t, new(SubscriptionsTestSuite))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -434,9 +434,10 @@ func (c *Converter) ASStatusToStatus(ctx context.Context, statusable ap.Statusab
|
|||
return nil, gtserror.SetMalformed(err)
|
||||
}
|
||||
|
||||
// Status was sent to us or dereffed
|
||||
// by us so it must be federated.
|
||||
// Status was sent to us or dereffed by
|
||||
// us so it must be federated and not local.
|
||||
status.Federated = util.Ptr(true)
|
||||
status.Local = util.Ptr(false)
|
||||
|
||||
// Derive interaction policy for this status.
|
||||
status.InteractionPolicy = ap.ExtractInteractionPolicy(
|
||||
|
|
@ -446,10 +447,12 @@ func (c *Converter) ASStatusToStatus(ctx context.Context, statusable ap.Statusab
|
|||
|
||||
// Set approvedByURI if present,
|
||||
// for later dereferencing.
|
||||
approvedByURI := ap.GetApprovedBy(statusable)
|
||||
if ipa, ok := statusable.(ap.InteractionPolicyAware); ok {
|
||||
approvedByURI := ap.GetApprovedBy(ipa)
|
||||
if approvedByURI != nil {
|
||||
status.ApprovedByURI = approvedByURI.String()
|
||||
}
|
||||
}
|
||||
|
||||
// Assume not pending approval; this may
|
||||
// change when permissivity is checked.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import (
|
|||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"testing"
|
||||
|
||||
|
|
@ -224,8 +223,7 @@ func (suite *ASToInternalTestSuite) TestParseOwncastService() {
|
|||
|
||||
b, err := json.Marshal(apiAcct)
|
||||
suite.NoError(err)
|
||||
|
||||
fmt.Printf("\n\n\n%s\n\n\n", string(b))
|
||||
suite.NotNil(b)
|
||||
}
|
||||
|
||||
func (suite *ASToInternalTestSuite) TestParseBookwyrmStatus() {
|
||||
|
|
@ -282,6 +280,65 @@ func (suite *ASToInternalTestSuite) TestParseBookwyrmStatus() {
|
|||
suite.Len(status.Attachments, 1)
|
||||
}
|
||||
|
||||
func (suite *ASToInternalTestSuite) TestParseBandwagonAlbum() {
|
||||
authorAccount := suite.testAccounts["remote_account_1"]
|
||||
|
||||
raw := `{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"discoverable": "toot:discoverable",
|
||||
"indexable": "toot:indexable",
|
||||
"toot": "https://joinmastodon.org/ns#"
|
||||
},
|
||||
"https://funkwhale.audio/ns"
|
||||
],
|
||||
"artists": [
|
||||
{
|
||||
"id": "https://bandwagon.fm/@67a0a0808121f77ed3466870",
|
||||
"name": "Luka Prinčič",
|
||||
"type": "Artist"
|
||||
}
|
||||
],
|
||||
"attachment": [
|
||||
{
|
||||
"mediaType": "image/webp",
|
||||
"name": "image",
|
||||
"type": "Document",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427/attachments/67a0a21bf050061c8b4ce429"
|
||||
}
|
||||
],
|
||||
"attributedTo": "` + authorAccount.URI + `",
|
||||
"content": "... a transgenre mutation, a fluid entity, jagged pop, electro-funk, techno-cabaret, a schlager, and soft alternative, queer to the core, satire and tragedy, sharp and fun indulgence for the dance of bodies and brains, activism and hedonism, which would all like to steal your attention.\r\n\r\nDRAGX̶FUNK is pronounced /dɹæɡɑːfʌŋk/.\r\n\r\n---\r\n\r\n## Buy digital\r\n💳 [Stripe](https://buy.stripe.com/6oE8x52iG1Kq5pKeV3)\r\n\r\n---\r\n\r\n## Buy dl/merch\r\n🎵 [Bandcamp](https://lukaprincic.bandcamp.com/album/dragx-funk) \r\n\r\n---\r\n\r\n## More:\r\n🌐 [prin.lu](https://prin.lu/music/241205_dragx-funk/) \r\n👉 [kamizdat.si](https://kamizdat.si/releases/dragx-funk-2/)\r\n",
|
||||
"context": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"id": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"library": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"license": "CC-BY-NC-SA",
|
||||
"name": "DRAGX̶FUNK",
|
||||
"published": "2025-03-17T11:40:53Z",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"tracks": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"type": "Album",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427"
|
||||
}`
|
||||
|
||||
t := suite.jsonToType(raw)
|
||||
asArticle, ok := t.(ap.Statusable)
|
||||
if !ok {
|
||||
suite.FailNow("type not coercible")
|
||||
}
|
||||
|
||||
s, err := suite.typeconverter.ASStatusToStatus(context.Background(), asArticle)
|
||||
if err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
suite.NotNil(s)
|
||||
suite.NoError(err)
|
||||
}
|
||||
|
||||
func (suite *ASToInternalTestSuite) TestParseFlag1() {
|
||||
reportedAccount := suite.testAccounts["local_account_1"]
|
||||
reportingAccount := suite.testAccounts["remote_account_1"]
|
||||
|
|
|
|||
|
|
@ -705,6 +705,7 @@ func (c *Converter) StatusToAS(ctx context.Context, s *gtsmodel.Status) (ap.Stat
|
|||
status.SetActivityStreamsSensitive(sensitiveProp)
|
||||
|
||||
// interactionPolicy
|
||||
if ipa, ok := status.(ap.InteractionPolicyAware); ok {
|
||||
var p *gtsmodel.InteractionPolicy
|
||||
if s.InteractionPolicy != nil {
|
||||
// Use InteractionPolicy
|
||||
|
|
@ -720,9 +721,10 @@ func (c *Converter) StatusToAS(ctx context.Context, s *gtsmodel.Status) (ap.Stat
|
|||
return nil, fmt.Errorf("error creating interactionPolicy: %w", err)
|
||||
}
|
||||
|
||||
// Set interaction policy.
|
||||
policyProp := streams.NewGoToSocialInteractionPolicyProperty()
|
||||
policyProp.AppendGoToSocialInteractionPolicy(policy)
|
||||
status.SetGoToSocialInteractionPolicy(policyProp)
|
||||
ipa.SetGoToSocialInteractionPolicy(policyProp)
|
||||
|
||||
// Parse + set approvedBy.
|
||||
if s.ApprovedByURI != "" {
|
||||
|
|
@ -733,7 +735,8 @@ func (c *Converter) StatusToAS(ctx context.Context, s *gtsmodel.Status) (ap.Stat
|
|||
|
||||
approvedByProp := streams.NewGoToSocialApprovedByProperty()
|
||||
approvedByProp.Set(approvedBy)
|
||||
status.SetGoToSocialApprovedBy(approvedByProp)
|
||||
ipa.SetGoToSocialApprovedBy(approvedByProp)
|
||||
}
|
||||
}
|
||||
|
||||
return status, nil
|
||||
|
|
|
|||
|
|
@ -640,6 +640,10 @@ nothanks.com`
|
|||
}
|
||||
]`
|
||||
jsonRespETag = "\"don't modify me daddy\""
|
||||
allowsResp = `people.we.like.com
|
||||
goodeggs.org
|
||||
allowthesefolks.church`
|
||||
allowsRespETag = "\"never change\""
|
||||
)
|
||||
|
||||
switch req.URL.String() {
|
||||
|
|
@ -720,6 +724,36 @@ nothanks.com`
|
|||
}
|
||||
responseContentLength = len(responseBytes)
|
||||
|
||||
case "https://lists.example.org/goodies.csv":
|
||||
extraHeaders = map[string]string{
|
||||
"Last-Modified": lastModified,
|
||||
"ETag": allowsRespETag,
|
||||
}
|
||||
if req.Header.Get("If-None-Match") == allowsRespETag {
|
||||
// Cached.
|
||||
responseCode = http.StatusNotModified
|
||||
} else {
|
||||
responseBytes = []byte(allowsResp)
|
||||
responseContentType = textCSV
|
||||
responseCode = http.StatusOK
|
||||
}
|
||||
responseContentLength = len(responseBytes)
|
||||
|
||||
case "https://lists.example.org/goodies":
|
||||
extraHeaders = map[string]string{
|
||||
"Last-Modified": lastModified,
|
||||
"ETag": allowsRespETag,
|
||||
}
|
||||
if req.Header.Get("If-None-Match") == allowsRespETag {
|
||||
// Cached.
|
||||
responseCode = http.StatusNotModified
|
||||
} else {
|
||||
responseBytes = []byte(allowsResp)
|
||||
responseContentType = textPlain
|
||||
responseCode = http.StatusOK
|
||||
}
|
||||
responseContentLength = len(responseBytes)
|
||||
|
||||
default:
|
||||
responseCode = http.StatusNotFound
|
||||
responseBytes = []byte(`{"error":"not found"}`)
|
||||
|
|
|
|||
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
|
|
@ -11,6 +11,9 @@ var ActivityStreamsActivityName string = "Activity"
|
|||
// ActivityStreamsAddName is the string literal of the name for the Add type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsAddName string = "Add"
|
||||
|
||||
// FunkwhaleAlbumName is the string literal of the name for the Album type in the Funkwhale vocabulary.
|
||||
var FunkwhaleAlbumName string = "Album"
|
||||
|
||||
// ActivityStreamsAnnounceName is the string literal of the name for the Announce type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsAnnounceName string = "Announce"
|
||||
|
||||
|
|
@ -26,6 +29,9 @@ var ActivityStreamsArriveName string = "Arrive"
|
|||
// ActivityStreamsArticleName is the string literal of the name for the Article type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsArticleName string = "Article"
|
||||
|
||||
// FunkwhaleArtistName is the string literal of the name for the Artist type in the Funkwhale vocabulary.
|
||||
var FunkwhaleArtistName string = "Artist"
|
||||
|
||||
// ActivityStreamsAudioName is the string literal of the name for the Audio type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsAudioName string = "Audio"
|
||||
|
||||
|
|
@ -104,6 +110,9 @@ var ActivityStreamsJoinName string = "Join"
|
|||
// ActivityStreamsLeaveName is the string literal of the name for the Leave type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsLeaveName string = "Leave"
|
||||
|
||||
// FunkwhaleLibraryName is the string literal of the name for the Library type in the Funkwhale vocabulary.
|
||||
var FunkwhaleLibraryName string = "Library"
|
||||
|
||||
// ActivityStreamsLikeName is the string literal of the name for the Like type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsLikeName string = "Like"
|
||||
|
||||
|
|
@ -188,6 +197,9 @@ var ActivityStreamsTentativeRejectName string = "TentativeReject"
|
|||
// ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsTombstoneName string = "Tombstone"
|
||||
|
||||
// FunkwhaleTrackName is the string literal of the name for the Track type in the Funkwhale vocabulary.
|
||||
var FunkwhaleTrackName string = "Track"
|
||||
|
||||
// ActivityStreamsTravelName is the string literal of the name for the Travel type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsTravelName string = "Travel"
|
||||
|
||||
|
|
|
|||
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
|
|
@ -135,6 +135,10 @@ import (
|
|||
typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
||||
typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
||||
typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
|
||||
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
|
||||
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
|
||||
|
|
@ -311,6 +315,10 @@ func init() {
|
|||
typeupdate.SetManager(mgr)
|
||||
typevideo.SetManager(mgr)
|
||||
typeview.SetManager(mgr)
|
||||
typealbum.SetManager(mgr)
|
||||
typeartist.SetManager(mgr)
|
||||
typelibrary.SetManager(mgr)
|
||||
typetrack.SetManager(mgr)
|
||||
propertyalways.SetManager(mgr)
|
||||
propertyapprovalrequired.SetManager(mgr)
|
||||
propertyapprovedby.SetManager(mgr)
|
||||
|
|
@ -395,6 +403,10 @@ func init() {
|
|||
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typealbum.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeartist.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
|
|
|
|||
59
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
59
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
|
|
@ -37,6 +37,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAdd) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleAlbum) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAnnounce) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
|
||||
|
|
@ -47,6 +49,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsArticle) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleArtist) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAudio) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
||||
|
|
@ -99,6 +103,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLeave) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleLibrary) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLike) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeApproval) error:
|
||||
|
|
@ -155,6 +161,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTombstone) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleTrack) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsUndo) error:
|
||||
|
|
@ -244,6 +252,13 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
if len(ActivityStreamsAlias) > 0 {
|
||||
ActivityStreamsAlias += ":"
|
||||
}
|
||||
FunkwhaleAlias, ok := aliasMap["https://funkwhale.audio/ns"]
|
||||
if !ok {
|
||||
FunkwhaleAlias = aliasMap["http://funkwhale.audio/ns"]
|
||||
}
|
||||
if len(FunkwhaleAlias) > 0 {
|
||||
FunkwhaleAlias += ":"
|
||||
}
|
||||
GoToSocialAlias, ok := aliasMap["https://gotosocial.org/ns"]
|
||||
if !ok {
|
||||
GoToSocialAlias = aliasMap["http://gotosocial.org/ns"]
|
||||
|
|
@ -306,6 +321,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == FunkwhaleAlias+"Album" {
|
||||
v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleAlbum) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Announce" {
|
||||
v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
|
@ -361,6 +387,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == FunkwhaleAlias+"Artist" {
|
||||
v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleArtist) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Audio" {
|
||||
v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
|
@ -647,6 +684,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == FunkwhaleAlias+"Library" {
|
||||
v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleLibrary) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Like" {
|
||||
v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
|
@ -955,6 +1003,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == FunkwhaleAlias+"Track" {
|
||||
v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleTrack) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Travel" {
|
||||
v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
|
|
|||
52
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
52
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
|
|
@ -135,6 +135,10 @@ import (
|
|||
typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
||||
typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
||||
typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
|
||||
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
|
||||
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
|
||||
|
|
@ -240,6 +244,18 @@ func (this Manager) DeserializeAddActivityStreams() func(map[string]interface{},
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary "Funkwhale"
|
||||
func (this Manager) DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleAlbum, error) {
|
||||
i, err := typealbum.DeserializeAlbum(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAlsoKnownAsPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAlsoKnownAsProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -383,6 +399,18 @@ func (this Manager) DeserializeArticleActivityStreams() func(map[string]interfac
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary "Funkwhale"
|
||||
func (this Manager) DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleArtist, error) {
|
||||
i, err := typeartist.DeserializeArtist(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAttachmentProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -1219,6 +1247,18 @@ func (this Manager) DeserializeLeaveActivityStreams() func(map[string]interface{
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary "Funkwhale"
|
||||
func (this Manager) DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleLibrary, error) {
|
||||
i, err := typelibrary.DeserializeLibrary(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -2129,6 +2169,18 @@ func (this Manager) DeserializeTotalItemsPropertyActivityStreams() func(map[stri
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary "Funkwhale"
|
||||
func (this Manager) DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleTrack, error) {
|
||||
i, err := typetrack.DeserializeTrack(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsTravel" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
|||
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go
generated
vendored
Normal file
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// FunkwhaleAlbumIsDisjointWith returns true if Album is disjoint with the other's
|
||||
// type.
|
||||
func FunkwhaleAlbumIsDisjointWith(other vocab.Type) bool {
|
||||
return typealbum.AlbumIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// FunkwhaleArtistIsDisjointWith returns true if Artist is disjoint with the
|
||||
// other's type.
|
||||
func FunkwhaleArtistIsDisjointWith(other vocab.Type) bool {
|
||||
return typeartist.ArtistIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// FunkwhaleLibraryIsDisjointWith returns true if Library is disjoint with the
|
||||
// other's type.
|
||||
func FunkwhaleLibraryIsDisjointWith(other vocab.Type) bool {
|
||||
return typelibrary.LibraryIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// FunkwhaleTrackIsDisjointWith returns true if Track is disjoint with the other's
|
||||
// type.
|
||||
func FunkwhaleTrackIsDisjointWith(other vocab.Type) bool {
|
||||
return typetrack.TrackIsDisjointWith(other)
|
||||
}
|
||||
39
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go
generated
vendored
Normal file
39
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// FunkwhaleAlbumIsExtendedBy returns true if the other's type extends from Album.
|
||||
// Note that it returns false if the types are the same; see the "IsOrExtends"
|
||||
// variant instead.
|
||||
func FunkwhaleAlbumIsExtendedBy(other vocab.Type) bool {
|
||||
return typealbum.AlbumIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// FunkwhaleArtistIsExtendedBy returns true if the other's type extends from
|
||||
// Artist. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func FunkwhaleArtistIsExtendedBy(other vocab.Type) bool {
|
||||
return typeartist.ArtistIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// FunkwhaleLibraryIsExtendedBy returns true if the other's type extends from
|
||||
// Library. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func FunkwhaleLibraryIsExtendedBy(other vocab.Type) bool {
|
||||
return typelibrary.LibraryIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// FunkwhaleTrackIsExtendedBy returns true if the other's type extends from Track.
|
||||
// Note that it returns false if the types are the same; see the "IsOrExtends"
|
||||
// variant instead.
|
||||
func FunkwhaleTrackIsExtendedBy(other vocab.Type) bool {
|
||||
return typetrack.TrackIsExtendedBy(other)
|
||||
}
|
||||
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go
generated
vendored
Normal file
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// FunkwhaleFunkwhaleAlbumExtends returns true if Album extends from the other's
|
||||
// type.
|
||||
func FunkwhaleFunkwhaleAlbumExtends(other vocab.Type) bool {
|
||||
return typealbum.FunkwhaleAlbumExtends(other)
|
||||
}
|
||||
|
||||
// FunkwhaleFunkwhaleArtistExtends returns true if Artist extends from the other's
|
||||
// type.
|
||||
func FunkwhaleFunkwhaleArtistExtends(other vocab.Type) bool {
|
||||
return typeartist.FunkwhaleArtistExtends(other)
|
||||
}
|
||||
|
||||
// FunkwhaleFunkwhaleLibraryExtends returns true if Library extends from the
|
||||
// other's type.
|
||||
func FunkwhaleFunkwhaleLibraryExtends(other vocab.Type) bool {
|
||||
return typelibrary.FunkwhaleLibraryExtends(other)
|
||||
}
|
||||
|
||||
// FunkwhaleFunkwhaleTrackExtends returns true if Track extends from the other's
|
||||
// type.
|
||||
func FunkwhaleFunkwhaleTrackExtends(other vocab.Type) bool {
|
||||
return typetrack.FunkwhaleTrackExtends(other)
|
||||
}
|
||||
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go
generated
vendored
Normal file
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// IsOrExtendsFunkwhaleAlbum returns true if the other provided type is the Album
|
||||
// type or extends from the Album type.
|
||||
func IsOrExtendsFunkwhaleAlbum(other vocab.Type) bool {
|
||||
return typealbum.IsOrExtendsAlbum(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsFunkwhaleArtist returns true if the other provided type is the
|
||||
// Artist type or extends from the Artist type.
|
||||
func IsOrExtendsFunkwhaleArtist(other vocab.Type) bool {
|
||||
return typeartist.IsOrExtendsArtist(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsFunkwhaleLibrary returns true if the other provided type is the
|
||||
// Library type or extends from the Library type.
|
||||
func IsOrExtendsFunkwhaleLibrary(other vocab.Type) bool {
|
||||
return typelibrary.IsOrExtendsLibrary(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsFunkwhaleTrack returns true if the other provided type is the Track
|
||||
// type or extends from the Track type.
|
||||
func IsOrExtendsFunkwhaleTrack(other vocab.Type) bool {
|
||||
return typetrack.IsOrExtendsTrack(other)
|
||||
}
|
||||
31
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go
generated
vendored
Normal file
31
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
|
||||
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
|
||||
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
|
||||
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// NewFunkwhaleAlbum creates a new FunkwhaleAlbum
|
||||
func NewFunkwhaleAlbum() vocab.FunkwhaleAlbum {
|
||||
return typealbum.NewFunkwhaleAlbum()
|
||||
}
|
||||
|
||||
// NewFunkwhaleArtist creates a new FunkwhaleArtist
|
||||
func NewFunkwhaleArtist() vocab.FunkwhaleArtist {
|
||||
return typeartist.NewFunkwhaleArtist()
|
||||
}
|
||||
|
||||
// NewFunkwhaleLibrary creates a new FunkwhaleLibrary
|
||||
func NewFunkwhaleLibrary() vocab.FunkwhaleLibrary {
|
||||
return typelibrary.NewFunkwhaleLibrary()
|
||||
}
|
||||
|
||||
// NewFunkwhaleTrack creates a new FunkwhaleTrack
|
||||
func NewFunkwhaleTrack() vocab.FunkwhaleTrack {
|
||||
return typetrack.NewFunkwhaleTrack()
|
||||
}
|
||||
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
|
|
@ -55,6 +55,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsAdd) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.FunkwhaleAlbum) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsAnnounce) error {
|
||||
t = i
|
||||
return nil
|
||||
|
|
@ -70,6 +73,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsArticle) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.FunkwhaleArtist) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsAudio) error {
|
||||
t = i
|
||||
return nil
|
||||
|
|
@ -148,6 +154,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsLeave) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.FunkwhaleLibrary) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsLike) error {
|
||||
t = i
|
||||
return nil
|
||||
|
|
@ -232,6 +241,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.FunkwhaleTrack) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsTravel) error {
|
||||
t = i
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAdd) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleAlbum) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAnnounce) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceApproval) (bool, error):
|
||||
|
|
@ -45,6 +47,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsArticle) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleArtist) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAudio) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsBlock) (bool, error):
|
||||
|
|
@ -97,6 +101,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLeave) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleLibrary) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLike) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeApproval) (bool, error):
|
||||
|
|
@ -153,6 +159,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTombstone) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleTrack) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTravel) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsUndo) (bool, error):
|
||||
|
|
@ -215,6 +223,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Album" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleAlbum) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleAlbum); ok {
|
||||
predicatePasses, err = fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return false, errCannotTypeAssertType
|
||||
}
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Announce" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsAnnounce) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsAnnounce); ok {
|
||||
|
|
@ -270,6 +289,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Artist" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleArtist) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleArtist); ok {
|
||||
predicatePasses, err = fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return false, errCannotTypeAssertType
|
||||
}
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Audio" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsAudio) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsAudio); ok {
|
||||
|
|
@ -556,6 +586,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Library" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleLibrary) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleLibrary); ok {
|
||||
predicatePasses, err = fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return false, errCannotTypeAssertType
|
||||
}
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Like" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsLike) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsLike); ok {
|
||||
|
|
@ -864,6 +905,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Track" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleTrack) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleTrack); ok {
|
||||
predicatePasses, err = fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return false, errCannotTypeAssertType
|
||||
}
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Travel" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsTravel) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsTravel); ok {
|
||||
|
|
|
|||
44
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
44
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
|
|
@ -34,6 +34,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAdd) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleAlbum) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAnnounce) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
|
||||
|
|
@ -44,6 +46,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsArticle) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleArtist) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsAudio) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
||||
|
|
@ -96,6 +100,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLeave) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleLibrary) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLike) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeApproval) error:
|
||||
|
|
@ -152,6 +158,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTombstone) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.FunkwhaleTrack) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsUndo) error:
|
||||
|
|
@ -204,6 +212,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Album" {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleAlbum) error); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleAlbum); ok {
|
||||
return fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Announce" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsAnnounce) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsAnnounce); ok {
|
||||
|
|
@ -249,6 +266,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Artist" {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleArtist) error); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleArtist); ok {
|
||||
return fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Audio" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsAudio) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsAudio); ok {
|
||||
|
|
@ -483,6 +509,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Library" {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleLibrary) error); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleLibrary); ok {
|
||||
return fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Like" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsLike) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsLike); ok {
|
||||
|
|
@ -735,6 +770,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Track" {
|
||||
if fn, ok := i.(func(context.Context, vocab.FunkwhaleTrack) error); ok {
|
||||
if v, ok := o.(vocab.FunkwhaleTrack); ok {
|
||||
return fn(ctx, v)
|
||||
} else {
|
||||
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Travel" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsTravel) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsTravel); ok {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -120,6 +128,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -221,6 +233,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -18,11 +18,13 @@ type ActivityStreamsDescribesProperty struct {
|
|||
activitystreamsAcceptMember vocab.ActivityStreamsAccept
|
||||
activitystreamsActivityMember vocab.ActivityStreamsActivity
|
||||
activitystreamsAddMember vocab.ActivityStreamsAdd
|
||||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
funkwhaleArtistMember vocab.FunkwhaleArtist
|
||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
|
|
@ -43,6 +45,7 @@ type ActivityStreamsDescribesProperty struct {
|
|||
activitystreamsInviteMember vocab.ActivityStreamsInvite
|
||||
activitystreamsJoinMember vocab.ActivityStreamsJoin
|
||||
activitystreamsLeaveMember vocab.ActivityStreamsLeave
|
||||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
|
|
@ -67,6 +70,7 @@ type ActivityStreamsDescribesProperty struct {
|
|||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||
funkwhaleTrackMember vocab.FunkwhaleTrack
|
||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
|
||||
|
|
@ -129,6 +133,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
funkwhaleAlbumMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsAnnounceMember: v,
|
||||
|
|
@ -159,6 +169,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
funkwhaleArtistMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsAudioMember: v,
|
||||
|
|
@ -279,6 +295,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
funkwhaleLibraryMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsLikeMember: v,
|
||||
|
|
@ -423,6 +445,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
funkwhaleTrackMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsTravelMember: v,
|
||||
|
|
@ -476,11 +504,13 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.activitystreamsAcceptMember = nil
|
||||
this.activitystreamsActivityMember = nil
|
||||
this.activitystreamsAddMember = nil
|
||||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
this.funkwhaleArtistMember = nil
|
||||
this.activitystreamsAudioMember = nil
|
||||
this.activitystreamsBlockMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
|
|
@ -501,6 +531,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.activitystreamsInviteMember = nil
|
||||
this.activitystreamsJoinMember = nil
|
||||
this.activitystreamsLeaveMember = nil
|
||||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
|
|
@ -525,6 +556,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
this.activitystreamsTombstoneMember = nil
|
||||
this.funkwhaleTrackMember = nil
|
||||
this.activitystreamsTravelMember = nil
|
||||
this.activitystreamsUndoMember = nil
|
||||
this.activitystreamsUpdateMember = nil
|
||||
|
|
@ -898,6 +930,30 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
|
|||
return this.activitystreamsViewMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleAlbum returns the value of this property. When IsFunkwhaleAlbum
|
||||
// returns false, GetFunkwhaleAlbum will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetFunkwhaleAlbum() vocab.FunkwhaleAlbum {
|
||||
return this.funkwhaleAlbumMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleArtist returns the value of this property. When IsFunkwhaleArtist
|
||||
// returns false, GetFunkwhaleArtist will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetFunkwhaleArtist() vocab.FunkwhaleArtist {
|
||||
return this.funkwhaleArtistMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleLibrary returns the value of this property. When IsFunkwhaleLibrary
|
||||
// returns false, GetFunkwhaleLibrary will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetFunkwhaleLibrary() vocab.FunkwhaleLibrary {
|
||||
return this.funkwhaleLibraryMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleTrack returns the value of this property. When IsFunkwhaleTrack
|
||||
// returns false, GetFunkwhaleTrack will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetFunkwhaleTrack() vocab.FunkwhaleTrack {
|
||||
return this.funkwhaleTrackMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceApproval returns the value of this property. When
|
||||
// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
|
||||
// will return an arbitrary value.
|
||||
|
|
@ -960,6 +1016,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd()
|
||||
}
|
||||
if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum()
|
||||
}
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce()
|
||||
}
|
||||
|
|
@ -975,6 +1034,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle()
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist()
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio()
|
||||
}
|
||||
|
|
@ -1035,6 +1097,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave()
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary()
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike()
|
||||
}
|
||||
|
|
@ -1107,6 +1172,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone()
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack()
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel()
|
||||
}
|
||||
|
|
@ -1132,11 +1200,13 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsActivityStreamsAccept() ||
|
||||
this.IsActivityStreamsActivity() ||
|
||||
this.IsActivityStreamsAdd() ||
|
||||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
this.IsFunkwhaleArtist() ||
|
||||
this.IsActivityStreamsAudio() ||
|
||||
this.IsActivityStreamsBlock() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
|
|
@ -1157,6 +1227,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsActivityStreamsInvite() ||
|
||||
this.IsActivityStreamsJoin() ||
|
||||
this.IsActivityStreamsLeave() ||
|
||||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
|
|
@ -1181,6 +1252,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
this.IsActivityStreamsTombstone() ||
|
||||
this.IsFunkwhaleTrack() ||
|
||||
this.IsActivityStreamsTravel() ||
|
||||
this.IsActivityStreamsUndo() ||
|
||||
this.IsActivityStreamsUpdate() ||
|
||||
|
|
@ -1558,6 +1630,34 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
|
|||
return this.activitystreamsViewMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleAlbum returns true if this property has a type of "Album". When
|
||||
// true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsFunkwhaleAlbum() bool {
|
||||
return this.funkwhaleAlbumMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleArtist returns true if this property has a type of "Artist". When
|
||||
// true, use the GetFunkwhaleArtist and SetFunkwhaleArtist methods to access
|
||||
// and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsFunkwhaleArtist() bool {
|
||||
return this.funkwhaleArtistMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleLibrary returns true if this property has a type of "Library". When
|
||||
// true, use the GetFunkwhaleLibrary and SetFunkwhaleLibrary methods to access
|
||||
// and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsFunkwhaleLibrary() bool {
|
||||
return this.funkwhaleLibraryMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleTrack returns true if this property has a type of "Track". When
|
||||
// true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsFunkwhaleTrack() bool {
|
||||
return this.funkwhaleTrackMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceApproval returns true if this property has a type of
|
||||
// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
|
||||
// SetGoToSocialAnnounceApproval methods to access and set this property.
|
||||
|
|
@ -1619,6 +1719,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsActivity().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
child = this.GetActivityStreamsAdd().JSONLDContext()
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
child = this.GetFunkwhaleAlbum().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -1629,6 +1731,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsArrive().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
child = this.GetActivityStreamsArticle().JSONLDContext()
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
child = this.GetFunkwhaleArtist().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -1669,6 +1773,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsJoin().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
child = this.GetActivityStreamsLeave().JSONLDContext()
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
child = this.GetFunkwhaleLibrary().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -1717,6 +1823,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
child = this.GetFunkwhaleTrack().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
child = this.GetActivityStreamsTravel().JSONLDContext()
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -1755,168 +1863,180 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsAdd() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
if this.IsFunkwhaleAlbum() {
|
||||
return 4
|
||||
}
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
return 5
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 6
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 16
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 21
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 29
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 41
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 47
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 61
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
|
@ -1942,6 +2062,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum().LessThan(o.GetFunkwhaleAlbum())
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -1952,6 +2074,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist().LessThan(o.GetFunkwhaleArtist())
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -1992,6 +2116,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary().LessThan(o.GetFunkwhaleLibrary())
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -2040,6 +2166,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack().LessThan(o.GetFunkwhaleTrack())
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -2078,6 +2206,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsActivity().Serialize()
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd().Serialize()
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum().Serialize()
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -2088,6 +2218,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsArrive().Serialize()
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle().Serialize()
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist().Serialize()
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio().Serialize()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -2128,6 +2260,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsJoin().Serialize()
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave().Serialize()
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary().Serialize()
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -2176,6 +2310,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().Serialize()
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack().Serialize()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel().Serialize()
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -2556,6 +2692,34 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
|
|||
this.activitystreamsViewMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleAlbum sets the value of this property. Calling IsFunkwhaleAlbum
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleAlbum(v vocab.FunkwhaleAlbum) {
|
||||
this.Clear()
|
||||
this.funkwhaleAlbumMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleArtist sets the value of this property. Calling IsFunkwhaleArtist
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleArtist(v vocab.FunkwhaleArtist) {
|
||||
this.Clear()
|
||||
this.funkwhaleArtistMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleLibrary sets the value of this property. Calling IsFunkwhaleLibrary
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleLibrary(v vocab.FunkwhaleLibrary) {
|
||||
this.Clear()
|
||||
this.funkwhaleLibraryMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleTrack sets the value of this property. Calling IsFunkwhaleTrack
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleTrack(v vocab.FunkwhaleTrack) {
|
||||
this.Clear()
|
||||
this.funkwhaleTrackMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceApproval afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
|
||||
|
|
@ -2623,6 +2787,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsAdd(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleAlbum); ok {
|
||||
this.SetFunkwhaleAlbum(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
|
||||
this.SetActivityStreamsAnnounce(v)
|
||||
return nil
|
||||
|
|
@ -2643,6 +2811,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsArticle(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleArtist); ok {
|
||||
this.SetFunkwhaleArtist(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
|
||||
this.SetActivityStreamsAudio(v)
|
||||
return nil
|
||||
|
|
@ -2723,6 +2895,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLeave(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleLibrary); ok {
|
||||
this.SetFunkwhaleLibrary(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsLike); ok {
|
||||
this.SetActivityStreamsLike(v)
|
||||
return nil
|
||||
|
|
@ -2819,6 +2995,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsTombstone(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleTrack); ok {
|
||||
this.SetFunkwhaleTrack(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
|
||||
this.SetActivityStreamsTravel(v)
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -120,6 +128,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -221,6 +233,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -120,6 +128,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -221,6 +233,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -19,11 +19,13 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsAcceptMember vocab.ActivityStreamsAccept
|
||||
activitystreamsActivityMember vocab.ActivityStreamsActivity
|
||||
activitystreamsAddMember vocab.ActivityStreamsAdd
|
||||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
funkwhaleArtistMember vocab.FunkwhaleArtist
|
||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
|
|
@ -45,6 +47,7 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsInviteMember vocab.ActivityStreamsInvite
|
||||
activitystreamsJoinMember vocab.ActivityStreamsJoin
|
||||
activitystreamsLeaveMember vocab.ActivityStreamsLeave
|
||||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
|
|
@ -70,6 +73,7 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||
funkwhaleTrackMember vocab.FunkwhaleTrack
|
||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
|
||||
|
|
@ -138,6 +142,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
funkwhaleAlbumMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsAnnounceMember: v,
|
||||
|
|
@ -168,6 +178,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
funkwhaleArtistMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsAudioMember: v,
|
||||
|
|
@ -294,6 +310,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
funkwhaleLibraryMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsLikeMember: v,
|
||||
|
|
@ -444,6 +466,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
funkwhaleTrackMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsTravelMember: v,
|
||||
|
|
@ -498,11 +526,13 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsAcceptMember = nil
|
||||
this.activitystreamsActivityMember = nil
|
||||
this.activitystreamsAddMember = nil
|
||||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
this.funkwhaleArtistMember = nil
|
||||
this.activitystreamsAudioMember = nil
|
||||
this.activitystreamsBlockMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
|
|
@ -524,6 +554,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsInviteMember = nil
|
||||
this.activitystreamsJoinMember = nil
|
||||
this.activitystreamsLeaveMember = nil
|
||||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
|
|
@ -549,6 +580,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
this.activitystreamsTombstoneMember = nil
|
||||
this.funkwhaleTrackMember = nil
|
||||
this.activitystreamsTravelMember = nil
|
||||
this.activitystreamsUndoMember = nil
|
||||
this.activitystreamsUpdateMember = nil
|
||||
|
|
@ -936,6 +968,30 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
|
|||
return this.activitystreamsViewMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleAlbum returns the value of this property. When IsFunkwhaleAlbum
|
||||
// returns false, GetFunkwhaleAlbum will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetFunkwhaleAlbum() vocab.FunkwhaleAlbum {
|
||||
return this.funkwhaleAlbumMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleArtist returns the value of this property. When IsFunkwhaleArtist
|
||||
// returns false, GetFunkwhaleArtist will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetFunkwhaleArtist() vocab.FunkwhaleArtist {
|
||||
return this.funkwhaleArtistMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleLibrary returns the value of this property. When IsFunkwhaleLibrary
|
||||
// returns false, GetFunkwhaleLibrary will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetFunkwhaleLibrary() vocab.FunkwhaleLibrary {
|
||||
return this.funkwhaleLibraryMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleTrack returns the value of this property. When IsFunkwhaleTrack
|
||||
// returns false, GetFunkwhaleTrack will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetFunkwhaleTrack() vocab.FunkwhaleTrack {
|
||||
return this.funkwhaleTrackMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceApproval returns the value of this property. When
|
||||
// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
|
||||
// will return an arbitrary value.
|
||||
|
|
@ -1007,6 +1063,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd()
|
||||
}
|
||||
if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum()
|
||||
}
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce()
|
||||
}
|
||||
|
|
@ -1022,6 +1081,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle()
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist()
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio()
|
||||
}
|
||||
|
|
@ -1085,6 +1147,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave()
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary()
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike()
|
||||
}
|
||||
|
|
@ -1160,6 +1225,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone()
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack()
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel()
|
||||
}
|
||||
|
|
@ -1186,11 +1254,13 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsAccept() ||
|
||||
this.IsActivityStreamsActivity() ||
|
||||
this.IsActivityStreamsAdd() ||
|
||||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
this.IsFunkwhaleArtist() ||
|
||||
this.IsActivityStreamsAudio() ||
|
||||
this.IsActivityStreamsBlock() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
|
|
@ -1212,6 +1282,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsInvite() ||
|
||||
this.IsActivityStreamsJoin() ||
|
||||
this.IsActivityStreamsLeave() ||
|
||||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
|
|
@ -1237,6 +1308,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
this.IsActivityStreamsTombstone() ||
|
||||
this.IsFunkwhaleTrack() ||
|
||||
this.IsActivityStreamsTravel() ||
|
||||
this.IsActivityStreamsUndo() ||
|
||||
this.IsActivityStreamsUpdate() ||
|
||||
|
|
@ -1628,6 +1700,34 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
|
|||
return this.activitystreamsViewMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleAlbum returns true if this property has a type of "Album". When
|
||||
// true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsFunkwhaleAlbum() bool {
|
||||
return this.funkwhaleAlbumMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleArtist returns true if this property has a type of "Artist". When
|
||||
// true, use the GetFunkwhaleArtist and SetFunkwhaleArtist methods to access
|
||||
// and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsFunkwhaleArtist() bool {
|
||||
return this.funkwhaleArtistMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleLibrary returns true if this property has a type of "Library". When
|
||||
// true, use the GetFunkwhaleLibrary and SetFunkwhaleLibrary methods to access
|
||||
// and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsFunkwhaleLibrary() bool {
|
||||
return this.funkwhaleLibraryMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleTrack returns true if this property has a type of "Track". When
|
||||
// true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsFunkwhaleTrack() bool {
|
||||
return this.funkwhaleTrackMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceApproval returns true if this property has a type of
|
||||
// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
|
||||
// SetGoToSocialAnnounceApproval methods to access and set this property.
|
||||
|
|
@ -1698,6 +1798,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsActivity().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
child = this.GetActivityStreamsAdd().JSONLDContext()
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
child = this.GetFunkwhaleAlbum().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -1708,6 +1810,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsArrive().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
child = this.GetActivityStreamsArticle().JSONLDContext()
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
child = this.GetFunkwhaleArtist().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -1750,6 +1854,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsJoin().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
child = this.GetActivityStreamsLeave().JSONLDContext()
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
child = this.GetFunkwhaleLibrary().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -1800,6 +1906,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
child = this.GetFunkwhaleTrack().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
child = this.GetActivityStreamsTravel().JSONLDContext()
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -1841,174 +1949,186 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsAdd() {
|
||||
return 4
|
||||
}
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
if this.IsFunkwhaleAlbum() {
|
||||
return 5
|
||||
}
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
return 6
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 17
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 22
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 23
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsTootHashtag() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 31
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 44
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 50
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 64
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
|
@ -2036,6 +2156,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum().LessThan(o.GetFunkwhaleAlbum())
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -2046,6 +2168,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist().LessThan(o.GetFunkwhaleArtist())
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -2088,6 +2212,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary().LessThan(o.GetFunkwhaleLibrary())
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -2138,6 +2264,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack().LessThan(o.GetFunkwhaleTrack())
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -2178,6 +2306,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsActivity().Serialize()
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd().Serialize()
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum().Serialize()
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -2188,6 +2318,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsArrive().Serialize()
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle().Serialize()
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist().Serialize()
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio().Serialize()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -2230,6 +2362,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsJoin().Serialize()
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave().Serialize()
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary().Serialize()
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -2280,6 +2414,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().Serialize()
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack().Serialize()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel().Serialize()
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -2674,6 +2810,34 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
|
|||
this.activitystreamsViewMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleAlbum sets the value of this property. Calling IsFunkwhaleAlbum
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetFunkwhaleAlbum(v vocab.FunkwhaleAlbum) {
|
||||
this.Clear()
|
||||
this.funkwhaleAlbumMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleArtist sets the value of this property. Calling IsFunkwhaleArtist
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetFunkwhaleArtist(v vocab.FunkwhaleArtist) {
|
||||
this.Clear()
|
||||
this.funkwhaleArtistMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleLibrary sets the value of this property. Calling IsFunkwhaleLibrary
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetFunkwhaleLibrary(v vocab.FunkwhaleLibrary) {
|
||||
this.Clear()
|
||||
this.funkwhaleLibraryMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleTrack sets the value of this property. Calling IsFunkwhaleTrack
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetFunkwhaleTrack(v vocab.FunkwhaleTrack) {
|
||||
this.Clear()
|
||||
this.funkwhaleTrackMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
|
||||
|
|
@ -2752,6 +2916,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsAdd(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleAlbum); ok {
|
||||
this.SetFunkwhaleAlbum(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
|
||||
this.SetActivityStreamsAnnounce(v)
|
||||
return nil
|
||||
|
|
@ -2772,6 +2940,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsArticle(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleArtist); ok {
|
||||
this.SetFunkwhaleArtist(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
|
||||
this.SetActivityStreamsAudio(v)
|
||||
return nil
|
||||
|
|
@ -2856,6 +3028,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLeave(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleLibrary); ok {
|
||||
this.SetFunkwhaleLibrary(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsLike); ok {
|
||||
this.SetActivityStreamsLike(v)
|
||||
return nil
|
||||
|
|
@ -2956,6 +3132,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsTombstone(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleTrack); ok {
|
||||
this.SetFunkwhaleTrack(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
|
||||
this.SetActivityStreamsTravel(v)
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -19,11 +19,13 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsAcceptMember vocab.ActivityStreamsAccept
|
||||
activitystreamsActivityMember vocab.ActivityStreamsActivity
|
||||
activitystreamsAddMember vocab.ActivityStreamsAdd
|
||||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
funkwhaleArtistMember vocab.FunkwhaleArtist
|
||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
|
|
@ -45,6 +47,7 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsInviteMember vocab.ActivityStreamsInvite
|
||||
activitystreamsJoinMember vocab.ActivityStreamsJoin
|
||||
activitystreamsLeaveMember vocab.ActivityStreamsLeave
|
||||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
|
|
@ -70,6 +73,7 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||
funkwhaleTrackMember vocab.FunkwhaleTrack
|
||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
|
||||
|
|
@ -138,6 +142,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
funkwhaleAlbumMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsAnnounceMember: v,
|
||||
|
|
@ -168,6 +178,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
funkwhaleArtistMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsAudioMember: v,
|
||||
|
|
@ -294,6 +310,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
funkwhaleLibraryMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsLikeMember: v,
|
||||
|
|
@ -444,6 +466,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
funkwhaleTrackMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsTravelMember: v,
|
||||
|
|
@ -498,11 +526,13 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsAcceptMember = nil
|
||||
this.activitystreamsActivityMember = nil
|
||||
this.activitystreamsAddMember = nil
|
||||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
this.funkwhaleArtistMember = nil
|
||||
this.activitystreamsAudioMember = nil
|
||||
this.activitystreamsBlockMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
|
|
@ -524,6 +554,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsInviteMember = nil
|
||||
this.activitystreamsJoinMember = nil
|
||||
this.activitystreamsLeaveMember = nil
|
||||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
|
|
@ -549,6 +580,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
this.activitystreamsTombstoneMember = nil
|
||||
this.funkwhaleTrackMember = nil
|
||||
this.activitystreamsTravelMember = nil
|
||||
this.activitystreamsUndoMember = nil
|
||||
this.activitystreamsUpdateMember = nil
|
||||
|
|
@ -936,6 +968,30 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
|
|||
return this.activitystreamsViewMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleAlbum returns the value of this property. When IsFunkwhaleAlbum
|
||||
// returns false, GetFunkwhaleAlbum will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetFunkwhaleAlbum() vocab.FunkwhaleAlbum {
|
||||
return this.funkwhaleAlbumMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleArtist returns the value of this property. When IsFunkwhaleArtist
|
||||
// returns false, GetFunkwhaleArtist will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetFunkwhaleArtist() vocab.FunkwhaleArtist {
|
||||
return this.funkwhaleArtistMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleLibrary returns the value of this property. When IsFunkwhaleLibrary
|
||||
// returns false, GetFunkwhaleLibrary will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetFunkwhaleLibrary() vocab.FunkwhaleLibrary {
|
||||
return this.funkwhaleLibraryMember
|
||||
}
|
||||
|
||||
// GetFunkwhaleTrack returns the value of this property. When IsFunkwhaleTrack
|
||||
// returns false, GetFunkwhaleTrack will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetFunkwhaleTrack() vocab.FunkwhaleTrack {
|
||||
return this.funkwhaleTrackMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceApproval returns the value of this property. When
|
||||
// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
|
||||
// will return an arbitrary value.
|
||||
|
|
@ -1007,6 +1063,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd()
|
||||
}
|
||||
if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum()
|
||||
}
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce()
|
||||
}
|
||||
|
|
@ -1022,6 +1081,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle()
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist()
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio()
|
||||
}
|
||||
|
|
@ -1085,6 +1147,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave()
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary()
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike()
|
||||
}
|
||||
|
|
@ -1160,6 +1225,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone()
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack()
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel()
|
||||
}
|
||||
|
|
@ -1186,11 +1254,13 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsAccept() ||
|
||||
this.IsActivityStreamsActivity() ||
|
||||
this.IsActivityStreamsAdd() ||
|
||||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
this.IsFunkwhaleArtist() ||
|
||||
this.IsActivityStreamsAudio() ||
|
||||
this.IsActivityStreamsBlock() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
|
|
@ -1212,6 +1282,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsInvite() ||
|
||||
this.IsActivityStreamsJoin() ||
|
||||
this.IsActivityStreamsLeave() ||
|
||||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
|
|
@ -1237,6 +1308,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
this.IsActivityStreamsTombstone() ||
|
||||
this.IsFunkwhaleTrack() ||
|
||||
this.IsActivityStreamsTravel() ||
|
||||
this.IsActivityStreamsUndo() ||
|
||||
this.IsActivityStreamsUpdate() ||
|
||||
|
|
@ -1628,6 +1700,34 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
|
|||
return this.activitystreamsViewMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleAlbum returns true if this property has a type of "Album". When
|
||||
// true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsFunkwhaleAlbum() bool {
|
||||
return this.funkwhaleAlbumMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleArtist returns true if this property has a type of "Artist". When
|
||||
// true, use the GetFunkwhaleArtist and SetFunkwhaleArtist methods to access
|
||||
// and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsFunkwhaleArtist() bool {
|
||||
return this.funkwhaleArtistMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleLibrary returns true if this property has a type of "Library". When
|
||||
// true, use the GetFunkwhaleLibrary and SetFunkwhaleLibrary methods to access
|
||||
// and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsFunkwhaleLibrary() bool {
|
||||
return this.funkwhaleLibraryMember != nil
|
||||
}
|
||||
|
||||
// IsFunkwhaleTrack returns true if this property has a type of "Track". When
|
||||
// true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsFunkwhaleTrack() bool {
|
||||
return this.funkwhaleTrackMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceApproval returns true if this property has a type of
|
||||
// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
|
||||
// SetGoToSocialAnnounceApproval methods to access and set this property.
|
||||
|
|
@ -1698,6 +1798,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsActivity().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
child = this.GetActivityStreamsAdd().JSONLDContext()
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
child = this.GetFunkwhaleAlbum().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -1708,6 +1810,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsArrive().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
child = this.GetActivityStreamsArticle().JSONLDContext()
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
child = this.GetFunkwhaleArtist().JSONLDContext()
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -1750,6 +1854,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsJoin().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
child = this.GetActivityStreamsLeave().JSONLDContext()
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
child = this.GetFunkwhaleLibrary().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -1800,6 +1906,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
child = this.GetFunkwhaleTrack().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
child = this.GetActivityStreamsTravel().JSONLDContext()
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -1841,174 +1949,186 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsAdd() {
|
||||
return 4
|
||||
}
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
if this.IsFunkwhaleAlbum() {
|
||||
return 5
|
||||
}
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
if this.IsActivityStreamsAnnounce() {
|
||||
return 6
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 17
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 22
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 23
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsTootHashtag() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 31
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 44
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 50
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 64
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
|
@ -2036,6 +2156,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum().LessThan(o.GetFunkwhaleAlbum())
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -2046,6 +2168,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist().LessThan(o.GetFunkwhaleArtist())
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -2088,6 +2212,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary().LessThan(o.GetFunkwhaleLibrary())
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -2138,6 +2264,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack().LessThan(o.GetFunkwhaleTrack())
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -2178,6 +2306,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsActivity().Serialize()
|
||||
} else if this.IsActivityStreamsAdd() {
|
||||
return this.GetActivityStreamsAdd().Serialize()
|
||||
} else if this.IsFunkwhaleAlbum() {
|
||||
return this.GetFunkwhaleAlbum().Serialize()
|
||||
} else if this.IsActivityStreamsAnnounce() {
|
||||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
|
|
@ -2188,6 +2318,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsArrive().Serialize()
|
||||
} else if this.IsActivityStreamsArticle() {
|
||||
return this.GetActivityStreamsArticle().Serialize()
|
||||
} else if this.IsFunkwhaleArtist() {
|
||||
return this.GetFunkwhaleArtist().Serialize()
|
||||
} else if this.IsActivityStreamsAudio() {
|
||||
return this.GetActivityStreamsAudio().Serialize()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
|
|
@ -2230,6 +2362,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsJoin().Serialize()
|
||||
} else if this.IsActivityStreamsLeave() {
|
||||
return this.GetActivityStreamsLeave().Serialize()
|
||||
} else if this.IsFunkwhaleLibrary() {
|
||||
return this.GetFunkwhaleLibrary().Serialize()
|
||||
} else if this.IsActivityStreamsLike() {
|
||||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
|
|
@ -2280,6 +2414,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().Serialize()
|
||||
} else if this.IsFunkwhaleTrack() {
|
||||
return this.GetFunkwhaleTrack().Serialize()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
return this.GetActivityStreamsTravel().Serialize()
|
||||
} else if this.IsActivityStreamsUndo() {
|
||||
|
|
@ -2674,6 +2810,34 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
|
|||
this.activitystreamsViewMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleAlbum sets the value of this property. Calling IsFunkwhaleAlbum
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleAlbum(v vocab.FunkwhaleAlbum) {
|
||||
this.Clear()
|
||||
this.funkwhaleAlbumMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleArtist sets the value of this property. Calling IsFunkwhaleArtist
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleArtist(v vocab.FunkwhaleArtist) {
|
||||
this.Clear()
|
||||
this.funkwhaleArtistMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleLibrary sets the value of this property. Calling IsFunkwhaleLibrary
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleLibrary(v vocab.FunkwhaleLibrary) {
|
||||
this.Clear()
|
||||
this.funkwhaleLibraryMember = v
|
||||
}
|
||||
|
||||
// SetFunkwhaleTrack sets the value of this property. Calling IsFunkwhaleTrack
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleTrack(v vocab.FunkwhaleTrack) {
|
||||
this.Clear()
|
||||
this.funkwhaleTrackMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
|
||||
|
|
@ -2752,6 +2916,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsAdd(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleAlbum); ok {
|
||||
this.SetFunkwhaleAlbum(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
|
||||
this.SetActivityStreamsAnnounce(v)
|
||||
return nil
|
||||
|
|
@ -2772,6 +2940,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsArticle(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleArtist); ok {
|
||||
this.SetFunkwhaleArtist(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
|
||||
this.SetActivityStreamsAudio(v)
|
||||
return nil
|
||||
|
|
@ -2856,6 +3028,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLeave(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleLibrary); ok {
|
||||
this.SetFunkwhaleLibrary(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsLike); ok {
|
||||
this.SetActivityStreamsLike(v)
|
||||
return nil
|
||||
|
|
@ -2956,6 +3132,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsTombstone(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.FunkwhaleTrack); ok {
|
||||
this.SetFunkwhaleTrack(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
|
||||
this.SetActivityStreamsTravel(v)
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsAdd" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
|
||||
// DeserializeAlbumFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleAlbum" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
|
||||
// DeserializeAnnounceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAnnounce" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -41,6 +45,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsArticle" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
|
||||
// DeserializeArtistFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleArtist" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
|
||||
// DeserializeAudioActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAudio" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -123,6 +131,10 @@ type privateManager interface {
|
|||
// the "ActivityStreamsLeave" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
|
||||
// DeserializeLibraryFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleLibrary" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
|
||||
// DeserializeLikeActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLike" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -232,6 +244,10 @@ type privateManager interface {
|
|||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
|
||||
// DeserializeTrackFunkwhale returns the deserialization method for the
|
||||
// "FunkwhaleTrack" non-functional property in the vocabulary
|
||||
// "Funkwhale"
|
||||
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsTravel" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -200,7 +200,7 @@ func IsOrExtendsLink(other vocab.Type) bool {
|
|||
// LinkIsDisjointWith returns true if the other provided type is disjoint with the
|
||||
// Link type.
|
||||
func LinkIsDisjointWith(other vocab.Type) bool {
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, disjoint := range disjointWith {
|
||||
if disjoint == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ func IsOrExtendsMention(other vocab.Type) bool {
|
|||
// MentionIsDisjointWith returns true if the other provided type is disjoint with
|
||||
// the Mention type.
|
||||
func MentionIsDisjointWith(other vocab.Type) bool {
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, disjoint := range disjointWith {
|
||||
if disjoint == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool {
|
|||
// Object type. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtendsObject" variant instead.
|
||||
func ObjectIsExtendedBy(other vocab.Type) bool {
|
||||
extensions := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
|
||||
extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package typealbum contains the implementation for the Album type. All
|
||||
// applications are strongly encouraged to use the interface instead of this
|
||||
// concrete definition. The interfaces allow applications to consume only the
|
||||
// types and properties needed and be independent of the go-fed implementation
|
||||
// if another alternative implementation is created. This package is
|
||||
// code-generated and subject to the same license as the go-fed tool used to
|
||||
// generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package typealbum
|
||||
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package typealbum
|
||||
|
||||
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
var typePropertyConstructor func() vocab.JSONLDTypeProperty
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeAltitudePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAltitudeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the
|
||||
// deserialization method for the "ActivityStreamsAttachmentProperty"
|
||||
// non-functional property in the vocabulary "ActivityStreams"
|
||||
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
|
||||
// DeserializeAttributedToPropertyActivityStreams returns the
|
||||
// deserialization method for the
|
||||
// "ActivityStreamsAttributedToProperty" non-functional property in
|
||||
// the vocabulary "ActivityStreams"
|
||||
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
|
||||
// DeserializeAudiencePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAudienceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
|
||||
// DeserializeBccPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBccProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
|
||||
// DeserializeBtoPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBtoProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
|
||||
// DeserializeCcPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCcProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
|
||||
// DeserializeContentPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContentProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
|
||||
// DeserializeContextPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContextProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
|
||||
// DeserializeDurationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsDurationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
|
||||
// DeserializeEndTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
|
||||
// DeserializeIconPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsIconProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
|
||||
// DeserializeIdPropertyJSONLD returns the deserialization method for the
|
||||
// "JSONLDIdProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
|
||||
// DeserializeImagePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsImageProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
|
||||
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsInReplyToProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
|
||||
// DeserializeLikesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
|
||||
// DeserializeLocationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLocationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
|
||||
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsMediaTypeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
|
||||
// DeserializeNamePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsNameProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
|
||||
// DeserializeObjectPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsObjectProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
|
||||
// DeserializePreviewPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPreviewProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
|
||||
// DeserializePublishedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPublishedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
|
||||
// DeserializeRepliesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsRepliesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
|
||||
// DeserializeSensitivePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSensitiveProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
|
||||
// DeserializeSharesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSharesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
|
||||
// DeserializeSourcePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSourceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
|
||||
// DeserializeStartTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsStartTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
|
||||
// DeserializeSummaryPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSummaryProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
|
||||
// DeserializeTagPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsTagProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
|
||||
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUpdatedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
|
||||
// DeserializeUrlPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUrlProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
|
||||
}
|
||||
|
||||
// jsonldContexter is a private interface to determine the JSON-LD contexts and
|
||||
// aliases needed for functional and non-functional properties. It is a helper
|
||||
// interface for this implementation.
|
||||
type jsonldContexter interface {
|
||||
// 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
|
||||
}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
||||
// SetTypePropertyConstructor sets the "type" property's constructor in the
|
||||
// package-global variable. For internal use only, do not use as part of
|
||||
// Application behavior. Must be called at golang init time. Permits
|
||||
// ActivityStreams types to correctly set their "type" property at
|
||||
// construction time, so users don't have to remember to do so each time. It
|
||||
// is dependency injected so other go-fed compatible implementations could
|
||||
// inject their own type.
|
||||
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
|
||||
typePropertyConstructor = f
|
||||
}
|
||||
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package typeartist contains the implementation for the Artist type. All
|
||||
// applications are strongly encouraged to use the interface instead of this
|
||||
// concrete definition. The interfaces allow applications to consume only the
|
||||
// types and properties needed and be independent of the go-fed implementation
|
||||
// if another alternative implementation is created. This package is
|
||||
// code-generated and subject to the same license as the go-fed tool used to
|
||||
// generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package typeartist
|
||||
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package typeartist
|
||||
|
||||
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
var typePropertyConstructor func() vocab.JSONLDTypeProperty
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeAltitudePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAltitudeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the
|
||||
// deserialization method for the "ActivityStreamsAttachmentProperty"
|
||||
// non-functional property in the vocabulary "ActivityStreams"
|
||||
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
|
||||
// DeserializeAttributedToPropertyActivityStreams returns the
|
||||
// deserialization method for the
|
||||
// "ActivityStreamsAttributedToProperty" non-functional property in
|
||||
// the vocabulary "ActivityStreams"
|
||||
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
|
||||
// DeserializeAudiencePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAudienceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
|
||||
// DeserializeBccPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBccProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
|
||||
// DeserializeBtoPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBtoProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
|
||||
// DeserializeCcPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCcProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
|
||||
// DeserializeContentPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContentProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
|
||||
// DeserializeContextPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContextProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
|
||||
// DeserializeDurationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsDurationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
|
||||
// DeserializeEndTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
|
||||
// DeserializeIconPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsIconProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
|
||||
// DeserializeIdPropertyJSONLD returns the deserialization method for the
|
||||
// "JSONLDIdProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
|
||||
// DeserializeImagePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsImageProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
|
||||
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsInReplyToProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
|
||||
// DeserializeLikesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
|
||||
// DeserializeLocationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLocationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
|
||||
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsMediaTypeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
|
||||
// DeserializeNamePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsNameProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
|
||||
// DeserializeObjectPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsObjectProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
|
||||
// DeserializePreviewPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPreviewProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
|
||||
// DeserializePublishedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPublishedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
|
||||
// DeserializeRepliesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsRepliesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
|
||||
// DeserializeSensitivePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSensitiveProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
|
||||
// DeserializeSharesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSharesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
|
||||
// DeserializeSourcePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSourceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
|
||||
// DeserializeStartTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsStartTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
|
||||
// DeserializeSummaryPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSummaryProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
|
||||
// DeserializeTagPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsTagProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
|
||||
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUpdatedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
|
||||
// DeserializeUrlPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUrlProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
|
||||
}
|
||||
|
||||
// jsonldContexter is a private interface to determine the JSON-LD contexts and
|
||||
// aliases needed for functional and non-functional properties. It is a helper
|
||||
// interface for this implementation.
|
||||
type jsonldContexter interface {
|
||||
// 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
|
||||
}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
||||
// SetTypePropertyConstructor sets the "type" property's constructor in the
|
||||
// package-global variable. For internal use only, do not use as part of
|
||||
// Application behavior. Must be called at golang init time. Permits
|
||||
// ActivityStreams types to correctly set their "type" property at
|
||||
// construction time, so users don't have to remember to do so each time. It
|
||||
// is dependency injected so other go-fed compatible implementations could
|
||||
// inject their own type.
|
||||
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
|
||||
typePropertyConstructor = f
|
||||
}
|
||||
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package typelibrary contains the implementation for the Library type. All
|
||||
// applications are strongly encouraged to use the interface instead of this
|
||||
// concrete definition. The interfaces allow applications to consume only the
|
||||
// types and properties needed and be independent of the go-fed implementation
|
||||
// if another alternative implementation is created. This package is
|
||||
// code-generated and subject to the same license as the go-fed tool used to
|
||||
// generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package typelibrary
|
||||
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package typelibrary
|
||||
|
||||
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
var typePropertyConstructor func() vocab.JSONLDTypeProperty
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeAltitudePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAltitudeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the
|
||||
// deserialization method for the "ActivityStreamsAttachmentProperty"
|
||||
// non-functional property in the vocabulary "ActivityStreams"
|
||||
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
|
||||
// DeserializeAttributedToPropertyActivityStreams returns the
|
||||
// deserialization method for the
|
||||
// "ActivityStreamsAttributedToProperty" non-functional property in
|
||||
// the vocabulary "ActivityStreams"
|
||||
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
|
||||
// DeserializeAudiencePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAudienceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
|
||||
// DeserializeBccPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBccProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
|
||||
// DeserializeBtoPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBtoProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
|
||||
// DeserializeCcPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCcProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
|
||||
// DeserializeContentPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContentProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
|
||||
// DeserializeContextPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContextProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
|
||||
// DeserializeDurationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsDurationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
|
||||
// DeserializeEndTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
|
||||
// DeserializeIconPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsIconProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
|
||||
// DeserializeIdPropertyJSONLD returns the deserialization method for the
|
||||
// "JSONLDIdProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
|
||||
// DeserializeImagePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsImageProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
|
||||
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsInReplyToProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
|
||||
// DeserializeLikesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
|
||||
// DeserializeLocationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLocationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
|
||||
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsMediaTypeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
|
||||
// DeserializeNamePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsNameProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
|
||||
// DeserializeObjectPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsObjectProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
|
||||
// DeserializePreviewPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPreviewProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
|
||||
// DeserializePublishedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPublishedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
|
||||
// DeserializeRepliesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsRepliesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
|
||||
// DeserializeSensitivePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSensitiveProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
|
||||
// DeserializeSharesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSharesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
|
||||
// DeserializeSourcePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSourceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
|
||||
// DeserializeStartTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsStartTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
|
||||
// DeserializeSummaryPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSummaryProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
|
||||
// DeserializeTagPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsTagProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
|
||||
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUpdatedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
|
||||
// DeserializeUrlPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUrlProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
|
||||
}
|
||||
|
||||
// jsonldContexter is a private interface to determine the JSON-LD contexts and
|
||||
// aliases needed for functional and non-functional properties. It is a helper
|
||||
// interface for this implementation.
|
||||
type jsonldContexter interface {
|
||||
// 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
|
||||
}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
||||
// SetTypePropertyConstructor sets the "type" property's constructor in the
|
||||
// package-global variable. For internal use only, do not use as part of
|
||||
// Application behavior. Must be called at golang init time. Permits
|
||||
// ActivityStreams types to correctly set their "type" property at
|
||||
// construction time, so users don't have to remember to do so each time. It
|
||||
// is dependency injected so other go-fed compatible implementations could
|
||||
// inject their own type.
|
||||
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
|
||||
typePropertyConstructor = f
|
||||
}
|
||||
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package typetrack contains the implementation for the Track type. All
|
||||
// applications are strongly encouraged to use the interface instead of this
|
||||
// concrete definition. The interfaces allow applications to consume only the
|
||||
// types and properties needed and be independent of the go-fed implementation
|
||||
// if another alternative implementation is created. This package is
|
||||
// code-generated and subject to the same license as the go-fed tool used to
|
||||
// generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package typetrack
|
||||
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package typetrack
|
||||
|
||||
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
var typePropertyConstructor func() vocab.JSONLDTypeProperty
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeAltitudePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAltitudeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the
|
||||
// deserialization method for the "ActivityStreamsAttachmentProperty"
|
||||
// non-functional property in the vocabulary "ActivityStreams"
|
||||
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
|
||||
// DeserializeAttributedToPropertyActivityStreams returns the
|
||||
// deserialization method for the
|
||||
// "ActivityStreamsAttributedToProperty" non-functional property in
|
||||
// the vocabulary "ActivityStreams"
|
||||
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
|
||||
// DeserializeAudiencePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAudienceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
|
||||
// DeserializeBccPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBccProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
|
||||
// DeserializeBtoPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBtoProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
|
||||
// DeserializeCcPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCcProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
|
||||
// DeserializeContentPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContentProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
|
||||
// DeserializeContextPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContextProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
|
||||
// DeserializeDurationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsDurationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
|
||||
// DeserializeEndTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
|
||||
// DeserializeIconPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsIconProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
|
||||
// DeserializeIdPropertyJSONLD returns the deserialization method for the
|
||||
// "JSONLDIdProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
|
||||
// DeserializeImagePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsImageProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
|
||||
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsInReplyToProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
|
||||
// DeserializeLikesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
|
||||
// DeserializeLocationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLocationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
|
||||
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsMediaTypeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
|
||||
// DeserializeNamePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsNameProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
|
||||
// DeserializeObjectPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsObjectProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
|
||||
// DeserializePreviewPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPreviewProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
|
||||
// DeserializePublishedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPublishedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
|
||||
// DeserializeRepliesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsRepliesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
|
||||
// DeserializeSensitivePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSensitiveProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
|
||||
// DeserializeSharesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSharesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
|
||||
// DeserializeSourcePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSourceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
|
||||
// DeserializeStartTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsStartTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
|
||||
// DeserializeSummaryPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSummaryProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
|
||||
// DeserializeTagPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsTagProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
|
||||
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUpdatedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
|
||||
// DeserializeUrlPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUrlProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
|
||||
}
|
||||
|
||||
// jsonldContexter is a private interface to determine the JSON-LD contexts and
|
||||
// aliases needed for functional and non-functional properties. It is a helper
|
||||
// interface for this implementation.
|
||||
type jsonldContexter interface {
|
||||
// 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
|
||||
}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
||||
// SetTypePropertyConstructor sets the "type" property's constructor in the
|
||||
// package-global variable. For internal use only, do not use as part of
|
||||
// Application behavior. Must be called at golang init time. Permits
|
||||
// ActivityStreams types to correctly set their "type" property at
|
||||
// construction time, so users don't have to remember to do so each time. It
|
||||
// is dependency injected so other go-fed compatible implementations could
|
||||
// inject their own type.
|
||||
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
|
||||
typePropertyConstructor = f
|
||||
}
|
||||
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue