Skip to content

Commit

Permalink
feat(project): remove free and productIds from content-types.json (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarinaDraganJW authored and kiremitrov123 committed Sep 12, 2024
1 parent d2e103f commit 0f6a886
Showing 1 changed file with 4 additions and 44 deletions.
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

0 comments on commit 0f6a886

Please sign in to comment.