JSPM

supabase-effect

0.2.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 261
  • Score
    100M100P100Q64871F
  • License MIT

An Effect-ts wrapper for supabase

Package Exports

  • supabase-effect
  • supabase-effect/auth
  • supabase-effect/auth-error
  • supabase-effect/client
  • supabase-effect/postgrest
  • supabase-effect/postgrest-error
  • supabase-effect/postgrest-response
  • supabase-effect/storage
  • supabase-effect/storage-error

Readme

supabase-effect

An Effect-ts wrapper for Supabase that provides type-safe, composable database operations.

⚠️ Important: Effect v4 Beta Dependency

This library requires effect@4.0.0-beta.29, which is currently experimental.

  • Effect v4 is in beta and APIs may change
  • Production use: Evaluate stability requirements for your use case

We'll update to stable Effect v4 once released.


TODOs

SupabaseClient

  • Client Wrapper (SupabaseClient, and associated layers, constructors.)

Authentication

  • Full support on authentication utils.
  • Type-safe authentication error codes.

Storage

  • Full support on storage utils.

Functions (Serverless features from supabase)

  • Full support on function utils.

Realtime

  • Full support on realtime utils.

Postgrest

  • Basic Postgrest utility - Effect-ts styled utilities
  • Type-safe postgres error codes.
  • PostgrestQueryBuilder support - needs further specification, and discussion on supportability.