2023-06-15 23:19:01 +03:00
|
|
|
app waspAi {
|
|
|
|
wasp: {
|
|
|
|
version: "^0.10.6"
|
|
|
|
},
|
2023-06-16 16:43:16 +03:00
|
|
|
title: "wasp-ai",
|
2023-06-20 13:03:01 +03:00
|
|
|
dependencies: [
|
|
|
|
("uuid", "^9.0.0"),
|
|
|
|
("prismjs", "^1.29.0"),
|
2023-06-20 14:54:12 +03:00
|
|
|
("react-accessible-treeview", "2.6.1"),
|
2023-06-20 15:38:55 +03:00
|
|
|
("react-icons", "4.9.0"),
|
|
|
|
("@zip.js/zip.js", "2.7.16")
|
2023-06-20 13:03:01 +03:00
|
|
|
],
|
2023-06-19 18:28:36 +03:00
|
|
|
client: {
|
|
|
|
rootComponent: import { RootComponent } from "@client/RootComponent.jsx",
|
|
|
|
}
|
2023-06-15 23:19:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
route RootRoute { path: "/", to: MainPage }
|
|
|
|
page MainPage {
|
2023-06-19 18:28:36 +03:00
|
|
|
component: import Main from "@client/pages/MainPage.jsx"
|
2023-06-16 16:43:16 +03:00
|
|
|
}
|
|
|
|
|
2023-06-21 13:37:02 +03:00
|
|
|
route ResultRoute { path: "/result/:appId", to: ResultPage }
|
|
|
|
page ResultPage {
|
|
|
|
component: import { ResultPage } from "@client/pages/ResultPage.jsx"
|
|
|
|
}
|
|
|
|
|
2023-06-16 16:43:16 +03:00
|
|
|
action startGeneratingNewApp {
|
|
|
|
fn: import { startGeneratingNewApp } from "@server/operations.js"
|
|
|
|
}
|
|
|
|
|
|
|
|
query getAppGenerationResult {
|
|
|
|
fn: import { getAppGenerationResult } from "@server/operations.js"
|
2023-06-15 23:19:01 +03:00
|
|
|
}
|