feat: add adaptive soundtrack layer assets
This commit is contained in:
@@ -132,7 +132,7 @@ const assetReferences = (content) => {
|
||||
if (typeof content.soundtrack !== 'object' || content.soundtrack === null || Array.isArray(content.soundtrack)) {
|
||||
throw new Error('Portfolio soundtrack must be an object.');
|
||||
}
|
||||
for (const regionName of ['intro', 'main']) {
|
||||
for (const regionName of ['intro', 'main', 'afterglow', 'driveLift']) {
|
||||
const region = content.soundtrack[regionName];
|
||||
if (typeof region !== 'object' || region === null || Array.isArray(region)) {
|
||||
throw new Error(`Portfolio soundtrack ${regionName} must be an object.`);
|
||||
|
||||
Reference in New Issue
Block a user