<commit_before>// @flow
import {combineReducers} from 'redux'
import {routerReducer} from 'react-router-redux'

import type {State as AuthState} from 'reducers/auth'
import type {State as LayoutState} from 'reducers/layout'
import type {State as EntitiesPostsState} from 'reducers/posts'
import type {State as EntitiesUsersState} from 'reducers/users'

import {layout} from './layout'
import {posts} from './posts'
import {users} from './users'
import {auth} from './auth'

// Root reducer
export default combineReducers({
	layout,
	me: combineReducers({auth}),
	entities: combineReducers({
		posts,
		users
	}),
	routing: routerReducer
})

export type GlobalState = {layout: LayoutState} & {me: {auth: AuthState}} & {
		entities: {posts: EntitiesPostsState, users: EntitiesUsersState}
	}<commit_msg>feat(reducers): remove posts, users reducers from `combineReducers`<commit_after>// @flow
import {combineReducers} from 'redux'
import {routerReducer} from 'react-router-redux'

import type {State as AuthState} from 'reducers/auth'
import type {State as LayoutState} from 'reducers/layout'
import type {State as EntitiesLinksState} from 'reducers/links'

import {layout} from './layout'
import {links} from './links'
import {auth} from './auth'

// Root reducer
export default combineReducers({
	layout,
	me: combineReducers({auth}),
	entities: combineReducers({
		links
	}),
	routing: routerReducer
})

export type GlobalState = {layout: LayoutState} & {me: {auth: AuthState}} & {
		entities: {links: EntitiesLinksState}
	}
{'fraction_non_alphanumeric': 0.1272965879265092, 'fraction_numerical': 0.0, 'mean_word_length': 5.573275862068965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7459748', 'n_tokens_mistral': 502, 'n_tokens_neox': 487, 'n_words': 154}