// Copyright (c) Microsoft Corporation
// Licensed under the MIT license.

namespace Microsoft.Terminal.Settings.Model
{
    // SettingsLoadWarnings are scenarios where the settings contained
    // information we knew was invalid, but we could recover from.
    enum SettingsLoadWarnings
    {
        MissingDefaultProfile = 0,
        DuplicateProfile,
        UnknownColorScheme,
        InvalidMediaResource,
        AtLeastOneKeybindingWarning,
        TooManyKeysForChord,
        MissingRequiredParameter,
        FailedToParseCommandJson,
        FailedToWriteToSettings,
        InvalidColorSchemeInCmd,
        InvalidSplitSize,
        FailedToParseStartupActions,
        InvalidProfileEnvironmentVariables,
        FailedToParseSubCommands,
        UnknownTheme,
        DuplicateRemainingProfilesEntry,
        InvalidUseOfContent,
        InvalidRegex,
        WARNINGS_SIZE // IMPORTANT: This MUST be the last value in this enum. It's an unused placeholder.
    };

    // SettingsLoadWarnings are scenarios where the settings had invalid state
    // that we could not recover from.
    enum SettingsLoadErrors
    {
        NoProfiles = 0,
        AllProfilesHidden = 1,
        ERRORS_SIZE // IMPORTANT: This MUST be the last value in this enum. It's an unused placeholder.
    };
}
