mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
AYON: Addon settings in OpenPype (#5347)
* 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
This commit is contained in:
parent
e6d9697e23
commit
2b37b8af48
167 changed files with 15525 additions and 146 deletions
64
server_addon/hiero/server/settings/main.py
Normal file
64
server_addon/hiero/server/settings/main.py
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
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": [],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue