kopia lustrzana https://github.com/activitypub-js/activitypub-models
update docs
rodzic
6bcbd2dfc2
commit
602a1ab927
|
@ -35,18 +35,25 @@ export interface APObjectFields {
|
||||||
/**
|
/**
|
||||||
* Provides the globally unique identifier for
|
* Provides the globally unique identifier for
|
||||||
* an {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Object}
|
* 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;
|
id?: IdValue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Identifies the {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Object}
|
* Identifies the {@link https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object Object}
|
||||||
* type. Multiple values may be specified.
|
* 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.
|
* Identifies resources attached or related to an object that potentially requires special handling.
|
||||||
|
|
Ładowanie…
Reference in New Issue