Removed node-wot but kept centralised TD store

I had intended to store a ConsumedThing for each Thing, in
a module in the store. Until that is possible (will require some
more attention to dependency management) I will just store
the TDs instead.

This commit includes a lot of the code I wrote for node-wot use,
but without any dependence on node-wot.
This commit is contained in:
Richard Bowman 2023-11-29 22:43:55 +00:00
parent 45d2884159
commit 595101248e
6 changed files with 265 additions and 16 deletions

View file

@ -1,5 +1,6 @@
import Vue from "vue";
import Vuex from "vuex";
import wotStoreModule from "./wot-client";
Vue.use(Vuex);
@ -76,7 +77,8 @@ function getOriginFromLocation() {
export default new Vuex.Store({
modules: {
imjoy: moduleImjoy
imjoy: moduleImjoy,
wot: wotStoreModule
},
state: {
origin: getOriginFromLocation(),