@pod-os/core 0.25.0-rc.b1c523c.0 → 0.25.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 +26997 -3855
- package/lib/index.js +25482 -26857
- package/package.json +1 -2
- package/types/index.d.ts +5 -2
- package/types/modules/index.d.ts +7 -0
- package/dist/chunk-SCBWPWX6.js +0 -23178
- package/dist/dist-PQRMDIKY.js +0 -694
- package/types/modules/contacts.d.ts +0 -3
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.25.0
|
|
4
|
+
"version": "0.25.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./types/index.d.ts",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"typescript-eslint": "^8.50.1"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@solid-data-modules/contacts-rdflib": "^0.7.1",
|
|
64
63
|
"@solid-data-modules/rdflib-utils": "^0.6.0",
|
|
65
64
|
"@types/lunr": "^2.3.7",
|
|
66
65
|
"buffer": "^6.0.3",
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ContactsModule } from "@solid-data-modules/contacts-rdflib";
|
|
2
1
|
import { BehaviorSubject } from "rxjs";
|
|
3
2
|
import { PodOsSession, SessionInfo } from "./authentication";
|
|
4
3
|
import { FileFetcher, SolidFile } from "./files";
|
|
@@ -80,7 +79,11 @@ export declare class PodOS {
|
|
|
80
79
|
buildSearchIndex(profile: WebIdProfile): Promise<import("./search").SearchIndex>;
|
|
81
80
|
logout(): Promise<void>;
|
|
82
81
|
login(oidcIssuer?: string): Promise<void>;
|
|
83
|
-
|
|
82
|
+
/**
|
|
83
|
+
* Dynamically loads a module by its name and returns an instance of the module
|
|
84
|
+
* @param moduleName
|
|
85
|
+
*/
|
|
86
|
+
loadModule<T>(moduleName: string): Promise<T>;
|
|
84
87
|
/**
|
|
85
88
|
* Adds a label of the given thing to the label index, so that it can be found after the search index has been rebuilt
|
|
86
89
|
* @param thing - The thing to index
|