@pod-os/core 0.18.1-rc.5f8057b.0 → 0.18.1-rc.8722696.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
@@ -3213,7 +3213,7 @@ var SearchGateway = class {
3213
3213
  }
3214
3214
  /**
3215
3215
  * Fetch the private label index for the given profile and build a search index from it
3216
- * @param webId
3216
+ * @param profile
3217
3217
  */
3218
3218
  async buildSearchIndex(profile2) {
3219
3219
  const labelIndexUris = profile2.getPrivateLabelIndexes();
@@ -24874,7 +24874,7 @@ var PodOS = class {
24874
24874
  }
24875
24875
  /**
24876
24876
  * Fetch the private label index for the given profile and build a search index from it
24877
- * @param webId
24877
+ * @param profile
24878
24878
  */
24879
24879
  async buildSearchIndex(profile2) {
24880
24880
  return this.searchGateway.buildSearchIndex(profile2);
@@ -24921,7 +24921,9 @@ export {
24921
24921
  RdfDocument,
24922
24922
  SearchGateway,
24923
24923
  SearchIndex,
24924
+ Store,
24924
24925
  Thing,
24926
+ UriService,
24925
24927
  WebIdProfile,
24926
24928
  labelFromUri,
24927
24929
  listKnownTerms
package/lib/index.js CHANGED
@@ -34756,7 +34756,9 @@ _:patch
34756
34756
  RdfDocument: () => RdfDocument,
34757
34757
  SearchGateway: () => SearchGateway,
34758
34758
  SearchIndex: () => SearchIndex,
34759
+ Store: () => Store,
34759
34760
  Thing: () => Thing,
34761
+ UriService: () => UriService,
34760
34762
  WebIdProfile: () => WebIdProfile,
34761
34763
  labelFromUri: () => labelFromUri,
34762
34764
  listKnownTerms: () => listKnownTerms
@@ -36191,7 +36193,7 @@ _:patch
36191
36193
  }
36192
36194
  /**
36193
36195
  * Fetch the private label index for the given profile and build a search index from it
36194
- * @param webId
36196
+ * @param profile
36195
36197
  */
36196
36198
  async buildSearchIndex(profile2) {
36197
36199
  const labelIndexUris = profile2.getPrivateLabelIndexes();
@@ -57857,7 +57859,7 @@ _:patch
57857
57859
  }
57858
57860
  /**
57859
57861
  * Fetch the private label index for the given profile and build a search index from it
57860
- * @param webId
57862
+ * @param profile
57861
57863
  */
57862
57864
  async buildSearchIndex(profile2) {
57863
57865
  return this.searchGateway.buildSearchIndex(profile2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pod-os/core",
3
- "version": "0.18.1-rc.5f8057b.0",
3
+ "version": "0.18.1-rc.8722696.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./types/index.d.ts",
6
6
  "files": [
package/types/Store.d.ts CHANGED
@@ -39,7 +39,6 @@ export declare class Store {
39
39
  flagAuthorizationMetadata(): void;
40
40
  loadModule<T>(module: PodOsModule<T>): T;
41
41
  }
42
- interface PodOsModule<T> {
42
+ export interface PodOsModule<T> {
43
43
  readonly default: new (config: ModuleConfig) => T;
44
44
  }
45
- export {};
package/types/index.d.ts CHANGED
@@ -19,6 +19,8 @@ export * from "./profile";
19
19
  export * from "./search";
20
20
  export * from "./offline-cache";
21
21
  export * from "./terms";
22
+ export * from "./Store";
23
+ export * from "./uri";
22
24
  export interface PodOsConfiguration {
23
25
  offlineCache?: OfflineCache;
24
26
  onlineStatus?: OnlineStatus;
@@ -52,7 +54,7 @@ export declare class PodOS {
52
54
  fetchProfile(webId: string): Promise<WebIdProfile>;
53
55
  /**
54
56
  * Fetch the private label index for the given profile and build a search index from it
55
- * @param webId
57
+ * @param profile
56
58
  */
57
59
  buildSearchIndex(profile: WebIdProfile): Promise<import("./search").SearchIndex>;
58
60
  logout(): Promise<void>;
@@ -1,3 +1,3 @@
1
- export { OfflineCapableFetcher } from "./OfflineCapableFetcher";
1
+ export { OfflineCapableFetcher, OfflineCapableFetcherOptions, } from "./OfflineCapableFetcher";
2
2
  export { OfflineCache, CachedRdfDocument, NoOfflineCache, } from "./OfflineCache";
3
3
  export { OnlineStatus, AssumeAlwaysOnline } from "./OnlineStatus";
@@ -8,7 +8,7 @@ export declare class SearchGateway {
8
8
  constructor(store: Store);
9
9
  /**
10
10
  * Fetch the private label index for the given profile and build a search index from it
11
- * @param webId
11
+ * @param profile
12
12
  */
13
13
  buildSearchIndex(profile: WebIdProfile): Promise<SearchIndex>;
14
14
  addToLabelIndex(thing: Thing, labelIndex: LabelIndex): Promise<void>;
@@ -0,0 +1 @@
1
+ export { UriService } from "./UriService";