<commit_before>/// <reference path="../typings/GameStartr.d.ts" />

/**
 * General attributes for both Menus and MenuSchemas.
 */
export interface IMenuBase {
    /**
     * A menu to set as active when this one is deleted.
     */
    backMenu?: string;

    /**
     * A callback for when this menu is set as active.
     */
    callback?: (...args: any[]) => void;

    /**
     * Schemas of children to add on creation.
     */
    childrenSchemas?: IMenuChildSchema[];

    /**
     * A containing menu to position within.
     */
    container?: string;

    /**
     * Whether this should be deleted when its dialog finishes.
     */
    deleteOnFinish?: boolean;
<commit_msg>Added `clearedIndicesOnDeletion` variable (#15)<commit_after>/// <reference path="../typings/GameStartr.d.ts" />

/**
 * General attributes for both Menus and MenuSchemas.
 */
export interface IMenuBase {
    /**
     * A menu to set as active when this one is deleted.
     */
    backMenu?: string;

    /**
     * A callback for when this menu is set as active.
     */
    callback?: (...args: any[]) => void;

    /**
     * Schemas of children to add on creation.
     */
    childrenSchemas?: IMenuChildSchema[];

    /**
     * The names of all menu indices that should be forgotton upon deletion of
     * this menu.
     */
    clearedIndicesOnDeletion?: string[];

    /**
     * A containing menu to position within.
     */
    container?: string;

    /**
     * Whether this should be deleted when its dialog finishes.
     */
    deleteOnFinish?: boolean;

{'fraction_non_alphanumeric': 0.12475884244372991, 'fraction_numerical': 0.0012861736334405145, 'mean_word_length': 2.2016460905349793, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7417364', 'n_tokens_mistral': 450, 'n_tokens_neox': 438, 'n_words': 156}