Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterbryant committed Dec 6, 2023
1 parent bee4bee commit 201effe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@ At the time of writing, HuntBot supports two functions:
}
```

Currently, the enum values that route_to_page can return are hardcoded to individual routes on the frontend. You can find the corresponding types for both functions and the enum [here.](src/lib/types.d.ts) This is a temporary solution, but in the future it would be ideal to dynamically populate the assistant's possible routes.
Currently, the enum values that route_to_page can return are hardcoded to individual routes on the frontend. You can find the corresponding types for both functions and the enum [here.](src/lib/types.d.ts) This is a temporary solution, but in the future it would be ideal to dynamically populate the assistant's possible routes. This could be done with Prismic's publishing webhooks, which bring me to the next topic:

## Content Management

I'm working with Prismic, as they have decent SvelteKit documentation, and a nice generated type system.

0 comments on commit 201effe

Please sign in to comment.