Skip to content

Commit

Permalink
Add publicKeyDto to commandHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
biscuitdey committed Apr 12, 2024
1 parent b3edae7 commit b2080cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { PublicKeyDto } from '../../api/dtos/request/publicKey.dto';
export class CreateBpiSubjectCommand {
constructor(
public readonly name: string,
public readonly description: string,
public readonly publicKeys: { type: string; value: string }[],
public readonly publicKeys: PublicKeyDto[],
) {}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { PublicKeyDto } from '../../api/dtos/request/publicKey.dto';
export class UpdateBpiSubjectCommand {
constructor(
public readonly id: string,
public readonly name: string,
public readonly description: string,
public readonly publicKeys: {
type: string;
value: string;
}[],
public readonly publicKeys: PublicKeyDto[],
) {}
}

0 comments on commit b2080cc

Please sign in to comment.