// Copyright (C) 2026 Ordinary Labs, LLC.
//
// SPDX-License-Identifier: AGPL-3.0-only

use serde::{Deserialize, Serialize};

#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
#[cfg_attr(feature = "docs", derive(schemars::JsonSchema))]
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct SecretsLimits {
    pub max_count: u8,
    pub max_size: u64,
}

impl Default for SecretsLimits {
    fn default() -> Self {
        Self {
            max_count: 225,
            max_size: 2_000,
        }
    }
}
