This commit is contained in:
Cristiano
2025-12-02 08:34:58 +01:00
parent 5b1030570f
commit 4b3faa236d
37 changed files with 178 additions and 495 deletions

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -10,7 +10,7 @@
export interface CreateAuthorDto {
name?: string | null;
firstName?: string | null;
name?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -11,8 +11,8 @@
export interface CreateBookDto {
title?: string | null;
authorId?: number;
releaseYear?: number | null;
isbn?: string | null;
authorId?: number;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -10,8 +10,8 @@
export interface CreateLoanDto {
bookId?: number;
userId?: number;
bookId?: number;
date?: string;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -10,8 +10,9 @@
export interface CreateLoginDto {
username?: string | null;
fullName?: string | null;
password?: string | null;
username?: string;
password?: string;
fullName?: string;
role?: string;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -12,8 +12,8 @@ import { GetBookDto } from './get-book-dto';
export interface GetAuthorDto {
id?: number;
name?: string | null;
firstName?: string | null;
name?: string | null;
books?: Array<GetBookDto> | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -12,11 +12,10 @@
export interface GetBookDto {
id?: number;
title?: string | null;
authorId?: number;
bookAuthorId?: number;
bookAuthorName?: string | null;
bookAuthorFirstName?: string | null;
releaseYear?: number | null;
isbn?: string | null;
authorId?: number;
authorFirstName?: string | null;
authorName?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -11,20 +11,19 @@
export interface GetLoanDto {
id?: number;
bookId?: number;
bookTitle?: string | null;
bookAuthorId?: number;
bookAuthorName?: string | null;
bookAuthorFirstName?: string | null;
bookReleaseYear?: number | null;
bookIsbn?: string | null;
date?: string;
plannedReturningDate?: string;
effectiveReturningDate?: string | null;
userId?: number;
userName?: string | null;
userFirstName?: string | null;
userEmail?: string | null;
userBirthDate?: string | null;
date?: string;
plannedReturningDate?: string;
effectiveReturningDate?: string | null;
bookId?: number;
bookTitle?: string | null;
bookReleaseYear?: number | null;
bookISBN?: string | null;
bookAuthorName?: string | null;
bookAuthorFirstName?: string | null;
}

View File

@@ -1,15 +0,0 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetLoginConnectDto {
token?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -12,8 +12,9 @@
export interface GetLoginDto {
id?: number;
username?: string | null;
fullName?: string | null;
password?: string | null;
fullName?: string | null;
salt?: string | null;
role?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -16,6 +16,6 @@ export interface GetUserDto {
firstName?: string | null;
email?: string | null;
birthDate?: string | null;
loans?: Array<GetLoanDto> | null;
loans?: Array<GetLoanDto>;
}

View File

@@ -7,12 +7,10 @@ export * from './create-user-dto';
export * from './get-author-dto';
export * from './get-book-dto';
export * from './get-loan-dto';
export * from './get-login-connect-dto';
export * from './get-login-dto';
export * from './get-user-dto';
export * from './patch-loan-dto';
export * from './update-author-dto';
export * from './update-book-dto';
export * from './update-loan-dto';
export * from './update-login-dto';
export * from './update-loan-effective-return-date-dto';
export * from './update-user-dto';

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -10,7 +10,7 @@
export interface UpdateAuthorDto {
name?: string | null;
firstName?: string | null;
name?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -11,8 +11,8 @@
export interface UpdateBookDto {
title?: string | null;
releaseYear?: number | null;
isbn?: string | null;
authorId?: number;
releaseYear?: number;
isbn?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -10,8 +10,8 @@
export interface UpdateLoanDto {
bookId?: number;
userId?: number;
bookId?: number;
date?: string;
plannedReturningDate?: string;
effectiveReturningDate?: string | null;

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*
@@ -9,7 +9,7 @@
*/
export interface PatchLoanDto {
export interface UpdateLoanEffectiveReturnDateDto {
effectiveReturningDate?: string;
}

View File

@@ -1,17 +0,0 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateLoginDto {
username?: string | null;
fullName?: string | null;
password?: string | null;
}

View File

@@ -1,5 +1,5 @@
/**
* ApiEfCoreLibrary
* ApiLibrary
*
*
*