100 types • 21 categories

Type Catalog

Browse all available TypeScript types by category.

Request a type

common

6
Address

Postal address validation with US zip code, ISO country code, and partial variant.

npx shadcn@latest add @open-types/address
Email Message

Email message with recipients, subject, body (text/HTML), and attachments.

npx shadcn@latest add @open-types/email-message
Geolocation

Geographic coordinates with latitude, longitude, altitude, and accuracy.

npx shadcn@latest add @open-types/geolocation
Money

Monetary amount with currency code (ISO 4217) and optional formatted string.

npx shadcn@latest add @open-types/money
Date Range

Date range with start, end, and optional timezone.

npx shadcn@latest add @open-types/date-range
File Upload

File upload metadata with name, size, MIME type, and URL.

npx shadcn@latest add @open-types/file-upload

api

14
Pagination

Pagination request parameters and paginated response metadata.

npx shadcn@latest add @open-types/pagination
API Response

Discriminated union API response with success/error variants and factory functions.

npx shadcn@latest add @open-types/api-response
Rate Limit Headers

API rate limit headers with limit, remaining, reset, and retry-after.

npx shadcn@latest add @open-types/rate-limit-headers
Problem Details

RFC 7807 Problem Details for HTTP APIs with type, title, status, and detail.

npx shadcn@latest add @open-types/problem-details
Cursor Pagination

Cursor-based pagination request and response with next cursor and has-more flag.

npx shadcn@latest add @open-types/cursor-pagination
Bulk Operation

Bulk API operation request and response with per-operation status tracking.

npx shadcn@latest add @open-types/bulk-operation
Webhook Delivery

Webhook delivery record with event, payload, signature, and delivery status.

npx shadcn@latest add @open-types/webhook-delivery
API Key

API key with scopes, creation date, expiration, and last-used tracking.

npx shadcn@latest add @open-types/api-key
GraphQL Error

GraphQL error and response types with locations, path, and extensions.

npx shadcn@latest add @open-types/graphql-error
Server-Sent Event

Server-Sent Event fields: id, event type, data, and retry interval.

npx shadcn@latest add @open-types/server-sent-event
CSP Header

Content-Security-Policy directives with source lists and boolean flags.

npx shadcn@latest add @open-types/csp-header
CORS Config

CORS configuration with allowed origins, methods, headers, and credentials.

npx shadcn@latest add @open-types/cors-config
Cache-Control

Cache-Control header directives with max-age, stale-while-revalidate, and immutable.

npx shadcn@latest add @open-types/cache-control
Cookie

HTTP cookie with name, value, domain, path, SameSite, and security flags.

npx shadcn@latest add @open-types/cookie

auth

7
Login Credentials

Email and password login form validation with optional rememberMe.

npx shadcn@latest add @open-types/login-credentials
User

User profile with role-based access, optional address, and create/update variants.

npx shadcn@latest add @open-types/user
Register

User registration with strong password policy and confirmation matching.

npx shadcn@latest add @open-types/register
OAuth2 Token Response

OAuth 2.0 token endpoint response with access token, type, and optional refresh token.

npx shadcn@latest add @open-types/oauth2-token-response
JWT Claims

Standard JWT claims (RFC 7519) with issuer, subject, audience, and expiration.

npx shadcn@latest add @open-types/jwt-claims
OAuth2 Authorization Request

OAuth 2.0 authorization request parameters with response type, client ID, and scope.

npx shadcn@latest add @open-types/oauth2-authorization-request
Session

User session with ID, expiration, IP address, and user agent tracking.

npx shadcn@latest add @open-types/session

forms

3
Contact Form

Contact form validation with name, email, subject, message, and optional phone (E.164).

npx shadcn@latest add @open-types/contact-form
Newsletter Subscription

Newsletter subscription with email, name, source, and subscription date.

npx shadcn@latest add @open-types/newsletter-subscription
Feedback Form

Feedback form with rating (1-5), message, email, and category.

npx shadcn@latest add @open-types/feedback-form

ecommerce

6
Product

E-commerce product with pricing, inventory, dimensions, and create/update variants.

npx shadcn@latest add @open-types/product
Cart Item

Shopping cart item and full cart validation with currency and quantity constraints.

npx shadcn@latest add @open-types/cart-item
Order

E-commerce order with line items, shipping/billing addresses, status tracking, and totals.

npx shadcn@latest add @open-types/order
Payment Method

Payment method with card details, type, and billing address.

npx shadcn@latest add @open-types/payment-method
Shipping Rate

Shipping rate with amount, currency, carrier, and estimated delivery days.

npx shadcn@latest add @open-types/shipping-rate
Review

