refactor: generaliser stems en kits (type Stems/Acapella+Instru)
This commit is contained in:
@@ -153,9 +153,9 @@
|
||||
"karaokeDesktopUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"stems": {
|
||||
"kits": {
|
||||
"type": "component",
|
||||
"component": "stem.lyen",
|
||||
"component": "kit.lyen",
|
||||
"repeatable": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"collectionName": "components_stem_lyens",
|
||||
"collectionName": "components_kit_lyens",
|
||||
"info": {
|
||||
"displayName": "Stems",
|
||||
"displayName": "Kit",
|
||||
"icon": "database",
|
||||
"description": ""
|
||||
},
|
||||
@@ -15,6 +15,11 @@
|
||||
"type": "enumeration",
|
||||
"enum": ["kDrive", "NIYAJ"],
|
||||
"required": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enumeration",
|
||||
"enum": ["Stems", "Acapella + Instru"],
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+17
-15
@@ -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;
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user