chore: init decky vaultwarden plugin scaffold

This commit is contained in:
2026-08-25 18:02:07 +02:00
commit 3d066c5297
27 changed files with 5479 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
"""
Type stubs for Decky plugin development.
"""
from typing import Any, Callable, Optional
class logger:
"""Plugin logger."""
@staticmethod
def info(msg: str) -> None: ...
@staticmethod
def warning(msg: str) -> None: ...
@staticmethod
def error(msg: str) -> None: ...
@staticmethod
def debug(msg: str) -> None: ...
class plugin:
"""Plugin decorator and utilities."""
@staticmethod
def call(method: str, *args: Any) -> Any: ...
# Plugin lifecycle methods
async def _main() -> None:
"""Called when plugin loads."""
pass
async def _unload() -> None:
"""Called when plugin unloads."""
pass
async def _migration() -> None:
"""Called on plugin version change."""
pass