Merge pull request 'feat: add social network field to artiste' (#3) from feat/improve-artist-page into master
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
@@ -66,6 +66,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "manyToOne",
|
"relation": "manyToOne",
|
||||||
"target": "api::parole.parole"
|
"target": "api::parole.parole"
|
||||||
|
},
|
||||||
|
"rezoSosyal": {
|
||||||
|
"type": "component",
|
||||||
|
"repeatable": true,
|
||||||
|
"component": "social.rezo-sosyal"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"collectionName": "components_social_rezo_sosyal",
|
||||||
|
"info": {
|
||||||
|
"displayName": "Rézo Sosyal",
|
||||||
|
"icon": "earth",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"options": {},
|
||||||
|
"attributes": {
|
||||||
|
"plateforme": {
|
||||||
|
"type": "enumeration",
|
||||||
|
"enum": [
|
||||||
|
"Mastodon",
|
||||||
|
"Peertube",
|
||||||
|
"Pixelfed",
|
||||||
|
"Funkwhale",
|
||||||
|
"Bluesky",
|
||||||
|
"Instagram",
|
||||||
|
"Youtube",
|
||||||
|
"Tiktok",
|
||||||
|
"Spotify",
|
||||||
|
"Deezer",
|
||||||
|
"Applemusic",
|
||||||
|
"Bandcamp",
|
||||||
|
"Soundcloud",
|
||||||
|
"Facebook",
|
||||||
|
"Twitter",
|
||||||
|
"Linktree",
|
||||||
|
"SiteWeb"
|
||||||
|
],
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"url": {
|
||||||
|
"type": "string",
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+35
@@ -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;
|
||||||
|
|||||||
Vendored
+1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user