From 9974c2e370b7f48112b9f958043b8000fa2ee2d1 Mon Sep 17 00:00:00 2001 From: Samuel Date: Mon, 25 Dec 2023 19:27:43 +0100 Subject: [PATCH] Migrated: all requests --- src/controller/request/accept-tos-request.ts | 2 +- src/controller/request/banner-request.ts | 2 +- src/controller/request/container-request.ts | 8 +++---- src/controller/request/debtor-request.ts | 2 +- src/controller/request/event-request.ts | 12 +++++----- .../request/invoice-entry-request.ts | 4 ++-- src/controller/request/invoice-request.ts | 11 +++++----- .../request/payout-request-request.ts | 4 ++-- .../request/payout-request-status-request.ts | 5 ++--- .../request/point-of-sale-request.ts | 8 +++---- .../request/product-category-request.ts | 2 +- src/controller/request/product-request.ts | 8 +++---- src/controller/request/revision-request.ts | 6 ++--- src/controller/request/simple-file-request.ts | 2 +- src/controller/request/stripe-request.ts | 4 ++-- src/controller/request/transaction-request.ts | 22 +++++++++---------- src/controller/request/transfer-request.ts | 4 ++-- .../request/update-local-request.ts | 2 +- src/controller/request/update-nfc-request.ts | 2 +- src/controller/request/update-pin-request.ts | 2 +- src/controller/request/user-request.ts | 4 ++-- src/controller/request/vat-group-request.ts | 4 ++-- .../request/voucher-group-request.ts | 4 ++-- .../response/rbac/action-response.ts | 4 ++-- .../response/rbac/entity-response.ts | 4 ++-- .../response/rbac/relation-response.ts | 4 ++-- src/controller/response/rbac/role-response.ts | 4 ++-- src/start/swagger.ts | 18 +++++++-------- 28 files changed, 77 insertions(+), 81 deletions(-) diff --git a/src/controller/request/accept-tos-request.ts b/src/controller/request/accept-tos-request.ts index dc04df52d..5002b80f7 100644 --- a/src/controller/request/accept-tos-request.ts +++ b/src/controller/request/accept-tos-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef AcceptTosRequest + * @typedef {object} AcceptTosRequest * @property {boolean} extensiveDataProcessing.required - Whether data about this * user can be used (non-anonymously) for more data science! */ diff --git a/src/controller/request/banner-request.ts b/src/controller/request/banner-request.ts index 7f17bd45a..71f35e222 100644 --- a/src/controller/request/banner-request.ts +++ b/src/controller/request/banner-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef BannerRequest + * @typedef {object} BannerRequest * @property {string} name - Name/label of the banner * @property {number} duration - How long the banner should be shown (in seconds) * @property {boolean} active - Whether the banner is active. Overrides start and end date diff --git a/src/controller/request/container-request.ts b/src/controller/request/container-request.ts index ed42a4be7..e30c09b1c 100644 --- a/src/controller/request/container-request.ts +++ b/src/controller/request/container-request.ts @@ -37,9 +37,9 @@ export type ContainerParams = UpdateContainerParams | CreateContainerParams; // strict type checker later down the line. /** - * @typedef CreateContainerRequest + * @typedef {object} CreateContainerRequest * @property {string} name.required - Name of the container - * @property {Array.} products.required - + * @property {Array} products.required - * IDs or requests of the products to add to the container * @property {boolean} public.required - Whether the container is public or not * @property {integer} ownerId - Id of the user who will own the container, if undefined it will @@ -50,9 +50,9 @@ export interface CreateContainerRequest extends BaseContainerParams { } /** - * @typedef UpdateContainerRequest + * @typedef {object} UpdateContainerRequest * @property {string} name.required - Name of the container - * @property {Array.} products.required - + * @property {Array} products.required - * IDs or requests of the products to add to the container * @property {boolean} public.required - Whether the container is public or not */ diff --git a/src/controller/request/debtor-request.ts b/src/controller/request/debtor-request.ts index f6b1b347b..133256bd3 100644 --- a/src/controller/request/debtor-request.ts +++ b/src/controller/request/debtor-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef HandoutFinesRequest + * @typedef {object} HandoutFinesRequest * @property {Array} userIds.required - Users to fine. If a user is not eligible for a fine, a fine of 0,00 will be handed out. * @property {string} referenceDate.required - Reference date to calculate the balance and thus the height of the fine for. */ diff --git a/src/controller/request/event-request.ts b/src/controller/request/event-request.ts index 7dc861292..cfa0cbcc5 100644 --- a/src/controller/request/event-request.ts +++ b/src/controller/request/event-request.ts @@ -18,7 +18,7 @@ import { Availability } from '../../entity/event/event-shift-answer'; /** - * @typedef CreateEventRequest + * @typedef {object} CreateEventRequest * @property {string} name.required - Name of the event. * @property {string} startDate.required - The starting date of the event. * @property {string} endDate.required - The end date of the event. @@ -28,7 +28,7 @@ import { Availability } from '../../entity/event/event-shift-answer'; */ /** - * @typedef UpdateEventRequest + * @typedef {object} UpdateEventRequest * @property {string} name - Name of the event. * @property {string} startDate - The starting date of the event. * @property {string} endDate - The end date of the event. @@ -45,13 +45,13 @@ export interface EventRequest { } /** - * @typedef CreateShiftRequest + * @typedef {object} CreateShiftRequest * @property {string} name.required - Name of the event * @property {Array} roles.required - Roles that (can) have this shift */ /** - * @typedef UpdateShiftRequest + * @typedef {object} UpdateShiftRequest * @property {string} name - Name of the event * @property {Array} roles - Roles that (can) have this shift */ @@ -61,7 +61,7 @@ export interface EventShiftRequest { } /** - * @typedef EventAnswerAssignmentRequest + * @typedef {object} EventAnswerAssignmentRequest * @property {boolean} selected.required - Whether this user is selected for the given shift at the given event */ export interface EventAnswerAssignmentRequest { @@ -69,7 +69,7 @@ export interface EventAnswerAssignmentRequest { } /** - * @typedef EventAnswerAvailabilityRequest + * @typedef {object} EventAnswerAvailabilityRequest * @property {string} availability.required - New availability of the given user for the given event (YES, NO, LATER, NA) */ export interface EventAnswerAvailabilityRequest { diff --git a/src/controller/request/invoice-entry-request.ts b/src/controller/request/invoice-entry-request.ts index 596a8cf92..f338f91bb 100644 --- a/src/controller/request/invoice-entry-request.ts +++ b/src/controller/request/invoice-entry-request.ts @@ -18,10 +18,10 @@ import { DineroObjectRequest } from './dinero-request'; /** - * @typedef InvoiceEntryRequest + * @typedef {object} InvoiceEntryRequest * @property {string} description.required - The description of the entry * @property {integer} amount.required - Amount of item sold. - * @property {DineroObjectRequest.model} priceInclVat.required - The price per item. + * @property {DineroObjectRequest} priceInclVat.required - The price per item. * @property {number} vatPercentage.required - The percentage of VAT applied to this item */ export default interface InvoiceEntryRequest { diff --git a/src/controller/request/invoice-request.ts b/src/controller/request/invoice-request.ts index 3d64947d2..5af004eba 100644 --- a/src/controller/request/invoice-request.ts +++ b/src/controller/request/invoice-request.ts @@ -31,12 +31,11 @@ export interface UpdateInvoiceParams extends BaseUpdateInvoice { } /** - * @typedef UpdateInvoiceRequest + * @typedef{object} UpdateInvoiceRequest * @property {integer} byId - The user who updates the Invoice, defaults to the ID of the requester. * @property {string} addressee.required - Name of the addressed. * @property {string} description.required - The description of the invoice. - * @property {string} state - The state to set of the invoice, - * can be either CREATED, SENT, PAID or DELETED. + * @property {string} state - enum:CREATED,SENT,PAID,DELETED - The state to set of the invoice, */ export interface UpdateInvoiceRequest extends BaseUpdateInvoice { byId?: number, @@ -58,13 +57,13 @@ export interface CreateInvoiceParams extends BaseInvoice { } /** - * @typedef CreateInvoiceRequest + * @typedef {object} CreateInvoiceRequest * @property {integer} forId.required - The recipient of the Invoice. * @property {integer} byId - The creator of the Invoice, defaults to the ID of the requester. * @property {string} addressee.required - Name of the addressed. * @property {string} description.required - The description of the invoice. - * @property {Array.} customEntries - Custom entries to be added to the invoice - * @property {Array.} transactionIDs - IDs of the transactions to add to the Invoice. + * @property {Array} customEntries - Custom entries to be added to the invoice + * @property {Array} transactionIDs - IDs of the transactions to add to the Invoice. * @property {string} fromDate - For creating an Invoice for all transactions from a specific date. * @property {boolean} isCreditInvoice.required - If the invoice is an credit Invoice * If an invoice is a credit invoice the relevant subtransactions are defined as all the sub transactions which have `subTransaction.toId == forId`. diff --git a/src/controller/request/payout-request-request.ts b/src/controller/request/payout-request-request.ts index 21de26228..5dc9df788 100644 --- a/src/controller/request/payout-request-request.ts +++ b/src/controller/request/payout-request-request.ts @@ -18,8 +18,8 @@ import { DineroObjectRequest } from './dinero-request'; /** - * @typedef PayoutRequestRequest - * @property {DineroObjectRequest.model} amount.required - The requested amount to be paid out + * @typedef {object} PayoutRequestRequest + * @property {DineroObjectRequest} amount.required - The requested amount to be paid out * @property {string} bankAccountNumber.required - The bank account number to transfer the money to * @property {string} bankAccountName.required - The name of the owner of the bank account */ diff --git a/src/controller/request/payout-request-status-request.ts b/src/controller/request/payout-request-status-request.ts index e4f6cfa2e..e08d81728 100644 --- a/src/controller/request/payout-request-status-request.ts +++ b/src/controller/request/payout-request-status-request.ts @@ -18,9 +18,8 @@ import { PayoutRequestState } from '../../entity/transactions/payout-request-status'; /** - * @typedef PayoutRequestStatusRequest - * @property {string} state - PayoutRequestState to change to, - * should be one of CREATED, APPROVED, DENIED, CANCELLED + * @typedef {object} PayoutRequestStatusRequest + * @property {string} state - enum:CREATED,APPROVED,DENIED,CANCELLED - PayoutRequestState to change to. */ export interface PayoutRequestStatusRequest { state: PayoutRequestState; diff --git a/src/controller/request/point-of-sale-request.ts b/src/controller/request/point-of-sale-request.ts index 6e9689223..aaad9c02e 100644 --- a/src/controller/request/point-of-sale-request.ts +++ b/src/controller/request/point-of-sale-request.ts @@ -31,11 +31,11 @@ export interface UpdatePointOfSaleParams extends BasePointOfSaleParams { } /** - * @typedef CreatePointOfSaleRequest + * @typedef {object} CreatePointOfSaleRequest * @property {string} name.required - Name of the POS * @property {boolean} useAuthentication.required - Whether this POS requires users to * authenticate themselves before making a transaction - * @property {Array.} containers - + * @property {Array} containers - * IDs or Requests of the containers to add to the POS * @property {integer} ownerId - ID of the user who will own the POS, if undefined it will * default to the token ID. @@ -45,11 +45,11 @@ export interface CreatePointOfSaleRequest extends BasePointOfSaleParams { } /** - * @typedef UpdatePointOfSaleRequest + * @typedef {object} UpdatePointOfSaleRequest * @property {string} name.required - Name of the POS * @property {boolean} useAuthentication.required - Whether this POS requires users to * authenticate themselves before making a transaction - * @property {Array.} containers - + * @property {Array} containers - * IDs or Requests of the containers to add to the POS * @property {integer} id.required - ID of the POS to update. */ diff --git a/src/controller/request/product-category-request.ts b/src/controller/request/product-category-request.ts index 61a876ea2..f1c8e4659 100644 --- a/src/controller/request/product-category-request.ts +++ b/src/controller/request/product-category-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef ProductCategoryRequest + * @typedef {object} ProductCategoryRequest * @property {string} name - Name/label of the productCategory */ export default interface ProductCategoryRequest { diff --git a/src/controller/request/product-request.ts b/src/controller/request/product-request.ts index 9861fc793..bf41ce560 100644 --- a/src/controller/request/product-request.ts +++ b/src/controller/request/product-request.ts @@ -37,9 +37,9 @@ export interface UpdateProductParams extends BaseProductParams { export type ProductRequest = UpdateProductParams | CreateProductParams; /** - * @typedef CreateProductRequest + * @typedef {object} CreateProductRequest * @property {string} name.required - Name of the product - * @property {DineroObjectRequest.model} priceInclVat.required - Price of the product + * @property {DineroObjectRequest} priceInclVat.required - Price of the product * @property {number} vat.required - VAT group ID of the product * @property {number} category.required - Category of the product * @property {number} alcoholPercentage.required - Alcohol percentage of the product in 2 decimals @@ -50,9 +50,9 @@ export interface CreateProductRequest extends BaseProductParams { } /** - * @typedef UpdateProductRequest + * @typedef {object} UpdateProductRequest * @property {string} name.required - Name of the product - * @property {DineroObjectRequest.model} priceInclVat.required - Price of the product + * @property {DineroObjectRequest} priceInclVat.required - Price of the product * @property {number} vat.required - VAT group ID of the product * @property {number} category.required - Category of the product * @property {number} alcoholPercentage.required - Alcohol percentage of the product in 2 decimals diff --git a/src/controller/request/revision-request.ts b/src/controller/request/revision-request.ts index e194071ad..02f090445 100644 --- a/src/controller/request/revision-request.ts +++ b/src/controller/request/revision-request.ts @@ -17,9 +17,9 @@ */ /** - * @typedef RevisionRequest - * @property {integer} id - revision id - * @property {integer} revision - revision number + * @typedef {object} RevisionRequest + * @property {integer} id.required - revision id + * @property {integer} revision.required - revision number */ export default interface RevisionRequest { id: number, diff --git a/src/controller/request/simple-file-request.ts b/src/controller/request/simple-file-request.ts index 2ddf921ac..da4fafcd9 100644 --- a/src/controller/request/simple-file-request.ts +++ b/src/controller/request/simple-file-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef SimpleFileRequest + * @typedef {object} SimpleFileRequest * @property {string} name - Name of the file */ export default interface SimpleFileRequest { diff --git a/src/controller/request/stripe-request.ts b/src/controller/request/stripe-request.ts index 6e654e194..3549445e8 100644 --- a/src/controller/request/stripe-request.ts +++ b/src/controller/request/stripe-request.ts @@ -18,8 +18,8 @@ import { DineroObjectRequest } from './dinero-request'; /** - * @typedef StripeRequest - * @property {Dinero.model} amount - Amount of money being deposited + * @typedef {object} StripeRequest + * @property {DineroObjectRequest} amount - Amount of money being deposited */ export interface StripeRequest { amount: DineroObjectRequest; diff --git a/src/controller/request/transaction-request.ts b/src/controller/request/transaction-request.ts index 8dfa04141..9fa386667 100644 --- a/src/controller/request/transaction-request.ts +++ b/src/controller/request/transaction-request.ts @@ -20,12 +20,12 @@ import { DineroObjectRequest } from './dinero-request'; import RevisionRequest from './revision-request'; /** - * @typedef TransactionRequest + * @typedef {object} TransactionRequest * @property {integer} from.required - from user id * @property {integer} createdBy - createdBy user id - * @property {Array.} subTransactions.required - subtransactions - * @property {RevisionRequest.model} pointOfSale.required - point of sale - * @property {DineroObjectRequest.model} totalPriceInclVat.required - total price of the transaction + * @property {Array} subTransactions.required - subtransactions + * @property {RevisionRequest} pointOfSale.required - point of sale + * @property {DineroObjectRequest} totalPriceInclVat.required - total price of the transaction */ export interface TransactionRequest { from: number, @@ -36,11 +36,11 @@ export interface TransactionRequest { } /** - * @typedef SubTransactionRequest + * @typedef {object} SubTransactionRequest * @property {integer} to.required - to user id - * @property {RevisionRequest.model} container.required - container - * @property {Array.} subTransactionRows.required - subtransaction rows - * @property {DineroObjectRequest.model} totalPriceInclVat.required - total price + * @property {RevisionRequest} container.required - container + * @property {Array} subTransactionRows.required - subtransaction rows + * @property {DineroObjectRequest} totalPriceInclVat.required - total price * of the subtransaction */ export interface SubTransactionRequest { @@ -51,10 +51,10 @@ export interface SubTransactionRequest { } /** - * @typedef SubTransactionRowRequest - * @property {RevisionRequest.model} product - product + * @typedef {object} SubTransactionRowRequest + * @property {RevisionRequest} product - product * @property {integer} amount - amount of this product in subtransaction - * @property {DineroObjectRequest.model} totalPriceInclVat.required - total price + * @property {DineroObjectRequest} totalPriceInclVat.required - total price * of the subtransaction row */ export interface SubTransactionRowRequest { diff --git a/src/controller/request/transfer-request.ts b/src/controller/request/transfer-request.ts index 958b3a48a..405af2eba 100644 --- a/src/controller/request/transfer-request.ts +++ b/src/controller/request/transfer-request.ts @@ -19,9 +19,9 @@ import { DineroObjectRequest } from './dinero-request'; /** - * @typedef TransferRequest + * @typedef {object} TransferRequest * @property {string} description - Description of the transfer - * @property {DineroObjectRequest.model} amount - Amount of money being transferred + * @property {DineroObjectRequest} amount - Amount of money being transferred * @property {integer} type - Type of transfer * @property {integer} fromId - from which user the money is being transferred * @property {integer} toId - to which user the money is being transferred. diff --git a/src/controller/request/update-local-request.ts b/src/controller/request/update-local-request.ts index 5072ec475..3719089ac 100644 --- a/src/controller/request/update-local-request.ts +++ b/src/controller/request/update-local-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef UpdateLocalRequest + * @typedef {object} UpdateLocalRequest * @property {string} password.required - The password to set */ export default interface UpdateLocalRequest { diff --git a/src/controller/request/update-nfc-request.ts b/src/controller/request/update-nfc-request.ts index 5612ece8d..4ab8fbb66 100644 --- a/src/controller/request/update-nfc-request.ts +++ b/src/controller/request/update-nfc-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef UpdateNfcRequest + * @typedef {object} UpdateNfcRequest * @property {string} nfcCode.required - The NFC code to set */ export default interface UpdateNfcRequest { diff --git a/src/controller/request/update-pin-request.ts b/src/controller/request/update-pin-request.ts index 5b1dae67e..cc9faaa00 100644 --- a/src/controller/request/update-pin-request.ts +++ b/src/controller/request/update-pin-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef UpdatePinRequest + * @typedef {object} UpdatePinRequest * @property {string} pin.required - The PIN code to set */ export default interface UpdatePinRequest { diff --git a/src/controller/request/user-request.ts b/src/controller/request/user-request.ts index 4af4b6dd1..90c81f7ed 100644 --- a/src/controller/request/user-request.ts +++ b/src/controller/request/user-request.ts @@ -28,7 +28,7 @@ export default interface BaseUserRequest { } /** - * @typedef CreateUserRequest + * @typedef {object} CreateUserRequest * @property {string} firstName.required * @property {string} lastName * @property {string} nickname @@ -42,7 +42,7 @@ export interface CreateUserRequest extends BaseUserRequest { } /** - * @typedef UpdateUserRequest + * @typedef {object} UpdateUserRequest * @property {string} firstName * @property {string} lastName * @property {string} nickname diff --git a/src/controller/request/vat-group-request.ts b/src/controller/request/vat-group-request.ts index fbb83399b..3c80ef5a3 100644 --- a/src/controller/request/vat-group-request.ts +++ b/src/controller/request/vat-group-request.ts @@ -17,7 +17,7 @@ */ /** - * @typedef UpdateVatGroupRequest + * @typedef {object} UpdateVatGroupRequest * @property {string} name.required - Name of the VAT group * @property {boolean} deleted.required - Whether this group should be hidden * in the financial overviews when its value is zero @@ -31,7 +31,7 @@ export interface UpdateVatGroupRequest { } /** - * @typedef {UpdateVatGroupRequest} VatGroupRequest + * @typedef {allOf|UpdateVatGroupRequest} VatGroupRequest * @property {number} percentage.required - VAT percentage */ export interface VatGroupRequest extends UpdateVatGroupRequest { diff --git a/src/controller/request/voucher-group-request.ts b/src/controller/request/voucher-group-request.ts index 59f3f4cd4..540ffafa1 100644 --- a/src/controller/request/voucher-group-request.ts +++ b/src/controller/request/voucher-group-request.ts @@ -20,11 +20,11 @@ import DineroFactory from 'dinero.js'; import { DineroObjectRequest } from './dinero-request'; /** - * @typedef VoucherGroupRequest + * @typedef {object} VoucherGroupRequest * @property {string} name.required - Name of the group * @property {string} activeStartDate.required - Date from which the included cards are active * @property {string} activeEndDate.required - Date from which cards are no longer active - * @property {DineroObjectRequest.model} balance.required - Start balance to be assigned + * @property {DineroObjectRequest} balance.required - Start balance to be assigned * to the voucher users * @property {number} amount.required - Amount of users to be assigned to the voucher group */ diff --git a/src/controller/response/rbac/action-response.ts b/src/controller/response/rbac/action-response.ts index 0938347c4..0d9e76561 100644 --- a/src/controller/response/rbac/action-response.ts +++ b/src/controller/response/rbac/action-response.ts @@ -19,11 +19,11 @@ import RelationResponse from './relation-response'; /** - * @typedef ActionResponse - + * @typedef {object} ActionResponse - * The action contains the name of the action and a list of permissions per action. * Typically the action name is one of the CRUD values 'create', 'read', 'update', and 'delete'. * @property {string} action - The name of the action performed on the entity. - * @property {Array.} relations - The ownership relations with permissions. + * @property {Array} relations - The ownership relations with permissions. */ export default interface ActionResponse { action: string; diff --git a/src/controller/response/rbac/entity-response.ts b/src/controller/response/rbac/entity-response.ts index dff775a17..efaecf7e9 100644 --- a/src/controller/response/rbac/entity-response.ts +++ b/src/controller/response/rbac/entity-response.ts @@ -19,10 +19,10 @@ import ActionResponse from './action-response'; /** - * @typedef EntityResponse - + * @typedef {object} EntityResponse - * The entity contains a name and a list of permissions per action. * @property {string} entity - The name of the entity for which the permissions are. - * @property {Array.} actions - The permissions per action. + * @property {Array} actions - The permissions per action. */ export default interface EntityResponse { entity: string; diff --git a/src/controller/response/rbac/relation-response.ts b/src/controller/response/rbac/relation-response.ts index 94ae115ab..32302d70d 100644 --- a/src/controller/response/rbac/relation-response.ts +++ b/src/controller/response/rbac/relation-response.ts @@ -19,12 +19,12 @@ import { AllowedAttribute } from '../../../rbac/role-manager'; /** - * @typedef RelationResponse - + * @typedef {object} RelationResponse - * The relation response contains the name of the ownership relation towards the entity, * and the list of attributes for which the role gives access. * Typical ownership relations are 'own', 'created', and 'all'. * @property {string} relation - The the ownership relation towards the entity. - * @property {Array.} attributes - The attributes of the entity for which there is access. + * @property {Array} attributes - The attributes of the entity for which there is access. */ export default interface RelationResponse { relation: string; diff --git a/src/controller/response/rbac/role-response.ts b/src/controller/response/rbac/role-response.ts index c21eb814e..ba411b362 100644 --- a/src/controller/response/rbac/role-response.ts +++ b/src/controller/response/rbac/role-response.ts @@ -19,10 +19,10 @@ import EntityResponse from './entity-response'; /** - * @typedef RoleResponse - + * @typedef {object} RoleResponse - * A role contains a unique name, and a list of permissions per entity. * @property {string} role.required - The name of the role. - * @property {Array.} entities - The permissions with regards to the entity. + * @property {Array} entities - The permissions with regards to the entity. */ export default interface RoleResponse { role: string; diff --git a/src/start/swagger.ts b/src/start/swagger.ts index 858a30189..f9a4d7c57 100644 --- a/src/start/swagger.ts +++ b/src/start/swagger.ts @@ -75,20 +75,18 @@ export default class Swagger { baseDir: 'C:\\Users\\Samuel\\WebstormProjects\\GEWIS\\SudoSOS\\sudosos-backend\\src\\', // Glob pattern to find your jsdoc files filesPattern: [ + './controller/authentication-controller.ts', + './controller/authentication-secure-controller.ts', './controller/root-controller.ts', './controller/balance-controller.ts', - './controller/response/banner-response.ts', + './helpers/pagination.ts', - './controller/response/base-response.ts', - './controller/authentication-controller.ts', - './controller/response/authentication-response.ts', - './controller/response/user-response.ts', - './controller/request/authentication-*.ts', - './controller/request/reset-local-request.ts', - './controller/authentication-secure-controller.ts', - './controller/response/balance-response.ts', + + './controller/request/*.ts', + './controller/response/*.ts', - './controller/request/dinero-request.ts', + './controller/response/**/*.ts', + './entity/vat-group.ts', './entity/base-entity-without-id.ts', './entity/base-entity.ts',