kopia lustrzana https://github.com/activitypub-js/activitypub-models
17 wiersze
729 B
TypeScript
17 wiersze
729 B
TypeScript
import {ASBase} from "../ASBase.model";
|
|
import { ActivityFields } from "./Activity.types";
|
|
import {ModelType} from "../../common/common.types";
|
|
|
|
/**
|
|
* An Activity is a subtype of Object that describes some form of action that may happen,
|
|
* is currently happening, or has already happened. The Activity type itself serves as an
|
|
* abstract base type for all types of activities. It is important to note that the Activity
|
|
* type itself does not carry any specific semantics about the kind of action being taken.
|
|
*
|
|
* {@link https://www.w3.org/ns/activitystreams#Activity Docs}
|
|
*/
|
|
export class Activity extends ASBase<ActivityFields>{
|
|
constructor(fields: ActivityFields) {
|
|
super(ModelType.Activity, fields);
|
|
}
|
|
} |