chore: JSPG Engine tuple decoupling and core routing optimizations
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
use crate::database::page::Page;
|
||||
use crate::database::schema::Schema;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::sync::Arc;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
#[serde(default)]
|
||||
@ -16,5 +17,5 @@ pub struct Punc {
|
||||
pub get: Option<String>,
|
||||
pub page: Option<Page>,
|
||||
#[serde(default)]
|
||||
pub schemas: Vec<Schema>,
|
||||
pub schemas: std::collections::BTreeMap<String, Arc<Schema>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user