refactor: generaliser stems en kits (type Stems/Acapella+Instru)
Déploiement API BETA / build (push) Successful in 2m10s
Déploiement API PROD / build (push) Successful in 2m13s
Déploiement API BETA / deploy (push) Successful in 45s
Déploiement API PROD / deploy (push) Successful in 53s

This commit is contained in:
2026-07-03 16:57:06 +04:00
parent c62b54fba7
commit d9868a1d5d
4 changed files with 27 additions and 20 deletions
+17 -15
View File
@@ -25,6 +25,22 @@ export interface DifferenceParolesDiff extends Struct.ComponentSchema {
};
}
export interface KitLyen extends Struct.ComponentSchema {
collectionName: 'components_kit_lyens';
info: {
description: '';
displayName: 'Kit';
icon: 'database';
};
attributes: {
plateforme: Schema.Attribute.Enumeration<['kDrive', 'NIYAJ']> &
Schema.Attribute.Required;
type: Schema.Attribute.Enumeration<['Stems', 'Acapella + Instru']> &
Schema.Attribute.Required;
url: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface SocialRezoSosyal extends Struct.ComponentSchema {
collectionName: 'components_social_rezo_sosyal';
info: {
@@ -59,20 +75,6 @@ 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 {
collectionName: 'components_store_albums';
info: {
@@ -135,8 +137,8 @@ declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'difference.paroles-diff': DifferenceParolesDiff;
'kit.lyen': KitLyen;
'social.rezo-sosyal': SocialRezoSosyal;
'stem.lyen': StemLyen;
'store.album': StoreAlbum;
'trad.traductions': TradTraductions;
'url.liens': UrlLiens;
+1 -1
View File
@@ -547,6 +547,7 @@ export interface ApiParoleParole extends Struct.CollectionTypeSchema {
isNewRelease: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
karaokeDesktopUrl: Schema.Attribute.String;
karaokeUrl: Schema.Attribute.String;
kits: Schema.Attribute.Component<'kit.lyen', true>;
langueSource: Schema.Attribute.Enumeration<
['ka', 'fr', 'en', 'es', 'de', 'it']
> &
@@ -568,7 +569,6 @@ export interface ApiParoleParole extends Struct.CollectionTypeSchema {
'manyToOne',
'api::parole.parole'
>;
stems: Schema.Attribute.Component<'stem.lyen', true>;
streamAudio: Schema.Attribute.Component<'store.album', true>;
streamVideo: Schema.Attribute.Component<'url.liens', true>;
titre: Schema.Attribute.String & Schema.Attribute.Required;