pane-registry 2.4.5 → 2.4.6
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/index.d.ts +2 -10
- package/package.json +3 -3
- package/paneRegistry.js +0 -16
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This is manually built for now
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {SolidLogic} from 'solid-logic';
|
|
3
|
+
import { LiveStore, NamedNode } from 'rdflib';
|
|
4
|
+
import { SolidLogic } from 'solid-logic';
|
|
5
5
|
|
|
6
6
|
declare const list: Array<PaneDefinition>
|
|
7
7
|
declare const paneForIcon: { [key: string]: PaneDefinition }
|
|
@@ -19,14 +19,6 @@ declare function register (
|
|
|
19
19
|
|
|
20
20
|
declare function byName (name: string): PaneDefinition | null
|
|
21
21
|
|
|
22
|
-
export class ConnectedStore extends Store {
|
|
23
|
-
public fetcher: Fetcher
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export class LiveStore extends ConnectedStore {
|
|
27
|
-
public updater: UpdateManager
|
|
28
|
-
}
|
|
29
|
-
|
|
30
22
|
/**
|
|
31
23
|
* All of the knowledge that a user accumulates throughout the current session
|
|
32
24
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pane-registry",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "Solid-compatible Panes: Pane Registry",
|
|
5
5
|
"main": "./paneRegistry.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/solid/chat-pane",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"rdflib": "^2.2.
|
|
40
|
+
"rdflib": "^2.2.17",
|
|
41
|
+
"solid-logic": "^1.3.13"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"eslint": "^7.32.0",
|
|
44
45
|
"husky": "^7.0.4",
|
|
45
46
|
"lint-staged": "^12.1.4",
|
|
46
|
-
"solid-logic": "^1.3.12",
|
|
47
47
|
"standard": "^16.0.4"
|
|
48
48
|
},
|
|
49
49
|
"husky": {
|
package/paneRegistry.js
CHANGED
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
// create the unique UI module on which to attach paneRegistry (no, don't attach as UI dot paneRegistry any more)
|
|
14
14
|
// var UI = require('solid-ui') // Note we will add the paneRegistry register to this.
|
|
15
15
|
|
|
16
|
-
const $rdf = require('rdflib')
|
|
17
|
-
|
|
18
16
|
const paneRegistry = (module.exports = {})
|
|
19
17
|
|
|
20
18
|
paneRegistry.list = []
|
|
@@ -55,18 +53,4 @@ paneRegistry.byName = function (name) {
|
|
|
55
53
|
return null
|
|
56
54
|
}
|
|
57
55
|
|
|
58
|
-
paneRegistry.ConnectedStore = class ConnectedStore extends $rdf.Store {
|
|
59
|
-
constructor (features) {
|
|
60
|
-
super(features)
|
|
61
|
-
this.fetcher = $rdf.fetcher(this, {})
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
paneRegistry.LiveStore = class LiveStore extends $rdf.Store {
|
|
66
|
-
constructor (features) {
|
|
67
|
-
super(features)
|
|
68
|
-
this.updater = new $rdf.UpdateManager(this)
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
56
|
// ENDS
|