@tutur3u/types
v0.1.5
Published
Common TypeScript types and interfaces for Tuturuuu Platform. This package provides strongly-typed definitions for all data structures used across the Tuturuuu Platform.
Downloads
12
Readme
@tutur3u/types
Common TypeScript types and interfaces for Tuturuuu Platform. This package provides strongly-typed definitions for all data structures used across the Tuturuuu Platform.
Installation
npm install @tutur3u/types
# or
yarn add @tutur3u/types
# or
pnpm add @tutur3u/typesUsage
import { User, Workspace, WorkspaceUser } from '@tutur3u/types';
// Use type-safe database queries
import { Tables } from '@tutur3u/types/supabase';
type AIChat = Tables<'ai_chats'>;Available Types
This package includes TypeScript definitions for:
- Core entities (User, Workspace, etc.)
- Database tables and relationships
- API responses and requests
- Common utilities and helpers
Some key type categories:
- Users & Authentication:
User,UserRole,WorkspaceUser - Workspaces:
Workspace,WorkspaceConfig,WorkspaceSecret - Features:
Task,Calendar,Product,Invoice - Database: Direct table types via
Tables<'table_name'>
Development
# Install dependencies
pnpm installLicense
MIT © Tuturuuu
