-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.yml
108 lines (91 loc) · 4.2 KB
/
info.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Copyright (c) 2015 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
# Metadata defining the behavior and requirements for this app
# expected fields in the configuration file for this app
configuration:
# UI customization
menu_name:
type: str
default_value: "Entity App"
description: Name to appear on the ShotGrid menu.
title_name:
type: str
default_value: "Published Files"
description: Name to appear on the title of the UI Dialog.
# hooks
hook_ui_config:
type: hook
default_value: "{self}/ui_config.py"
description: Specify a hook that, if desired, configures the UI layout and data.
actions_hook:
type: hook
description: Hook which contains all methods for action management.
entity_mappings:
type: dict
description: Associates entity types with actions. The actions are all defined
inside the actions hook.
default_value: {}
default_value_tk-flame:
Shot: [load_batch, create_batch]
published_file_fields:
type: list
default_value: []
allows_empty: True
values:
type: str
description: "List of additional fields to include in Published File query. This will
include the Published file data for the given fields, which will allow
the filtering on this data."
entities:
default_value:
- caption: Project
type: Hierarchy
root: "{context.project}"
publish_filters: []
- caption: My Tasks
type: Query
entity_type: Task
publish_filters: []
filters:
- [task_assignees, is, "{context.user}"]
- ["project", "is", "{context.project}"]
hierarchy: [entity, content]
type: list
description: "This setting defines the different tabs that will show up on the left hand side.
Each tab represents a ShotGrid query, grouped by some ShotGrid fields to form a tree.
This setting is a list of dictionaries. Each dictionary in the list defines one tab.
Dictionaries with their *type* key set to 'Hierarchy' should have they following keys:
*caption* specifies the name of the tab, *root* specifies the path to the root
of the project hierarchy to display.
Dictionaries with their *type* key set to 'Query' should have they following keys:
*caption* specifies the name of the tab, *entity_type* specifies the ShotGrid entity
type to display. *filters* is a list of standard API ShotGrid filters.
*hierarchy* is a list of ShotGrid fields, defining the grouping of the tree.
Optionally, you can specify a *publish_filters* key, containing ShotGrid API filters to
apply to the publishes listing as it is being loaded in the main view."
allows_empty: False
values:
type: dict
# this app works in all engines - it does not contain
# any host application specific commands
supported_engines:
# the Shotgun fields that this app needs in order to operate correctly
requires_shotgun_fields:
# More verbose description of this item
display_name: "Published Files"
description: "Generic app to display Published File data."
# Required minimum versions for this item to run
requires_shotgun_version:
requires_core_version:
requires_engine_version:
# the frameworks required to run this app
frameworks:
- {"name": "tk-framework-shotgunutils", "version": "v5.x.x", "minimum_version": "v5.8.6"}
- {"name": "tk-framework-qtwidgets", "version": "v2.x.x", "minimum_version": "v2.10.11"}