kopia lustrzana https://github.com/activitypub-js/activitypub-models
24 wiersze
774 B
TypeScript
24 wiersze
774 B
TypeScript
import {DeletedValue, FormerTypeValue} from "../../common/types";
|
|
import {APObjectFields} from "../apObject/APObject.types";
|
|
|
|
export interface TombstoneFields extends APObjectFields {
|
|
|
|
/**
|
|
* On a Tombstone object, the formerType property identifies
|
|
* the type of the object that was deleted.
|
|
*
|
|
* {@link https://www.w3.org/ns/activitystreams#formerType Docs}
|
|
*/
|
|
formerType?: FormerTypeValue;
|
|
|
|
/**
|
|
* On a Tombstone object, the deleted property is a timestamp
|
|
* for when the object was deleted.
|
|
*
|
|
* If time must be specified - use {@link https://www.w3schools.blog/xsd-date-and-time-data-types xsd:dateTime}
|
|
*
|
|
* {@link https://www.w3.org/ns/activitystreams#deleted Docs}
|
|
*/
|
|
deleted?: DeletedValue;
|
|
}
|