feat: add social network field to artiste #3

Merged
cedric merged 2 commits from feat/improve-artist-page into master 2026-06-26 17:36:33 +00:00
2 changed files with 36 additions and 0 deletions
Showing only changes of commit fcd1e737ab - Show all commits
+35
View File
@@ -25,6 +25,40 @@ export interface DifferenceParolesDiff extends Struct.ComponentSchema {
}; };
} }
export interface SocialRezoSosyal extends Struct.ComponentSchema {
collectionName: 'components_social_rezo_sosyal';
info: {
description: '';
displayName: 'R\u00E9zo Sosyal';
icon: 'earth';
};
attributes: {
plateforme: Schema.Attribute.Enumeration<
[
'Mastodon',
'Peertube',
'Pixelfed',
'Funkwhale',
'Bluesky',
'Instagram',
'Youtube',
'Tiktok',
'Spotify',
'Deezer',
'Applemusic',
'Bandcamp',
'Soundcloud',
'Facebook',
'Twitter',
'Linktree',
'SiteWeb',
]
> &
Schema.Attribute.Required;
url: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface StoreAlbum extends Struct.ComponentSchema { export interface StoreAlbum extends Struct.ComponentSchema {
collectionName: 'components_store_albums'; collectionName: 'components_store_albums';
info: { info: {
@@ -84,6 +118,7 @@ declare module '@strapi/strapi' {
export module Public { export module Public {
export interface ComponentSchemas { export interface ComponentSchemas {
'difference.paroles-diff': DifferenceParolesDiff; 'difference.paroles-diff': DifferenceParolesDiff;
'social.rezo-sosyal': SocialRezoSosyal;
'store.album': StoreAlbum; 'store.album': StoreAlbum;
'trad.traductions': TradTraductions; 'trad.traductions': TradTraductions;
'url.liens': UrlLiens; 'url.liens': UrlLiens;
+1
View File
@@ -462,6 +462,7 @@ export interface ApiArtisteArtiste extends Struct.CollectionTypeSchema {
photo: Schema.Attribute.Media<'images'>; photo: Schema.Attribute.Media<'images'>;
prenom: Schema.Attribute.String; prenom: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
rezoSosyal: Schema.Attribute.Component<'social.rezo-sosyal', true>;
slug: Schema.Attribute.String; slug: Schema.Attribute.String;
titrePhare: Schema.Attribute.Relation<'manyToOne', 'api::parole.parole'>; titrePhare: Schema.Attribute.Relation<'manyToOne', 'api::parole.parole'>;
updatedAt: Schema.Attribute.DateTime; updatedAt: Schema.Attribute.DateTime;