@lehuygiang28/gemini-proxy-db
v0.0.2
Published
Database schema/types for Gemini Proxy
Maintainers
Readme
Gemini Proxy - Database
This internal package contains the database schema, types, and management scripts for the Gemini Proxy application.
📋 Table of Contents
🏗️ Schema
The database schema is defined in sql/schema.sql and includes tables for api_keys, proxy_api_keys, and request_logs.
📊 Types Architecture
This package provides centralized TypeScript types for the entire monorepo:
- Database Schema Types: Auto-generated from Supabase schema
- Statistics Types: Manual interfaces for RPC function returns
- User Types: Shared authentication types
🛠️ Scripts
Generating Types
pnpm gen:typesPushing Schema Changes
pnpm db:pushWarning: This command will overwrite the existing schema in your database.
📦 Installation
This is an internal package and is not intended for direct installation.
💻 Usage Information
The generated TypeScript types are used by the @gemini-proxy/core package.
📚 Back to Main README
For a complete overview of the project, please refer to the root README.md.
Made with ❤️ by lehuygiang28
