move to ssb gofed fork (#298)

This commit is contained in:
tobi 2021-11-13 17:29:43 +01:00 committed by GitHub
parent 829a934d23
commit 09ef9e639e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
799 changed files with 6458 additions and 2475 deletions

2
go.mod
View file

@ -10,7 +10,6 @@ require (
github.com/gin-contrib/cors v1.3.1
github.com/gin-contrib/sessions v0.0.3
github.com/gin-gonic/gin v1.7.2-0.20210908033055-3a6f18f32f22
github.com/go-fed/activity v1.0.1-0.20210803212804-d866ba75dd0f
github.com/go-fed/httpsig v1.1.0
github.com/go-playground/validator/v10 v10.9.0
github.com/google/uuid v1.3.0
@ -25,6 +24,7 @@ require (
github.com/russross/blackfriday/v2 v2.1.0
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.0
github.com/superseriousbusiness/activity v1.0.1-0.20211113133524-56560b73ace8
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB
github.com/tdewolff/minify/v2 v2.9.21

4
go.sum
View file

@ -151,8 +151,6 @@ github.com/go-errors/errors v1.0.2/go.mod h1:psDX2osz5VnTOnFWbDeWwS7yejl+uV3FEWE
github.com/go-errors/errors v1.1.1/go.mod h1:psDX2osz5VnTOnFWbDeWwS7yejl+uV3FEWEp4lssFEs=
github.com/go-errors/errors v1.4.0 h1:2OA7MFw38+e9na72T1xgkomPb6GzZzzxvJ5U630FoRM=
github.com/go-errors/errors v1.4.0/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/go-fed/activity v1.0.1-0.20210803212804-d866ba75dd0f h1:etNMc6V75EEoPVbFxXjMb7r6bmIoodXN4McXuPuljLY=
github.com/go-fed/activity v1.0.1-0.20210803212804-d866ba75dd0f/go.mod h1:v4QoPaAzjWZ8zN2VFVGL5ep9C02mst0hQYHUpQwso4Q=
github.com/go-fed/httpsig v0.1.1-0.20190914113940-c2de3672e5b5/go.mod h1:T56HUNYZUQ1AGUzhAYPugZfp36sKApVnGBgKlIY+aIE=
github.com/go-fed/httpsig v1.1.0 h1:9M+hb0jkEICD8/cAiNqEB66R87tTINszBRTjwjQzWcI=
github.com/go-fed/httpsig v1.1.0/go.mod h1:RCMrTZvN1bJYtofsG4rd5NaO5obxQ5xBkdiS7xsT7bM=
@ -445,6 +443,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/superseriousbusiness/activity v1.0.1-0.20211113133524-56560b73ace8 h1:8Bwy6CSsT33/sF5FhjND4vr7jiJCaq4elNTAW4rUzVc=
github.com/superseriousbusiness/activity v1.0.1-0.20211113133524-56560b73ace8/go.mod h1:ZY9xwFDucvp6zTvM6FQZGl8PSOofPBFIAy6gSc85XkY=
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203 h1:1SWXcTphBQjYGWRRxLFIAR1LVtQEj4eR7xPtyeOVM/c=
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203/go.mod h1:0Xw5cYMOYpgaWs+OOSx41ugycl2qvKTi9tlMMcZhFyY=
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB h1:PtW2w6budTvRV2J5QAoSvThTHBuvh8t/+BXIZFAaBSc=

View file

@ -31,7 +31,7 @@
"strings"
"time"
"github.com/go-fed/activity/pub"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/util"
)
@ -671,3 +671,21 @@ func isFollowers(uris []*url.URL, followersURI string) bool {
}
return false
}
// ExtractSensitive extracts whether or not an item is 'sensitive'.
// If no sensitive property is set on the item at all, or if this property
// isn't a boolean, then false will be returned by default.
func ExtractSensitive(withSensitive WithSensitive) bool {
sensitiveProp := withSensitive.GetActivityStreamsSensitive()
if sensitiveProp == nil {
return false
}
for iter := sensitiveProp.Begin(); iter != sensitiveProp.End(); iter = iter.Next() {
if iter.IsXMLSchemaBoolean() {
return iter.Get()
}
}
return false
}

View file

@ -22,10 +22,10 @@
"context"
"encoding/json"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/testrig"
)
@ -49,6 +49,10 @@ func document1() vocab.ActivityStreamsDocument {
dBlurhash.Set("UxQ0EkRP_4tRxtRjWBt7%hozM_ayV@oLf6WB")
d.SetTootBlurhash(dBlurhash)
dSensitive := streams.NewActivityStreamsSensitiveProperty()
dSensitive.AppendXMLSchemaBoolean(true)
d.SetActivityStreamsSensitive(dSensitive)
return d
}

View file

@ -21,8 +21,8 @@
import (
"testing"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/ap"
)

View file

