• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
fxfr

fxfr

flixdb

Unlisted
Like
flixdb
Home
Code
4
backend
4
frontend
4
shared
2
README.md
Branches
2
Pull requests
Remixes
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
shared
/
README.md
Code
/
shared
/
README.md
Search
7/23/2025
README.md

Shared Types and Utilities

TypeScript type definitions shared between frontend and backend.

Types

User

  • id - Unique user identifier
  • email - User's email address
  • created - Account creation timestamp
  • updated - Last update timestamp

Note

  • id - Unique note identifier
  • note - Note content (text)
  • created - Note creation timestamp
  • updated - Last update timestamp

API Request/Response Types

  • AuthResponse - Login response with token and user data
  • LoginRequest - Login request payload
  • CreateNoteRequest - Create note request payload
  • UpdateNoteRequest - Update note request payload

These types ensure type safety across the entire application and provide clear contracts for API communication.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.