0.1.5 • Published 4 months ago

@tutur3u/types v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

@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/types

Usage

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 install

License

MIT © Tuturuuu

0.1.5

4 months ago

0.1.4

4 months ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.1

4 months ago