-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3edae7
commit b2080cc
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
...-3/src/bri/identity/bpiSubjects/capabilities/createBpiSubject/createBpiSubject.command.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[], | ||
) {} | ||
} |
6 changes: 2 additions & 4 deletions
6
...-3/src/bri/identity/bpiSubjects/capabilities/updateBpiSubject/updateBpiSubject.command.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[], | ||
) {} | ||
} |