elioria-sst-x
    Preparing search index...

    Class SupabaseInspectionAuditLogRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByEntity.

      Parameters

      • entityType: InspectionAuditEntityType

        The entityType value.

      • entityId: string

        The entityId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<InspectionAuditLog[]>

      The function result.

      Objective: In module packages/db/src/repositories/inspection-audit-log.repository.ts, retrieve data through findByEntity.

      Behavior: Async; accepts entityType and entityId and tenantId; returns a value; invokes this.db.select().from(inspectionAuditLogs) .where(and( eq(in.

    • Generated

      Returns the result of findByTenant.

      Parameters

      • tenantId: string

        The tenantId value.

      • limit: number = 100

        The limit value.

      Returns Promise<InspectionAuditLog[]>

      The function result.

      Objective: In module packages/db/src/repositories/inspection-audit-log.repository.ts, retrieve data through findByTenant.

      Behavior: Async; accepts tenantId and limit; returns a value; invokes this.db.select().from(inspectionAuditLogs) .where(eq(inspect.

    • Generated

      Returns the result of findByUser.

      Parameters

      • changedBy: string

        The changedBy value.

      • tenantId: string

        The tenantId value.

      • limit: number = 100

        The limit value.

      Returns Promise<InspectionAuditLog[]>

      The function result.

      Objective: In module packages/db/src/repositories/inspection-audit-log.repository.ts, retrieve data through findByUser.

      Behavior: Async; accepts changedBy and tenantId and limit; returns a value; invokes this.db.select().from(inspectionAuditLogs) .where(and(eq(ins.