All files / ext.wikilambda.app/store index.js

100% Statements 49/49
100% Branches 2/2
100% Functions 1/1
100% Lines 49/49

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 507x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x  
/*!
 * WikiLambda Vue editor: Application Vuex store
 *
 * @copyright 2020– Abstract Wikipedia team; see AUTHORS.txt
 * @license MIT
 */
'use strict';
 
const { createStore } = require( 'vuex' ),
	router = require( './modules/router.js' ),
	errorsModule = require( './modules/errors.js' ),
	languagesModule = require( './modules/languages.js' ),
	libraryModule = require( './modules/library.js' ),
	listItemsModule = require( './modules/listItems.js' ),
	programmingLanguagesModule = require( './modules/programmingLanguages.js' ),
	userModule = require( './modules/user.js' ),
	functionCallModule = require( './modules/functionCall.js' ),
	testResultsModule = require( './modules/testResults.js' ),
	zobjectModule = require( './modules/zobject.js' ),
	ztypeModule = require( './modules/ztype.js' ),
	zfunctionModule = require( './modules/zfunction.js' ),
	wdEntitiesModule = require( './modules/wikidata/entities.js' ),
	wdLexemesModule = require( './modules/wikidata/lexemes.js' ),
	wdItemsModule = require( './modules/wikidata/items.js' );
 
module.exports = createStore( {
	modules: {
		// Router
		router: router,
		// Utils
		errorsModule: errorsModule,
		languagesModule: languagesModule,
		libraryModule: libraryModule,
		listItemsModule: listItemsModule,
		programmingLanguagesModule: programmingLanguagesModule,
		userModule: userModule,
		// Orchestrator requests
		functionCallModule: functionCallModule,
		testResultsModule: testResultsModule,
		// Main ZObject: general and for some specific types
		zobjectModule: zobjectModule,
		ztypeModule: ztypeModule,
		zfunctionModule: zfunctionModule,
		// Wikidata
		wdEntitiesModule: wdEntitiesModule,
		wdLexemesModule: wdLexemesModule,
		wdItemsModule: wdItemsModule
	}
} );