refactor: generaliser stems en kits (type Stems/Acapella+Instru)
This commit is contained in:
@@ -153,9 +153,9 @@
|
|||||||
"karaokeDesktopUrl": {
|
"karaokeDesktopUrl": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"stems": {
|
"kits": {
|
||||||
"type": "component",
|
"type": "component",
|
||||||
"component": "stem.lyen",
|
"component": "kit.lyen",
|
||||||
"repeatable": true
|
"repeatable": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"collectionName": "components_stem_lyens",
|
"collectionName": "components_kit_lyens",
|
||||||
"info": {
|
"info": {
|
||||||
"displayName": "Stems",
|
"displayName": "Kit",
|
||||||
"icon": "database",
|
"icon": "database",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
@@ -15,6 +15,11 @@
|
|||||||
"type": "enumeration",
|
"type": "enumeration",
|
||||||
"enum": ["kDrive", "NIYAJ"],
|
"enum": ["kDrive", "NIYAJ"],
|
||||||
"required": true
|
"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 {
|
export interface SocialRezoSosyal extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_social_rezo_sosyal';
|
collectionName: 'components_social_rezo_sosyal';
|
||||||
info: {
|
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 {
|
export interface StoreAlbum extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_store_albums';
|
collectionName: 'components_store_albums';
|
||||||
info: {
|
info: {
|
||||||
@@ -135,8 +137,8 @@ declare module '@strapi/strapi' {
|
|||||||
export module Public {
|
export module Public {
|
||||||
export interface ComponentSchemas {
|
export interface ComponentSchemas {
|
||||||
'difference.paroles-diff': DifferenceParolesDiff;
|
'difference.paroles-diff': DifferenceParolesDiff;
|
||||||
|
'kit.lyen': KitLyen;
|
||||||
'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;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -547,6 +547,7 @@ export interface ApiParoleParole extends Struct.CollectionTypeSchema {
|
|||||||
isNewRelease: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
isNewRelease: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
||||||
karaokeDesktopUrl: Schema.Attribute.String;
|
karaokeDesktopUrl: Schema.Attribute.String;
|
||||||
karaokeUrl: Schema.Attribute.String;
|
karaokeUrl: Schema.Attribute.String;
|
||||||
|
kits: Schema.Attribute.Component<'kit.lyen', true>;
|
||||||
langueSource: Schema.Attribute.Enumeration<
|
langueSource: Schema.Attribute.Enumeration<
|
||||||
['ka', 'fr', 'en', 'es', 'de', 'it']
|
['ka', 'fr', 'en', 'es', 'de', 'it']
|
||||||
> &
|
> &
|
||||||
@@ -568,7 +569,6 @@ 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user