chore: add datastores_ids to declare what is going to be used in each task
This commit is contained in:
parent
e21ea51854
commit
ce9f07f6f9
@ -56,6 +56,7 @@ pub struct WebServer {
|
|||||||
pub password_rules: String,
|
pub password_rules: String,
|
||||||
pub mapped_url_prefix: String,
|
pub mapped_url_prefix: String,
|
||||||
pub admin_key: String,
|
pub admin_key: String,
|
||||||
|
pub datastores_ids: Vec<String>,
|
||||||
}
|
}
|
||||||
impl WebServer {
|
impl WebServer {
|
||||||
#[must_use]
|
#[must_use]
|
||||||
@ -134,6 +135,7 @@ pub struct SchedTask {
|
|||||||
pub store: SchedTaskStore,
|
pub store: SchedTaskStore,
|
||||||
pub schedule: String,
|
pub schedule: String,
|
||||||
pub on_start: bool,
|
pub on_start: bool,
|
||||||
|
pub datastores_ids: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize, Default)]
|
#[derive(Clone, Debug, Deserialize, Default)]
|
||||||
|
Loading…
Reference in New Issue
Block a user