Search
Loading...
Skip to content

Namespace: ConfigTypes

Type Aliases#

Type AliasDescription
A11yRepresents the accessibility settings for the Creative Editor SDK. This type defines the heading hierarchy start level, which can be a number between 1 and 6.
CallbacksRepresents the callback functions for various events in the Creative Editor SDK. This interface defines functions for handling back, close, share, save, load, load archive, download, export, upload, and unsupported browser events.
CombinedConfigurationRepresents the combined configuration for the Creative Editor SDK. This type combines the CESDKConfiguration with the EngineConfiguration while omitting the presets key. It also includes deprecated keys from the CESDKConfiguration.
I18nRepresents the internationalization settings for the Creative Editor SDK. This type defines a record of locale strings to translation objects. Note: this will append keys and not override keys.
OnUploadCallbackRepresents the upload callback function for the Creative Editor SDK. This type defines a function that handles file uploads, including progress updates and context.
OnUploadOptionsRepresents the options for the upload callback in the Creative Editor SDK. This type defines the supported MIME types for uploads.
ScaleRepresents the scale settings for the Creative Editor SDK. This type defines the possible scales, which are ‘normal’ and ‘large’, or a function that returns one of these scales.
ThemeRepresents the theme settings for the Creative Editor SDK. This type defines the possible themes, which are ‘light’ and ‘dark’.

Interfaces#

InterfaceDescription
BleedMarginOptionsRepresents the bleed margin configuration options for a single design unit type in the Creative Editor SDK. This interface defines the dropdown options and the default bleed margin value.
FontSizeOptionsRepresents the font size configuration options in the Creative Editor SDK. This interface defines the dropdown options for font sizes.
UIOptionsForSingleDesignUnitRepresents the UI options for a single design unit type in the Creative Editor SDK. This interface defines the bleed margin options for a single design unit.
UIOptionsPerDesignUnitRepresents the UI options for different design units in the Creative Editor SDK. This interface defines the UI options for millimeters, pixels, and inches.
UploadCallbackContextRepresents the context for the upload callback in the Creative Editor SDK. This interface defines the source ID and an optional group for the upload context.