HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/turkishi/www/wp-content/plugins/learnpress/assets/src/apps/js/admin/editor/store/question.js
import getters from '../getters/question';
import mutations from '../mutations/question';
import actions from '../actions/question';

const $ = window.jQuery || jQuery;

const Question = function Question( data ) {
	var state = $.extend( {
		status: 'successful',
		countCurrentRequest: 0,
		i18n: $.extend( {}, data.i18n ),
	}, data.root );

	return {
		state: state,
		getters: getters,
		mutations: mutations,
		actions: actions,
	};
};

export default Question;