Product review with rating (1-5), title, body, and verified purchase flag.

npx shadcn@latest add @open-types/review

github

12
GitHub Shared

Common GitHub webhook types: User, Repository, Organization, Label, Milestone, and AuthorAssociation.

npx shadcn@latest add @open-types/github-shared
GitHub Push Event

GitHub push webhook payload with commits, pusher, and ref tracking.

npx shadcn@latest add @open-types/github-push-event
GitHub Pull Request Event

GitHub pull_request webhook payload with branches, labels, reviewers, and changes tracking.

npx shadcn@latest add @open-types/github-pull-request-event
GitHub Issues Event

GitHub issues webhook payload with labels, milestones, assignees, and state tracking.

npx shadcn@latest add @open-types/github-issues-event
GitHub Issue Comment Event

GitHub issue_comment webhook payload with comment body, author association, and edit tracking.

npx shadcn@latest add @open-types/github-issue-comment-event
GitHub Pull Request Review Event

GitHub pull_request_review webhook payload with review state, author association, and approval tracking.

npx shadcn@latest add @open-types/github-pull-request-review-event
GitHub Release Event

GitHub release webhook payload with assets, tag tracking, and draft/prerelease flags.

npx shadcn@latest add @open-types/github-release-event
GitHub Workflow Run Event

GitHub workflow_run webhook payload with run status, conclusion, and workflow tracking.

npx shadcn@latest add @open-types/github-workflow-run-event
GitHub Deployment Event

GitHub deployment webhook payload with environment, ref, and creator tracking.

npx shadcn@latest add @open-types/github-deployment-event
GitHub Star Event

GitHub star webhook payload with created/deleted action and timestamp.

npx shadcn@latest add @open-types/github-star-event
GitHub Fork Event

GitHub fork webhook payload with forkee repository details.

npx shadcn@latest add @open-types/github-fork-event
GitHub Ping Event

GitHub ping webhook payload with zen message and hook configuration.

npx shadcn@latest add @open-types/github-ping-event

stripe

10
Stripe Shared

Common Stripe types: metadata record and address structure.

npx shadcn@latest add @open-types/stripe-shared
Stripe Event

Stripe webhook event wrapper with versioned data object and request tracking.

npx shadcn@latest add @open-types/stripe-event
Stripe Payment Intent

Stripe PaymentIntent with amount, currency, status lifecycle, and metadata.

npx shadcn@latest add @open-types/stripe-payment-intent
Stripe Checkout Session

Stripe Checkout Session with payment status, mode, and customer details.

npx shadcn@latest add @open-types/stripe-checkout-session
Stripe Invoice

Stripe Invoice with amounts, payment status, and billing period tracking.

npx shadcn@latest add @open-types/stripe-invoice
Stripe Subscription

Stripe Subscription with status lifecycle, billing periods, and item details.

npx shadcn@latest add @open-types/stripe-subscription
Stripe Charge

Stripe Charge with amount, payment status, refund state, and receipt.

npx shadcn@latest add @open-types/stripe-charge
Stripe Customer

Stripe Customer with email, address, phone, and metadata.

npx shadcn@latest add @open-types/stripe-customer
Stripe Refund

Stripe Refund with amount, status, reason, and linked charge/payment intent.

npx shadcn@latest add @open-types/stripe-refund
Stripe Price

Stripe Price with unit amount, currency, recurring interval, and product link.

npx shadcn@latest add @open-types/stripe-price

openai

6
OpenAI Shared

Common OpenAI types: token usage tracking for prompt and completion.

npx shadcn@latest add @open-types/openai-shared
OpenAI Chat Completion

OpenAI Chat Completion response with choices, messages, tool calls, and usage.

npx shadcn@latest add @open-types/openai-chat-completion
OpenAI Chat Completion Chunk

OpenAI Chat Completion streaming chunk with delta content and tool call fragments.

npx shadcn@latest add @open-types/openai-chat-completion-chunk
OpenAI Embedding

OpenAI Embedding response with vector data, model, and usage statistics.

npx shadcn@latest add @open-types/openai-embedding
OpenAI Model

OpenAI Model metadata with ID, ownership, and creation timestamp.

npx shadcn@latest add @open-types/openai-model
OpenAI Error

OpenAI API error response with message, type, param, and code.

npx shadcn@latest add @open-types/openai-error

aws

6
AWS API Gateway Event

AWS API Gateway v1 proxy event with headers, params, body, and request context.

npx shadcn@latest add @open-types/aws-api-gateway-event
AWS API Gateway V2 Event

AWS API Gateway v2 HTTP event with simplified routing and request context.

npx shadcn@latest add @open-types/aws-api-gateway-v2-event
AWS S3 Event

