# Path: crowd_anki/utils/constants.py
# USER_FILES_PATH = Path(__file__).parent.parent.joinpath('user_files')


from collections import namedtuple
from enum import Enum
from pathlib import Path
from aqt import mw
from ..utils.constants import USER_FILES_PATH
    FIELD1 = "field1"
    FIELD2 = "field2"
    NO_SORTING = "none"
    GUID = "guid"
    FLAG = "flag"
    TAG = "tag"
    NOTE_MODEL_NAME = "note_model_name"
    NOTE_MODEL_ID = "note_model_id"

    @classmethod
    def values(cls):
        return set(it.value for it in cls)


class ConfigSettings:
    __instance = None

    snapshot_path: str
    automated_snapshot: bool
    snapshot_root_decks: list
    export_notes_reverse_order: bool
    export_note_sort_methods: list
    export_create_deck_subdirectory: bool
    import_notes_ignore_deck_movement: bool

    @property
    def formatted_export_note_sort_methods(self) -> list:
        return [
            NoteSortingMethods(method)
            for method in self.export_note_sort_methods

# Path: crowd_anki/utils/constants.py
# USER_FILES_PATH = Path(__file__).parent.parent.joinpath('user_files')


# Path: crowd_anki/config/config_settings.py
from collections import namedtuple
from enum import Enum
from pathlib import Path
from aqt import mw
from ..utils.constants import USER_FILES_PATH

    FIELD1 = "field1"
    FIELD2 = "field2"
    NO_SORTING = "none"
    GUID = "guid"
    FLAG = "flag"
    TAG = "tag"
    NOTE_MODEL_NAME = "note_model_name"
    NOTE_MODEL_ID = "note_model_id"

    @classmethod
    def values(cls):
        return set(it.value for it in cls)


class ConfigSettings:
    __instance = None

    snapshot_path: str
    automated_snapshot: bool
    snapshot_root_decks: list
    export_notes_reverse_order: bool
    export_note_sort_methods: list
    export_create_deck_subdirectory: bool
    import_notes_ignore_deck_movement: bool

    @property
    def formatted_export_note_sort_methods(self) -> list:
        return [
            NoteSortingMethods(method)
            for method in self.export_note_sort_methods

        ]