gitdataai/libs/api/lib.rs
ZhenYi fb91f5a6c5 feat(admin): add admin panel with billing alerts and model sync
- Add libs/api/admin with admin API endpoints:
  sync models, workspace credit, billing alert check
- Add workspace_alert_config model and alert service
- Add Session::no_op() for background tasks without user context
- Add admin/ Next.js admin panel (AI models, billing, workspaces, audit)
- Start billing alert background task every 30 minutes
2026-04-19 20:48:59 +08:00

19 lines
304 B
Rust

pub mod admin;
pub mod agent;
pub mod auth;
pub mod error;
pub mod git;
pub mod issue;
pub mod openapi;
pub mod project;
pub mod pull_request;
pub mod room;
pub mod route;
pub mod search;
pub mod skill;
pub mod user;
pub mod workspace;
pub use error::{api_success, ApiError, ApiResponse};
pub mod dist;