@@ -86,7 +86,7 @@ Defined in: [ldp-container/LdpContainer.ts:12](https://github.com/pod-os/PodOS/b
8686
8787> ** anyValue** (...` predicateUris ` ): ` undefined `
8888
89- Defined in: [ thing/Thing.ts:128 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L128 )
89+ Defined in: [ thing/Thing.ts:183 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L183 )
9090
9191Returns any value linked from this thing via one of the given predicates
9292
@@ -110,7 +110,7 @@ Returns any value linked from this thing via one of the given predicates
110110
111111> ** assume** \< ` T ` \> (` SpecificThing ` ): ` T `
112112
113- Defined in: [ thing/Thing.ts:245 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L245 )
113+ Defined in: [ thing/Thing.ts:319 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L319 )
114114
115115Call this method to switch to a more specific subclass of Thing.
116116
@@ -142,7 +142,7 @@ a subclass of Thing to assume
142142
143143> ** attachments** (): [ ` Attachment ` ] ( ../interfaces/Attachment.md ) [ ]
144144
145- Defined in: [ thing/Thing.ts:226 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L226 )
145+ Defined in: [ thing/Thing.ts:300 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L300 )
146146
147147Returns all attachments linked to this thing
148148
@@ -160,7 +160,7 @@ Returns all attachments linked to this thing
160160
161161> ** container** (): ` object `
162162
163- Defined in: [ thing/Thing.ts:255 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L255 )
163+ Defined in: [ thing/Thing.ts:329 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L329 )
164164
165165Returns the container that contains this thing's document
166166The container URI is derived from the thing's URI.
@@ -199,7 +199,7 @@ Array of objects with uri and name
199199
200200> ** description** (): ` undefined `
201201
202- Defined in: [ thing/Thing.ts:141 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L141 )
202+ Defined in: [ thing/Thing.ts:196 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L196 )
203203
204204Returns a literal value that describes this thing. Tries to match common RDF terms
205205used for descriptions, like ` dct:description ` , ` schema:description ` or ` rdfs:comment `
@@ -218,7 +218,7 @@ used for descriptions, like `dct:description`, `schema:description` or `rdfs:com
218218
219219> ** label** (): ` string `
220220
221- Defined in: [ thing/Thing.ts:48 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L48 )
221+ Defined in: [ thing/Thing.ts:57 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L57 )
222222
223223Returns a human-readable label for this thing. Tries to match common RDF terms
224224used for labels, such as ` rdfs:label ` , ` schema:name ` and others.
@@ -239,7 +239,7 @@ If no such term is present, it will derive a label from the URI.
239239
240240> ** literals** (): [ ` Literal ` ] ( ../interfaces/Literal.md ) [ ]
241241
242- Defined in: [ thing/Thing.ts:71 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L71 )
242+ Defined in: [ thing/Thing.ts:80 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L80 )
243243
244244Returns all the literal values that are linked to this thing
245245
@@ -269,11 +269,77 @@ RxJS Observable that pushes a new contains() array when it changes
269269
270270***
271271
272+ ### observeRelations()
273+
274+ > ** observeRelations** (` predicate? ` ): ` Observable ` \< [ ` Relation ` ] ( ../interfaces/Relation.md ) [ ] \>
275+
276+ Defined in: [ thing/Thing.ts:117] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L117 )
277+
278+ Observe changes in links from this thing to other resources
279+
280+ #### Parameters
281+
282+ ##### predicate?
283+
284+ ` string `
285+
286+ #### Returns
287+
288+ ` Observable ` \< [ ` Relation ` ] ( ../interfaces/Relation.md ) [ ] \>
289+
290+ #### Inherited from
291+
292+ [ ` Thing ` ] ( Thing.md ) .[ ` observeRelations ` ] ( Thing.md#observerelations )
293+
294+ ***
295+
296+ ### observeReverseRelations()
297+
298+ > ** observeReverseRelations** (` predicate? ` ): ` Observable ` \< [ ` Relation ` ] ( ../interfaces/Relation.md ) [ ] \>
299+
300+ Defined in: [ thing/Thing.ts:159] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L159 )
301+
302+ Observe changes in links from other resources to this thing
303+
304+ #### Parameters
305+
306+ ##### predicate?
307+
308+ ` string `
309+
310+ #### Returns
311+
312+ ` Observable ` \< [ ` Relation ` ] ( ../interfaces/Relation.md ) [ ] \>
313+
314+ #### Inherited from
315+
316+ [ ` Thing ` ] ( Thing.md ) .[ ` observeReverseRelations ` ] ( Thing.md#observereverserelations )
317+
318+ ***
319+
320+ ### observeTypes()
321+
322+ > ** observeTypes** (): ` Observable ` \< [ ` RdfType ` ] ( ../interfaces/RdfType.md ) [ ] \>
323+
324+ Defined in: [ thing/Thing.ts:281] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L281 )
325+
326+ Observe changes to the list of RDF types for this thing
327+
328+ #### Returns
329+
330+ ` Observable ` \< [ ` RdfType ` ] ( ../interfaces/RdfType.md ) [ ] \>
331+
332+ #### Inherited from
333+
334+ [ ` Thing ` ] ( Thing.md ) .[ ` observeTypes ` ] ( Thing.md#observetypes )
335+
336+ ***
337+
272338### picture()
273339
274340> ** picture** (): \{ ` url ` : ` string ` ; \} \| ` null `
275341
276- Defined in: [ thing/Thing.ts:162 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L162 )
342+ Defined in: [ thing/Thing.ts:217 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L217 )
277343
278344Returns the url of a picture or logo associated with this thing
279345Tries to match common RDF terms used for pictures like ` schema:image ` ,
@@ -295,9 +361,9 @@ An object containing the `url` of the picture
295361
296362> ** relations** (` predicate? ` ): [ ` Relation ` ] ( ../interfaces/Relation.md ) [ ]
297363
298- Defined in: [ thing/Thing.ts:88 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L88 )
364+ Defined in: [ thing/Thing.ts:97 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L97 )
299365
300- Returns all the links from this thing to other resources
366+ Returns all the unique links from this thing to other resources. This only includes named nodes and excludes rdf : type relations.
301367
302368#### Parameters
303369
@@ -319,9 +385,9 @@ Returns all the links from this thing to other resources
319385
320386> ** reverseRelations** (` predicate? ` ): [ ` Relation ` ] ( ../interfaces/Relation.md ) [ ]
321387
322- Defined in: [ thing/Thing.ts:108 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L108 )
388+ Defined in: [ thing/Thing.ts:140 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L140 )
323389
324- Returns all the links from other resources to this thing
390+ Returns all the unique links from other resources to this thing
325391
326392#### Parameters
327393
@@ -343,7 +409,7 @@ Returns all the links from other resources to this thing
343409
344410> ** types** (): [ ` RdfType ` ] ( ../interfaces/RdfType.md ) [ ]
345411
346- Defined in: [ thing/Thing.ts:215 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L215 )
412+ Defined in: [ thing/Thing.ts:270 ] ( https://github.com/pod-os/PodOS/blob/main/core/src/thing/Thing.ts#L270 )
347413
348414Retrieves a list of RDF types for this thing.
349415
0 commit comments