Skip to content

Commit

Permalink
Reference config for the documentation purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
shrotia committed Jul 22, 2024
1 parent fef745f commit 6a91488
Showing 1 changed file with 88 additions and 0 deletions.
88 changes: 88 additions & 0 deletions tools/assets-selector/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"blockName": [
{
"mimeType": "video/*",
"value": "Core Embed"
}
],
"headerStyle": [
{
"mimeType": "video/*",
"value": "background-color:#f5680a;color:#fff"
}
],
"blockTemplate": [
{
"mimeType": "video/*",
"value": "<table border='1' style=\"width:100%\">\n <tr>\n <td style=\"background-color:#f5680a;color:#fff\">${blockName}</td>\n </tr>\n <tr>\n <td><a href=${rendition.href}>${asset.name}</a></td>\n </tr>\n </table>"
}
],
"filterSchema": [
{
"header": "File Types",
"groupKey": "TopGroup",
"fields": [
{
"defaultValue": ["image/*", "video/*"],
"excludeTags": ["image/*", "video/*"],
"element": "checkbox",
"name": "type",
"options": [
{
"label": "Images",
"value": "image/*"
},
{
"label": "Videos",
"value": "video/*"
}
],
"columns": 2
}
]
},
{
"header": "Assets Tags",
"groupKey": "AssetTagsGroup",
"fields": [
{
"element": "taggroup",
"name": "property=metadata.application.xcm:keywords.id",
"defaultValue": ["company:context/tagA"],
"options": [
{
"label": "tagA",
"value": "company:context/tagA"
}
],
"columns": 3
}
]
},
{
"fields": [
{
"element": "checkbox",
"name": "expiredAsset",
"options": [
{
"label": "Expired",
"value": "expired"
}
],
"orientation": "horizontal",
"columns": 2
},
{
"element": "DateRange",
"name": "property=pur:expirationDate",
"position": "top",
"label": "Expiration Duration",
"orientation": "horizontal"
}
],
"header": "Expiration Status",
"groupKey": "ExpirationGroup"
}
]
}

0 comments on commit 6a91488

Please sign in to comment.