feat: add Creators Platform helper for DSL upload and OAuth redirect (Vibe Kanban) (#32232)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Junyan Chin
2026-02-11 21:10:48 +08:00
committed by GitHub
parent 98d2eb6579
commit 2bf767d5f7
30 changed files with 258 additions and 1 deletions

View File

@ -177,6 +177,7 @@ class SystemFeatureModel(BaseModel):
trial_models: list[str] = []
enable_trial_app: bool = False
enable_explore_banner: bool = False
enable_creators_platform: bool = False
class FeatureService:
@ -238,6 +239,9 @@ class FeatureService:
if dify_config.MARKETPLACE_ENABLED:
system_features.enable_marketplace = True
if dify_config.CREATORS_PLATFORM_FEATURES_ENABLED:
system_features.enable_creators_platform = True
return system_features
@classmethod