feat: add social network field to artiste #3
@@ -66,6 +66,11 @@
|
||||
"type": "relation",
|
||||
"relation": "manyToOne",
|
||||
"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 {
|
||||
collectionName: 'components_store_albums';
|
||||
info: {
|
||||
@@ -84,6 +118,7 @@ declare module '@strapi/strapi' {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
'difference.paroles-diff': DifferenceParolesDiff;
|
||||
'social.rezo-sosyal': SocialRezoSosyal;
|
||||
'store.album': StoreAlbum;
|
||||
'trad.traductions': TradTraductions;
|
||||
'url.liens': UrlLiens;
|
||||
|
||||
Vendored
+1
@@ -462,6 +462,7 @@ export interface ApiArtisteArtiste extends Struct.CollectionTypeSchema {
|
||||
photo: Schema.Attribute.Media<'images'>;
|
||||
prenom: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
rezoSosyal: Schema.Attribute.Component<'social.rezo-sosyal', true>;
|
||||
slug: Schema.Attribute.String;
|
||||
titrePhare: Schema.Attribute.Relation<'manyToOne', 'api::parole.parole'>;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
|
||||
Reference in New Issue
Block a user