wasp/wasp-ai/main.wasp
Mihovil Ilakovac 37dba202fd New design
2023-06-21 12:37:09 +02:00

34 lines
828 B
JavaScript

app waspAi {
wasp: {
version: "^0.10.6"
},
title: "wasp-ai",
dependencies: [
("uuid", "^9.0.0"),
("prismjs", "^1.29.0"),
("react-accessible-treeview", "2.6.1"),
("react-icons", "4.9.0"),
("@zip.js/zip.js", "2.7.16")
],
client: {
rootComponent: import { RootComponent } from "@client/RootComponent.jsx",
}
}
route RootRoute { path: "/", to: MainPage }
page MainPage {
component: import Main from "@client/pages/MainPage.jsx"
}
route ResultRoute { path: "/result/:appId", to: ResultPage }
page ResultPage {
component: import { ResultPage } from "@client/pages/ResultPage.jsx"
}
action startGeneratingNewApp {
fn: import { startGeneratingNewApp } from "@server/operations.js"
}
query getAppGenerationResult {
fn: import { getAppGenerationResult } from "@server/operations.js"
}