Skip to content

Commit

Permalink
feat: add contact type for widget epds
Browse files Browse the repository at this point in the history
  • Loading branch information
benguedj committed May 13, 2024
1 parent 00d337c commit f9c3682
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
"activation_tile": {
"default": true,
"type": "boolean"
},
"sms": {
"type": "boolean"
},
"rdv": {
"type": "boolean"
},
"whatsapp": {
"type": "boolean"
}
}
}
}
7 changes: 2 additions & 5 deletions back/strapi/api/contacts/models/contacts.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@
},
"type_de_contact": {
"type": "enumeration",
"enum": [
"sms",
"rendezvous"
]
"enum": ["sms", "rendezvous", "whatsapp"]
},
"personne_accompagnee": {
"type": "enumeration",
Expand All @@ -59,4 +56,4 @@
"type": "text"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"attributes": {
"type_de_contact": {
"type": "enumeration",
"enum": [
"sms",
"rendezvous"
]
"enum": ["sms", "rendezvous", "whatsapp"]
},
"widget_epds_source": {
"model": "widget-epds-sources"
Expand Down

0 comments on commit f9c3682

Please sign in to comment.