@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 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pod-os/core",
3
3
  "description": "Core module of PodOS",
4
- "version": "0.23.1-rc.b62ebb7.0",
4
+ "version": "0.23.1-rc.d0c9b5b.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./types/index.d.ts",
@@ -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
  */