Routing and Screens
Penalties Configuration
Embarrassing photo, email, money, and direct commit penalty sub-screens.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Embarrassing photo, email, money, and direct commit penalty sub-screens.
| Type | File | Configuration |
|---|---|---|
| Embarrassing Photo | embarrassing-photo.tsx | Camera capture or gallery selection of the photo to send |
| Send Email | email-setup.tsx | Recipient email, subject line, and message body |
| Send Money | money.tsx | Amount selection and payment method |
| Direct Commit | (via hub) | App block penalty that blocks favorite apps for a duration |
// The penalty object on the draft store
penalty: {
type: "embarrassing_photo",
config: {
channel: "email",
emailTo: "friend@example.com",
photoUrl: "file:///captured_photo.jpg"
}
}