Preparing search index...

    Class SupabaseModule

    Provides access to Supabase authentication and database capabilities.

    Hierarchy (View Summary)

    Index

    Properties

    name: string

    The name of the Asset in Lens Studio.

    ""
    
    uniqueIdentifier: string

    Lens Scripting Version 176

    Methods

    • Performs a realtime connection to any Supabase Project to replace InternetModule.createWebSocket for supabase. The SupabaseClient in the asset library provides the supabase-js client library configured for Lens Studio, and uses this API to connect to your Supabase backend for Realtime features.

      • url The Supabase Realtime endpoint URL, or a local URL when experimental API access is enabled.
      • protocols Optional connection subprotocols.

      Parameters

      • url: string
      • Optionalprotocols: any

      Returns WebSocket

      Lens Scripting Version 362

    • Returns the name of this object's type.

      Returns string

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    • Performs a request to any Supabase Project to replace InternetModule.fetch for supabase.

      Parameters

      • request: string | Request
      • Optionaloptions: any

      Returns Promise<Response>