merge branches and cleanup db

This commit is contained in:
timurgordon
2025-06-27 12:11:04 +03:00
parent 5563d7e27e
commit 1f9ec01934
177 changed files with 1202 additions and 174 deletions

View File

@@ -1,9 +1,9 @@
use heromodels_core::BaseModelData;
use heromodels_derive::model;
use rhai::CustomType;
use rhai::TypeBuilder;
use rhailib_derive::RhaiApi;
use serde::{Deserialize, Serialize};
use rhai::TypeBuilder;
/// Represents an event in a contact
#[model]
@@ -13,7 +13,7 @@ pub struct Object {
pub base_data: BaseModelData,
#[index]
pub title: String,
pub description: String
pub description: String,
}
impl Object {
@@ -28,7 +28,7 @@ impl Object {
pub fn id(&self) -> u32 {
self.base_data.id
}
pub fn title(mut self, title: String) -> Self {
self.title = title;
self
@@ -38,4 +38,4 @@ impl Object {
self.description = description;
self
}
}
}