From 6fb0ed5a891b14d808db2d5b873398181a1b8600 Mon Sep 17 00:00:00 2001 From: Schneider Roland Date: Mon, 30 Dec 2024 18:14:53 +0100 Subject: [PATCH] add new property to car --- strapi-yoga/src/api/car/content-types/car/schema.json | 6 +++++- strapi-yoga/types/generated/contentTypes.d.ts | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/strapi-yoga/src/api/car/content-types/car/schema.json b/strapi-yoga/src/api/car/content-types/car/schema.json index dea0316..f3fee48 100644 --- a/strapi-yoga/src/api/car/content-types/car/schema.json +++ b/strapi-yoga/src/api/car/content-types/car/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "car", "pluralName": "cars", - "displayName": "car" + "displayName": "car", + "description": "" }, "options": { "draftAndPublish": true @@ -13,6 +14,9 @@ "attributes": { "name": { "type": "string" + }, + "description": { + "type": "text" } } } diff --git a/strapi-yoga/types/generated/contentTypes.d.ts b/strapi-yoga/types/generated/contentTypes.d.ts index 53c929d..4842453 100644 --- a/strapi-yoga/types/generated/contentTypes.d.ts +++ b/strapi-yoga/types/generated/contentTypes.d.ts @@ -472,6 +472,7 @@ export interface ApiAuthorAuthor extends Struct.CollectionTypeSchema { export interface ApiCarCar extends Struct.CollectionTypeSchema { collectionName: 'cars'; info: { + description: ''; displayName: 'car'; pluralName: 'cars'; singularName: 'car'; @@ -483,6 +484,7 @@ export interface ApiCarCar extends Struct.CollectionTypeSchema { createdAt: Schema.Attribute.DateTime; createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private; + description: Schema.Attribute.Text; locale: Schema.Attribute.String & Schema.Attribute.Private; localizations: Schema.Attribute.Relation<'oneToMany', 'api::car.car'> & Schema.Attribute.Private;