diff --git a/pillar/api/node_types/act.py b/pillar/api/node_types/act.py deleted file mode 100644 index d4346023..00000000 --- a/pillar/api/node_types/act.py +++ /dev/null @@ -1,5 +0,0 @@ -node_type_act = { - 'name': 'act', - 'description': 'Act node type', - 'parent': [] -} diff --git a/pillar/api/node_types/scene.py b/pillar/api/node_types/scene.py deleted file mode 100644 index 99778756..00000000 --- a/pillar/api/node_types/scene.py +++ /dev/null @@ -1,5 +0,0 @@ -node_type_scene = { - 'name': 'scene', - 'description': 'Scene node type', - 'parent': ['act'], -} diff --git a/pillar/api/node_types/shot.py b/pillar/api/node_types/shot.py deleted file mode 100644 index 99b54606..00000000 --- a/pillar/api/node_types/shot.py +++ /dev/null @@ -1,45 +0,0 @@ -node_type_shot = { - 'name': 'shot', - 'description': 'Shot Node Type, for shots', - 'dyn_schema': { - 'url': { - 'type': 'string', - }, - 'cut_in': { - 'type': 'integer' - }, - 'cut_out': { - 'type': 'integer' - }, - 'status': { - 'type': 'string', - 'allowed': [ - 'on_hold', - 'todo', - 'in_progress', - 'review', - 'final' - ], - }, - 'notes': { - 'type': 'string', - 'maxlength': 256, - }, - 'shot_group': { - 'type': 'string', - #'data_relation': { - # 'resource': 'nodes', - # 'field': '_id', - #}, - }, - }, - 'form_schema': { - 'url': {}, - 'cut_in': {}, - 'cut_out': {}, - 'status': {}, - 'notes': {}, - 'shot_group': {} - }, - 'parent': ['scene'] -} diff --git a/pillar/api/node_types/task.py b/pillar/api/node_types/task.py deleted file mode 100644 index 5fdb3500..00000000 --- a/pillar/api/node_types/task.py +++ /dev/null @@ -1,107 +0,0 @@ -node_type_task = { - 'name': 'task', - 'description': 'Task Node Type, for tasks', - 'dyn_schema': { - 'status': { - 'type': 'string', - 'allowed': [ - 'todo', - 'in_progress', - 'on_hold', - 'approved', - 'cbb', - 'final', - 'review' - ], - 'required': True, - }, - 'filepath': { - 'type': 'string', - }, - 'revision': { - 'type': 'integer', - }, - 'owners': { - 'type': 'dict', - 'schema': { - 'users': { - 'type': 'list', - 'schema': { - 'type': 'objectid', - } - }, - 'groups': { - 'type': 'list', - 'schema': { - 'type': 'objectid', - } - } - } - }, - 'time': { - 'type': 'dict', - 'schema': { - 'start': { - 'type': 'datetime' - }, - 'duration': { - 'type': 'integer' - }, - 'chunks': { - 'type': 'list', - 'schema': { - 'type': 'dict', - 'schema': { - 'start': { - 'type': 'datetime', - }, - 'duration': { - 'type': 'integer', - } - } - } - }, - } - }, - 'is_conflicting' : { - 'type': 'boolean' - }, - 'is_processing' : { - 'type': 'boolean' - }, - 'is_open' : { - 'type': 'boolean' - } - - }, - 'form_schema': { - 'status': {}, - 'filepath': {}, - 'revision': {}, - 'owners': { - 'schema': { - 'users':{ - 'items': [('User', 'first_name')], - }, - 'groups': {} - } - }, - 'time': { - 'schema': { - 'start': {}, - 'duration': {}, - 'chunks': { - 'visible': False, - 'schema': { - 'start': {}, - 'duration': {} - } - } - } - }, - 'is_conflicting': {}, - 'is_open': {}, - 'is_processing': {}, - }, - 'parent': ['shot'] -}