import { Ads } from '../lib/gj-lib-client/components/ad/ads.service';
import { GamePlayModal } from '../lib/gj-lib-client/components/game/play-modal/play-modal.service';
import { Registry } from '../lib/gj-lib-client/components/registry/registry.service';
import '../lib/gj-lib-client/utils/polyfills';
import { bootstrapShortkey } from '../lib/gj-lib-client/vue/shortkey';
import { bootstrapCommon } from '../_common/bootstrap';
import { App } from './app';
import './main.styl';
import { store } from './store/index';
import { router } from './views/index';

const _createApp = bootstrapCommon(App, store, router);
export function createApp() {
	return { app: _createApp(), store, router };
}

if (GJ_IS_CLIENT) {
	require('./bootstrap-client');
}

Ads.init(router);

GamePlayModal.init({ canMinimize: true });
bootstrapShortkey();

Registry.setConfig('Game', { maxItems: 100 });
Registry.setConfig('User', { maxItems: 150 });
Registry.setConfig('FiresidePost', { maxItems: 50 });

import '../lib/gj-lib-client/utils/polyfills';
import './main.styl';

import { store } from './store/index';
import { router } from './views/index';
import { App } from './app';
import { bootstrapShortkey } from '../lib/gj-lib-client/vue/shortkey';
import { Registry } from '../lib/gj-lib-client/components/registry/registry.service';
import { GamePlayModal } from '../lib/gj-lib-client/components/game/play-modal/play-modal.service';
import { Ads } from '../lib/gj-lib-client/components/ad/ads.service';
import { bootstrapCommon } from '../_common/bootstrap';

const _createApp = bootstrapCommon(App, store, router);
export function createApp() {
	return { app: _createApp(), store, router };
}

if (GJ_IS_CLIENT) {
	require('./bootstrap-client');
}

Ads.init(router);

GamePlayModal.init({ canMinimize: true });
bootstrapShortkey();

Registry.setConfig('Game', { maxItems: 100 });
Registry.setConfig('User', { maxItems: 50 });
Registry.setConfig('FiresidePost', { maxItems: 50 });

--- 
+++ 
@@ -1,14 +1,13 @@
+import { Ads } from '../lib/gj-lib-client/components/ad/ads.service';
+import { GamePlayModal } from '../lib/gj-lib-client/components/game/play-modal/play-modal.service';
+import { Registry } from '../lib/gj-lib-client/components/registry/registry.service';
 import '../lib/gj-lib-client/utils/polyfills';
+import { bootstrapShortkey } from '../lib/gj-lib-client/vue/shortkey';
+import { bootstrapCommon } from '../_common/bootstrap';
+import { App } from './app';
 import './main.styl';
-
 import { store } from './store/index';
 import { router } from './views/index';
-import { App } from './app';
-import { bootstrapShortkey } from '../lib/gj-lib-client/vue/shortkey';
-import { Registry } from '../lib/gj-lib-client/components/registry/registry.service';
-import { GamePlayModal } from '../lib/gj-lib-client/components/game/play-modal/play-modal.service';
-import { Ads } from '../lib/gj-lib-client/components/ad/ads.service';
-import { bootstrapCommon } from '../_common/bootstrap';
 
 const _createApp = bootstrapCommon(App, store, router);
 export function createApp() {
@@ -25,5 +24,5 @@
 bootstrapShortkey();
 
 Registry.setConfig('Game', { maxItems: 100 });
-Registry.setConfig('User', { maxItems: 50 });
+Registry.setConfig('User', { maxItems: 150 });
 Registry.setConfig('FiresidePost', { maxItems: 50 });
Set registry to store more users.
