feat: add stems links field (kDrive/NIYAJ) to paroles
Déploiement API BETA / build (push) Successful in 2m9s
Déploiement API PROD / build (push) Successful in 2m5s
Déploiement API BETA / deploy (push) Successful in 46s
Déploiement API PROD / deploy (push) Successful in 52s

This commit is contained in:
2026-07-03 14:14:57 +04:00
parent 34a54eaae9
commit c62b54fba7
4 changed files with 41 additions and 0 deletions
@@ -152,6 +152,11 @@
}, },
"karaokeDesktopUrl": { "karaokeDesktopUrl": {
"type": "string" "type": "string"
},
"stems": {
"type": "component",
"component": "stem.lyen",
"repeatable": true
} }
} }
} }
+20
View File
@@ -0,0 +1,20 @@
{
"collectionName": "components_stem_lyens",
"info": {
"displayName": "Stems",
"icon": "database",
"description": ""
},
"options": {},
"attributes": {
"url": {
"type": "string",
"required": true
},
"plateforme": {
"type": "enumeration",
"enum": ["kDrive", "NIYAJ"],
"required": true
}
}
}
+15
View File
@@ -59,6 +59,20 @@ export interface SocialRezoSosyal extends Struct.ComponentSchema {
}; };
} }
export interface StemLyen extends Struct.ComponentSchema {
collectionName: 'components_stem_lyens';
info: {
description: '';
displayName: 'Stems';
icon: 'database';
};
attributes: {
plateforme: Schema.Attribute.Enumeration<['kDrive', 'NIYAJ']> &
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: {
@@ -122,6 +136,7 @@ declare module '@strapi/strapi' {
export interface ComponentSchemas { export interface ComponentSchemas {
'difference.paroles-diff': DifferenceParolesDiff; 'difference.paroles-diff': DifferenceParolesDiff;
'social.rezo-sosyal': SocialRezoSosyal; 'social.rezo-sosyal': SocialRezoSosyal;
'stem.lyen': StemLyen;
'store.album': StoreAlbum; 'store.album': StoreAlbum;
'trad.traductions': TradTraductions; 'trad.traductions': TradTraductions;
'url.liens': UrlLiens; 'url.liens': UrlLiens;
+1
View File
@@ -568,6 +568,7 @@ export interface ApiParoleParole extends Struct.CollectionTypeSchema {
'manyToOne', 'manyToOne',
'api::parole.parole' 'api::parole.parole'
>; >;
stems: Schema.Attribute.Component<'stem.lyen', true>;
streamAudio: Schema.Attribute.Component<'store.album', true>; streamAudio: Schema.Attribute.Component<'store.album', true>;
streamVideo: Schema.Attribute.Component<'url.liens', true>; streamVideo: Schema.Attribute.Component<'url.liens', true>;
titre: Schema.Attribute.String & Schema.Attribute.Required; titre: Schema.Attribute.String & Schema.Attribute.Required;