File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script setup lang="ts">
2+ import type { Doc } from ' backend-convex/convex/_generated/dataModel'
23import { api } from ' backend-convex/convex/_generated/api'
34import { useToast } from ' ~/lib/shadcn/components/ui/toast'
45
@@ -27,7 +28,10 @@ async function testConvexViaBackendTasksCTA() {
2728 isFetchingTasks .value = true
2829
2930 await hcParse ($apiClient .api .dummy .convexTasks .$get ())
30- .then (r => toast ({ description: r .map (t => t .text ).join (' \n ' ) }))
31+ // Explicit type cast is needed here because `vue-tsc` does not yet work with
32+ // deep-nested TS reference (`frontend` => `backend` => `backend-convex`)
33+ // https://github.com/vuejs/language-tools/issues/5419
34+ .then ((r : Doc <' tasks' >[]) => toast ({ description: r .map (t => t .text ).join (' \n ' ) }))
3135 .catch (e => toast ({ variant: ' destructive' , description: e .message }))
3236
3337 isFetchingTasks .value = false
Original file line number Diff line number Diff line change 33 "tasks" : {
44 "deploy" : {
55 "dependsOn" : [
6+ " quickcheck" ,
67 // Set frontend deploy script to only run after backends are deployed, this make sure we have the (new) backend server for SSG.
78 " ^build" ,
89 " backend#deploy" ,
You can’t perform that action at this time.
0 commit comments