define when rendition should be available, here is filtering by material type.
# Renditions
Rendition is digital result of work on the material. It may be used in another platform (vault) or to present results to customer. For the Showcase Platform, renditions are available from the menu:

It there are any renditions available then you can see this list:

# Creating Renditions
Here is the code for create rendition:
<?php
return [
/**
* Reveal Preview
*/
'dda_grunt_gen_source' => [
'filter' => [
'materialType' => defined('GRUNT_GEN_MATERIAL_TYPES')
? GRUNT_GEN_MATERIAL_TYPES
: '',
],
'label' => 'Source Code',
'thumbnailRendition' => null,
'recreatable' => true,
'visible' => true,
'job' => \App\Jobs\Renditions\DDAGenerator\CreateDDAGeneratorSourceRenditionJob::class,
'queue' => true,
'initialRendition' => false,
]
];# Options
# filter
# label
this text will be visible in rendition menu of gui module (Source Code).
# recreatable
define if rendition should be available on demand, when user request this rendition then api will start new job to create it. When the job is finished, user will be informed. There is popups below which informed user about progress of his request.

# Actions
todo