elioria-sst-x
    Preparing search index...

    Class SupabaseComplianceCalendarRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByTenant.

      Parameters

      • tenantId: string

        The tenantId value.

      Returns Promise<ComplianceCalendarEntry[]>

      The function result.

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

      Behavior: Async; accepts tenantId; returns a value; invokes this.db .select() .from(complianceCalendar) .where(eq(compli.

    • Generated

      Executes markCompleted.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      Returns Promise<void>

      The function result.

      Objective: In module packages/db/src/repositories/compliance.repository.ts, run markCompleted.

      Behavior: Async; accepts id and tenantId; returns a value; invokes this.db .update(complianceCalendar) .set({ isCompleted: true.