from . import alpine
from . import gem
from . import java
from . import npm
from . import python
from . import rpm
from . import debian

# this is a mapping of syft artifact types to handler functions to transform syft output into engine-compliant output
handlers_by_artifact_type = {
    "gem": gem,
    "python": python,
    "npm": npm,
    "java-archive": java,
    "jenkins-plugin": java,
    "apk": alpine,
    "rpm": rpm,
    "deb": debian,
}

# this is a mapping of engine artifact types to handler functions to transform syft output into engine-compliant output
handlers_by_engine_type = {
    "gem": gem,
    "python": python,
    "npm": npm,
    "java-jar": java,
    "java-ear": java,
    "java-war": java,
    "java-jpi": java,
    "java-hpi": java,
    "APKG": alpine,
    "rpm": rpm,
    "dpkg": debian,
}

from . import alpine
from . import gem
from . import java
from . import npm
from . import python
from . import rpm
from . import debian

# this is a mapping of syft artifact types to handler functions to transform syft output into engine-compliant output
handlers_by_artifact_type = {
    "gem": gem,
    "python": python,
    "npm": npm,
    "java-archive": java,
    "jenkins-plugin": java,
    "apk": alpine,
    "rpm": rpm,
    "deb": debian,
}

# this is a mapping of engine artifact types to handler functions to transform syft output into engine-compliant output
handlers_by_engine_type = {
    "gem": gem,
    "python": python,
    "npm": npm,
    "java-jar": java,
    "java-ear": java,
    "java-war": java,
    "java-jpi": java,
    "java-hpi": java,
    "APKG": alpine,
    "rpm": rpm,
    "dpkg": debian,
}

# this is a mapping of syft artifact types to handler functions to transform syft output into engine-compliant output # this is a mapping of engine artifact types to handler functions to transform syft output into engine-compliant output