Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OWA-71] feat(project): remove 'free' and 'productIds' from default content types #605

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 4 additions & 44 deletions scripts/content-types/content-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@
"field_type": "media_select"
}
},
"productIds": {
"param": "productIds",
"label": "Product IDs",
"description": "Enter a CSV list of subscription assets that allow access to this content",
"details": {
"field_type": "input",
"placeholder": "CSV subscription IDs"
}
},
"liveStatus": {
"param": "VCH.EventState",
"label": "Status",
Expand All @@ -120,20 +111,6 @@
"general": {
"title": "General",
"fields": ["genre", "rating", "trailerId"]
},
"access": {
"title": "Access",
"fields": [
{
"param": "free",
"label": "Free",
"description": "If this item can be watched for free and doesn't require a login or subscription, you can set this value to true. Otherwise, if you leave this setting false, the application level subscription and authentication level rules will apply.",
"details": {
"field_type": "toggle"
}
},
"productIds"
]
}
},
"schemas": [
Expand All @@ -144,7 +121,7 @@
"hosting_type": "hosted",
"is_active": true,
"is_series": false,
"sections": ["general", "access"]
"sections": ["general"]
},
{
"name": "series",
Expand All @@ -162,7 +139,7 @@
"hosting_type": "hosted",
"is_active": true,
"is_series": false,
"sections": ["access"]
"sections": []
},
{
"name": "liveChannel",
Expand Down Expand Up @@ -190,7 +167,6 @@
}
]
},
"access",
{
"title": "Schedule (EPG)",
"fields": [
Expand Down Expand Up @@ -251,8 +227,7 @@
}
}
]
},
"access"
}
]
},
{
Expand All @@ -262,22 +237,7 @@
"hosting_type": "hosted",
"is_active": true,
"is_series": false,
"sections": [
{
"title": "Access",
"fields": [
{
"param": "free",
"label": "Free",
"description": "If this item can be watched for free and doesn't require a login or subscription, you can set this value to true. Otherwise, if you leave this setting false, the application level subscription and authentication level rules will apply.",
"details": {
"field_type": "toggle",
"default": true
}
}
]
}
]
"sections":[]
},
{
"name": "hub",
Expand Down
Loading