convert project from microservices to rest apis

This commit is contained in:
faris Aljohari
2024-03-10 12:49:51 +03:00
parent b3179a5c1f
commit c5537b3230
72 changed files with 155 additions and 384 deletions

View File

@ -22,5 +22,4 @@ export class SessionDto {
@IsBoolean()
@IsNotEmpty()
public isLoggedOut: boolean;
}

View File

@ -1 +1 @@
export * from './session.entity'
export * from './session.entity';

View File

@ -5,7 +5,7 @@ import { SessionDto } from '../dtos/session.dto';
@Entity({ name: 'userSession' })
export class UserSessionEntity extends AbstractEntity<SessionDto> {
@Column({
type: 'uuid',
type: 'uuid',
default: () => 'gen_random_uuid()',
nullable: false,
})