@@ -99,6 +99,10 @@ export namespace Components {
9999 "container" : LdpContainer ;
100100 "type" : 'file' | 'folder' ;
101101 }
102+ /**
103+ * Displays a description of the resource, as provided by [Thing.description()](https://pod-os.org/reference/core/classes/thing/#description).
104+ * Re-renders when data in the store changes using [Thing.observeDescription()](https://pod-os.org/reference/core/classes/thing/#observeDescription).
105+ */
102106 interface PosDescription {
103107 }
104108 /**
@@ -139,7 +143,8 @@ export namespace Components {
139143 "uri" : string ;
140144 }
141145 /**
142- * Displays a human-readable label of the resource, provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label)
146+ * Displays a human-readable label of the resource, as provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label).
147+ * Re-renders when data in the store changes using [Thing.observeLabel()](https://pod-os.org/reference/core/classes/thing/#observeLabel).
143148 */
144149 interface PosLabel {
145150 }
@@ -360,7 +365,8 @@ export namespace Components {
360365 }
361366 /**
362367 * Shows a single value linked to the resource using the given predicate.
363- * The value is determined by [Thing.anyValue()](https://pod-os.org/reference/core/classes/thing/#anyvalue)
368+ * The value is determined by [Thing.observeAnyValue()](https://pod-os.org/reference/core/classes/thing/#observeanyvalue)
369+ * and re-renders when data in the store changes
364370 */
365371 interface PosValue {
366372 /**
@@ -749,6 +755,10 @@ declare global {
749755 interface HTMLPosDescriptionElementEventMap {
750756 "pod-os:resource" : any ;
751757 }
758+ /**
759+ * Displays a description of the resource, as provided by [Thing.description()](https://pod-os.org/reference/core/classes/thing/#description).
760+ * Re-renders when data in the store changes using [Thing.observeDescription()](https://pod-os.org/reference/core/classes/thing/#observeDescription).
761+ */
752762 interface HTMLPosDescriptionElement extends Components . PosDescription , HTMLStencilElement {
753763 addEventListener < K extends keyof HTMLPosDescriptionElementEventMap > ( type : K , listener : ( this : HTMLPosDescriptionElement , ev : PosDescriptionCustomEvent < HTMLPosDescriptionElementEventMap [ K ] > ) => any , options ?: boolean | AddEventListenerOptions ) : void ;
754764 addEventListener < K extends keyof DocumentEventMap > ( type : K , listener : ( this : Document , ev : DocumentEventMap [ K ] ) => any , options ?: boolean | AddEventListenerOptions ) : void ;
@@ -853,7 +863,8 @@ declare global {
853863 "pod-os:resource" : any ;
854864 }
855865 /**
856- * Displays a human-readable label of the resource, provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label)
866+ * Displays a human-readable label of the resource, as provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label).
867+ * Re-renders when data in the store changes using [Thing.observeLabel()](https://pod-os.org/reference/core/classes/thing/#observeLabel).
857868 */
858869 interface HTMLPosLabelElement extends Components . PosLabel , HTMLStencilElement {
859870 addEventListener < K extends keyof HTMLPosLabelElementEventMap > ( type : K , listener : ( this : HTMLPosLabelElement , ev : PosLabelCustomEvent < HTMLPosLabelElementEventMap [ K ] > ) => any , options ?: boolean | AddEventListenerOptions ) : void ;
@@ -1341,7 +1352,8 @@ declare global {
13411352 }
13421353 /**
13431354 * Shows a single value linked to the resource using the given predicate.
1344- * The value is determined by [Thing.anyValue()](https://pod-os.org/reference/core/classes/thing/#anyvalue)
1355+ * The value is determined by [Thing.observeAnyValue()](https://pod-os.org/reference/core/classes/thing/#observeanyvalue)
1356+ * and re-renders when data in the store changes
13451357 */
13461358 interface HTMLPosValueElement extends Components . PosValue , HTMLStencilElement {
13471359 addEventListener < K extends keyof HTMLPosValueElementEventMap > ( type : K , listener : ( this : HTMLPosValueElement , ev : PosValueCustomEvent < HTMLPosValueElementEventMap [ K ] > ) => any , options ?: boolean | AddEventListenerOptions ) : void ;
@@ -1539,6 +1551,10 @@ declare namespace LocalJSX {
15391551 "onPod-os:link" ?: ( event : PosCreateNewContainerItemCustomEvent < string > ) => void ;
15401552 "type" : 'file' | 'folder' ;
15411553 }
1554+ /**
1555+ * Displays a description of the resource, as provided by [Thing.description()](https://pod-os.org/reference/core/classes/thing/#description).
1556+ * Re-renders when data in the store changes using [Thing.observeDescription()](https://pod-os.org/reference/core/classes/thing/#observeDescription).
1557+ */
15421558 interface PosDescription {
15431559 "onPod-os:resource" ?: ( event : PosDescriptionCustomEvent < any > ) => void ;
15441560 }
@@ -1593,7 +1609,8 @@ declare namespace LocalJSX {
15931609 "uri" ?: string ;
15941610 }
15951611 /**
1596- * Displays a human-readable label of the resource, provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label)
1612+ * Displays a human-readable label of the resource, as provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label).
1613+ * Re-renders when data in the store changes using [Thing.observeLabel()](https://pod-os.org/reference/core/classes/thing/#observeLabel).
15971614 */
15981615 interface PosLabel {
15991616 "onPod-os:resource" ?: ( event : PosLabelCustomEvent < any > ) => void ;
@@ -1855,7 +1872,8 @@ declare namespace LocalJSX {
18551872 }
18561873 /**
18571874 * Shows a single value linked to the resource using the given predicate.
1858- * The value is determined by [Thing.anyValue()](https://pod-os.org/reference/core/classes/thing/#anyvalue)
1875+ * The value is determined by [Thing.observeAnyValue()](https://pod-os.org/reference/core/classes/thing/#observeanyvalue)
1876+ * and re-renders when data in the store changes
18591877 */
18601878 interface PosValue {
18611879 "onPod-os:resource" ?: ( event : PosValueCustomEvent < any > ) => void ;
@@ -2046,6 +2064,10 @@ declare module "@stencil/core" {
20462064 "pos-container-item" : LocalJSX . IntrinsicElements [ "pos-container-item" ] & JSXBase . HTMLAttributes < HTMLPosContainerItemElement > ;
20472065 "pos-container-toolbar" : LocalJSX . IntrinsicElements [ "pos-container-toolbar" ] & JSXBase . HTMLAttributes < HTMLPosContainerToolbarElement > ;
20482066 "pos-create-new-container-item" : LocalJSX . IntrinsicElements [ "pos-create-new-container-item" ] & JSXBase . HTMLAttributes < HTMLPosCreateNewContainerItemElement > ;
2067+ /**
2068+ * Displays a description of the resource, as provided by [Thing.description()](https://pod-os.org/reference/core/classes/thing/#description).
2069+ * Re-renders when data in the store changes using [Thing.observeDescription()](https://pod-os.org/reference/core/classes/thing/#observeDescription).
2070+ */
20492071 "pos-description" : LocalJSX . IntrinsicElements [ "pos-description" ] & JSXBase . HTMLAttributes < HTMLPosDescriptionElement > ;
20502072 /**
20512073 * Styled wrapper around native dialog element, with slots `title` and `content`
@@ -2063,7 +2085,8 @@ declare module "@stencil/core" {
20632085 "pos-image" : LocalJSX . IntrinsicElements [ "pos-image" ] & JSXBase . HTMLAttributes < HTMLPosImageElement > ;
20642086 "pos-internal-router" : LocalJSX . IntrinsicElements [ "pos-internal-router" ] & JSXBase . HTMLAttributes < HTMLPosInternalRouterElement > ;
20652087 /**
2066- * Displays a human-readable label of the resource, provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label)
2088+ * Displays a human-readable label of the resource, as provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label).
2089+ * Re-renders when data in the store changes using [Thing.observeLabel()](https://pod-os.org/reference/core/classes/thing/#observeLabel).
20672090 */
20682091 "pos-label" : LocalJSX . IntrinsicElements [ "pos-label" ] & JSXBase . HTMLAttributes < HTMLPosLabelElement > ;
20692092 /**
@@ -2141,7 +2164,8 @@ declare module "@stencil/core" {
21412164 "pos-user-menu" : LocalJSX . IntrinsicElements [ "pos-user-menu" ] & JSXBase . HTMLAttributes < HTMLPosUserMenuElement > ;
21422165 /**
21432166 * Shows a single value linked to the resource using the given predicate.
2144- * The value is determined by [Thing.anyValue()](https://pod-os.org/reference/core/classes/thing/#anyvalue)
2167+ * The value is determined by [Thing.observeAnyValue()](https://pod-os.org/reference/core/classes/thing/#observeanyvalue)
2168+ * and re-renders when data in the store changes
21452169 */
21462170 "pos-value" : LocalJSX . IntrinsicElements [ "pos-value" ] & JSXBase . HTMLAttributes < HTMLPosValueElement > ;
21472171 }
0 commit comments