Skip to content

spacebarchat/activitypub-types

 
 

Repository files navigation

ActivityPub Types

Extracted types and refactor from activitypub-models repo.

Installation

npm i activitypub-types
# or
yarn add activitypub-types

Available types

Implemented and documented every structure from specification. You can use interfaces and extend them by yourself, or you can use specified fields types:

// All models interfaces starts with AP
import { APObject, APNote, ContextField, ContentMapField } from 'activitypub-types';

Changelog

v1.0.3

  • Use orderedItems instead of items in OrderedCollection (#1, thanks @RangerMauve)

Contact

You can contact me via matrix or telegram

License

MIT

About

ActivityPub types for Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.5%
  • JavaScript 1.5%