diff --git a/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/createBpiSubject/createBpiSubject.command.ts b/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/createBpiSubject/createBpiSubject.command.ts index 7774835c7..4371b849d 100644 --- a/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/createBpiSubject/createBpiSubject.command.ts +++ b/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/createBpiSubject/createBpiSubject.command.ts @@ -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[], ) {} } diff --git a/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/updateBpiSubject/updateBpiSubject.command.ts b/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/updateBpiSubject/updateBpiSubject.command.ts index d16ad4219..d1061a8b8 100644 --- a/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/updateBpiSubject/updateBpiSubject.command.ts +++ b/examples/bri-3/src/bri/identity/bpiSubjects/capabilities/updateBpiSubject/updateBpiSubject.command.ts @@ -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[], ) {} }