-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(Main mail store): convert to a Pinia compatible structure
Signed-off-by: Grigory Vodyanov <[email protected]>
- Loading branch information
Showing
10 changed files
with
2,111 additions
and
1,827 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
|
||
|
||
import { defineStore } from 'pinia' | ||
import mapStoreState from './mainStore/state.js' | ||
import mapStoreGetters from './mainStore/getters.js' | ||
import mapStoreActions from './mainStore/actions.js' | ||
|
||
export default defineStore('main', { | ||
state: mapStoreState(), | ||
getters: { | ||
...mapStoreGetters(), | ||
}, | ||
actions: { | ||
...mapStoreActions(), | ||
}, | ||
}); | ||
Oops, something went wrong.