/**
 * @aurora-catalyst-generated
 * @source cliter/iam/role.aurora.yaml
 */
import { IamUpdateRoleByIdInput } from '@api/graphql';
import { IamUpdateRoleByIdDto } from '@api/iam/role';
import { HandlerMeta } from '@aurorajs.dev/core-back';
import { QueryStatement } from '@aurorajs.dev/core-common';
import { Injectable } from '@nestjs/common';

@Injectable()
export class IamInheritPermissionsRoleRoleHandler {
  constructor() {
    // TODO: inject services needed for this operation
  }

  async main(
    payload: IamUpdateRoleByIdInput | IamUpdateRoleByIdDto,
    constraint?: QueryStatement,
    handlerMeta?: HandlerMeta,
  ): Promise<boolean> {
    // TODO: implement business logic
    return true;
  }
}
