kopia lustrzana https://github.com/activitypub-js/activitypub-models
16 wiersze
406 B
TypeScript
16 wiersze
406 B
TypeScript
import { ASObject, ASObjectFields } from "./ASObject.model";
|
|
|
|
// TODO: types
|
|
// https://www.w3.org/TR/activitystreams-core/#collection
|
|
export interface ASCollectionBaseFields extends ASObjectFields {
|
|
totalItems?: any;
|
|
first?: any;
|
|
last?: any;
|
|
current?: any;
|
|
}
|
|
|
|
export class ASCollectionBase extends ASObject {
|
|
constructor(fields: ASCollectionBaseFields) {
|
|
super(fields);
|
|
}
|
|
} |