@pod-os/core 0.23.1-rc.b62ebb7.0 → 0.23.1-rc.d0c9b5b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/lib/index.js +2 -1
- package/package.json +1 -1
- package/types/type-index/TypeRegistration.d.ts +4 -0
package/dist/index.js
CHANGED
|
@@ -26752,7 +26752,8 @@ var TypeIndex2 = class extends Thing {
|
|
|
26752
26752
|
}));
|
|
26753
26753
|
return {
|
|
26754
26754
|
targets: [...instanceContainers, ...instances2],
|
|
26755
|
-
forClass: statement2.object.value
|
|
26755
|
+
forClass: statement2.object.value,
|
|
26756
|
+
label: labelForType(statement2.object.value)
|
|
26756
26757
|
};
|
|
26757
26758
|
});
|
|
26758
26759
|
}
|
package/lib/index.js
CHANGED
|
@@ -59748,7 +59748,8 @@ _:patch
|
|
|
59748
59748
|
}));
|
|
59749
59749
|
return {
|
|
59750
59750
|
targets: [...instanceContainers, ...instances2],
|
|
59751
|
-
forClass: statement2.object.value
|
|
59751
|
+
forClass: statement2.object.value,
|
|
59752
|
+
label: labelForType(statement2.object.value)
|
|
59752
59753
|
};
|
|
59753
59754
|
});
|
|
59754
59755
|
}
|
package/package.json
CHANGED
|
@@ -6,6 +6,10 @@ export interface TypeRegistration {
|
|
|
6
6
|
* RDF class of the indexed item(s) (resembling terms:forClass)
|
|
7
7
|
*/
|
|
8
8
|
forClass: string;
|
|
9
|
+
/**
|
|
10
|
+
* Short label for the class URI
|
|
11
|
+
*/
|
|
12
|
+
label: string;
|
|
9
13
|
/**
|
|
10
14
|
* The containers or things this registration points to
|
|
11
15
|
*/
|