remove: app

This commit is contained in:
k
2024-09-11 22:47:26 +02:00
parent ba4021ad73
commit 157ec003b7
282 changed files with 1454 additions and 43937 deletions

View File

@@ -24,7 +24,7 @@ pub struct Route {
pub struct Routes(pub Grouped<HashMap<String, Route>>);
const INPUTS_PATH: &str = "./in";
const APP_TYPES_PATH: &str = "../app/src/types";
const WEBSITE_TYPES_PATH: &str = "../website/types";
impl Routes {
pub fn build() -> Self {
@@ -111,7 +111,7 @@ impl Routes {
let last_type = map_to_type("Last", &self.last);
fs::write(
format!("{APP_TYPES_PATH}/paths.d.ts"),
format!("{WEBSITE_TYPES_PATH}/paths.d.ts"),
format!("{date_type}\n{height_type}\n{last_type}"),
)
.unwrap();