Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 936 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 936 Bytes

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