elioria-sst-x
    Preparing search index...

    Implements

    • EpiDisposalRpc
    Index
    supabase: PostgrestClient

    The supabase value.

    • Generated

      Executes disposeEpi.

      Parameters

      • params: {
            p_delivery_item_id: string | null;
            p_disposal_date: string | null;
            p_disposal_method: string | null;
            p_epi_catalog_id: string;
            p_evidence_url: string | null;
            p_notes: string | null;
            p_quantity: number;
            p_reason: string;
            p_tenant_id: string;
            p_user_id: string;
            p_warehouse_id: string;
            p_waste_type: string | null;
        }

        The params value.

      Returns Promise<DisposeEpiRpcResult>

      The function result.

      Objective: In module packages/db/src/repositories/epi-disposal-rpc.ts, run disposeEpi.

      Behavior: Async; accepts params; returns a value; invokes this.supabase.rpc; may throw.

      When the function cannot complete normally.