Support uploaded cover images for media posts
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled

هذا الالتزام موجود في:
boutmoun123
2026-05-25 21:42:27 +03:00
الأصل 8863f61d00
التزام efd87659b2
4 ملفات معدلة مع 104 إضافات و48 حذوفات

عرض الملف

@@ -1898,9 +1898,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/video-cover.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -1964,7 +1964,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('video');",
"pm.expect(json.durationSeconds).to.eql(42);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/video-cover.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Sharqi');",
"pm.expect(json.maqam).to.eql('Hijaz');",
"pm.expect(json.rhythmSignature).to.eql('6/8');",
@@ -2005,9 +2005,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/reel-cover.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -2051,7 +2051,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('video');",
"pm.expect(json.durationSeconds).to.eql(30);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/reel-cover.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Sharqi');",
"pm.expect(json.maqam).to.eql('Hijaz');",
"pm.expect(json.rhythmSignature).to.eql('6/8');",
@@ -2146,9 +2146,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/audio-cover.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -2192,7 +2192,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('audio');",
"pm.expect(json.durationSeconds).to.eql(54);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/audio-cover.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Sharqi');",
"pm.expect(json.maqam).to.eql('Hijaz');",
"pm.expect(json.rhythmSignature).to.eql('6/8');",
@@ -2404,9 +2404,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/video-cover-updated.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -2453,7 +2453,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('video');",
"pm.expect(json.durationSeconds).to.eql(58);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/video-cover-updated.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Contemporary');",
"pm.expect(json.maqam).to.eql('Bayati');",
"pm.expect(json.rhythmSignature).to.eql('4/4');"
@@ -2487,9 +2487,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/audio-cover-updated.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -2536,7 +2536,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('audio');",
"pm.expect(json.durationSeconds).to.eql(61);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/audio-cover-updated.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Tarab');",
"pm.expect(json.maqam).to.eql('Nahawand');",
"pm.expect(json.rhythmSignature).to.eql('6/8');"
@@ -8606,4 +8606,4 @@
"value": ""
}
]
}
}

عرض الملف

@@ -1359,9 +1359,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/video-cover.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -1425,7 +1425,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('video');",
"pm.expect(json.durationSeconds).to.eql(42);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/video-cover.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Sharqi');",
"pm.expect(json.maqam).to.eql('Hijaz');",
"pm.expect(json.rhythmSignature).to.eql('6/8');",
@@ -1466,9 +1466,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/reel-cover.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -1512,7 +1512,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('video');",
"pm.expect(json.durationSeconds).to.eql(30);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/reel-cover.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Sharqi');",
"pm.expect(json.maqam).to.eql('Hijaz');",
"pm.expect(json.rhythmSignature).to.eql('6/8');",
@@ -1607,9 +1607,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/audio-cover.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -1653,7 +1653,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('audio');",
"pm.expect(json.durationSeconds).to.eql(54);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/audio-cover.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Sharqi');",
"pm.expect(json.maqam).to.eql('Hijaz');",
"pm.expect(json.rhythmSignature).to.eql('6/8');",
@@ -1865,9 +1865,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/video-cover-updated.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -1914,7 +1914,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('video');",
"pm.expect(json.durationSeconds).to.eql(58);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/video-cover-updated.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Contemporary');",
"pm.expect(json.maqam).to.eql('Bayati');",
"pm.expect(json.rhythmSignature).to.eql('4/4');"
@@ -1948,9 +1948,9 @@
"type": "text"
},
{
"key": "thumbnailUrl",
"value": "https://cdn.example.com/audio-cover-updated.jpg",
"type": "text"
"key": "coverImageFile",
"type": "file",
"src": []
},
{
"key": "style",
@@ -1997,7 +1997,7 @@
"const json = pm.response.json();",
"pm.expect(json.postType).to.eql('audio');",
"pm.expect(json.durationSeconds).to.eql(61);",
"pm.expect(json.thumbnailUrl).to.eql('https://cdn.example.com/audio-cover-updated.jpg');",
"if (json.thumbnailUrl) { pm.expect(json.thumbnailUrl).to.be.a('string'); }",
"pm.expect(json.style).to.eql('Tarab');",
"pm.expect(json.maqam).to.eql('Nahawand');",
"pm.expect(json.rhythmSignature).to.eql('6/8');"
@@ -5832,4 +5832,4 @@
"value": ""
}
]
}
}