Add creativeCommons and download to Paroles collection

This commit is contained in:
2024-04-14 07:36:11 +04:00
parent 204e2253f2
commit 304d095ed2
2 changed files with 26 additions and 0 deletions
@@ -96,6 +96,28 @@
}, },
"musicBrainzUrl": { "musicBrainzUrl": {
"type": "string" "type": "string"
},
"creativeCommons": {
"type": "enumeration",
"enum": [
"BY",
"BY-SA",
"BY-ND",
"BY-NC",
"BY-NC-SA",
"BY-NC-ND"
]
},
"download": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"audios",
"images",
"videos",
"files"
]
} }
} }
} }
+4
View File
@@ -505,6 +505,10 @@ export interface ApiParoleParole extends Schema.CollectionType {
difference: Attribute.Component<'difference.paroles-diff', true>; difference: Attribute.Component<'difference.paroles-diff', true>;
gadeEmbed: Attribute.String; gadeEmbed: Attribute.String;
musicBrainzUrl: Attribute.String; musicBrainzUrl: Attribute.String;
creativeCommons: Attribute.Enumeration<
['BY', 'BY-SA', 'BY-ND', 'BY-NC', 'BY-NC-SA', 'BY-NC-ND']
>;
download: Attribute.Media;
createdAt: Attribute.DateTime; createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime; updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime; publishedAt: Attribute.DateTime;