Skip to content

Commit f49c554

Browse files
committed
updated dep and config, no more rdf export from solid-ui
1 parent bc96a67 commit f49c554

8 files changed

Lines changed: 299 additions & 691 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ You can see and try out a SolidOS Databrowser Webapp deployment at <https://soli
7575

7676
`browse.html`serves as a perfect example for Solid WebID authentication and for making use of mashlib functions and variables.
7777

78-
To run/test it locally we created a script `npm run startStaticOS`.
78+
To run/test locally we created a script `npm run start`.
7979

8080
### SolidOS Databrowser Frontend
8181

@@ -97,18 +97,18 @@ What does `global` mean in mashlib? We mean the `global object` which depends on
9797

9898
These are the most important window context/global variables and the sub-repos from which they are exported:
9999

100-
- [**solid-logic**](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L29) exports among others: `solidLogicSingleton`, `authn`, `authSession`, `store`, `chat`, `profile`
100+
- [**solid-logic**](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L29) exports among others: `SolidLogic`
101101
- [**pane-registry**](https://github.com/solidos/pane-registry) is exported entirely through the pane-registry variable
102102
- [**solid-ui**](https://github.com/solidos/solid-ui/blob/c5a8888d6cb61363bc0445be007e3c96de593338/src/index.ts#L79) exports among others: authn, store, rdf, dom under the `UI` variable
103103
- [**solid-panes**](https://github.com/solidos/solid-panes/blob/033f48f8987364cb131455b13e8b0637da95a5ab/src/index.ts#L53) exports getOutliner and the entire solid-ui through the `UI` variable, and solid-panes itself can be used through the `panes` variable
104104

105105
For backward compatibility reasons, there are now different ways to make use of the same variables from mashlib. For example:
106106

107-
- to make use of the UI (solid-ui) one can use `UI` or `panes.UI`
108-
- authentication session, part of solid-logic, can be called as `authSession` or `UI.authn.authSession` or `panes.UI.authn.authSession`
109-
- the store (from solid-logic) can be used as `store` or `UI.store` or `panes.UI.store`
110-
- rdflib is entirely acessible as `UI.rdf` or `panes.UI.rdf`
111-
- the currentUser function is called as `authn.currentUser()` or `UI.auth.currentUser()` or `panes.UI.authn.currentUser()`
107+
- to make use of the UI (solid-ui) one can use `UI` BUT NOT `panes.UI` anymore
108+
- authentication session, part of solid-logic, can be called as `SolidLogic.authSession` BUT NOT `UI.authn.authSession` nor `panes.UI.authn.authSession` anymore
109+
- the store (from solid-logic) can be used as `SolidLogic.store` BUT NOT `UI.store` nor `panes.UI.store` anymore
110+
- rdflib NOT entirely acessible as `UI.rdf` or `panes.UI.rdf` anymore but as `$rdf`
111+
- the currentUser function is called as `SolidLogic.authn.currentUser()` BUT NOT `UI.auth.currentUser()` nor `panes.UI.authn.currentUser()` anymore
112112

113113
You can see example usage in the [SolidOS Databrowser Webapp code](https://github.com/solidos/mashlib/blob/main/static/browse.html#L11).
114114

@@ -130,7 +130,7 @@ Some packages have been moved and with them some functions too. Here we report o
130130
Functions that moved:
131131

132132
* `currentUser`, `checkUser`, `saveUser`, `offlineTestID` are now part of `solid-logic/authn/SolidAuthnLogic.ts`-> this is because `authn` itself moved to solid-logic.
133-
* `setACLUserPublic`, `fetchACLRel` are not part of `solid-logic/src/acl/aclLogic.ts/` and are exported in [index.ts](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L12).
133+
* `setACLUserPublic`, `fetchACLRel` are now part of `solid-logic/src/acl/aclLogic.ts/` and are exported in [index.ts](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L12).
134134
* `loadIndex`, `loadTypeIndexes`, `ensureTypeIndexes`, `registerInTypeIndex` and are exported in [index.ts](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L16).
135135

136136
## The databrowser hack: upgrading your browser

0 commit comments

Comments
 (0)