Merge branch 'updateProto' into 'main'

Update proto

See merge request v3/service/auth!54
This commit is contained in:
Sylvain Briat 2023-10-18 10:18:23 +00:00
commit 9de250668f
4 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -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",

View File

@ -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,

View File

@ -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,
}), }),
); );
} }

View File

@ -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);
} }