elioria-sst-x
    Preparing search index...

    Class SupabaseCipaMeetingMinutesRepository

    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<CipaMeetingMinutes | 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(cipaMeetingMinutes) .where(and(eq(cipa.

    • Generated

      Returns the result of findByMandate.

      Parameters

      • mandateId: string

        The mandateId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<CipaMeetingMinutes[]>

      The function result.

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

      Behavior: Async; accepts mandateId and tenantId; returns a value; invokes this.db.select().from(cipaMeetingMinutes) .where.

    • Generated

      Returns the result of findByMeeting.

      Parameters

      • meetingId: string

        The meetingId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<CipaMeetingMinutes | null>

      The function result.

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

      Behavior: Async; accepts meetingId and tenantId; returns a value; invokes this.db.select().from(cipaMeetingMinutes) .where(and(eq(cipa.

    • Generated

      Executes transitionStatus.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      • from: CipaMinutesStatus

        The from value.

      • to: CipaMinutesStatus

        The to value.

      Returns Promise<CipaMeetingMinutes | null>

      The function result.

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

      Behavior: Async; accepts id and tenantId and from and to; returns a value; invokes this.db.update(cipaMeetingMinutes).set({ status: to }) .wher.

    • Generated

      Executes update.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      • data: Partial<{ origin: string }>

        The data value.

      Returns Promise<any>

      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 this.db.update(cipaMeetingMinutes).set(data as any) .where(a.

    • Generated

      Updates data through updateStatus.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      • status: CipaMinutesStatus

        The status value.

      • Optionalversion: number

        The version value.

      Returns Promise<CipaMeetingMinutes | null>

      The function result.

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

      Behavior: Async; accepts id and tenantId and status and version; returns a value; invokes this.db.update(cipaMeetingMinutes).set(payload) .where(and(e.