customer: add field "photoUrl"

This commit is contained in:
vchikalkin 2025-01-01 16:05:09 +03:00
parent 9de19d9aae
commit 2580fedfd6
2 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,9 @@
"relation": "oneToOne",
"target": "api::setting.setting",
"mappedBy": "customer"
},
"photoUrl": {
"type": "string"
}
}
}

View File

@ -435,6 +435,7 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema {
phone: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.Unique;
photoUrl: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
role: Schema.Attribute.Enumeration<['client', 'master']> &
Schema.Attribute.Required;