2022-11-06 16:29:58 +00:00
|
|
|
import {APBase} from "../apBase/APBase.model";
|
2022-10-30 20:32:42 +00:00
|
|
|
import {ASModelType} from "../../common/common.types";
|
|
|
|
import {OrderedCollectionPageFields} from "./OrderedCollectionPage.types";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Used to represent ordered subsets of items from an OrderedCollection.
|
|
|
|
*
|
|
|
|
* {@link https://www.w3.org/ns/activitystreams#OrderedCollectionPage Docs}
|
|
|
|
*/
|
2022-11-06 16:29:58 +00:00
|
|
|
export class OrderedCollectionPage extends APBase<OrderedCollectionPageFields>{
|
2022-10-30 20:32:42 +00:00
|
|
|
constructor(fields: OrderedCollectionPageFields) {
|
|
|
|
super({
|
|
|
|
type: ASModelType.OrderedCollectionPage,
|
|
|
|
...fields
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|