@pod-os/core 0.12.1-fef97c9.0 → 0.13.1-0b8a8a5.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.
@@ -0,0 +1,4 @@
1
+ import { UpdateOperation } from "@solid-data-modules/rdflib-utils";
2
+ import { LabelIndex } from "./LabelIndex";
3
+ import { Thing } from "../thing";
4
+ export declare const addToLabelIndex: (thing: Thing, labelIndex: LabelIndex) => UpdateOperation;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,12 @@
1
1
  import { IndexedFormula } from "rdflib";
2
2
  export interface Literal {
3
3
  predicate: string;
4
+ label: string;
4
5
  values: string[];
5
6
  }
6
7
  export interface Relation {
7
8
  predicate: string;
9
+ label: string;
8
10
  uris: string[];
9
11
  }
10
12
  export interface RdfType {
@@ -1 +1,2 @@
1
1
  export * from "./Thing";
2
+ export { labelFromUri } from "./labelFromUri";
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generates a short human-readable label for a given URI
3
+ * @param uri
4
+ */
5
+ export declare function labelFromUri(uri: string): string;
@@ -0,0 +1 @@
1
+ export {};