25 lines
1.2 KiB
TypeScript
25 lines
1.2 KiB
TypeScript
// Module ID: 14123
|
|
// Function ID: 108563
|
|
// Name: updateBackgroundGradientPreset
|
|
// Dependencies: [686, 2]
|
|
// Exports: resetBackgroundGradientPreset, resetPreviewClientTheme, updateBackgroundGradientPreset, updateMobilePendingThemeIndex
|
|
|
|
// Module 14123 (updateBackgroundGradientPreset)
|
|
const result = require("set").fileFinishedImporting("modules/client_themes/ClientThemesBackgroundActionCreators.tsx");
|
|
|
|
export const updateBackgroundGradientPreset = function updateBackgroundGradientPreset(id) {
|
|
let obj = importDefault(686);
|
|
obj = { type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: id };
|
|
obj.dispatch(obj);
|
|
};
|
|
export const updateMobilePendingThemeIndex = function updateMobilePendingThemeIndex(mobileThemesIndex) {
|
|
let obj = importDefault(686);
|
|
obj = { type: "UPDATE_MOBILE_PENDING_THEME_INDEX", mobileThemesIndex };
|
|
obj.dispatch(obj);
|
|
};
|
|
export const resetBackgroundGradientPreset = function resetBackgroundGradientPreset() {
|
|
importDefault(686).dispatch({ type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: null });
|
|
};
|
|
export const resetPreviewClientTheme = function resetPreviewClientTheme() {
|
|
importDefault(686).dispatch({ type: "RESET_PREVIEW_CLIENT_THEME" });
|
|
};
|