Added actors page. Added site logos with overview on network page.

This commit is contained in:
2019-11-10 04:20:22 +01:00
parent 76618cee83
commit a9b91ff76c
44 changed files with 1065 additions and 13 deletions

View File

@@ -0,0 +1,22 @@
import { get } from '../api';
function initActorActions(_store, _router) {
async function fetchActors({ _commit }, actorId) {
const networks = await get(`/actors/${actorId || ''}`);
return networks;
}
async function fetchActorReleases({ _commit }, actorId) {
const releases = await get(`/actors/${actorId}/releases`);
return releases;
}
return {
fetchActors,
fetchActorReleases,
};
}
export default initActorActions;

View File

@@ -0,0 +1,13 @@
import state from './state';
import mutations from './mutations';
import actions from './actions';
function initActorsStore(store, router) {
return {
state,
mutations,
actions: actions(store, router),
};
}
export default initActorsStore;

View File

@@ -0,0 +1 @@
export default {};

View File

@@ -0,0 +1 @@
export default {};