From dda3eea9e1258aff616c6683a5c2ee8ba4826a7b Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 25 Apr 2024 16:06:33 +0200 Subject: [PATCH] feat(interfaces): add IReqRegister interface This interface defines the register request structure, including `username`, `displayName`, `firstName`, `lastName`, `password`, and `gdpr` status. This will ensure consistency in the form of request data throughout the application. Signed-off-by: Mathis --- src/interfaces/requests/IReqRegister.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/interfaces/requests/IReqRegister.ts diff --git a/src/interfaces/requests/IReqRegister.ts b/src/interfaces/requests/IReqRegister.ts new file mode 100644 index 0000000..575f2d5 --- /dev/null +++ b/src/interfaces/requests/IReqRegister.ts @@ -0,0 +1,8 @@ +export interface IReqRegister { + username: string; + displayName: string; + firstName: string; + lastName: string; + password: string; + gdpr?: boolean; +} \ No newline at end of file