feat: display a project form upon clicking the create button on the projects page
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
use crate::errors::error::Error;
|
||||
use crate::errors::error_vec::ErrorVec;
|
||||
use crate::models::category::Category;
|
||||
use crate::models::project::Project;
|
||||
use crate::models::task::Task;
|
||||
|
||||
pub(crate) mod tasks;
|
||||
pub(crate) mod projects;
|
||||
|
||||
#[derive(PartialEq, Debug)]
|
||||
pub(crate) enum QueryValue {
|
||||
Tasks(Vec<Task>),
|
||||
Projects(Vec<Project>),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
@@ -19,4 +22,5 @@ pub(crate) enum QueryErrors {
|
||||
pub(crate) enum QueryKey {
|
||||
Tasks,
|
||||
TasksInCategory(Category),
|
||||
Projects,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user