Skip to content

creator_plugins

Creator settings.

CreateLensDistortionModel

Bases: BaseSettingsModel

Lens distortion creator settings.

Source code in server/settings/creator_plugins.py
37
38
39
40
41
42
43
44
45
46
class CreateLensDistortionModel(BaseSettingsModel):
    """Lens distortion creator settings."""

    product_type_items: list[ProductTypeItemModel] = SettingsField(
        default_factory=list,
        title="Product type items",
        description=(
            "Optional list of product types that this plugin can create."
        )
    )

CreateMatchMoveModel

Bases: BaseSettingsModel

Matchmove creator settings.

Source code in server/settings/creator_plugins.py
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class CreateMatchMoveModel(BaseSettingsModel):
    """Matchmove creator settings."""

    enabled: bool = SettingsField(default=True, title="Enabled")
    default_variants: list[str] = SettingsField(
        default_factory=list,
        title="Default Variants"
    )
    product_type_items: list[ProductTypeItemModel] = SettingsField(
        default_factory=list,
        title="Product type items",
        description=(
            "Optional list of product types that this plugin can create."
        )
    )

EqualizerCreatorPlugins

Bases: BaseSettingsModel

Creator plugins settings.

Source code in server/settings/creator_plugins.py
49
50
51
52
53
54
55
56
57
58
59
class EqualizerCreatorPlugins(BaseSettingsModel):
    """Creator plugins settings."""

    CreateMatchMove: CreateMatchMoveModel = SettingsField(
        default_factory=CreateMatchMoveModel,
        title="Create Match Move data"
    )
    CreateLensDistortionData: CreateLensDistortionModel = SettingsField(
        default_factory=CreateLensDistortionModel,
        title="Create Lens Distortion data",
    )

ProductTypeItemModel

Bases: BaseSettingsModel

Product type item for creator plugins.

Source code in server/settings/creator_plugins.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
class ProductTypeItemModel(BaseSettingsModel):
    """Product type item for creator plugins."""

    _layout = "compact"
    product_type: str = SettingsField(
        title="Product type",
        description="Product type name",
    )
    label: str = SettingsField(
        "",
        title="Label",
        description="Label to display in UI for the product type",
    )