Compare commits

...
Author SHA1 Message Date
phoenix ad632fca16 bump: textsender_models
textsender_models PR / Rustfmt (pull_request) Successful in 40s
textsender_models PR / Check (pull_request) Successful in 44s
Release Tagging / release (pull_request) Successful in 28s
textsender_models PR / Clippy (pull_request) Successful in 58s
2026-06-17 16:41:53 -04:00
phoenix 86febdab0d Fix field access issue 2026-06-17 16:41:46 -04:00
phoenix 7534e8652f Updating workflows
textsender_models PR / Rustfmt (pull_request) Successful in 36s
Release Tagging / release (pull_request) Successful in 33s
textsender_models PR / Clippy (pull_request) Successful in 1m12s
textsender_models PR / Check (pull_request) Successful in 1m39s
2026-06-17 16:17:38 -04:00
5 changed files with 20 additions and 12 deletions
+4
View File
@@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
check: check:
name: Check name: Check
+4
View File
@@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
check: check:
name: Check name: Check
Generated
+1 -1
View File
@@ -521,7 +521,7 @@ dependencies = [
[[package]] [[package]]
name = "textsender_models" name = "textsender_models"
version = "0.4.0" version = "0.4.1"
dependencies = [ dependencies = [
"const_format", "const_format",
"dotenvy", "dotenvy",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "textsender_models" name = "textsender_models"
version = "0.4.0" version = "0.4.1"
edition = "2024" edition = "2024"
rust-version = "1.96" rust-version = "1.96"
description = "Models used for the textsender project" description = "Models used for the textsender project"
+10 -10
View File
@@ -1,22 +1,22 @@
#[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize, utoipa::ToSchema)] #[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize, utoipa::ToSchema)]
pub struct ScheduledMessageEvent { pub struct ScheduledMessageEvent {
id: uuid::Uuid, pub id: uuid::Uuid,
contact_id: uuid::Uuid, pub contact_id: uuid::Uuid,
message_id: uuid::Uuid, pub message_id: uuid::Uuid,
scheduled_message_id: uuid::Uuid, pub scheduled_message_id: uuid::Uuid,
#[serde(with = "time::serde::rfc3339::option")] #[serde(with = "time::serde::rfc3339::option")]
created: Option<time::OffsetDateTime>, pub created: Option<time::OffsetDateTime>,
} }
#[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize, utoipa::ToSchema)] #[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize, utoipa::ToSchema)]
pub struct ScheduledMessage { pub struct ScheduledMessage {
id: uuid::Uuid, pub id: uuid::Uuid,
#[serde(with = "time::serde::rfc3339::option")] #[serde(with = "time::serde::rfc3339::option")]
scheduled: Option<time::OffsetDateTime>, pub scheduled: Option<time::OffsetDateTime>,
#[serde(with = "time::serde::rfc3339::option")] #[serde(with = "time::serde::rfc3339::option")]
created: Option<time::OffsetDateTime>, pub created: Option<time::OffsetDateTime>,
status: String, pub status: String,
user_id: uuid::Uuid, pub user_id: uuid::Uuid,
} }
pub const READY: &str = "READY"; pub const READY: &str = "READY";