Fixed error with modal and datas

This commit is contained in:
2026-03-28 21:43:06 +01:00
parent 95d46d7811
commit 5441783eb2
54 changed files with 833 additions and 1657 deletions
@@ -1,16 +1,16 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import {CreateUserGroupDto} from './create-user-group-dto';
import { CreateUserGroupDto } from './create-user-group-dto';
export interface CreateGroupDto {
export interface CreateGroupDto {
label: string;
title: string;
description: string;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface CreateMessageDto {
export interface CreateMessageDto {
libelle: string;
sendDate: string;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface CreateUserDto {
export interface CreateUserDto {
firstName: string;
name: string;
username: string;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface CreateUserGroupDto {
export interface CreateUserGroupDto {
userId?: number;
}
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -12,7 +12,7 @@
/**
* the dto used to send an error response to the client
*/
export interface ErrorResponse {
export interface ErrorResponse {
/**
* the http status code sent to the client. default is 400.
*/
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetAchievementDto {
export interface GetAchievementDto {
id?: number;
label?: string | null;
description?: string | null;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetDesignationDto {
export interface GetDesignationDto {
id?: number;
label?: string | null;
}
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetFriendDto {
export interface GetFriendDto {
friendId?: number;
username?: string | null;
score?: number;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetFriendRequestDto {
export interface GetFriendRequestDto {
userId?: number;
username?: string | null;
score?: number;
@@ -1,17 +1,17 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import {GetMessageDto} from './get-message-dto';
import {GetUserGroupDto} from './get-user-group-dto';
import { GetMessageDto } from './get-message-dto';
import { GetUserGroupDto } from './get-user-group-dto';
export interface GetGroupDetailsDto {
export interface GetGroupDetailsDto {
id?: number;
label?: string | null;
isFinished?: boolean;
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetGroupDto {
export interface GetGroupDto {
id?: number;
label?: string | null;
isFinished?: boolean;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetGroupRankingDto {
export interface GetGroupRankingDto {
userId?: number;
username?: string | null;
score?: number;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetMessageDto {
export interface GetMessageDto {
id?: number;
libelle?: string | null;
sendDate?: string;
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetProofDto {
export interface GetProofDto {
userId?: number;
username?: string | null;
proof?: string | null;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetRandomChallengeDto {
export interface GetRandomChallengeDto {
id?: number;
libelle?: string | null;
duration?: number;
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetTokenDto {
export interface GetTokenDto {
token?: string | null;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetUserChallengeDto {
export interface GetUserChallengeDto {
challengeTitle?: string | null;
challengeDescription?: string | null;
challengeDuration?: number;
@@ -1,16 +1,16 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import {GetUserStatsDto} from './get-user-stats-dto';
import { GetUserStatsDto } from './get-user-stats-dto';
export interface GetUserDetailsDto {
export interface GetUserDetailsDto {
id?: number;
firstName?: string | null;
name?: string | null;
+4 -4
View File
@@ -1,21 +1,21 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import {GetUserStatsDto} from './get-user-stats-dto';
import { GetUserStatsDto } from './get-user-stats-dto';
export interface GetUserDto {
export interface GetUserDto {
id?: number;
firstName?: string | null;
name?: string | null;
username?: string | null;
designationId?: number | null;
designationName?: string | null;
getUserStatsDto?: GetUserStatsDto | null;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetUserGroupDto {
export interface GetUserGroupDto {
id?: number;
username?: string | null;
grade?: string | null;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetUserProofDto {
export interface GetUserProofDto {
id?: number;
proof?: string | null;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface GetUserStatsDto {
export interface GetUserStatsDto {
id?: number;
score?: number;
totalWin?: number;
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface LoginDto {
export interface LoginDto {
username: string;
password: string;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface PatchUserDesignationDto {
export interface PatchUserDesignationDto {
designationId: number;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface PatchUserPasswordDto {
export interface PatchUserPasswordDto {
password: string;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface RandomChallengeProofRequest {
export interface RandomChallengeProofRequest {
proof?: string | null;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface RefreshTokenDto {
export interface RefreshTokenDto {
token: string;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface UpdateUserDto {
export interface UpdateUserDto {
firstName: string;
name: string;
username: string;
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface UserProofRequest {
export interface UserProofRequest {
proof?: string | null;
}
@@ -1,7 +1,7 @@
/**
* BeReadyBackend
*
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -9,7 +9,7 @@
*/
export interface UserVoteRequest {
export interface UserVoteRequest {
votedProofId?: number;
}