elioria-sst-x
    Preparing search index...

    Class SupabaseCipaMinutesVersionRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findById.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      Returns Promise<CipaMinutesVersion | null>

      The function result.

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

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

    • Generated

      Returns the result of findByMinutes.

      Parameters

      • minutesId: string

        The minutesId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<CipaMinutesVersion[]>

      The function result.

      Objective: In module packages/db/src/repositories/cipa.repository.ts, retrieve data through findByMinutes.

      Behavior: Async; accepts minutesId and tenantId; returns a value; invokes this.db.select().from(cipaMinutesVersions) .where(and(eq(cip.

    • Generated

      Returns the result of findLatest.

      Parameters

      • minutesId: string

        The minutesId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<CipaMinutesVersion | null>

      The function result.

      Objective: In module packages/db/src/repositories/cipa.repository.ts, retrieve data through findLatest.

      Behavior: Async; accepts minutesId and tenantId; returns a value; invokes this.db.select().from(cipaMinutesVersions) .where(and(eq(cip.

    • Generated

      Executes update.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      • data: Partial<CipaMinutesVersion>

        The data value.

      Returns Promise<CipaMinutesVersion | null>

      The function result.

      Objective: In module packages/db/src/repositories/cipa.repository.ts, run update.

      Behavior: Async; accepts id and tenantId and data; returns a value; invokes Object.keys.