From 2540c04782a80b54866890f671b10019c7a2b3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 20 Jun 2026 18:37:23 +0400 Subject: [PATCH] feat: add titrePhare --- src/api/artiste/content-types/artiste/schema.json | 5 +++++ types/generated/contentTypes.d.ts | 1 + 2 files changed, 6 insertions(+) diff --git a/src/api/artiste/content-types/artiste/schema.json b/src/api/artiste/content-types/artiste/schema.json index c1216b6..7513421 100644 --- a/src/api/artiste/content-types/artiste/schema.json +++ b/src/api/artiste/content-types/artiste/schema.json @@ -61,6 +61,11 @@ "isOKIAwtis": { "type": "boolean", "default": false + }, + "titrePhare": { + "type": "relation", + "relation": "manyToOne", + "target": "api::parole.parole" } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index c166101..2adda0a 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -462,6 +462,7 @@ export interface ApiArtisteArtiste extends Struct.CollectionTypeSchema { prenom: Schema.Attribute.String; publishedAt: Schema.Attribute.DateTime; slug: Schema.Attribute.String; + titrePhare: Schema.Attribute.Relation<'manyToOne', 'api::parole.parole'>; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private;