Files
FastapiAdmin/backend/app/api/v1/module_system/plugin/crud.py
T
zhangtao 53d2a9d13e chore: cleanup old frontend code and update project configs
This commit removes the deprecated frontend/web-old directory, updates various project configuration files including tsconfig, vite config, environment variables, and backend data models. It also fixes several API paths, adds tenant awareness to multiple models, and makes minor UI adjustments.
2026-05-27 01:12:03 +08:00

12 lines
404 B
Python

from app.api.v1.module_system.auth.schema import AuthSchema
from app.core.base_crud import CRUDBase
from .model import PluginModel
from .schema import PluginCreateSchema, PluginUpdateSchema
class PluginCRUD(CRUDBase[PluginModel, PluginCreateSchema, PluginUpdateSchema]):
def __init__(self, auth: AuthSchema) -> None:
self.auth = auth
super().__init__(model=PluginModel, auth=auth)