Merge branch 'updateProto' into 'main'
Update proto See merge request v3/service/auth!54
This commit is contained in:
commit
9de250668f
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@mobicoop/auth",
|
"name": "@mobicoop/auth",
|
||||||
"version": "0.6.2",
|
"version": "0.6.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@mobicoop/auth",
|
"name": "@mobicoop/auth",
|
||||||
"version": "0.6.2",
|
"version": "0.6.3",
|
||||||
"license": "AGPL",
|
"license": "AGPL",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@golevelup/nestjs-rabbitmq": "^4.0.0",
|
"@golevelup/nestjs-rabbitmq": "^4.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mobicoop/auth",
|
"name": "@mobicoop/auth",
|
||||||
"version": "0.6.2",
|
"version": "0.6.3",
|
||||||
"description": "Mobicoop V3 Auth Service",
|
"description": "Mobicoop V3 Auth Service",
|
||||||
"author": "sbriat",
|
"author": "sbriat",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -41,7 +41,7 @@ export class UsernameEntity extends AggregateRoot<UsernameProps> {
|
||||||
delete(): void {
|
delete(): void {
|
||||||
this.addEvent(
|
this.addEvent(
|
||||||
new UsernameDeletedDomainEvent({
|
new UsernameDeletedDomainEvent({
|
||||||
aggregateId: this.id,
|
aggregateId: this.props.name,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ service AuthenticationService {
|
||||||
rpc AddUsername(UsernameWithId) returns (Id);
|
rpc AddUsername(UsernameWithId) returns (Id);
|
||||||
rpc UpdatePassword(Password) returns (Id);
|
rpc UpdatePassword(Password) returns (Id);
|
||||||
rpc UpdateUsername(UsernameWithId) returns (Id);
|
rpc UpdateUsername(UsernameWithId) returns (Id);
|
||||||
rpc DeleteUsername(Name) returns (Id);
|
rpc DeleteUsername(Name) returns (Empty);
|
||||||
rpc Delete(UserId) returns (Empty);
|
rpc Delete(UserId) returns (Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue