New: Edit RlsGroup, Flags, and Edition for Movie Files (#5183)

* New: Edit RlsGroup and Edition for Movie Files

* fixup! remove console log

* fixup! translation
This commit is contained in:
Qstick
2020-10-15 10:38:30 -04:00
committed by GitHub
parent f2f26d88b9
commit e52288bd67
18 changed files with 685 additions and 60 deletions
@@ -0,0 +1,48 @@
import createFetchHandler from 'Store/Actions/Creators/createFetchHandler';
import { createThunk } from 'Store/thunks';
//
// Variables
const section = 'settings.indexerFlags';
//
// Actions Types
export const FETCH_INDEXER_FLAGS = 'settings/indexerFlags/fetchIndexerFlags';
//
// Action Creators
export const fetchIndexerFlags = createThunk(FETCH_INDEXER_FLAGS);
//
// Details
export default {
//
// State
defaultState: {
isFetching: false,
isPopulated: false,
error: null,
items: []
},
//
// Action Handlers
actionHandlers: {
[FETCH_INDEXER_FLAGS]: createFetchHandler(section, '/indexerFlag')
},
//
// Reducers
reducers: {
}
};