Fix seeder with valid number

This commit is contained in:
Maxime Lalo 2023-12-04 11:38:11 +01:00
parent 542e4ae24c
commit ff60250d5c

View File

@ -173,8 +173,8 @@ export default async function main() {
first_name: "Angela", first_name: "Angela",
last_name: "Dubois", last_name: "Dubois",
email: "angela.dubois@gmail.com", email: "angela.dubois@gmail.com",
phone_number: "06 12 34 56 78", phone_number: "+33785186013",
cell_phone_number: "06 12 34 56 78", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -185,8 +185,8 @@ export default async function main() {
first_name: "Maxime", first_name: "Maxime",
last_name: "Lalo", last_name: "Lalo",
email: "maxime.lalo@smart-chain.fr", email: "maxime.lalo@smart-chain.fr",
phone_number: "06 23 45 67 89", phone_number: "+33785186013",
cell_phone_number: "06 23 45 67 89", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -197,8 +197,8 @@ export default async function main() {
first_name: "Vincent", first_name: "Vincent",
last_name: "Alamelle", last_name: "Alamelle",
email: "vincent.alamelle@smart-chain.fr", email: "vincent.alamelle@smart-chain.fr",
phone_number: "06 34 56 78 90", phone_number: "+33785186013",
cell_phone_number: "06 34 56 78 90", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -209,8 +209,8 @@ export default async function main() {
first_name: "Melissa", first_name: "Melissa",
last_name: "Desde", last_name: "Desde",
email: "melissa.desde@smart-chain.fr", email: "melissa.desde@smart-chain.fr",
phone_number: "06 45 67 89 01", phone_number: "+33785186013",
cell_phone_number: "06 45 67 89 01", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -221,8 +221,8 @@ export default async function main() {
first_name: "Maxime", first_name: "Maxime",
last_name: "Leroy", last_name: "Leroy",
email: "maxime.leroy@hotmail.fr", email: "maxime.leroy@hotmail.fr",
phone_number: "06 56 78 90 12", phone_number: "+33785186013",
cell_phone_number: "06 56 78 90 12", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -233,8 +233,8 @@ export default async function main() {
first_name: "Paul", first_name: "Paul",
last_name: "Dupont", last_name: "Dupont",
email: "paul.dupont@outlook.com", email: "paul.dupont@outlook.com",
phone_number: "06 67 89 01 23", phone_number: "+33785186013",
cell_phone_number: "06 67 89 01 23", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -245,8 +245,8 @@ export default async function main() {
first_name: "Jean", first_name: "Jean",
last_name: "Dubignot", last_name: "Dubignot",
email: "jean.dubignot@gmail.com", email: "jean.dubignot@gmail.com",
phone_number: "06 78 90 12 34", phone_number: "+33785186013",
cell_phone_number: "06 78 90 12 34", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -257,8 +257,8 @@ export default async function main() {
first_name: "Vincent", first_name: "Vincent",
last_name: "Martin", last_name: "Martin",
email: "vincent.martin@gmail.com", email: "vincent.martin@gmail.com",
phone_number: "06 89 01 23 45", phone_number: "+33785186013",
cell_phone_number: "06 89 01 23 45", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -269,8 +269,8 @@ export default async function main() {
first_name: "Lucie", first_name: "Lucie",
last_name: "Chevalier", last_name: "Chevalier",
email: "lucie.chevalier@outlook.com", email: "lucie.chevalier@outlook.com",
phone_number: "07 12 34 56 78", phone_number: "+33785186013",
cell_phone_number: "07 12 34 56 78", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -281,8 +281,8 @@ export default async function main() {
first_name: "Sébastien", first_name: "Sébastien",
last_name: "Dubois", last_name: "Dubois",
email: "sebastien.dubois@gmail.com", email: "sebastien.dubois@gmail.com",
phone_number: "07 23 45 67 89", phone_number: "+33785186013",
cell_phone_number: "07 23 45 67 89", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -293,8 +293,8 @@ export default async function main() {
first_name: "Mathilde", first_name: "Mathilde",
last_name: "Durand", last_name: "Durand",
email: "mathilde.durand@gmail.com", email: "mathilde.durand@gmail.com",
phone_number: "07 34 56 78 90", phone_number: "+33785186013",
cell_phone_number: "07 34 56 78 90", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -305,8 +305,8 @@ export default async function main() {
first_name: "Antoine", first_name: "Antoine",
last_name: "Bernard", last_name: "Bernard",
email: "antoine.bernard@outlook.com", email: "antoine.bernard@outlook.com",
phone_number: "07 45 67 89 01", phone_number: "+33785186013",
cell_phone_number: "07 45 67 89 01", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -317,8 +317,8 @@ export default async function main() {
first_name: "Camille", first_name: "Camille",
last_name: "Laurent", last_name: "Laurent",
email: "camille.laurent@gmail.com", email: "camille.laurent@gmail.com",
phone_number: "07 56 78 90 12", phone_number: "+33785186013",
cell_phone_number: "07 56 78 90 12", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -329,8 +329,8 @@ export default async function main() {
first_name: "Julien", first_name: "Julien",
last_name: "Mercier", last_name: "Mercier",
email: "julien.mercier@hotmail.fr", email: "julien.mercier@hotmail.fr",
phone_number: "07 67 89 01 23", phone_number: "+33785186013",
cell_phone_number: "07 67 89 01 23", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -341,8 +341,8 @@ export default async function main() {
first_name: "Charlotte", first_name: "Charlotte",
last_name: "Lefebvre", last_name: "Lefebvre",
email: "charlotte.lefebvre@gmail.com", email: "charlotte.lefebvre@gmail.com",
phone_number: "07 78 90 12 34", phone_number: "+33785186013",
cell_phone_number: "07 78 90 12 34", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -353,8 +353,8 @@ export default async function main() {
first_name: "Caroline", first_name: "Caroline",
last_name: "Pallut", last_name: "Pallut",
email: "caroline.pallut@gmail.com", email: "caroline.pallut@gmail.com",
phone_number: "07 89 01 23 45", phone_number: "+33785186013",
cell_phone_number: "07 89 01 23 45", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -365,8 +365,8 @@ export default async function main() {
first_name: "Nadège", first_name: "Nadège",
last_name: "Gauchet", last_name: "Gauchet",
email: "nedege.gauchet@outlook.com", email: "nedege.gauchet@outlook.com",
phone_number: "06 11 22 33 44", phone_number: "+33785186013",
cell_phone_number: "06 11 22 33 44", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -377,8 +377,8 @@ export default async function main() {
first_name: "Matthieu", first_name: "Matthieu",
last_name: "Bougeard", last_name: "Bougeard",
email: "matthieu.bougeard@gmail.com", email: "matthieu.bougeard@gmail.com",
phone_number: "07 22 33 44 55", phone_number: "+33785186013",
cell_phone_number: "07 22 33 44 55", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -389,8 +389,8 @@ export default async function main() {
first_name: "Cécile", first_name: "Cécile",
last_name: "Celton", last_name: "Celton",
email: "cecile.celton@outlook.com", email: "cecile.celton@outlook.com",
phone_number: "06 55 66 77 88", phone_number: "+33785186013",
cell_phone_number: "06 55 66 77 88", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -401,8 +401,8 @@ export default async function main() {
first_name: "Gwendal", first_name: "Gwendal",
last_name: "Texier", last_name: "Texier",
email: "gwendal.texier@gmail.com", email: "gwendal.texier@gmail.com",
phone_number: "07 88 99 00 11", phone_number: "+33785186013",
cell_phone_number: "07 88 99 00 11", cell_phone_number: "+33785186013",
birthdate: null, birthdate: null,
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
@ -1548,7 +1548,7 @@ export default async function main() {
office: offices[0], office: offices[0],
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
} },
]; ];
const deedTypes: DeedType[] = [ const deedTypes: DeedType[] = [