// prose-pod-api
//
// Copyright: 2025, Rémi Bardon <remi@remibardon.name>
// License: Mozilla Public License v2.0 (MPL v2.0)

use serdev::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Serialize, Deserialize)]
#[repr(transparent)]
pub struct Lua(pub String);

impl std::ops::Deref for Lua {
    type Target = String;

    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
