initial settings for tray publisher

This commit is contained in:
Jakub Trllo 2022-04-21 11:58:20 +02:00
parent 475654f51f
commit e50d8ee1ed
3 changed files with 159 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{
"simple_creators": [
{
"family": "workfile",
"identifier": "",
"label": "Workfile",
"icon": "fa.file",
"default_variants": [
"Main"
],
"enable_review": false,
"description": "Publish workfile backup",
"detailed_description": "",
"extensions": [
".ma",
".mb",
".nk",
".hrox",
".hip",
".hiplc",
".hipnc",
".blend",
".scn",
".tvpp",
".comp",
".zip",
".prproj",
".drp",
".psd",
".psb",
".aep"
],
"allow_sequences": {
"allow": "no"
}
}
]
}

View file

@ -126,6 +126,10 @@
"type": "schema",
"name": "schema_project_standalonepublisher"
},
{
"type": "schema",
"name": "schema_project_traypublisher"
},
{
"type": "schema",
"name": "schema_project_webpublisher"

View file

@ -0,0 +1,117 @@
{
"type": "dict",
"collapsible": true,
"key": "traypublisher",
"label": "Tray Publisher",
"is_file": true,
"children": [
{
"type": "list",
"collapsible": true,
"key": "simple_creators",
"label": "Creator plugins",
"use_label_wrap": true,
"collapsible_key": true,
"object_type": {
"type": "dict",
"children": [
{
"type": "text",
"key": "family",
"label": "Family"
},
{
"type": "text",
"key": "identifier",
"label": "Identifier",
"placeholder": "< Use 'Family' >",
"tooltip": "All creators must have unique identifier.\nBy default is used 'family' but if you need to have more creators with same families\nyou have to set identifier too."
},
{
"type": "text",
"key": "label",
"label": "Label"
},
{
"type": "text",
"key": "icon",
"label": "Icon"
},
{
"type": "list",
"key": "default_variants",
"label": "Default variants",
"object_type": {
"type": "text"
}
},
{
"type": "boolean",
"key": "enable_review",
"label": "Enable review",
"tooltip": "Allow to create review from source file/s.\nFiles must be supported to be able create review."
},
{
"type": "separator"
},
{
"type": "text",
"key": "description",
"label": "Description"
},
{
"type": "text",
"key": "detailed_description",
"label": "Detailed Description",
"multiline": true
},
{
"type": "separator"
},
{
"type": "list",
"key": "extensions",
"label": "Extensions",
"use_label_wrap": true,
"collapsible_key": true,
"collapsed": false,
"object_type": "text"
},
{
"key": "allow_sequences",
"label": "Allow sequences",
"type": "dict-conditional",
"use_label_wrap": true,
"collapsible_key": true,
"enum_key": "allow",
"enum_children": [
{
"key": "all",
"label": "Yes (all extensions)"
},
{
"key": "selection",
"label": "Yes (limited extensions)",
"children": [
{
"type": "list",
"key": "extensions",
"label": "Extensions",
"use_label_wrap": true,
"collapsible_key": true,
"collapsed": false,
"object_type": "text"
}
]
},
{
"key": "no",
"label": "No"
}
]
}
]
}
}
]
}