mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-28 11:34:41 +03:00
34 lines
828 B
JavaScript
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"
|
|
} |