/**
 * @aurora-catalyst-generated
 * @source cliter/o-auth/credential.aurora.yaml
 */
// 1 - export domain
export * from './domain';

// 2 - export infrastructure
export { OAuthCredentialModel } from './infrastructure/sequelize/o-auth-sequelize-credential.model';
export { OAuthSequelizeCredentialRepository } from './infrastructure/sequelize/o-auth-sequelize-credential.repository';

// 3 - export services
export {
  OAuthCreateCredentialService,
  OAuthFindCredentialByIdService,
  OAuthFindCredentialService,
  OAuthGetCredentialsService,
  OAuthPaginateCredentialsService,
};

// 4 - export handlers
export {
  OAuthFindCredentialByIdHandler,
  OAuthFindCredentialHandler,
  OAuthGetCredentialsHandler,
  OAuthPaginateCredentialsHandler,
};

// 5 - import services
import { OAuthCreateCredentialService } from './application/create/o-auth-create-credential.service';
import { OAuthFindCredentialByIdService } from './application/find/o-auth-find-credential-by-id.service';
import { OAuthFindCredentialService } from './application/find/o-auth-find-credential.service';
import { OAuthGetCredentialsService } from './application/get/o-auth-get-credentials.service';
import { OAuthPaginateCredentialsService } from './application/paginate/o-auth-paginate-credentials.service';

// 6 - import handlers
import { OAuthFindCredentialByIdHandler } from './application/find/o-auth-find-credential-by-id.handler';
import { OAuthFindCredentialHandler } from './application/find/o-auth-find-credential.handler';
import { OAuthGetCredentialsHandler } from './application/get/o-auth-get-credentials.handler';
import { OAuthPaginateCredentialsHandler } from './application/paginate/o-auth-paginate-credentials.handler';

export const OAuthCredentialHandlers = [
  OAuthPaginateCredentialsHandler,
  OAuthGetCredentialsHandler,
  OAuthFindCredentialByIdHandler,
  OAuthFindCredentialHandler,
];

export const OAuthCredentialServices = [
  OAuthCreateCredentialService,
  OAuthPaginateCredentialsService,
  OAuthGetCredentialsService,
  OAuthFindCredentialService,
  OAuthFindCredentialByIdService,
];
