<commit_before>/* eslint no-undef: 0 */
/**
  * @flow
 */
type Tuple<A, B> = [A, B];
type Tuple3<A, B, C> = [A, B, C];
type Tuple4<A, B, C, D> = [A, B, C, D];

type GetMemberEvent = '/api_get_member/deck'
                    | '/api_get_member/ship_deck';

// @todo Check if needed: Implement polymorphic type declarations to the incoming API data
// @todo Check if needed: Covariant parameter types for event data handlers
// declare type ApiEvent = GetMemberEvent;

// Declare common types used in the API data

declare type kcsapi$Deck = {
  api_flagship: string,
  api_id: number,
  api_member_id: number,
  api_mission: Tuple4<number, number, number, number>,
  api_name: string,
  api_name_id: string,
  api_ship: Array<number>
};

declare type kcsapi$Ship = {
  api_backs: number,<commit_msg>Initial version of Flow type declarations for incoming API data<commit_after>/* eslint no-undef: 0 */
/**
  * @flow
 */
type Tuple<A, B> = [A, B];
type Tuple3<A, B, C> = [A, B, C];
type Tuple4<A, B, C, D> = [A, B, C, D];

type GetMemberEvent = '/api_get_member/deck'
                    | '/api_get_member/ship_deck';

// @todo Check if needed: Implement polymorphic type declarations to the incoming API data
// @todo Check if needed: Covariant parameter types for event data handlers
// declare type ApiEvent = GetMemberEvent;

// Declare common types used in the API data

// Player data
declare type kcsapi$Deck = {
  api_flagship: string,
  api_id: number,
  api_member_id: number,
  api_mission: Tuple4<number, number, number, number>,
  api_name: string,
  api_name_id: string,
  api_ship: Array<number>
};

declare type kcsapi$Ship = {
  api_backs: number,
{'fraction_non_alphanumeric': 0.12266987372218882, 'fraction_numerical': 0.004810583283223091, 'mean_word_length': 3.687323943661972, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '7086573', 'n_tokens_mistral': 595, 'n_tokens_neox': 579, 'n_words': 192}