mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +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
64 lines
1.6 KiB
Python
64 lines
1.6 KiB
Python
from pydantic import Field
|
|
|
|
from ayon_server.settings import BaseSettingsModel
|
|
|
|
from .imageio import (
|
|
ImageIOSettings,
|
|
DEFAULT_IMAGEIO_SETTINGS
|
|
)
|
|
from .create_plugins import (
|
|
CreatorPluginsSettings,
|
|
DEFAULT_CREATE_SETTINGS
|
|
)
|
|
from .loader_plugins import (
|
|
LoaderPuginsModel,
|
|
DEFAULT_LOADER_PLUGINS_SETTINGS
|
|
)
|
|
from .publish_plugins import (
|
|
PublishPuginsModel,
|
|
DEFAULT_PUBLISH_PLUGIN_SETTINGS
|
|
)
|
|
from .scriptsmenu import (
|
|
ScriptsmenuSettings,
|
|
DEFAULT_SCRIPTSMENU_SETTINGS
|
|
)
|
|
from .filters import PublishGUIFilterItemModel
|
|
|
|
|
|
class HieroSettings(BaseSettingsModel):
|
|
"""Nuke addon settings."""
|
|
|
|
imageio: ImageIOSettings = Field(
|
|
default_factory=ImageIOSettings,
|
|
title="Color Management (imageio)",
|
|
)
|
|
|
|
create: CreatorPluginsSettings = Field(
|
|
default_factory=CreatorPluginsSettings,
|
|
title="Creator Plugins",
|
|
)
|
|
load: LoaderPuginsModel = Field(
|
|
default_factory=LoaderPuginsModel,
|
|
title="Loader plugins"
|
|
)
|
|
publish: PublishPuginsModel = Field(
|
|
default_factory=PublishPuginsModel,
|
|
title="Publish plugins"
|
|
)
|
|
scriptsmenu: ScriptsmenuSettings = Field(
|
|
default_factory=ScriptsmenuSettings,
|
|
title="Scripts Menu Definition",
|
|
)
|
|
filters: list[PublishGUIFilterItemModel] = Field(
|
|
default_factory=list
|
|
)
|
|
|
|
|
|
DEFAULT_VALUES = {
|
|
"imageio": DEFAULT_IMAGEIO_SETTINGS,
|
|
"create": DEFAULT_CREATE_SETTINGS,
|
|
"load": DEFAULT_LOADER_PLUGINS_SETTINGS,
|
|
"publish": DEFAULT_PUBLISH_PLUGIN_SETTINGS,
|
|
"scriptsmenu": DEFAULT_SCRIPTSMENU_SETTINGS,
|
|
"filters": [],
|
|
}
|