mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 13:56:29 +02:00
Add register form, missing proper feedback on error or success
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export class Volunteer {
|
||||
/* eslint-disable max-classes-per-file */
|
||||
export class Volunteer implements VolunteerPartial {
|
||||
id = 0
|
||||
|
||||
lastname = ""
|
||||
@@ -9,7 +10,7 @@ export class Volunteer {
|
||||
|
||||
mobile = ""
|
||||
|
||||
photo = ""
|
||||
photo = "anonyme.png"
|
||||
|
||||
adult = 1
|
||||
|
||||
@@ -27,7 +28,7 @@ export class Volunteer {
|
||||
|
||||
tshirtSize = ""
|
||||
|
||||
food = ""
|
||||
food = "Aucune"
|
||||
|
||||
teamWishes: number[] = []
|
||||
|
||||
@@ -72,6 +73,22 @@ export const translationVolunteer: { [k in keyof Volunteer]: string } = {
|
||||
acceptsNotifs: "accepteLesNotifs",
|
||||
}
|
||||
|
||||
export class VolunteerPartial {
|
||||
lastname = ""
|
||||
|
||||
firstname = ""
|
||||
|
||||
email = ""
|
||||
|
||||
mobile = ""
|
||||
}
|
||||
|
||||
export class VolunteerPartialAddReturn {
|
||||
id = 0
|
||||
|
||||
password = ""
|
||||
}
|
||||
|
||||
export const elementName = "Volunteer"
|
||||
|
||||
export const volunteerExample: Volunteer = {
|
||||
|
Reference in New Issue
Block a user