From b565224fcdc310d2fa7a30eae58c8fd01695ca44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Tue, 2 Jun 2026 02:54:56 +0400 Subject: [PATCH] feat: add pawol --- .../parole/content-types/parole/schema.json | 23 ++++++++++++------- types/generated/contentTypes.d.ts | 1 + 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/api/parole/content-types/parole/schema.json b/src/api/parole/content-types/parole/schema.json index 4b8c750..da31490 100644 --- a/src/api/parole/content-types/parole/schema.json +++ b/src/api/parole/content-types/parole/schema.json @@ -65,18 +65,18 @@ }, "traductions": { "type": "component", - "repeatable": false, - "component": "trad.traductions" + "component": "trad.traductions", + "repeatable": false }, "streamVideo": { "type": "component", - "repeatable": true, - "component": "url.liens" + "component": "url.liens", + "repeatable": true }, "streamAudio": { "type": "component", - "repeatable": true, - "component": "store.album" + "component": "store.album", + "repeatable": true }, "commentaires": { "type": "relation", @@ -88,8 +88,8 @@ }, "difference": { "type": "component", - "repeatable": true, - "component": "difference.paroles-diff" + "component": "difference.paroles-diff", + "repeatable": true }, "gadeEmbed": { "type": "string" @@ -118,6 +118,13 @@ "videos", "files" ] + }, + "pawol": { + "type": "media", + "multiple": false, + "allowedTypes": [ + "files" + ] } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 1153419..a7ecefe 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -548,6 +548,7 @@ export interface ApiParoleParole extends Struct.CollectionTypeSchema { Schema.Attribute.Private; musicBrainzUrl: Schema.Attribute.String; okiMizikID: Schema.Attribute.Integer; + pawol: Schema.Attribute.Media<'files'>; prioriteArtistes: Schema.Attribute.String; publishedAt: Schema.Attribute.DateTime; slug: Schema.Attribute.String & Schema.Attribute.Unique;