<commit_before>import { RequesterMap, Requester } from '../types';
import * as constants from '../constants';

export interface FetchTOpticonRequest {
  readonly type: constants.FETCH_TURKOPTICON_REQUEST;
  readonly data: Requester[];
}

export interface FetchTOpticonSuccess {
  readonly type: constants.FETCH_TURKOPTICON_SUCCESS;
  readonly data: RequesterMap;
}

export interface FetchTOpticonFailure {
  readonly type: constants.FETCH_TURKOPTICON_FAILURE;
}

export type TOpticonAction = FetchTOpticonSuccess | FetchTOpticonFailure;

export const fetchTOpticonSuccess = (
  data: RequesterMap
): FetchTOpticonSuccess => ({
  type: constants.FETCH_TURKOPTICON_SUCCESS,
  data
});

export const fetchTOpticonFailure = (): FetchTOpticonFailure => ({
  type: constants.FETCH_TURKOPTICON_FAILURE
});

export const fetchTOpticonRequest = (
  data: Requester[]
): FetchTOpticonRequest => ({
  type: constants.FETCH_TURKOPTICON_REQUEST,
  data
});<commit_msg>Used named exports instead of wildcard.<commit_after>import { RequesterMap, Requester } from '../types';
import {
  FETCH_TURKOPTICON_REQUEST,
  FETCH_TURKOPTICON_SUCCESS,
  FETCH_TURKOPTICON_FAILURE
} from '../constants';

export interface FetchTOpticonRequest {
  readonly type: FETCH_TURKOPTICON_REQUEST;
  readonly data: Requester[];
}

export interface FetchTOpticonSuccess {
  readonly type: FETCH_TURKOPTICON_SUCCESS;
  readonly data: RequesterMap;
}

export interface FetchTOpticonFailure {
  readonly type: FETCH_TURKOPTICON_FAILURE;
}

export type TOpticonAction = FetchTOpticonSuccess | FetchTOpticonFailure;

export const fetchTOpticonSuccess = (
  data: RequesterMap
): FetchTOpticonSuccess => ({
  type: FETCH_TURKOPTICON_SUCCESS,
  data
});

export const fetchTOpticonFailure = (): FetchTOpticonFailure => ({
  type: FETCH_TURKOPTICON_FAILURE
});

export const fetchTOpticonRequest = (
  data: Requester[]
): FetchTOpticonRequest => ({
  type: FETCH_TURKOPTICON_REQUEST,
  data
});
{'fraction_non_alphanumeric': 0.08918503331624808, 'fraction_numerical': 0.0, 'mean_word_length': 6.098181818181819, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1176915', 'n_tokens_mistral': 665, 'n_tokens_neox': 676, 'n_words': 132}