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

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