import Vue from vue import Vuex from vuex discovery import followCurat

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import Vue from 'vue'
import Vuex from 'vuex'
// discovery
import followCuratedModule from '../../../discovery/src/store/follow-curated.js'
import customizeSidebarModule from '../../../discovery/src/store/customize-sidebar.js'
import discoveryArticlesModule from '../../../discovery/src/store/articles.js'
import discoveryFacebookModule from '../../../discovery/src/store/facebook.js'
import discoveryFoldersModule from '../../../discovery/src/store/folders.js'
import discoveryImagesModule from '../../../discovery/src/store/images.js'
import discoveryInsightsModule from '../../../discovery/src/store/insights.js'
import discoveryPocketModule from '../../../discovery/src/store/pocket.js'
import discoveryQuotesModule from '../../../discovery/src/store/quotes.js'
import discoveryTopicsModule from '../../../discovery/src/store/topics.js'
import discoveryTwitterContentModule from '../../../discovery/src/store/twitter-content.js'
import discoveryTwitterSharesModule from '../../../discovery/src/store/twitter-shares.js'
import discoveryVideoModule from '../../../discovery/src/store/video.js'
import discoverModule from '../../../discovery/src/store/discover.js'
import discoveryArchiveModule from '../../../discovery/src/store/archive.js'
import discoveryInfluencerModule from '../../../discovery/src/store/influencers.js'
// app related
import axiosModule from './axios.js'
import jwtModule from './jwt.js'
import ssoModule from './sso.js'
import alertModule from './alert.js'
import confirmation from '../../../common/store/confirmation'
import appModule from '../../../common/store/app-store.js'
import accountModule from '../../../account/src/store/account'
import onboardingModule from '../../../onboarding/src/store/onboarding'
// planner
import plannerModule from '../../../planner/src/store/planner'
import { settingStore } from '../../../setting/src/store/setting'
import { analyticsStore } from '../../../analytics/src/store/analytics'
import { integrationStore } from '../../../integration/src/store/integration'
import { adminStore } from '../../../admin/src/store/admin'
// composer
import blogSubmission from '../../../composer/src/store/blog-submission'
import composer from '../../../composer/src/store/composer'
import publication from '../../../composer/src/store/publication'
import { automationStore } from '../../../automation/src/store/automation'
import { publishStore } from '../../../publish/src/store/publish'
Vue.use(Vuex)
export const store = new Vuex.Store({
modules: {
jwt: jwtModule,
axios: axiosModule,
sso: ssoModule,
app: appModule,
confirmation: confirmation,
alert: alertModule,
curated: followCuratedModule,
discover: discoverModule,
customize_sidebar: customizeSidebarModule,
discoveryFolders: discoveryFoldersModule,
discoveryArchive: discoveryArchiveModule,
discoveryFacebook: discoveryFacebookModule,
discoveryQuotes: discoveryQuotesModule,
discoveryImages: discoveryImagesModule,
discoveryTopics: discoveryTopicsModule,
discoveryTwitterShares: discoveryTwitterSharesModule,
discoveryTwitterContent: discoveryTwitterContentModule,
discoverySearch: discoveryArticlesModule,
discoveryInsights: discoveryInsightsModule,
discoveryVideos: discoveryVideoModule,
discoveryInfluencer: discoveryInfluencerModule,
pocket: discoveryPocketModule,
account: accountModule,
onBoarding: onboardingModule,
setting: settingStore,
integration: integrationStore,
automation: automationStore,
publish: publishStore,
composerBlog: blogSubmission,
composer: composer,
publication: publication,
planner: plannerModule,
analytics: analyticsStore,
admin: adminStore
}
})