AWS S3 event notification with bucket and object details per record.

npx shadcn@latest add @open-types/aws-s3-event
AWS SQS Event

AWS SQS event with message records, attributes, and source ARN.

npx shadcn@latest add @open-types/aws-sqs-event
AWS DynamoDB Stream Event

AWS DynamoDB Streams event with record changes, keys, and stream view type.

npx shadcn@latest add @open-types/aws-dynamodb-stream-event
AWS SNS Event

AWS SNS event with message records, topic ARN, and message attributes.

npx shadcn@latest add @open-types/aws-sns-event

slack

4
Slack Shared

Common Slack types: user and channel identification.

npx shadcn@latest add @open-types/slack-shared
Slack Message Event

Slack message event callback with user, text, channel, and timestamps.

npx shadcn@latest add @open-types/slack-message-event
Slack Slash Command

Slack slash command payload with user, channel, command text, and response URL.

npx shadcn@latest add @open-types/slack-slash-command
Slack Interaction Payload

Slack interaction payload for block actions, view submissions, and shortcuts.

npx shadcn@latest add @open-types/slack-interaction-payload

discord

4
Discord Shared

Common Discord types: User, Guild, and Channel.

npx shadcn@latest add @open-types/discord-shared
Discord Message

Discord message with author, embeds, attachments, and mentions.

npx shadcn@latest add @open-types/discord-message
Discord Interaction

Discord interaction with slash command data, guild, and user context.

npx shadcn@latest add @open-types/discord-interaction
Discord Webhook Message

Discord incoming webhook message with content, embeds, and username override.

npx shadcn@latest add @open-types/discord-webhook-message

twilio

2
Twilio SMS Message

Twilio SMS message with status, direction, pricing, and segment tracking.

npx shadcn@latest add @open-types/twilio-sms-message
Twilio Webhook

Twilio SMS webhook callback with message SID, status, and sender details.

npx shadcn@latest add @open-types/twilio-webhook

sendgrid

2
SendGrid Mail

SendGrid v3 mail send request with personalizations, content, and recipients.

npx shadcn@latest add @open-types/sendgrid-mail
SendGrid Event Webhook

SendGrid event webhook with delivery, engagement, and compliance events.

npx shadcn@latest add @open-types/sendgrid-event-webhook

seo

3
Open Graph

Open Graph meta tags with title, type, images, and site metadata.

npx shadcn@latest add @open-types/open-graph
Sitemap Entry

XML sitemap URL entry with lastmod, changefreq, and priority.

npx shadcn@latest add @open-types/sitemap-entry
Structured Data

JSON-LD structured data with Thing base type and BreadcrumbList.

npx shadcn@latest add @open-types/structured-data

analytics

2
Segment Track

Segment analytics track call with event, properties, and context.

npx shadcn@latest add @open-types/segment-track
Segment Identify

Segment analytics identify call with user traits and context.

npx shadcn@latest add @open-types/segment-identify

infrastructure

3
Health Check

Service health check with status, individual checks, and duration.

npx shadcn@latest add @open-types/health-check
Cron Job

Cron job with schedule expression, timezone, and run tracking.

npx shadcn@latest add @open-types/cron-job
Feature Flag

Feature flag with variants, targeting rules, and evaluation result.

npx shadcn@latest add @open-types/feature-flag

logging

2
Log Entry

Structured log entry with level, message, service, trace ID, and error details.

npx shadcn@latest add @open-types/log-entry
Audit Log

Audit trail entry with actor, resource, action, changes, and IP tracking.

npx shadcn@latest add @open-types/audit-log

notification

2
Push Notification

Web/mobile push notification with title, body, actions, and data payload.

npx shadcn@latest add @open-types/push-notification
Toast Notification

In-app toast notification with variant, duration, and dismissible flag.

npx shadcn@latest add @open-types/toast-notification

i18n

2
Locale

Locale with language, region, script, text direction, and display names.

npx shadcn@latest add @open-types/locale
Translation Entry

Translation key-value entry with namespace, locale, and placeholders.

npx shadcn@latest add @open-types/translation-entry

social

2
RSS Feed Item

RSS/Atom feed and item with title, link, enclosure, and categories.

npx shadcn@latest add @open-types/rss-feed-item
Social Media Post

Social media post with author, content, media attachments, and engagement metrics.

npx shadcn@latest add @open-types/social-media-post

google

2
Google OAuth ID Token

Google OAuth2 ID token claims with email, name, picture, and verification.

npx shadcn@latest add @open-types/google-oauth-id-token
reCAPTCHA Response

Google reCAPTCHA verification response with score, action, and error codes.

npx shadcn@latest add @open-types/recaptcha-response