Skip to content

five-on-it / apps/client/src/ui/create

apps/client/src/ui/create ​

The creation page's side of the platform API, without React (CreatePage.tsx): an owner's creations (GET /jobs), each a conversation with the platform's model, a brief queued (POST /jobs: a curated city remixed or a new city, how it is played, a revision naming its draft, the model the owner picked), the owner's next message once the model answered (POST /jobs/:id/messages, switching the model for the turns after it), a creation cancelled (a conversation ended) or deleted from the list (DELETE /jobs/:id, its draft too when asked), the curated cities a page at a time (GET /catalogue/cities), the models an owner may pick (GET /creations/models: the best one picked unless the owner picks another, each with what a turn typically costs in FireTokens), and what a result offers (a playtest room, publishing by link); how long a creation has waited or run, and in how many hours a time comes (an allowance resetting, creation resuming).

Interfaces ​

Variables ​

Functions ​