mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
* copied addons from 'ayon-addon-settings' * added AE, photoshop and harmony addon * moved openpype to subfolder * cleanup repository files * updated create package script and README.md * formatting fixes * added cli flags to be able keep server structure * print progress and output dir * another formatting fixes
47 lines
976 B
Python
47 lines
976 B
Python
from pydantic import Field
|
|
from ayon_server.settings import BaseSettingsModel
|
|
|
|
|
|
class DirmapPathsSubmodel(BaseSettingsModel):
|
|
_layout = "compact"
|
|
source_path: list[str] = Field(
|
|
default_factory=list,
|
|
title="Source Paths"
|
|
)
|
|
destination_path: list[str] = Field(
|
|
default_factory=list,
|
|
title="Destination Paths"
|
|
)
|
|
|
|
|
|
class DirmapSettings(BaseSettingsModel):
|
|
"""Nuke color management project settings."""
|
|
_isGroup: bool = True
|
|
|
|
enabled: bool = Field(title="enabled")
|
|
paths: DirmapPathsSubmodel = Field(
|
|
default_factory=DirmapPathsSubmodel,
|
|
title="Dirmap Paths"
|
|
)
|
|
|
|
|
|
"""# TODO:
|
|
nuke is having originally implemented
|
|
following data inputs:
|
|
|
|
"nuke-dirmap": {
|
|
"enabled": false,
|
|
"paths": {
|
|
"source-path": [],
|
|
"destination-path": []
|
|
}
|
|
}
|
|
"""
|
|
|
|
DEFAULT_DIRMAP_SETTINGS = {
|
|
"enabled": False,
|
|
"paths": {
|
|
"source_path": [],
|
|
"destination_path": []
|
|
}
|
|
}
|