@ -0,0 +1,42 @@
/*
GoToSocial
Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ap_test
import (
"testing"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/ap"
)
type ExtractSensitiveTestSuite struct {
ExtractTestSuite
}
func (suite *ExtractMentionsTestSuite) TestExtractSensitive() {
d := suite.document1
suite.True(ap.ExtractSensitive(d))
n := suite.noteWithMentions1
suite.False(ap.ExtractSensitive(n))
}
func TestExtractSensitiveTestSuite(t *testing.T) {
suite.Run(t, &ExtractSensitiveTestSuite{})
}

View file

@ -18,7 +18,7 @@
package ap
import "github.com/go-fed/activity/streams/vocab"
import "github.com/superseriousbusiness/activity/streams/vocab"
// Accountable represents the minimum activitypub interface for representing an 'account'.
// This interface is fulfilled by: Person, Application, Organization, Service, and Group
@ -249,9 +249,9 @@ type WithCC interface {
GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
}
// WithSensitive ...
// WithSensitive represents an activity with ActivityStreamsSensitiveProperty
type WithSensitive interface {
// TODO
GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
}
// WithConversation ...

View file

@ -29,9 +29,9 @@
"time"
"github.com/gin-gonic/gin"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/api/s2s/user"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -27,9 +27,9 @@
"testing"
"github.com/gin-gonic/gin"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/api/s2s/user"
"github.com/superseriousbusiness/gotosocial/testrig"
)

View file

@ -28,10 +28,10 @@
"testing"
"github.com/gin-gonic/gin"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/api/s2s/user"
"github.com/superseriousbusiness/gotosocial/testrig"
)

View file

@ -27,10 +27,10 @@
"testing"
"github.com/gin-gonic/gin"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/api/s2s/user"
"github.com/superseriousbusiness/gotosocial/testrig"
)

View file

@ -25,14 +25,15 @@
"encoding/pem"
"errors"
"fmt"
"github.com/sirupsen/logrus"
"net/url"
"strings"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/go-fed/httpsig"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/util"

View file

@ -21,7 +21,7 @@
import (
"time"
"github.com/go-fed/activity/pub"
"github.com/superseriousbusiness/activity/pub"
)
/*

View file

@ -22,8 +22,8 @@
"context"
"net/http"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
/*

View file

@ -26,9 +26,9 @@
"net/url"
"strings"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/id"

View file

@ -25,8 +25,8 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
)

View file

@ -25,10 +25,10 @@
"net/http"
"codeberg.org/gruf/go-store/kv"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing"

View file

@ -26,9 +26,9 @@
"net/url"
"strings"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/id"

View file

@ -23,8 +23,8 @@
"net/http"
"net/url"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// federatingActor implements the go-fed federating protocol interface

View file

@ -23,8 +23,8 @@
"errors"
"fmt"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -22,8 +22,8 @@
"context"
"fmt"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/messages"
)

View file

@ -24,8 +24,8 @@
"fmt"
"strings"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -23,8 +23,8 @@
"sync"
"time"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/typeutils"

View file

@ -5,8 +5,8 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/db"
)

View file

@ -23,8 +23,8 @@
"encoding/json"
"testing"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/testrig"
)

View file

@ -5,8 +5,8 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/db"
)

View file

@ -23,8 +23,8 @@
"encoding/json"
"testing"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/testrig"
)

View file

@ -23,8 +23,8 @@
"errors"
"net/url"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/util"
)

View file

@ -22,8 +22,9 @@
"context"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/db"
)
// InboxContains returns true if the OrderedCollection at 'inbox'
@ -56,3 +57,25 @@ func (f *federatingDB) GetInbox(c context.Context, inboxIRI *url.URL) (inbox voc
func (f *federatingDB) SetInbox(c context.Context, inbox vocab.ActivityStreamsOrderedCollectionPage) error {
return nil
}
// InboxForActor fetches the inbox corresponding to the given actorIRI.
//
// It is acceptable to just return nil for the inboxIRI. In this case, the library will
// attempt to resolve the inbox of the actor by remote dereferencing instead.
//
// The library makes this call only after acquiring a lock first.
func (f *federatingDB) InboxForActor(c context.Context, actorIRI *url.URL) (inboxIRI *url.URL, err error) {
account, err := f.db.GetAccountByURI(c, actorIRI.String())
if err != nil {
// if there are just no entries for this account yet it's fine, return nil
// and go-fed will try to dereference it instead
if err == db.ErrNoEntries {
return nil, nil
}
// there's been an actual error...
return nil, err
}
// we got it!
return url.Parse(account.InboxURI)
}

View file

@ -22,8 +22,8 @@
"context"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// Liked obtains the Liked Collection for an actor with the

View file

@ -22,8 +22,8 @@
"context"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// GetOutbox returns the first ordered collection page of the outbox

View file

@ -23,8 +23,8 @@
"errors"
"fmt"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -22,8 +22,8 @@
"testing"
"time"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/messages"

View file

@ -23,8 +23,8 @@
"errors"
"fmt"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -23,8 +23,8 @@
"errors"
"fmt"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/messages"

View file

@ -25,9 +25,9 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -25,10 +25,10 @@
"net/http"
"net/url"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/util"

View file

@ -22,7 +22,7 @@
"context"
"net/url"
"github.com/go-fed/activity/pub"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"

View file

@ -25,10 +25,10 @@
"testing"
"codeberg.org/gruf/go-store/kv"
"github.com/go-fed/activity/pub"
"github.com/go-fed/httpsig"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"

View file

@ -23,7 +23,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/pub"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/util"
)

View file

@ -20,8 +20,8 @@
import (
"codeberg.org/gruf/go-store/kv"
"github.com/go-fed/activity/pub"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/email"

View file

@ -24,7 +24,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
)

View file

@ -24,7 +24,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
)

View file

@ -24,7 +24,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
)

View file

@ -24,7 +24,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -24,7 +24,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -24,8 +24,8 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/util"
)

View file

@ -24,7 +24,7 @@
"fmt"
"net/url"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -27,8 +27,8 @@
"net/http"
"codeberg.org/gruf/go-store/kv"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/email"

View file

@ -24,8 +24,8 @@
"fmt"
"sync"
"github.com/go-fed/activity/pub"
"github.com/go-fed/httpsig"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
)

View file

@ -24,8 +24,8 @@
"net/url"
"sync"
"github.com/go-fed/activity/pub"
"github.com/go-fed/httpsig"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
)

View file

@ -294,7 +294,7 @@ func (c *converter) ASStatusToStatus(ctx context.Context, statusable ap.Statusab
status.Likeable = true
// sensitive
// TODO: this is a bool
status.Sensitive = ap.ExtractSensitive(statusable)
// language
// we might be able to extract this from the contentMap field

View file

@ -24,10 +24,10 @@
"fmt"
"testing"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
)

View file

@ -22,7 +22,7 @@
"context"
"net/url"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/api/model"
"github.com/superseriousbusiness/gotosocial/internal/cache"

View file

@ -19,8 +19,8 @@
package typeutils_test
import (
"github.com/go-fed/activity/streams/vocab"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"

View file

@ -25,9 +25,9 @@
"fmt"
"net/url"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
)
@ -537,6 +537,11 @@ func (c *converter) StatusToAS(ctx context.Context, s *gtsmodel.Status) (vocab.A
repliesProp.SetActivityStreamsCollection(repliesCollection)
status.SetActivityStreamsReplies(repliesProp)
// sensitive
sensitiveProp := streams.NewActivityStreamsSensitiveProperty()
sensitiveProp.AppendXMLSchemaBoolean(s.Sensitive)
status.SetActivityStreamsSensitive(sensitiveProp)
// put the note in our cache in case we need it again soon
if err := c.asCache.Store(s.ID, status); err != nil {
return nil, err

View file

@ -24,9 +24,9 @@
"fmt"
"testing"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
)
type InternalToASTestSuite struct {
@ -75,6 +75,39 @@ func (suite *InternalToASTestSuite) TestOutboxToASCollection() {
suite.Equal(`{"@context":"https://www.w3.org/ns/activitystreams","first":"http://localhost:8080/users/admin/outbox?page=true","id":"http://localhost:8080/users/admin/outbox","type":"OrderedCollection"}`, string(bytes))
}
func (suite *InternalToASTestSuite) TestStatusToAS() {
testStatus := suite.testStatuses["local_account_1_status_1"]
ctx := context.Background()
asStatus, err := suite.typeconverter.StatusToAS(ctx, testStatus)
suite.NoError(err)
ser, err := streams.Serialize(asStatus)
assert.NoError(suite.T(), err)
bytes, err := json.Marshal(ser)
suite.NoError(err)
suite.Equal(`{"@context":"https://www.w3.org/ns/activitystreams","attachment":[],"attributedTo":"http://localhost:8080/users/the_mighty_zork","cc":"http://localhost:8080/users/the_mighty_zork/followers","content":"hello everyone!","id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY","published":"2021-10-20T12:40:37+02:00","replies":{"first":{"id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?page=true","next":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?only_other_accounts=false\u0026page=true","partOf":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies","type":"CollectionPage"},"id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies","type":"Collection"},"sensitive":true,"summary":"introduction post","tag":[],"to":"https://www.w3.org/ns/activitystreams#Public","type":"Note","url":"http://localhost:8080/@the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY"}`, string(bytes))
}
func (suite *InternalToASTestSuite) TestStatusToASNotSensitive() {
testStatus := suite.testStatuses["admin_account_status_1"]
ctx := context.Background()
asStatus, err := suite.typeconverter.StatusToAS(ctx, testStatus)
suite.NoError(err)
ser, err := streams.Serialize(asStatus)
assert.NoError(suite.T(), err)
bytes, err := json.Marshal(ser)
suite.NoError(err)
suite.Equal(`{"@context":"https://www.w3.org/ns/activitystreams","attachment":[],"attributedTo":"http://localhost:8080/users/admin","cc":"http://localhost:8080/users/admin/followers","content":"hello world! #welcome ! first post on the instance :rainbow: !","id":"http://localhost:8080/users/admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R","published":"2021-10-20T11:36:45Z","replies":{"first":{"id":"http://localhost:8080/users/admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R/replies?page=true","next":"http://localhost:8080/users/admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R/replies?only_other_accounts=false\u0026page=true","partOf":"http://localhost:8080/users/admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R/replies","type":"CollectionPage"},"id":"http://localhost:8080/users/admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R/replies","type":"Collection"},"sensitive":false,"summary":"","tag":[],"to":"https://www.w3.org/ns/activitystreams#Public","type":"Note","url":"http://localhost:8080/@admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R"}`, string(bytes))
}
func (suite *InternalToASTestSuite) TestStatusesToASOutboxPage() {
testAccount := suite.testAccounts["admin_account"]
ctx := context.Background()

View file

@ -4,9 +4,9 @@
"fmt"
"net/url"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/id"

View file

@ -23,8 +23,8 @@
"encoding/json"
"testing"
"github.com/go-fed/activity/streams"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/activity/streams"
)
type WrapTestSuite struct {
@ -66,7 +66,7 @@ func (suite *WrapTestSuite) TestWrapNoteInCreate() {
bytes, err := json.Marshal(createI)
suite.NoError(err)
suite.Equal(`{"@context":"https://www.w3.org/ns/activitystreams","actor":"http://localhost:8080/users/the_mighty_zork","cc":"http://localhost:8080/users/the_mighty_zork/followers","id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/activity","object":{"attachment":[],"attributedTo":"http://localhost:8080/users/the_mighty_zork","cc":"http://localhost:8080/users/the_mighty_zork/followers","content":"hello everyone!","id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY","published":"2021-10-20T12:40:37+02:00","replies":{"first":{"id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?page=true","next":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?only_other_accounts=false\u0026page=true","partOf":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies","type":"CollectionPage"},"id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies","type":"Collection"},"summary":"introduction post","tag":[],"to":"https://www.w3.org/ns/activitystreams#Public","type":"Note","url":"http://localhost:8080/@the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY"},"published":"2021-10-20T12:40:37+02:00","to":"https://www.w3.org/ns/activitystreams#Public","type":"Create"}`, string(bytes))
suite.Equal(`{"@context":"https://www.w3.org/ns/activitystreams","actor":"http://localhost:8080/users/the_mighty_zork","cc":"http://localhost:8080/users/the_mighty_zork/followers","id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/activity","object":{"attachment":[],"attributedTo":"http://localhost:8080/users/the_mighty_zork","cc":"http://localhost:8080/users/the_mighty_zork/followers","content":"hello everyone!","id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY","published":"2021-10-20T12:40:37+02:00","replies":{"first":{"id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?page=true","next":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?only_other_accounts=false\u0026page=true","partOf":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies","type":"CollectionPage"},"id":"http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies","type":"Collection"},"sensitive":true,"summary":"introduction post","tag":[],"to":"https://www.w3.org/ns/activitystreams#Public","type":"Note","url":"http://localhost:8080/@the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY"},"published":"2021-10-20T12:40:37+02:00","to":"https://www.w3.org/ns/activitystreams#Public","type":"Create"}`, string(bytes))
}
func TestWrapTestSuite(t *testing.T) {

View file

@ -36,9 +36,9 @@
"os"
"time"
"github.com/go-fed/activity/pub"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
"github.com/superseriousbusiness/gotosocial/internal/ap"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
)

View file

@ -23,7 +23,7 @@
"io/ioutil"
"net/http"
"github.com/go-fed/activity/pub"
"github.com/superseriousbusiness/activity/pub"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/federation"
"github.com/superseriousbusiness/gotosocial/internal/transport"

View file

@ -1,410 +0,0 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
propertyaccuracy "github.com/go-fed/activity/streams/impl/activitystreams/property_accuracy"
propertyactor "github.com/go-fed/activity/streams/impl/activitystreams/property_actor"
propertyaltitude "github.com/go-fed/activity/streams/impl/activitystreams/property_altitude"
propertyanyof "github.com/go-fed/activity/streams/impl/activitystreams/property_anyof"
propertyattachment "github.com/go-fed/activity/streams/impl/activitystreams/property_attachment"
propertyattributedto "github.com/go-fed/activity/streams/impl/activitystreams/property_attributedto"
propertyaudience "github.com/go-fed/activity/streams/impl/activitystreams/property_audience"
propertybcc "github.com/go-fed/activity/streams/impl/activitystreams/property_bcc"
propertybto "github.com/go-fed/activity/streams/impl/activitystreams/property_bto"
propertycc "github.com/go-fed/activity/streams/impl/activitystreams/property_cc"
propertyclosed "github.com/go-fed/activity/streams/impl/activitystreams/property_closed"
propertycontent "github.com/go-fed/activity/streams/impl/activitystreams/property_content"
propertycontext "github.com/go-fed/activity/streams/impl/activitystreams/property_context"
propertycurrent "github.com/go-fed/activity/streams/impl/activitystreams/property_current"
propertydeleted "github.com/go-fed/activity/streams/impl/activitystreams/property_deleted"
propertydescribes "github.com/go-fed/activity/streams/impl/activitystreams/property_describes"
propertyduration "github.com/go-fed/activity/streams/impl/activitystreams/property_duration"
propertyendtime "github.com/go-fed/activity/streams/impl/activitystreams/property_endtime"
propertyfirst "github.com/go-fed/activity/streams/impl/activitystreams/property_first"
propertyfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_followers"
propertyfollowing "github.com/go-fed/activity/streams/impl/activitystreams/property_following"
propertyformertype "github.com/go-fed/activity/streams/impl/activitystreams/property_formertype"
propertygenerator "github.com/go-fed/activity/streams/impl/activitystreams/property_generator"
propertyheight "github.com/go-fed/activity/streams/impl/activitystreams/property_height"
propertyhref "github.com/go-fed/activity/streams/impl/activitystreams/property_href"
propertyhreflang "github.com/go-fed/activity/streams/impl/activitystreams/property_hreflang"
propertyicon "github.com/go-fed/activity/streams/impl/activitystreams/property_icon"
propertyimage "github.com/go-fed/activity/streams/impl/activitystreams/property_image"
propertyinbox "github.com/go-fed/activity/streams/impl/activitystreams/property_inbox"
propertyinreplyto "github.com/go-fed/activity/streams/impl/activitystreams/property_inreplyto"
propertyinstrument "github.com/go-fed/activity/streams/impl/activitystreams/property_instrument"
propertyitems "github.com/go-fed/activity/streams/impl/activitystreams/property_items"
propertylast "github.com/go-fed/activity/streams/impl/activitystreams/property_last"
propertylatitude "github.com/go-fed/activity/streams/impl/activitystreams/property_latitude"
propertyliked "github.com/go-fed/activity/streams/impl/activitystreams/property_liked"
propertylikes "github.com/go-fed/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/go-fed/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/go-fed/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/go-fed/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/go-fed/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/go-fed/activity/streams/impl/activitystreams/property_next"
propertyobject "github.com/go-fed/activity/streams/impl/activitystreams/property_object"
propertyoneof "github.com/go-fed/activity/streams/impl/activitystreams/property_oneof"
propertyordereditems "github.com/go-fed/activity/streams/impl/activitystreams/property_ordereditems"
propertyorigin "github.com/go-fed/activity/streams/impl/activitystreams/property_origin"
propertyoutbox "github.com/go-fed/activity/streams/impl/activitystreams/property_outbox"
propertypartof "github.com/go-fed/activity/streams/impl/activitystreams/property_partof"
propertypreferredusername "github.com/go-fed/activity/streams/impl/activitystreams/property_preferredusername"
propertyprev "github.com/go-fed/activity/streams/impl/activitystreams/property_prev"
propertypreview "github.com/go-fed/activity/streams/impl/activitystreams/property_preview"
propertypublished "github.com/go-fed/activity/streams/impl/activitystreams/property_published"
propertyradius "github.com/go-fed/activity/streams/impl/activitystreams/property_radius"
propertyrel "github.com/go-fed/activity/streams/impl/activitystreams/property_rel"
propertyrelationship "github.com/go-fed/activity/streams/impl/activitystreams/property_relationship"
propertyreplies "github.com/go-fed/activity/streams/impl/activitystreams/property_replies"
propertyresult "github.com/go-fed/activity/streams/impl/activitystreams/property_result"
propertyshares "github.com/go-fed/activity/streams/impl/activitystreams/property_shares"
propertysource "github.com/go-fed/activity/streams/impl/activitystreams/property_source"
propertystartindex "github.com/go-fed/activity/streams/impl/activitystreams/property_startindex"
propertystarttime "github.com/go-fed/activity/streams/impl/activitystreams/property_starttime"
propertystreams "github.com/go-fed/activity/streams/impl/activitystreams/property_streams"
propertysubject "github.com/go-fed/activity/streams/impl/activitystreams/property_subject"
propertysummary "github.com/go-fed/activity/streams/impl/activitystreams/property_summary"
propertytag "github.com/go-fed/activity/streams/impl/activitystreams/property_tag"
propertytarget "github.com/go-fed/activity/streams/impl/activitystreams/property_target"
propertyto "github.com/go-fed/activity/streams/impl/activitystreams/property_to"
propertytotalitems "github.com/go-fed/activity/streams/impl/activitystreams/property_totalitems"
propertyunits "github.com/go-fed/activity/streams/impl/activitystreams/property_units"
propertyupdated "github.com/go-fed/activity/streams/impl/activitystreams/property_updated"
propertyurl "github.com/go-fed/activity/streams/impl/activitystreams/property_url"
propertywidth "github.com/go-fed/activity/streams/impl/activitystreams/property_width"
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
propertyassignedto "github.com/go-fed/activity/streams/impl/forgefed/property_assignedto"
propertycommitted "github.com/go-fed/activity/streams/impl/forgefed/property_committed"
propertycommittedby "github.com/go-fed/activity/streams/impl/forgefed/property_committedby"
propertydependants "github.com/go-fed/activity/streams/impl/forgefed/property_dependants"
propertydependedby "github.com/go-fed/activity/streams/impl/forgefed/property_dependedby"
propertydependencies "github.com/go-fed/activity/streams/impl/forgefed/property_dependencies"
propertydependson "github.com/go-fed/activity/streams/impl/forgefed/property_dependson"
propertydescription "github.com/go-fed/activity/streams/impl/forgefed/property_description"
propertyearlyitems "github.com/go-fed/activity/streams/impl/forgefed/property_earlyitems"
propertyfilesadded "github.com/go-fed/activity/streams/impl/forgefed/property_filesadded"
propertyfilesmodified "github.com/go-fed/activity/streams/impl/forgefed/property_filesmodified"
propertyfilesremoved "github.com/go-fed/activity/streams/impl/forgefed/property_filesremoved"
propertyforks "github.com/go-fed/activity/streams/impl/forgefed/property_forks"
propertyhash "github.com/go-fed/activity/streams/impl/forgefed/property_hash"
propertyisresolved "github.com/go-fed/activity/streams/impl/forgefed/property_isresolved"
propertyref "github.com/go-fed/activity/streams/impl/forgefed/property_ref"
propertyteam "github.com/go-fed/activity/streams/impl/forgefed/property_team"
propertyticketstrackedby "github.com/go-fed/activity/streams/impl/forgefed/property_ticketstrackedby"
propertytracksticketsfor "github.com/go-fed/activity/streams/impl/forgefed/property_tracksticketsfor"
typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit"
typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push"
typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency"
propertyblurhash "github.com/go-fed/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "github.com/go-fed/activity/streams/impl/toot/property_discoverable"
propertyfeatured "github.com/go-fed/activity/streams/impl/toot/property_featured"
propertysignaturealgorithm "github.com/go-fed/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "github.com/go-fed/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "github.com/go-fed/activity/streams/impl/toot/property_voterscount"
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
propertyowner "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_owner"
propertypublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickey"
propertypublickeypem "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickeypem"
typepublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/type_publickey"
)
var mgr *Manager
// init handles the 'magic' of creating a Manager and dependency-injecting it into
// every other code-generated package. This gives the implementations access
// to create any type needed to deserialize, without relying on the other
// specific concrete implementations. In order to replace a go-fed created
// type with your own, be sure to have the manager call your own
// implementation's deserialize functions instead of the built-in type.
// Finally, each implementation views the Manager as an interface with only a
// subset of funcitons available. This means this Manager implements the union
// of those interfaces.
func init() {
mgr = &Manager{}
propertyaccuracy.SetManager(mgr)
propertyactor.SetManager(mgr)
propertyaltitude.SetManager(mgr)
propertyanyof.SetManager(mgr)
propertyattachment.SetManager(mgr)
propertyattributedto.SetManager(mgr)
propertyaudience.SetManager(mgr)
propertybcc.SetManager(mgr)
propertybto.SetManager(mgr)
propertycc.SetManager(mgr)
propertyclosed.SetManager(mgr)
propertycontent.SetManager(mgr)
propertycontext.SetManager(mgr)
propertycurrent.SetManager(mgr)
propertydeleted.SetManager(mgr)
propertydescribes.SetManager(mgr)
propertyduration.SetManager(mgr)
propertyendtime.SetManager(mgr)
propertyfirst.SetManager(mgr)
propertyfollowers.SetManager(mgr)
propertyfollowing.SetManager(mgr)
propertyformertype.SetManager(mgr)
propertygenerator.SetManager(mgr)
propertyheight.SetManager(mgr)
propertyhref.SetManager(mgr)
propertyhreflang.SetManager(mgr)
propertyicon.SetManager(mgr)
propertyimage.SetManager(mgr)
propertyinbox.SetManager(mgr)
propertyinreplyto.SetManager(mgr)
propertyinstrument.SetManager(mgr)
propertyitems.SetManager(mgr)
propertylast.SetManager(mgr)
propertylatitude.SetManager(mgr)
propertyliked.SetManager(mgr)
propertylikes.SetManager(mgr)
propertylocation.SetManager(mgr)
propertylongitude.SetManager(mgr)
propertymanuallyapprovesfollowers.SetManager(mgr)
propertymediatype.SetManager(mgr)
propertyname.SetManager(mgr)
propertynext.SetManager(mgr)
propertyobject.SetManager(mgr)
propertyoneof.SetManager(mgr)
propertyordereditems.SetManager(mgr)
propertyorigin.SetManager(mgr)
propertyoutbox.SetManager(mgr)
propertypartof.SetManager(mgr)
propertypreferredusername.SetManager(mgr)
propertyprev.SetManager(mgr)
propertypreview.SetManager(mgr)
propertypublished.SetManager(mgr)
propertyradius.SetManager(mgr)
propertyrel.SetManager(mgr)
propertyrelationship.SetManager(mgr)
propertyreplies.SetManager(mgr)
propertyresult.SetManager(mgr)
propertyshares.SetManager(mgr)
propertysource.SetManager(mgr)
propertystartindex.SetManager(mgr)
propertystarttime.SetManager(mgr)
propertystreams.SetManager(mgr)
propertysubject.SetManager(mgr)
propertysummary.SetManager(mgr)
propertytag.SetManager(mgr)
propertytarget.SetManager(mgr)
propertyto.SetManager(mgr)
propertytotalitems.SetManager(mgr)
propertyunits.SetManager(mgr)
propertyupdated.SetManager(mgr)
propertyurl.SetManager(mgr)
propertywidth.SetManager(mgr)
typeaccept.SetManager(mgr)
typeactivity.SetManager(mgr)
typeadd.SetManager(mgr)
typeannounce.SetManager(mgr)
typeapplication.SetManager(mgr)
typearrive.SetManager(mgr)
typearticle.SetManager(mgr)
typeaudio.SetManager(mgr)
typeblock.SetManager(mgr)
typecollection.SetManager(mgr)
typecollectionpage.SetManager(mgr)
typecreate.SetManager(mgr)
typedelete.SetManager(mgr)
typedislike.SetManager(mgr)
typedocument.SetManager(mgr)
typeevent.SetManager(mgr)
typeflag.SetManager(mgr)
typefollow.SetManager(mgr)
typegroup.SetManager(mgr)
typeignore.SetManager(mgr)
typeimage.SetManager(mgr)
typeintransitiveactivity.SetManager(mgr)
typeinvite.SetManager(mgr)
typejoin.SetManager(mgr)
typeleave.SetManager(mgr)
typelike.SetManager(mgr)
typelink.SetManager(mgr)
typelisten.SetManager(mgr)
typemention.SetManager(mgr)
typemove.SetManager(mgr)
typenote.SetManager(mgr)
typeobject.SetManager(mgr)
typeoffer.SetManager(mgr)
typeorderedcollection.SetManager(mgr)
typeorderedcollectionpage.SetManager(mgr)
typeorganization.SetManager(mgr)
typepage.SetManager(mgr)
typeperson.SetManager(mgr)
typeplace.SetManager(mgr)
typeprofile.SetManager(mgr)
typequestion.SetManager(mgr)
typeread.SetManager(mgr)
typereject.SetManager(mgr)
typerelationship.SetManager(mgr)
typeremove.SetManager(mgr)
typeservice.SetManager(mgr)
typetentativeaccept.SetManager(mgr)
typetentativereject.SetManager(mgr)
typetombstone.SetManager(mgr)
typetravel.SetManager(mgr)
typeundo.SetManager(mgr)
typeupdate.SetManager(mgr)
typevideo.SetManager(mgr)
typeview.SetManager(mgr)
propertyassignedto.SetManager(mgr)
propertycommitted.SetManager(mgr)
propertycommittedby.SetManager(mgr)
propertydependants.SetManager(mgr)
propertydependedby.SetManager(mgr)
propertydependencies.SetManager(mgr)
propertydependson.SetManager(mgr)
propertydescription.SetManager(mgr)
propertyearlyitems.SetManager(mgr)
propertyfilesadded.SetManager(mgr)
propertyfilesmodified.SetManager(mgr)
propertyfilesremoved.SetManager(mgr)
propertyforks.SetManager(mgr)
propertyhash.SetManager(mgr)
propertyisresolved.SetManager(mgr)
propertyref.SetManager(mgr)
propertyteam.SetManager(mgr)
propertyticketstrackedby.SetManager(mgr)
propertytracksticketsfor.SetManager(mgr)
typebranch.SetManager(mgr)
typecommit.SetManager(mgr)
typepush.SetManager(mgr)
typerepository.SetManager(mgr)
typeticket.SetManager(mgr)
typeticketdependency.SetManager(mgr)
propertyblurhash.SetManager(mgr)
propertydiscoverable.SetManager(mgr)
propertyfeatured.SetManager(mgr)
propertysignaturealgorithm.SetManager(mgr)
propertysignaturevalue.SetManager(mgr)
propertyvoterscount.SetManager(mgr)
typeemoji.SetManager(mgr)
typeidentityproof.SetManager(mgr)
propertyowner.SetManager(mgr)
propertypublickey.SetManager(mgr)
propertypublickeypem.SetManager(mgr)
typepublickey.SetManager(mgr)
typeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeadd.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeapplication.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typearrive.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typearticle.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeaudio.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeblock.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecollection.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecreate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typedelete.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typedislike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typedocument.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeevent.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeflag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typefollow.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typegroup.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeignore.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeimage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeintransitiveactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeinvite.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typejoin.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeleave.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelink.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelisten.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typemention.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typemove.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typenote.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeobject.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeoffer.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeorderedcollection.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeorderedcollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeorganization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeperson.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeplace.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeprofile.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typequestion.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeread.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typereject.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typerelationship.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeremove.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeservice.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetentativeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetentativereject.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetombstone.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetravel.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeundo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typebranch.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecommit.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepush.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typerepository.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeticket.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeticketdependency.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
}

View file

@ -1,203 +0,0 @@
// Code generated by astool. DO NOT EDIT.
package typearrive
import vocab "github.com/go-fed/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 {
// DeserializeActorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsActorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error)
// 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)
// DeserializeInstrumentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsInstrumentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, 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)
// DeserializeOriginPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsOriginProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, 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)
// DeserializeResultPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsResultProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, 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)
// DeserializeTargetPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, 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
}

View file

@ -1,203 +0,0 @@
// Code generated by astool. DO NOT EDIT.
package typeintransitiveactivity
import vocab "github.com/go-fed/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 {
// DeserializeActorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsActorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error)
// 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)
// DeserializeInstrumentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsInstrumentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, 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)
// DeserializeOriginPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsOriginProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, 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)
// DeserializeResultPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsResultProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, 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)
// DeserializeTargetPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, 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
}

View file

@ -1,187 +0,0 @@
// Code generated by astool. DO NOT EDIT.
package typenote
import vocab "github.com/go-fed/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)
// 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)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, 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
}

View file

@ -1,203 +0,0 @@
// Code generated by astool. DO NOT EDIT.
package typetravel
import vocab "github.com/go-fed/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 {
// DeserializeActorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsActorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error)
// 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)
// DeserializeInstrumentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsInstrumentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, 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)
// DeserializeOriginPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsOriginProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, 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)
// DeserializeResultPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsResultProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, 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)
// DeserializeTargetPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, 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
}

View file

@ -18,7 +18,7 @@ implement a few interfaces:
```golang
import (
"github.com/go-fed/activity/pub"
"github.com/superseriousbusiness/activity/pub"
)
type myActivityPubApp struct { /* ... */ }

