feat: init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
||||
pub struct WorkspaceStats {
|
||||
pub workspace_id: Uuid,
|
||||
pub members_count: i64,
|
||||
pub repos_count: i64,
|
||||
pub issues_count: i64,
|
||||
pub pull_requests_count: i64,
|
||||
pub storage_bytes: i64,
|
||||
pub bandwidth_bytes: i64,
|
||||
pub build_minutes_used: i64,
|
||||
pub last_activity_at: Option<DateTime<Utc>>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user