elioria-sst-x
    Preparing search index...

    Class SupabaseTechnicalEvidenceRepository

    Implements

    Index
    db: PostgresJsDatabase<packages/db/src/schema> & {}

    The db value.

    • Generated

      Executes delete.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      Returns Promise<boolean>

      The function result.

      Objective: In module packages/db/src/repositories/technical-evidence.repository.ts, run delete.

      Behavior: Async; accepts id and tenantId; returns a value; invokes this.db .delete(technicalEvidence) .where(and(eq(technicalEv.

    • Generated

      Returns the result of findById.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      Returns Promise<TechnicalEvidence | null>

      The function result.

      Objective: In module packages/db/src/repositories/technical-evidence.repository.ts, retrieve data through findById.

      Behavior: Async; accepts id and tenantId; returns a value; invokes this.db .select() .from(technicalEvidence) .where(and(eq(tec.

    • Generated

      Returns the result of findByRevision.

      Parameters

      • revisionId: string

        The revisionId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<TechnicalEvidence[]>

      The function result.

      Objective: In module packages/db/src/repositories/technical-evidence.repository.ts, retrieve data through findByRevision.

      Behavior: Async; accepts revisionId and tenantId; returns a value; invokes this.db .select() .from(technicalEvidence) .where(and( eq(te.