kopia lustrzana https://github.com/activitypub-js/activitypub-models
17 wiersze
440 B
TypeScript
17 wiersze
440 B
TypeScript
import {ASBase} from "../asBase/ASBase.model";
|
|
import {ASModelType} from "../../common/common.types";
|
|
import {VideoFields} from "./Video.types";
|
|
|
|
/**
|
|
* Represents a video document of any kind
|
|
*
|
|
* {@link https://www.w3.org/ns/activitystreams#Video Docs}
|
|
*/
|
|
export class Video extends ASBase<VideoFields>{
|
|
constructor(fields: VideoFields) {
|
|
super({
|
|
type: ASModelType.Video,
|
|
...fields
|
|
})
|
|
}
|
|
} |