Added stashes with experimental row security policies. Added tag photos.

This commit is contained in:
DebaucheryLibrarian
2021-03-14 04:54:43 +01:00
parent 816529b0ca
commit e371e9725a
58 changed files with 610 additions and 172 deletions

View File

@@ -0,0 +1,15 @@
import { get } from '../api';
function initUsersActions(_store, _router) {
async function fetchUser(context, username) {
const user = await get(`/users/${username}`);
return user;
}
return {
fetchUser,
};
}
export default initUsersActions;

View File

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

1
assets/js/users/state.js Normal file
View File

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

13
assets/js/users/users.js Normal file
View File

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