Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions server/settings/publish_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class ValidateNamingPlugin(BaseSettingsModel):
class ExtractImagePlugin(BaseSettingsModel):
"""Extracts image products and representations per published instance"""
enabled: bool = SettingsField(True, title="Enabled")
active: bool = SettingsField(True, title="Active")
optional: bool = SettingsField(False, title="Optional")
Comment thread
Copilot marked this conversation as resolved.
formats: list[str] = SettingsField(
title="Extract Formats",
Expand All @@ -147,6 +148,7 @@ class ExtractSourceReviewPlugin(BaseSettingsModel):
class ExtractLayersPlugin(BaseSettingsModel):
"""Export layers within the instance layerset to a PSD file."""
enabled: bool = SettingsField(False, title="Enabled")
active: bool = SettingsField(True, title="Active")
optional: bool = SettingsField(False, title="Optional")
merge_layersets: bool = SettingsField(
False,
Expand Down Expand Up @@ -251,6 +253,7 @@ class PhotoshopPublishPlugins(BaseSettingsModel):
},
"ExtractImage": {
"enabled": True,
"active": True,
"optional": False,
"formats": [
"png",
Expand All @@ -262,6 +265,7 @@ class PhotoshopPublishPlugins(BaseSettingsModel):
},
"ExtractLayers": {
"enabled": False,
"active": True,
"optional": False,
"merge_layersets": False,
"extension": "psd",
Expand Down
Loading