/**
 * @aurora-catalyst-generated
 * @source cliter/o-auth/credential.aurora.yaml
 */
import { OAuthCredential } from '@api/graphql';
import { OAuthCredentialModel } from '@app/o-auth/credential';
import { AuditingRunner, ICriteria, SequelizeCatalystRepository } from '@aurorajs.dev/core-back';
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/sequelize';

@Injectable()
export class OAuthSequelizeCredentialRepository extends SequelizeCatalystRepository<
  OAuthCredentialModel,
  OAuthCredential
> {
  constructor(
    @InjectModel(OAuthCredentialModel)
    public readonly repository: typeof OAuthCredentialModel,
    public readonly criteria: ICriteria,
    public readonly auditingRunner: AuditingRunner,
  ) {
    super();
  }
}
