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

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