Interface: IActivity
A W3C Activity from Activity Streams
See
https://www.w3.org/TR/activitystreams-core/#activities
Extends
IJsonLdNodeObject
Indexable
[key: string]: string | number | boolean | string[] | IJsonLdContextDefinition | IJsonLdNodeObject | IJsonLdGraphObject | object & object | object & object | object & object | IJsonLdListObject | IJsonLdSetObject | IJsonLdNodePrimitive[] | IJsonLdLanguageMap | IJsonLdIndexMap | IJsonLdNodeObject[] | IJsonLdIdMap | IJsonLdTypeMap | IJsonLdContextDefinitionElement[] | IJsonLdJsonObject | IJsonLdJsonObject[] | {[key: string]: string; } | null | undefined
Properties
@context
@context:
ActivityStreamsContextType
The LD Context.
Overrides
IJsonLdNodeObject.@context
type
type:
ObjectOrArray<string>
Activity Type.
generator?
optionalgenerator:string|string[] |IJsonLdNodeObject
The generator of the Activity.
actor
actor:
string|string[] |IJsonLdNodeObject|undefined
The Actor behind the Activity.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-actor
object
object:
IJsonLdNodeObject
The object affected by the Activity.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object
target?
optionaltarget:IJsonLdNodeObject
The target of the Activity.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-target
summary?
optionalsummary:string|IJsonLdLanguageMap
Summary of the Activity.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary
result?
optionalresult:IJsonLdNodeObject
Result of the Activity.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-result
origin?
optionalorigin:string|string[] |IJsonLdNodeObject
Activity's origin.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-origin
updated
updated:
string
The date and time at which the object was updated.
See
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-updated