Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(server): expand sys extensions to support storytelling pages/blocks #622

Merged
merged 3 commits into from
Aug 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
225 changes: 217 additions & 8 deletions server/pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2017,23 +2017,56 @@ extensions:
name: Story
type: story
description: Storytelling story
schema:
groups:
- id: default
title: Basic
fields:
- id: storyPage
name: Page
type: storyPage
description: Storytelling Page
schema:
groups:
- id: default
title: Basic
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: gap
title: Gap
type: number
suffix: px
- id: title
title: Title Setting
fields:
- id: title
type: string
title: Title
- id: color
type: string
title: Color
ui: color
- id: cameraAnimation
title: Camera Animation
fields:
- id: cameraPosition
type: camera
title: Camera position
- id: cameraDuration
type: number
title: Duration
suffix: s
min: 0
- id: cameraDelay
type: number
title: Delay
suffix: s
min: 0
- id: timePoint
title: Time Point Setting
fields:
- id: timePoint
type: string
ui: datetime
title: Time
- id: storyBlock
name: Block
type: storyBlock
Expand All @@ -2045,4 +2078,180 @@ extensions:
fields:
- id: title
type: string
title: Title
title: Title
- id: textStoryBlock
name: Text Block
type: storyBlock
description: Storytelling Text Block
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: Text
fields:
- id: text
type: string
title: Content
ui: multiline
- id: mdTextStoryBlock
name: MD Test Block
type: storyBlock
description: Storytelling MD Text Block
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: MD Text
fields:
- id: text
type: string
title: Content
ui: multiline
- id: imageStoryBlock
name: Image Block
type: storyBlock
description: Storytelling Image Block
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: Image
fields:
- id: src
type: url
title: Image
ui: image
- id: videoStoryBlock
name: Video Block
type: storyBlock
description: Storytelling Video Block
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: Video
fields:
- id: src
type: url
title: Video
ui: video
- id: cameraButtonStoryBlock
name: Camera Button
type: storyBlock
description: Storytelling Camera Button
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: Camera Button
list: true
fields:
- id: title
type: string
title: Title
- id: color
type: string
title: Color
ui: color
- id: bgColor
type: string
title: Background Color
ui: color
- id: cameraPosition
type: camera
title: Camera position
- id: linkButtonStoryBlock
name: Link Button
type: storyBlock
description: Storytelling Link Button
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: Link Button
list: true
fields:
- id: title
type: string
title: Title
- id: color
type: string
title: Color
ui: color
- id: bgColor
type: string
title: Background Color
ui: color
- id: url
type: url
title: Link URL
- id: timelineStoryBlock
name: Timeline Block
type: storyBlock
description: Storytelling Timeline Block
schema:
groups:
- id: panel
title: Panel Setting
fields:
- id: padding
type: spacing
title: Padding
ui: padding
- id: default
title: Timeline
fields:
- id: currentTime
type: string
ui: datetime
title: Current Time
- id: startTime
type: string
ui: datetime
title: Start Time
- id: endTime
type: string
ui: datetime
title: End Time
- id: autoPlay
type: bool
title: Auto Play
- id: loop
type: bool
title: Loop
Loading