pull/3/head
SiRanWeb 2022-11-02 16:42:57 +03:00
rodzic 6bcbd2dfc2
commit 602a1ab927
1 zmienionych plików z 10 dodań i 3 usunięć

Wyświetl plik

@ -35,18 +35,25 @@ export interface APObjectFields {
/**
* Provides the globally unique identifier for
* an {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Object}
* All objects must have unique global identifier (unless the object is transient,
* in which case the id MAY be omitted).
*
* {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Docs (@id)}
* {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object AS Docs (@id)}
*
* {@link https://www.w3.org/TR/activitypub/#obj-id AP Docs}
*/
id?: IdValue;
/**
* Identifies the {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Object}
* type. Multiple values may be specified.
* All objects must have type.
*
* {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Docs (@type)}
* {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object AS Docs (@type)}
*
* {@link https://www.w3.org/TR/activitypub/#obj-id AP Docs}
*/
type?: TypeValue | TypeValue[];
type: TypeValue | TypeValue[];
/**
* Identifies resources attached or related to an object that potentially requires special handling.