summaryrefslogtreecommitdiff
path: root/backend/decky_loader/enums.py
blob: e7fb49059c51199452e0d8ff37599b78b0e4cd9e (plain)
1
2
3
4
5
6
7
8
9
10
from enum import IntEnum

class UserType(IntEnum):
    HOST_USER = 1
    EFFECTIVE_USER = 2
    ROOT = 3

class PluginLoadType(IntEnum):
    LEGACY_EVAL_IIFE = 0 # legacy, uses legacy serverAPI
    ESMODULE_V1 = 1 # esmodule loading with modern @decky/backend apis