From 1ad8b56892c3a77605823ed59a99980b9e267391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 18 Oct 2024 10:16:27 +0200 Subject: [PATCH] WIP --- src/openproject/work.rs | 1 + src/planning/planning_load.rs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/openproject/work.rs b/src/openproject/work.rs index f1c3c92..5495848 100644 --- a/src/openproject/work.rs +++ b/src/openproject/work.rs @@ -128,6 +128,7 @@ impl GetWorkPackageCollectionClient for Client { current.links.next_by_offset.clone().unwrap().href )) .basic_auth("apikey", Some(&self.token)) + // .query(&[("filters", r##"[{"startDate":{"operator": "<=", "values": ["2024-06-30"]}, {"endDate":{"operator": ">d", "values": ["2024-06-01"]}]"##)]) .send() .await?; diff --git a/src/planning/planning_load.rs b/src/planning/planning_load.rs index d369f61..7aee2cb 100644 --- a/src/planning/planning_load.rs +++ b/src/planning/planning_load.rs @@ -8,6 +8,10 @@ use crate::openproject::client::Client; use crate::openproject::user::UserPartial; use crate::openproject::work::{WorkPackage, WorkPackageCollectionClient}; +pub struct PlanningLoadConfig { + +} + enum CellContent { S(String), N(f64),