View file

@ -1,7 +1,7 @@
package pub
import (
"github.com/go-fed/activity/streams/vocab"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// Activity represents any ActivityStreams Activity type.

View file

@ -2,9 +2,10 @@
import (
"context"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// Actor represents ActivityPub's actor concept. It conceptually has an inbox

View file

@ -4,11 +4,12 @@
"context"
"encoding/json"
"fmt"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"io/ioutil"
"net/http"
"net/url"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// baseActor must satisfy the Actor interface.

View file

@ -2,9 +2,10 @@
import (
"context"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// Common contains functions required for both the Social API and Federating

View file

@ -2,8 +2,9 @@
import (
"context"
"github.com/go-fed/activity/streams/vocab"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
)
type Database interface {
@ -58,6 +59,13 @@ type Database interface {
//
// The library makes this call only after acquiring a lock first.
OutboxForInbox(c context.Context, inboxIRI *url.URL) (outboxIRI *url.URL, err error)
// InboxForActor fetches the inbox corresponding to the given actorIRI.
//
// It is acceptable to just return nil for the inboxIRI. In this case, the library will
// attempt to resolve the inbox of the actor by remote dereferencing instead.
//
// The library makes this call only after acquiring a lock first.
InboxForActor(c context.Context, actorIRI *url.URL) (inboxIRI *url.URL, err error)
// Exists returns true if the database has an entry for the specified
// id. It may not be owned by this application instance.
//

View file

@ -2,9 +2,10 @@
import (
"context"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// DelegateActor contains the detailed interface an application must satisfy in

View file

@ -2,9 +2,10 @@
import (
"context"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// FederatingProtocol contains behaviors an application needs to satisfy for the

View file

@ -4,9 +4,10 @@
"context"
"encoding/json"
"fmt"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"net/url"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// OnFollowBehavior enumerates the different default actions that the go-fed

View file

@ -7,7 +7,7 @@
"fmt"
"net/http"
"github.com/go-fed/activity/streams"
"github.com/superseriousbusiness/activity/streams"
)
var ErrNotFound = errors.New("go-fed/activity: ActivityStreams data not found")

View file

@ -1,8 +1,9 @@
package pub
import (
"github.com/go-fed/activity/streams/vocab"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// inReplyToer is an ActivityStreams type with an 'inReplyTo' property

View file

@ -4,10 +4,11 @@
"context"
"encoding/json"
"fmt"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"net/url"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// sideEffectActor must satisfy the DelegateActor interface.
@ -676,18 +677,64 @@ func (a *sideEffectActor) prepare(c context.Context, outboxIRI *url.URL, activit
// server MAY deliver that object to all known sharedInbox endpoints
// on the network.
r = filterURLs(r, IsPublic)
// first check if the implemented database logic can return any inboxes
// from our list of actor IRIs.
foundInboxesFromDB := []*url.URL{}
foundActorsFromDB := []*url.URL{}
for _, actorIRI := range r {
// BEGIN LOCK
err = a.db.Lock(c, actorIRI)
if err != nil {
return
}
inbox, err := a.db.InboxForActor(c, actorIRI)
if err != nil {
// bail on error
a.db.Unlock(c, actorIRI)
return nil, err
}
if inbox != nil {
// we have a hit
foundInboxesFromDB = append(foundInboxesFromDB, inbox)
foundActorsFromDB = append(foundActorsFromDB, actorIRI)
}
// END LOCK
a.db.Unlock(c, actorIRI)
if err != nil {
return nil, err
}
}
// for every actor we found an inbox for in the db, we should
// remove it from the list of actors we still need to dereference
for _, actorIRI := range foundActorsFromDB {
r = removeOne(r, actorIRI)
}
// look for any actors' inboxes that weren't already discovered above;
// find these by making dereference calls to remote instances
t, err := a.common.NewTransport(c, outboxIRI, goFedUserAgent())
if err != nil {
return nil, err
}
receiverActors, err := a.resolveInboxes(c, t, r, 0, a.s2s.MaxDeliveryRecursionDepth(c))
foundActorsFromRemote, err := a.resolveActors(c, t, r, 0, a.s2s.MaxDeliveryRecursionDepth(c))
if err != nil {
return nil, err
}
targets, err := getInboxes(receiverActors)
foundInboxesFromRemote, err := getInboxes(foundActorsFromRemote)
if err != nil {
return nil, err
}
// combine this list of dereferenced inbox IRIs with the inboxes we already
// found in the db, to make a complete list of target IRIs
targets := []*url.URL{}
targets = append(targets, foundInboxesFromDB...)
targets = append(targets, foundInboxesFromRemote...)
// Get inboxes of sender.
err = a.db.Lock(c, outboxIRI)
if err != nil {
@ -723,7 +770,7 @@ func (a *sideEffectActor) prepare(c context.Context, outboxIRI *url.URL, activit
return r, nil
}
// resolveInboxes takes a list of Actor id URIs and returns them as concrete
// resolveActors takes a list of Actor id URIs and returns them as concrete
// instances of actorObject. It attempts to apply recursively when it encounters
// a target that is a Collection or OrderedCollection.
//
@ -733,7 +780,7 @@ func (a *sideEffectActor) prepare(c context.Context, outboxIRI *url.URL, activit
// dereference the collection, WITH the user's credentials.
//
// Note that this also applies to CollectionPage and OrderedCollectionPage.
func (a *sideEffectActor) resolveInboxes(c context.Context, t Transport, r []*url.URL, depth, maxDepth int) (actors []vocab.Type, err error) {
func (a *sideEffectActor) resolveActors(c context.Context, t Transport, r []*url.URL, depth, maxDepth int) (actors []vocab.Type, err error) {
if maxDepth > 0 && depth >= maxDepth {
return
}
@ -748,7 +795,7 @@ func (a *sideEffectActor) resolveInboxes(c context.Context, t Transport, r []*ur
continue
}
var recurActors []vocab.Type
recurActors, err = a.resolveInboxes(c, t, more, depth+1, maxDepth)
recurActors, err = a.resolveActors(c, t, more, depth+1, maxDepth)
if err != nil {
return
}

View file

@ -2,8 +2,9 @@
import (
"context"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// SocialProtocol contains behaviors an application needs to satisfy for the

View file

@ -3,9 +3,10 @@
import (
"context"
"fmt"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"net/url"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
// SocialWrappedCallbacks lists the callback functions that already have some

View file

@ -8,12 +8,13 @@
"encoding/json"
"errors"
"fmt"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams/vocab"
"net/http"
"net/url"
"strings"
"time"
"github.com/superseriousbusiness/activity/streams"
"github.com/superseriousbusiness/activity/streams/vocab"
)
var (
@ -399,6 +400,16 @@ func dedupeIRIs(recipients, ignored []*url.URL) (out []*url.URL) {
return
}
// removeOne removes any occurrences of entry from a slice of entries.
func removeOne(entries []*url.URL, entry *url.URL) (out []*url.URL) {
for _, e := range entries {
if e.String() != entry.String() {
out = append(out, e)
}
}
return out
}
// stripHiddenRecipients removes "bto" and "bcc" from the activity.
//
// Note that this requirement of the specification is under "Section 6: Client

View file

@ -437,6 +437,9 @@
// ActivityStreamsResultPropertyName is the string literal of the name for the result property in the ActivityStreams vocabulary.
var ActivityStreamsResultPropertyName string = "result"
// ActivityStreamsSensitivePropertyName is the string literal of the name for the sensitive property in the ActivityStreams vocabulary.
var ActivityStreamsSensitivePropertyName string = "sensitive"
// ActivityStreamsSharesPropertyName is the string literal of the name for the shares property in the ActivityStreams vocabulary.
var ActivityStreamsSharesPropertyName string = "shares"

View file

@ -0,0 +1,412 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
propertyaccuracy "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy"
propertyactor "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor"
propertyaltitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude"
propertyanyof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof"
propertyattachment "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment"
propertyattributedto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto"
propertyaudience "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience"
propertybcc "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc"
propertybto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto"
propertycc "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc"
propertyclosed "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed"
propertycontent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_content"
propertycontext "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context"
propertycurrent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current"
propertydeleted "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted"
propertydescribes "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes"
propertyduration "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_duration"
propertyendtime "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime"
propertyfirst "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first"
propertyfollowers "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_followers"
propertyfollowing "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_following"
propertyformertype "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype"
propertygenerator "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator"
propertyheight "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_height"
propertyhref "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_href"
propertyhreflang "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang"
propertyicon "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon"
propertyimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image"
propertyinbox "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox"
propertyinreplyto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto"
propertyinstrument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument"
propertyitems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items"
propertylast "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last"
propertylatitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude"
propertyliked "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_liked"
propertylikes "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next"
propertyobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object"
propertyoneof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof"
propertyordereditems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems"
propertyorigin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin"
propertyoutbox "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox"
propertypartof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof"
propertypreferredusername "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername"
propertyprev "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev"
propertypreview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview"
propertypublished "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_published"
propertyradius "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_radius"
propertyrel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_rel"
propertyrelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship"
propertyreplies "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_replies"
propertyresult "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result"
propertysensitive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive"
propertyshares "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_shares"
propertysource "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source"
propertystartindex "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex"
propertystarttime "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime"
propertystreams "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_streams"
propertysubject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject"
propertysummary "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_summary"
propertytag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag"
propertytarget "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target"
propertyto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to"
propertytotalitems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems"
propertyunits "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_units"
propertyupdated "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_updated"
propertyurl "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url"
propertywidth "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_width"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto"
propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed"
propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby"
propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants"
propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby"
propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies"
propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson"
propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description"
propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems"
propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded"
propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified"
propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved"
propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks"
propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash"
propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved"
propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref"
propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team"
propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby"
propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor"
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "github.com/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
propertyfeatured "github.com/superseriousbusiness/activity/streams/impl/toot/property_featured"
propertysignaturealgorithm "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
propertypublickeypem "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem"
typepublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey"
)
var mgr *Manager
// init handles the 'magic' of creating a Manager and dependency-injecting it into
// every other code-generated package. This gives the implementations access
// to create any type needed to deserialize, without relying on the other
// specific concrete implementations. In order to replace a go-fed created
// type with your own, be sure to have the manager call your own
// implementation's deserialize functions instead of the built-in type.
// Finally, each implementation views the Manager as an interface with only a
// subset of funcitons available. This means this Manager implements the union
// of those interfaces.
func init() {
mgr = &Manager{}
propertyaccuracy.SetManager(mgr)
propertyactor.SetManager(mgr)
propertyaltitude.SetManager(mgr)
propertyanyof.SetManager(mgr)
propertyattachment.SetManager(mgr)
propertyattributedto.SetManager(mgr)
propertyaudience.SetManager(mgr)
propertybcc.SetManager(mgr)
propertybto.SetManager(mgr)
propertycc.SetManager(mgr)
propertyclosed.SetManager(mgr)
propertycontent.SetManager(mgr)
propertycontext.SetManager(mgr)
propertycurrent.SetManager(mgr)
propertydeleted.SetManager(mgr)
propertydescribes.SetManager(mgr)
propertyduration.SetManager(mgr)
propertyendtime.SetManager(mgr)
propertyfirst.SetManager(mgr)
propertyfollowers.SetManager(mgr)
propertyfollowing.SetManager(mgr)
propertyformertype.SetManager(mgr)
propertygenerator.SetManager(mgr)
propertyheight.SetManager(mgr)
propertyhref.SetManager(mgr)
propertyhreflang.SetManager(mgr)
propertyicon.SetManager(mgr)
propertyimage.SetManager(mgr)
propertyinbox.SetManager(mgr)
propertyinreplyto.SetManager(mgr)
propertyinstrument.SetManager(mgr)
propertyitems.SetManager(mgr)
propertylast.SetManager(mgr)
propertylatitude.SetManager(mgr)
propertyliked.SetManager(mgr)
propertylikes.SetManager(mgr)
propertylocation.SetManager(mgr)
propertylongitude.SetManager(mgr)
propertymanuallyapprovesfollowers.SetManager(mgr)
propertymediatype.SetManager(mgr)
propertyname.SetManager(mgr)
propertynext.SetManager(mgr)
propertyobject.SetManager(mgr)
propertyoneof.SetManager(mgr)
propertyordereditems.SetManager(mgr)
propertyorigin.SetManager(mgr)
propertyoutbox.SetManager(mgr)
propertypartof.SetManager(mgr)
propertypreferredusername.SetManager(mgr)
propertyprev.SetManager(mgr)
propertypreview.SetManager(mgr)
propertypublished.SetManager(mgr)
propertyradius.SetManager(mgr)
propertyrel.SetManager(mgr)
propertyrelationship.SetManager(mgr)
propertyreplies.SetManager(mgr)
propertyresult.SetManager(mgr)
propertysensitive.SetManager(mgr)
propertyshares.SetManager(mgr)
propertysource.SetManager(mgr)
propertystartindex.SetManager(mgr)
propertystarttime.SetManager(mgr)
propertystreams.SetManager(mgr)
propertysubject.SetManager(mgr)
propertysummary.SetManager(mgr)
propertytag.SetManager(mgr)
propertytarget.SetManager(mgr)
propertyto.SetManager(mgr)
propertytotalitems.SetManager(mgr)
propertyunits.SetManager(mgr)
propertyupdated.SetManager(mgr)
propertyurl.SetManager(mgr)
propertywidth.SetManager(mgr)
typeaccept.SetManager(mgr)
typeactivity.SetManager(mgr)
typeadd.SetManager(mgr)
typeannounce.SetManager(mgr)
typeapplication.SetManager(mgr)
typearrive.SetManager(mgr)
typearticle.SetManager(mgr)
typeaudio.SetManager(mgr)
typeblock.SetManager(mgr)
typecollection.SetManager(mgr)
typecollectionpage.SetManager(mgr)
typecreate.SetManager(mgr)
typedelete.SetManager(mgr)
typedislike.SetManager(mgr)
typedocument.SetManager(mgr)
typeevent.SetManager(mgr)
typeflag.SetManager(mgr)
typefollow.SetManager(mgr)
typegroup.SetManager(mgr)
typeignore.SetManager(mgr)
typeimage.SetManager(mgr)
typeintransitiveactivity.SetManager(mgr)
typeinvite.SetManager(mgr)
typejoin.SetManager(mgr)
typeleave.SetManager(mgr)
typelike.SetManager(mgr)
typelink.SetManager(mgr)
typelisten.SetManager(mgr)
typemention.SetManager(mgr)
typemove.SetManager(mgr)
typenote.SetManager(mgr)
typeobject.SetManager(mgr)
typeoffer.SetManager(mgr)
typeorderedcollection.SetManager(mgr)
typeorderedcollectionpage.SetManager(mgr)
typeorganization.SetManager(mgr)
typepage.SetManager(mgr)
typeperson.SetManager(mgr)
typeplace.SetManager(mgr)
typeprofile.SetManager(mgr)
typequestion.SetManager(mgr)
typeread.SetManager(mgr)
typereject.SetManager(mgr)
typerelationship.SetManager(mgr)
typeremove.SetManager(mgr)
typeservice.SetManager(mgr)
typetentativeaccept.SetManager(mgr)
typetentativereject.SetManager(mgr)
typetombstone.SetManager(mgr)
typetravel.SetManager(mgr)
typeundo.SetManager(mgr)
typeupdate.SetManager(mgr)
typevideo.SetManager(mgr)
typeview.SetManager(mgr)
propertyassignedto.SetManager(mgr)
propertycommitted.SetManager(mgr)
propertycommittedby.SetManager(mgr)
propertydependants.SetManager(mgr)
propertydependedby.SetManager(mgr)
propertydependencies.SetManager(mgr)
propertydependson.SetManager(mgr)
propertydescription.SetManager(mgr)
propertyearlyitems.SetManager(mgr)
propertyfilesadded.SetManager(mgr)
propertyfilesmodified.SetManager(mgr)
propertyfilesremoved.SetManager(mgr)
propertyforks.SetManager(mgr)
propertyhash.SetManager(mgr)
propertyisresolved.SetManager(mgr)
propertyref.SetManager(mgr)
propertyteam.SetManager(mgr)
propertyticketstrackedby.SetManager(mgr)
propertytracksticketsfor.SetManager(mgr)
typebranch.SetManager(mgr)
typecommit.SetManager(mgr)
typepush.SetManager(mgr)
typerepository.SetManager(mgr)
typeticket.SetManager(mgr)
typeticketdependency.SetManager(mgr)
propertyblurhash.SetManager(mgr)
propertydiscoverable.SetManager(mgr)
propertyfeatured.SetManager(mgr)
propertysignaturealgorithm.SetManager(mgr)
propertysignaturevalue.SetManager(mgr)
propertyvoterscount.SetManager(mgr)
typeemoji.SetManager(mgr)
typeidentityproof.SetManager(mgr)
propertyowner.SetManager(mgr)
propertypublickey.SetManager(mgr)
propertypublickeypem.SetManager(mgr)
typepublickey.SetManager(mgr)
typeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeadd.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeapplication.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typearrive.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typearticle.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeaudio.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeblock.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecollection.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecreate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typedelete.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typedislike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typedocument.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeevent.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeflag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typefollow.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typegroup.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeignore.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeimage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeintransitiveactivity.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeinvite.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typejoin.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeleave.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelink.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelisten.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typemention.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typemove.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typenote.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeobject.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeoffer.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeorderedcollection.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeorderedcollectionpage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeorganization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepage.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeperson.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeplace.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeprofile.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typequestion.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeread.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typereject.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typerelationship.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeremove.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeservice.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetentativeaccept.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetentativereject.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetombstone.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetravel.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeundo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typebranch.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecommit.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepush.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typerepository.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeticket.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeticketdependency.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
}

View file

@ -6,7 +6,7 @@
"context"
"errors"
"fmt"
vocab "github.com/go-fed/activity/streams/vocab"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
"strings"
)

View file

@ -3,172 +3,173 @@
package streams
import (
propertyaccuracy "github.com/go-fed/activity/streams/impl/activitystreams/property_accuracy"
propertyactor "github.com/go-fed/activity/streams/impl/activitystreams/property_actor"
propertyaltitude "github.com/go-fed/activity/streams/impl/activitystreams/property_altitude"
propertyanyof "github.com/go-fed/activity/streams/impl/activitystreams/property_anyof"
propertyattachment "github.com/go-fed/activity/streams/impl/activitystreams/property_attachment"
propertyattributedto "github.com/go-fed/activity/streams/impl/activitystreams/property_attributedto"
propertyaudience "github.com/go-fed/activity/streams/impl/activitystreams/property_audience"
propertybcc "github.com/go-fed/activity/streams/impl/activitystreams/property_bcc"
propertybto "github.com/go-fed/activity/streams/impl/activitystreams/property_bto"
propertycc "github.com/go-fed/activity/streams/impl/activitystreams/property_cc"
propertyclosed "github.com/go-fed/activity/streams/impl/activitystreams/property_closed"
propertycontent "github.com/go-fed/activity/streams/impl/activitystreams/property_content"
propertycontext "github.com/go-fed/activity/streams/impl/activitystreams/property_context"
propertycurrent "github.com/go-fed/activity/streams/impl/activitystreams/property_current"
propertydeleted "github.com/go-fed/activity/streams/impl/activitystreams/property_deleted"
propertydescribes "github.com/go-fed/activity/streams/impl/activitystreams/property_describes"
propertyduration "github.com/go-fed/activity/streams/impl/activitystreams/property_duration"
propertyendtime "github.com/go-fed/activity/streams/impl/activitystreams/property_endtime"
propertyfirst "github.com/go-fed/activity/streams/impl/activitystreams/property_first"
propertyfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_followers"
propertyfollowing "github.com/go-fed/activity/streams/impl/activitystreams/property_following"
propertyformertype "github.com/go-fed/activity/streams/impl/activitystreams/property_formertype"
propertygenerator "github.com/go-fed/activity/streams/impl/activitystreams/property_generator"
propertyheight "github.com/go-fed/activity/streams/impl/activitystreams/property_height"
propertyhref "github.com/go-fed/activity/streams/impl/activitystreams/property_href"
propertyhreflang "github.com/go-fed/activity/streams/impl/activitystreams/property_hreflang"
propertyicon "github.com/go-fed/activity/streams/impl/activitystreams/property_icon"
propertyimage "github.com/go-fed/activity/streams/impl/activitystreams/property_image"
propertyinbox "github.com/go-fed/activity/streams/impl/activitystreams/property_inbox"
propertyinreplyto "github.com/go-fed/activity/streams/impl/activitystreams/property_inreplyto"
propertyinstrument "github.com/go-fed/activity/streams/impl/activitystreams/property_instrument"
propertyitems "github.com/go-fed/activity/streams/impl/activitystreams/property_items"
propertylast "github.com/go-fed/activity/streams/impl/activitystreams/property_last"
propertylatitude "github.com/go-fed/activity/streams/impl/activitystreams/property_latitude"
propertyliked "github.com/go-fed/activity/streams/impl/activitystreams/property_liked"
propertylikes "github.com/go-fed/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/go-fed/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/go-fed/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/go-fed/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/go-fed/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/go-fed/activity/streams/impl/activitystreams/property_next"
propertyobject "github.com/go-fed/activity/streams/impl/activitystreams/property_object"
propertyoneof "github.com/go-fed/activity/streams/impl/activitystreams/property_oneof"
propertyordereditems "github.com/go-fed/activity/streams/impl/activitystreams/property_ordereditems"
propertyorigin "github.com/go-fed/activity/streams/impl/activitystreams/property_origin"
propertyoutbox "github.com/go-fed/activity/streams/impl/activitystreams/property_outbox"
propertypartof "github.com/go-fed/activity/streams/impl/activitystreams/property_partof"
propertypreferredusername "github.com/go-fed/activity/streams/impl/activitystreams/property_preferredusername"
propertyprev "github.com/go-fed/activity/streams/impl/activitystreams/property_prev"
propertypreview "github.com/go-fed/activity/streams/impl/activitystreams/property_preview"
propertypublished "github.com/go-fed/activity/streams/impl/activitystreams/property_published"
propertyradius "github.com/go-fed/activity/streams/impl/activitystreams/property_radius"
propertyrel "github.com/go-fed/activity/streams/impl/activitystreams/property_rel"
propertyrelationship "github.com/go-fed/activity/streams/impl/activitystreams/property_relationship"
propertyreplies "github.com/go-fed/activity/streams/impl/activitystreams/property_replies"
propertyresult "github.com/go-fed/activity/streams/impl/activitystreams/property_result"
propertyshares "github.com/go-fed/activity/streams/impl/activitystreams/property_shares"
propertysource "github.com/go-fed/activity/streams/impl/activitystreams/property_source"
propertystartindex "github.com/go-fed/activity/streams/impl/activitystreams/property_startindex"
propertystarttime "github.com/go-fed/activity/streams/impl/activitystreams/property_starttime"
propertystreams "github.com/go-fed/activity/streams/impl/activitystreams/property_streams"
propertysubject "github.com/go-fed/activity/streams/impl/activitystreams/property_subject"
propertysummary "github.com/go-fed/activity/streams/impl/activitystreams/property_summary"
propertytag "github.com/go-fed/activity/streams/impl/activitystreams/property_tag"
propertytarget "github.com/go-fed/activity/streams/impl/activitystreams/property_target"
propertyto "github.com/go-fed/activity/streams/impl/activitystreams/property_to"
propertytotalitems "github.com/go-fed/activity/streams/impl/activitystreams/property_totalitems"
propertyunits "github.com/go-fed/activity/streams/impl/activitystreams/property_units"
propertyupdated "github.com/go-fed/activity/streams/impl/activitystreams/property_updated"
propertyurl "github.com/go-fed/activity/streams/impl/activitystreams/property_url"
propertywidth "github.com/go-fed/activity/streams/impl/activitystreams/property_width"
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
propertyassignedto "github.com/go-fed/activity/streams/impl/forgefed/property_assignedto"
propertycommitted "github.com/go-fed/activity/streams/impl/forgefed/property_committed"
propertycommittedby "github.com/go-fed/activity/streams/impl/forgefed/property_committedby"
propertydependants "github.com/go-fed/activity/streams/impl/forgefed/property_dependants"
propertydependedby "github.com/go-fed/activity/streams/impl/forgefed/property_dependedby"
propertydependencies "github.com/go-fed/activity/streams/impl/forgefed/property_dependencies"
propertydependson "github.com/go-fed/activity/streams/impl/forgefed/property_dependson"
propertydescription "github.com/go-fed/activity/streams/impl/forgefed/property_description"
propertyearlyitems "github.com/go-fed/activity/streams/impl/forgefed/property_earlyitems"
propertyfilesadded "github.com/go-fed/activity/streams/impl/forgefed/property_filesadded"
propertyfilesmodified "github.com/go-fed/activity/streams/impl/forgefed/property_filesmodified"
propertyfilesremoved "github.com/go-fed/activity/streams/impl/forgefed/property_filesremoved"
propertyforks "github.com/go-fed/activity/streams/impl/forgefed/property_forks"
propertyhash "github.com/go-fed/activity/streams/impl/forgefed/property_hash"
propertyisresolved "github.com/go-fed/activity/streams/impl/forgefed/property_isresolved"
propertyref "github.com/go-fed/activity/streams/impl/forgefed/property_ref"
propertyteam "github.com/go-fed/activity/streams/impl/forgefed/property_team"
propertyticketstrackedby "github.com/go-fed/activity/streams/impl/forgefed/property_ticketstrackedby"
propertytracksticketsfor "github.com/go-fed/activity/streams/impl/forgefed/property_tracksticketsfor"
typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit"
typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push"
typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency"
propertyid "github.com/go-fed/activity/streams/impl/jsonld/property_id"
propertytype "github.com/go-fed/activity/streams/impl/jsonld/property_type"
propertyblurhash "github.com/go-fed/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "github.com/go-fed/activity/streams/impl/toot/property_discoverable"
propertyfeatured "github.com/go-fed/activity/streams/impl/toot/property_featured"
propertysignaturealgorithm "github.com/go-fed/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "github.com/go-fed/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "github.com/go-fed/activity/streams/impl/toot/property_voterscount"
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
propertyowner "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_owner"
propertypublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickey"
propertypublickeypem "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickeypem"
typepublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/type_publickey"
vocab "github.com/go-fed/activity/streams/vocab"
propertyaccuracy "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy"
propertyactor "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor"
propertyaltitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude"
propertyanyof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof"
propertyattachment "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment"
propertyattributedto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto"
propertyaudience "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience"
propertybcc "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc"
propertybto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto"
propertycc "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc"
propertyclosed "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed"
propertycontent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_content"
propertycontext "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context"
propertycurrent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current"
propertydeleted "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted"
propertydescribes "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes"
propertyduration "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_duration"
propertyendtime "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime"
propertyfirst "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first"
propertyfollowers "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_followers"
propertyfollowing "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_following"
propertyformertype "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype"
propertygenerator "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator"
propertyheight "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_height"
propertyhref "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_href"
propertyhreflang "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang"
propertyicon "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon"
propertyimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image"
propertyinbox "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox"
propertyinreplyto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto"
propertyinstrument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument"
propertyitems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items"
propertylast "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last"
propertylatitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude"
propertyliked "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_liked"
propertylikes "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next"
propertyobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object"
propertyoneof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof"
propertyordereditems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems"
propertyorigin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin"
propertyoutbox "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox"
propertypartof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof"
propertypreferredusername "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername"
propertyprev "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev"
propertypreview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview"
propertypublished "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_published"
propertyradius "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_radius"
propertyrel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_rel"
propertyrelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship"
propertyreplies "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_replies"
propertyresult "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result"
propertysensitive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive"
propertyshares "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_shares"
propertysource "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source"
propertystartindex "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex"
propertystarttime "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime"
propertystreams "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_streams"
propertysubject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject"
propertysummary "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_summary"
propertytag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag"
propertytarget "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target"
propertyto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to"
propertytotalitems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems"
propertyunits "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_units"
propertyupdated "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_updated"
propertyurl "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url"
propertywidth "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_width"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto"
propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed"
propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby"
propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants"
propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby"
propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies"
propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson"
propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description"
propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems"
propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded"
propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified"
propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved"
propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks"
propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash"
propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved"
propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref"
propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team"
propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby"
propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor"
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id"
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "github.com/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
propertyfeatured "github.com/superseriousbusiness/activity/streams/impl/toot/property_featured"
propertysignaturealgorithm "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
propertypublickeypem "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickeypem"
typepublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// Manager manages interface types and deserializations for use by generated code.
@ -1881,6 +1882,19 @@ func (this Manager) DeserializeResultPropertyActivityStreams() func(map[string]i
}
}
// DeserializeSensitivePropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsSensitiveProperty" non-functional property in the
// vocabulary "ActivityStreams"
func (this Manager) DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) {
i, err := propertysensitive.DeserializeSensitiveProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeServiceActivityStreams returns the deserialization method for the
// "ActivityStreamsService" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -3,61 +3,61 @@
package streams
import (
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
vocab "github.com/go-fed/activity/streams/vocab"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// ActivityStreamsAcceptIsDisjointWith returns true if Accept is disjoint with the

View file

@ -3,61 +3,61 @@
package streams
import (
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
vocab "github.com/go-fed/activity/streams/vocab"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// ActivityStreamsAcceptIsExtendedBy returns true if the other's type extends from

View file

@ -3,61 +3,61 @@
package streams
import (
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
vocab "github.com/go-fed/activity/streams/vocab"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// ActivityStreamsActivityStreamsAcceptExtends returns true if Accept extends from

View file

@ -3,61 +3,61 @@
package streams
import (
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
vocab "github.com/go-fed/activity/streams/vocab"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// IsOrExtendsActivityStreamsAccept returns true if the other provided type is the

View file

@ -3,79 +3,80 @@
package streams
import (
propertyaccuracy "github.com/go-fed/activity/streams/impl/activitystreams/property_accuracy"
propertyactor "github.com/go-fed/activity/streams/impl/activitystreams/property_actor"
propertyaltitude "github.com/go-fed/activity/streams/impl/activitystreams/property_altitude"
propertyanyof "github.com/go-fed/activity/streams/impl/activitystreams/property_anyof"
propertyattachment "github.com/go-fed/activity/streams/impl/activitystreams/property_attachment"
propertyattributedto "github.com/go-fed/activity/streams/impl/activitystreams/property_attributedto"
propertyaudience "github.com/go-fed/activity/streams/impl/activitystreams/property_audience"
propertybcc "github.com/go-fed/activity/streams/impl/activitystreams/property_bcc"
propertybto "github.com/go-fed/activity/streams/impl/activitystreams/property_bto"
propertycc "github.com/go-fed/activity/streams/impl/activitystreams/property_cc"
propertyclosed "github.com/go-fed/activity/streams/impl/activitystreams/property_closed"
propertycontent "github.com/go-fed/activity/streams/impl/activitystreams/property_content"
propertycontext "github.com/go-fed/activity/streams/impl/activitystreams/property_context"
propertycurrent "github.com/go-fed/activity/streams/impl/activitystreams/property_current"
propertydeleted "github.com/go-fed/activity/streams/impl/activitystreams/property_deleted"
propertydescribes "github.com/go-fed/activity/streams/impl/activitystreams/property_describes"
propertyduration "github.com/go-fed/activity/streams/impl/activitystreams/property_duration"
propertyendtime "github.com/go-fed/activity/streams/impl/activitystreams/property_endtime"
propertyfirst "github.com/go-fed/activity/streams/impl/activitystreams/property_first"
propertyfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_followers"
propertyfollowing "github.com/go-fed/activity/streams/impl/activitystreams/property_following"
propertyformertype "github.com/go-fed/activity/streams/impl/activitystreams/property_formertype"
propertygenerator "github.com/go-fed/activity/streams/impl/activitystreams/property_generator"
propertyheight "github.com/go-fed/activity/streams/impl/activitystreams/property_height"
propertyhref "github.com/go-fed/activity/streams/impl/activitystreams/property_href"
propertyhreflang "github.com/go-fed/activity/streams/impl/activitystreams/property_hreflang"
propertyicon "github.com/go-fed/activity/streams/impl/activitystreams/property_icon"
propertyimage "github.com/go-fed/activity/streams/impl/activitystreams/property_image"
propertyinbox "github.com/go-fed/activity/streams/impl/activitystreams/property_inbox"
propertyinreplyto "github.com/go-fed/activity/streams/impl/activitystreams/property_inreplyto"
propertyinstrument "github.com/go-fed/activity/streams/impl/activitystreams/property_instrument"
propertyitems "github.com/go-fed/activity/streams/impl/activitystreams/property_items"
propertylast "github.com/go-fed/activity/streams/impl/activitystreams/property_last"
propertylatitude "github.com/go-fed/activity/streams/impl/activitystreams/property_latitude"
propertyliked "github.com/go-fed/activity/streams/impl/activitystreams/property_liked"
propertylikes "github.com/go-fed/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/go-fed/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/go-fed/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/go-fed/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/go-fed/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/go-fed/activity/streams/impl/activitystreams/property_next"
propertyobject "github.com/go-fed/activity/streams/impl/activitystreams/property_object"
propertyoneof "github.com/go-fed/activity/streams/impl/activitystreams/property_oneof"
propertyordereditems "github.com/go-fed/activity/streams/impl/activitystreams/property_ordereditems"
propertyorigin "github.com/go-fed/activity/streams/impl/activitystreams/property_origin"
propertyoutbox "github.com/go-fed/activity/streams/impl/activitystreams/property_outbox"
propertypartof "github.com/go-fed/activity/streams/impl/activitystreams/property_partof"
propertypreferredusername "github.com/go-fed/activity/streams/impl/activitystreams/property_preferredusername"
propertyprev "github.com/go-fed/activity/streams/impl/activitystreams/property_prev"
propertypreview "github.com/go-fed/activity/streams/impl/activitystreams/property_preview"
propertypublished "github.com/go-fed/activity/streams/impl/activitystreams/property_published"
propertyradius "github.com/go-fed/activity/streams/impl/activitystreams/property_radius"
propertyrel "github.com/go-fed/activity/streams/impl/activitystreams/property_rel"
propertyrelationship "github.com/go-fed/activity/streams/impl/activitystreams/property_relationship"
propertyreplies "github.com/go-fed/activity/streams/impl/activitystreams/property_replies"
propertyresult "github.com/go-fed/activity/streams/impl/activitystreams/property_result"
propertyshares "github.com/go-fed/activity/streams/impl/activitystreams/property_shares"
propertysource "github.com/go-fed/activity/streams/impl/activitystreams/property_source"
propertystartindex "github.com/go-fed/activity/streams/impl/activitystreams/property_startindex"
propertystarttime "github.com/go-fed/activity/streams/impl/activitystreams/property_starttime"
propertystreams "github.com/go-fed/activity/streams/impl/activitystreams/property_streams"
propertysubject "github.com/go-fed/activity/streams/impl/activitystreams/property_subject"
propertysummary "github.com/go-fed/activity/streams/impl/activitystreams/property_summary"
propertytag "github.com/go-fed/activity/streams/impl/activitystreams/property_tag"
propertytarget "github.com/go-fed/activity/streams/impl/activitystreams/property_target"
propertyto "github.com/go-fed/activity/streams/impl/activitystreams/property_to"
propertytotalitems "github.com/go-fed/activity/streams/impl/activitystreams/property_totalitems"
propertyunits "github.com/go-fed/activity/streams/impl/activitystreams/property_units"
propertyupdated "github.com/go-fed/activity/streams/impl/activitystreams/property_updated"
propertyurl "github.com/go-fed/activity/streams/impl/activitystreams/property_url"
propertywidth "github.com/go-fed/activity/streams/impl/activitystreams/property_width"
vocab "github.com/go-fed/activity/streams/vocab"
propertyaccuracy "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_accuracy"
propertyactor "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor"
propertyaltitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_altitude"
propertyanyof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof"
propertyattachment "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment"
propertyattributedto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto"
propertyaudience "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience"
propertybcc "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc"
propertybto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto"
propertycc "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc"
propertyclosed "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed"
propertycontent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_content"
propertycontext "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context"
propertycurrent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current"
propertydeleted "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_deleted"
propertydescribes "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes"
propertyduration "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_duration"
propertyendtime "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_endtime"
propertyfirst "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first"
propertyfollowers "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_followers"
propertyfollowing "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_following"
propertyformertype "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype"
propertygenerator "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator"
propertyheight "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_height"
propertyhref "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_href"
propertyhreflang "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_hreflang"
propertyicon "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon"
propertyimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image"
propertyinbox "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inbox"
propertyinreplyto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto"
propertyinstrument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument"
propertyitems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items"
propertylast "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last"
propertylatitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_latitude"
propertyliked "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_liked"
propertylikes "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_likes"
propertylocation "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location"
propertylongitude "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_longitude"
propertymanuallyapprovesfollowers "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers"
propertymediatype "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_mediatype"
propertyname "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_name"
propertynext "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next"
propertyobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object"
propertyoneof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof"
propertyordereditems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems"
propertyorigin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin"
propertyoutbox "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_outbox"
propertypartof "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof"
propertypreferredusername "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername"
propertyprev "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev"
propertypreview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview"
propertypublished "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_published"
propertyradius "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_radius"
propertyrel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_rel"
propertyrelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship"
propertyreplies "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_replies"
propertyresult "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result"
propertysensitive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_sensitive"
propertyshares "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_shares"
propertysource "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source"
propertystartindex "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_startindex"
propertystarttime "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_starttime"
propertystreams "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_streams"
propertysubject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject"
propertysummary "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_summary"
propertytag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag"
propertytarget "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target"
propertyto "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to"
propertytotalitems "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_totalitems"
propertyunits "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_units"
propertyupdated "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_updated"
propertyurl "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url"
propertywidth "github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_width"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// NewActivityStreamsActivityStreamsAccuracyProperty creates a new
@ -420,6 +421,12 @@ func NewActivityStreamsResultProperty() vocab.ActivityStreamsResultProperty {
return propertyresult.NewActivityStreamsResultProperty()
}
// NewActivityStreamsActivityStreamsSensitiveProperty creates a new
// ActivityStreamsSensitiveProperty
func NewActivityStreamsSensitiveProperty() vocab.ActivityStreamsSensitiveProperty {
return propertysensitive.NewActivityStreamsSensitiveProperty()
}
// NewActivityStreamsActivityStreamsSharesProperty creates a new
// ActivityStreamsSharesProperty
func NewActivityStreamsSharesProperty() vocab.ActivityStreamsSharesProperty {

View file

@ -3,61 +3,61 @@
package streams
import (
typeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/go-fed/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/go-fed/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/go-fed/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/go-fed/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/go-fed/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/go-fed/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/go-fed/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/go-fed/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/go-fed/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/go-fed/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/go-fed/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/go-fed/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/go-fed/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/go-fed/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/go-fed/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/go-fed/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/go-fed/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/go-fed/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/go-fed/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/go-fed/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/go-fed/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/go-fed/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/go-fed/activity/streams/impl/activitystreams/type_like"
typelink "github.com/go-fed/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/go-fed/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/go-fed/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/go-fed/activity/streams/impl/activitystreams/type_move"
typenote "github.com/go-fed/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/go-fed/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/go-fed/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/go-fed/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/go-fed/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/go-fed/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/go-fed/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/go-fed/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/go-fed/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/go-fed/activity/streams/impl/activitystreams/type_question"
typeread "github.com/go-fed/activity/streams/impl/activitystreams/type_read"
typereject "github.com/go-fed/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/go-fed/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/go-fed/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/go-fed/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/go-fed/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/go-fed/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/go-fed/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/go-fed/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
vocab "github.com/go-fed/activity/streams/vocab"
typeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept"
typeactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity"
typeadd "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add"
typeannounce "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce"
typeapplication "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application"
typearrive "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive"
typearticle "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article"
typeaudio "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio"
typeblock "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block"
typecollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection"
typecollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage"
typecreate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create"
typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete"
typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike"
typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document"
typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event"
typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag"
typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow"
typegroup "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group"
typeignore "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore"
typeimage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image"
typeintransitiveactivity "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity"
typeinvite "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite"
typejoin "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join"
typeleave "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave"
typelike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like"
typelink "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link"
typelisten "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen"
typemention "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention"
typemove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move"
typenote "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note"
typeobject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object"
typeoffer "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer"
typeorderedcollection "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection"
typeorderedcollectionpage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage"
typeorganization "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization"
typepage "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page"
typeperson "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person"
typeplace "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place"
typeprofile "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile"
typequestion "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question"
typeread "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read"
typereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject"
typerelationship "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship"
typeremove "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove"
typeservice "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service"
typetentativeaccept "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept"
typetentativereject "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject"
typetombstone "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone"
typetravel "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel"
typeundo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo"
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// NewActivityStreamsAccept creates a new ActivityStreamsAccept

View file

@ -3,13 +3,13 @@
package streams
import (
typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit"
typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push"
typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency"
vocab "github.com/go-fed/activity/streams/vocab"
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// ForgeFedBranchIsDisjointWith returns true if Branch is disjoint with the

View file

@ -3,13 +3,13 @@
package streams
import (
typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit"
typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push"
typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency"
vocab "github.com/go-fed/activity/streams/vocab"
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// ForgeFedBranchIsExtendedBy returns true if the other's type extends from

Some files were not shown because too many files have changed in this diff Show more