feat: add stems links field (kDrive/NIYAJ) to paroles
This commit is contained in:
@@ -152,6 +152,11 @@
|
||||
},
|
||||
"karaokeDesktopUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"stems": {
|
||||
"type": "component",
|
||||
"component": "stem.lyen",
|
||||
"repeatable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+15
@@ -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 {
|
||||
collectionName: 'components_store_albums';
|
||||
info: {
|
||||
@@ -122,6 +136,7 @@ declare module '@strapi/strapi' {
|
||||
export interface ComponentSchemas {
|
||||
'difference.paroles-diff': DifferenceParolesDiff;
|
||||
'social.rezo-sosyal': SocialRezoSosyal;
|
||||
'stem.lyen': StemLyen;
|
||||
'store.album': StoreAlbum;
|
||||
'trad.traductions': TradTraductions;
|
||||
'url.liens': UrlLiens;
|
||||
|
||||
Vendored
+1
@@ -568,6 +568,7 @@ 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