mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-10-31 16:07:45 +03:00 
			
		
		
		
	* chore(deps): update dependency prettier to v3 * Format --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			746 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			746 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| export const UPDATE_SCROLL_TOP =
 | |
|   '@@redux-devtools-log-monitor/UPDATE_SCROLL_TOP';
 | |
| interface UpdateScrollTopAction {
 | |
|   type: typeof UPDATE_SCROLL_TOP;
 | |
|   scrollTop: number;
 | |
| }
 | |
| export function updateScrollTop(scrollTop: number): UpdateScrollTopAction {
 | |
|   return { type: UPDATE_SCROLL_TOP, scrollTop };
 | |
| }
 | |
| 
 | |
| export const START_CONSECUTIVE_TOGGLE =
 | |
|   '@@redux-devtools-log-monitor/START_CONSECUTIVE_TOGGLE';
 | |
| interface StartConsecutiveToggleAction {
 | |
|   type: typeof START_CONSECUTIVE_TOGGLE;
 | |
|   id: number | null;
 | |
| }
 | |
| export function startConsecutiveToggle(
 | |
|   id: number | null,
 | |
| ): StartConsecutiveToggleAction {
 | |
|   return { type: START_CONSECUTIVE_TOGGLE, id };
 | |
| }
 | |
| 
 | |
| export type LogMonitorAction =
 | |
|   | UpdateScrollTopAction
 | |
|   | StartConsecutiveToggleAction;
 |