From 2580fedfd67eb2a0637d48807dc0bda4cf803478 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Wed, 1 Jan 2025 16:05:09 +0300 Subject: [PATCH] customer: add field "photoUrl" --- src/api/customer/content-types/customer/schema.json | 3 +++ types/generated/contentTypes.d.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/src/api/customer/content-types/customer/schema.json b/src/api/customer/content-types/customer/schema.json index c426fe3..7fe1e17 100644 --- a/src/api/customer/content-types/customer/schema.json +++ b/src/api/customer/content-types/customer/schema.json @@ -73,6 +73,9 @@ "relation": "oneToOne", "target": "api::setting.setting", "mappedBy": "customer" + }, + "photoUrl": { + "type": "string" } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index c27c54a..3f9947c 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -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;