added UUID to card and form field
This commit is contained in:
@@ -90,6 +90,7 @@ type cardSection struct {
|
||||
|
||||
// card represents a card in the card section
|
||||
type card struct {
|
||||
ID string `bson:"id" json:"id"`
|
||||
Icon string `bson:"icon"`
|
||||
Title string `bson:"title"`
|
||||
Description string `bson:"description"`
|
||||
@@ -105,6 +106,7 @@ type contactSection struct {
|
||||
|
||||
// formField represents a form field in the contact section
|
||||
type formField struct {
|
||||
ID string `bson:"id" json:"id"`
|
||||
Name string `bson:"name"`
|
||||
Label string `bson:"label"`
|
||||
Placeholder string `bson:"placeholder"`
|
||||
|
||||
Reference in New Issue
Block a user