kopia lustrzana https://github.com/activitypub-js/activitypub-models
14 wiersze
421 B
TypeScript
14 wiersze
421 B
TypeScript
|
import {CollectionPage, CollectionPageFields} from "./CollectionPage.model";
|
||
|
|
||
|
// TODO: types
|
||
|
// TODO: is it correct?
|
||
|
// https://www.w3.org/TR/activitystreams-core/#collection
|
||
|
export interface OrderedCollectionPageFields extends CollectionPageFields {
|
||
|
startIndex?: any;
|
||
|
}
|
||
|
|
||
|
export class OrderedCollectionPage extends CollectionPage {
|
||
|
constructor(fields: OrderedCollectionPageFields) {
|
||
|
super(fields);
|
||
|
}
|
||
|
}
|