"""
Automatically generated file from a JSON schema.
"""


from typing import Dict, List, Literal, TypedDict, Union

# Application configuration
#
# An application configuration
ApplicationConfiguration = TypedDict(
    "ApplicationConfiguration",
    {
        # URL pattern
        #
        # URL pattern, to be used for files that didn't come from GitHub release, available arguments: {version}
        "url-pattern": str,
        "type": "TheTypeOfFile",
        # The filename to get
        #
        # The filename to get in the GitHub release
        "get-file-name": str,
        # The created tile name
        #
        # The name of the final tile name we will create
        "to-file-name": str,
        # The tile name to get in the tar file
        "tar-file-name": str,
        # The commands to run after the tile creation
        "finish-commands": List[List[str]],
    },
    total=False,
)


# Applications configuration
#
# All the applications configuration
ApplicationsConfiguration = Dict[str, "ApplicationConfiguration"]


# The type of file
#
# The type of file
TheTypeOfFile = Union[Literal["tar"]]
# The values for the enum
THETYPEOFFILE_TAR: Literal["tar"] = "tar"
