cc-everywhere

shared/src/types/module/AppConfig.types

Enumerations

Enumeration
Description
TextToImageAppVersion
-
GenerateImageInitialView
-
EditImageAppVersion
-
FDEAppVersion
FDE experience version shared by FDECreateDesignAppConfig and FDEEditDesignAppConfig.
ExperienceVariant
Specifies the experience variant to use when launching the module.
StartFromContentAppVersion
-
ThumbnailOption
-
TextToImageFeature
-
PromptSafetyCategory
Categories for prompt safety assessment. This enum can be extended as new safety categories are identified.
BrowseTemplateType
Template task ids supported for browse gallery filtering (kebab-case). Values align with Inspire pages.task.name / Express task ids where applicable.

Interfaces

Interface
Description
ModelConfig
-
FastModeConfig
-
CommunityWallAssetData
-
CommunityWallAssetResponse
-
CommunityWallConfig
-
EditDropdownOptionConfig
-
PublishConfig
-
PromptSafetyCheckResponse
Represents the safety status of a prompt
TextToImageAppConfig
-
CreateConfig
Configuration for the Create button in the Your Stuff tab.
TemplatesHomeConfig
V2 tabbed browser configuration for the Start From Content module. Controls which tabs appear, their order, and the Create button behavior. Only used when StartFromContentAppConfig.appVersion is 2.
TemplateFilters
-
TemplateBrowserConfig
Chrome fields shared by template browse surfaces (createDesign, startFromContent). Does not include contentBrowseConfig — each surface types that property independently (FDE browse-only; SFC browse-or-preview union).
FDEBaseAppConfig
FDE session fields shared by createDesign and editDesign (FDE path). Lives in the shared module package (not 1P-only).
FDEEditDesignAppConfig
App config for editDesign (FDE MXP editor entry).
FDECreateDesignAppConfig
App config for createDesign (FDE MXP — template browser entry). contentBrowseConfig is browse-only (no preview mode on the FDE template browser).
StartFromContentAppConfig
StartFromContentAppConfig is the app config for the Start From Content module.
ContentBrowseBaseConfig
Base configuration properties shared across all launch modes. Contains common properties available in both browse and preview modes.
BrowseModeConfig
Configuration for browse mode - the default workflow where users see template gallery first. This is the standard flow where users browse templates and then select one to preview. Extends base config with browse-specific properties like search and filters.
PreviewModeConfig
Configuration for preview mode - directly launches into template preview. This workflow bypasses the template gallery and goes straight to the preview section for a specific template. Only works with TEMPLATES category. Extends base config with preview-specific properties (templateId).
EditImageAppConfig
-
CollectionConfig
-
PreviewThumbnailsConfig
-
DesignViewerAppConfig
-
WarmupAppConfig
-

Type Aliases

Type Alias
Description
TemplatesHomeTab
Identifies a tab in the Template Browser V2 experience. Array order in TemplatesHomeConfig.tabs determines display order. Omit a value to hide that tab.
ContentBrowseConfig
Content browse configuration using discriminated union for type-safe launch modes.