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;