manifold/web/pages/api/v0
Austin Chen 9eff69be75
Add /createcomment API endpoint (#946)
* /dream api: Upload StableDiffusion image to Firestore

* Minor tweaks

* Set content type on uploaded image

This makes it so the image doesn't auto-download when opened in a new tab

* Allow users to dream directly from within Manifold

* Remove unused import

* Implement a /comment endpoint which supports html and markdown

* Upgrade @tiptap/core to latest

* Update all tiptap deps to beta.199

* Add @tiptap/suggestion

* Import @tiptap/html in the right place

* ... add deps everywhere

So I have no idea how common deps work apparently

* Add tiptap/suggestion too

* Clean up dream

* More cleanups

* Rework /comment endpoint

* Move API to /comment

* Change imports in case that matters

* Add a couple todos

* Dynamically import micromark

* Parallellize gsutil with -m option

* Adding comments via api working, editor.tsx erroring out

* Unused import

* Remove disabled state from useTextEditor

Co-authored-by: Ian Philips <iansphilips@gmail.com>
2022-10-12 17:25:17 -07:00
..
bet Expose cancel bet api 2022-07-27 17:38:25 -07:00
group Convert market to lite market for Phil 2022-09-07 07:13:34 -06:00
market API: Cache markets for 15 seconds at least 2022-10-01 13:37:56 -05:00
slug Remove surprising 2 minute edge caching for API market data (#541) 2022-06-17 17:43:02 -07:00
twitch Twitch integration (#815) 2022-09-14 01:52:31 -07:00
user Make prefetching correctly use context cache (#835) 2022-09-01 19:38:09 -07:00
_types.ts delete bannerUrl from user type 2022-10-10 13:51:27 -07:00
_validate.ts Add API route for listing a bets by user (#567) 2022-07-07 15:36:02 -07:00
bets.ts Add API route for listing a bets by user (#567) 2022-07-07 15:36:02 -07:00
comment.ts Add /createcomment API endpoint (#946) 2022-10-12 17:25:17 -07:00
dream.ts Generate images from StableDiffusion (#1035) 2022-10-12 09:53:04 -07:00
groups.ts Update groups API 2022-09-06 09:24:26 -06:00
markets.ts API: Cache markets for 15 seconds at least 2022-10-01 13:37:56 -05:00
me.ts Just make me endpoint forward the backend response 2022-08-02 00:21:51 -07:00
revalidate.ts Revalidate getStaticProps after each bet 2022-09-19 14:55:37 -05:00
users.ts Add Users API endpoint (#547) 2022-06-25 16:28:01 -07:00