@mediafly/frontend-api - v20.4.1
Preparing search index...
MockWorkspacePage
Function MockWorkspacePage
MockWorkspacePage
(
overrides
?:
{
layout
?:
{
rows
?:
(
|
{
metadata
?:
{
backgroundColor
?:
(...)
|
(...)
;
backgroundImageFileSlug
?:
(...)
|
(...)
;
backgroundImageSlug
?:
(...)
|
(...)
;
backgroundImageXPosition
?:
(...)
|
(...)
;
backgroundImageYPosition
?:
(...)
|
(...)
;
padding
?:
(...)
|
(...)
;
textColor
?:
(...)
|
(...)
;
}
;
sections
?:
(
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
)
[]
;
}
|
undefined
)
[]
;
}
;
metadata
?:
{
backgroundColor
?:
string
;
backgroundImageFileSlug
?:
string
;
backgroundImageSlug
?:
string
;
backgroundImageXPosition
?:
XPosition
;
backgroundImageYPosition
?:
YPosition
;
backgroundVideoSlug
?:
string
;
backgroundVideoXPosition
?:
XPosition
;
backgroundVideoYPosition
?:
YPosition
;
contentItemStyle
?:
{
contentItemDisplayType
?:
ContentItemDisplayType
;
gridStyle
?:
{
corner
?:
"rounded"
|
"straight"
;
frameColor
?:
string
;
hasFrame
?:
boolean
;
hasShadow
?:
boolean
;
hideFolderCount
?:
boolean
;
thumbnailShape
?:
"square"
|
"imageRatio"
;
titleLength
?:
"oneLine"
|
"fullText"
|
"twoLines"
;
titleStyle
?:
"attached"
|
"detached"
|
"floating"
;
titleTextColor
?:
"dark"
|
"light"
;
}
;
}
;
textColor
?:
TextColor
;
title
?:
string
;
type
?:
WorkspacePageType
;
}
;
slug
?:
string
;
workspaceSlug
?:
string
;
}
,
)
:
WorkspacePage
Parameters
Optional
overrides
:
{
layout
?:
{
rows
?:
(
|
{
metadata
?:
{
backgroundColor
?:
(...)
|
(...)
;
backgroundImageFileSlug
?:
(...)
|
(...)
;
backgroundImageSlug
?:
(...)
|
(...)
;
backgroundImageXPosition
?:
(...)
|
(...)
;
backgroundImageYPosition
?:
(...)
|
(...)
;
padding
?:
(...)
|
(...)
;
textColor
?:
(...)
|
(...)
;
}
;
sections
?:
(
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
)
[]
;
}
|
undefined
)
[]
;
}
;
metadata
?:
{
backgroundColor
?:
string
;
backgroundImageFileSlug
?:
string
;
backgroundImageSlug
?:
string
;
backgroundImageXPosition
?:
XPosition
;
backgroundImageYPosition
?:
YPosition
;
backgroundVideoSlug
?:
string
;
backgroundVideoXPosition
?:
XPosition
;
backgroundVideoYPosition
?:
YPosition
;
contentItemStyle
?:
{
contentItemDisplayType
?:
ContentItemDisplayType
;
gridStyle
?:
{
corner
?:
"rounded"
|
"straight"
;
frameColor
?:
string
;
hasFrame
?:
boolean
;
hasShadow
?:
boolean
;
hideFolderCount
?:
boolean
;
thumbnailShape
?:
"square"
|
"imageRatio"
;
titleLength
?:
"oneLine"
|
"fullText"
|
"twoLines"
;
titleStyle
?:
"attached"
|
"detached"
|
"floating"
;
titleTextColor
?:
"dark"
|
"light"
;
}
;
}
;
textColor
?:
TextColor
;
title
?:
string
;
type
?:
WorkspacePageType
;
}
;
slug
?:
string
;
workspaceSlug
?:
string
;
}
Returns
WorkspacePage
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mediafly/frontend-api - v20.4.1
Loading...