mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-05 11:11:28 +00:00
* Fix: fix notification def * Feat: store workflow step def properties in cm * fix ci * fix data race
61 lines
1.1 KiB
CUE
61 lines
1.1 KiB
CUE
#SlackMessage: {
|
|
text: string
|
|
blocks?: *null | [...#block]
|
|
attachments?: *null | {
|
|
blocks?: *null | [...#block]
|
|
color?: string
|
|
}
|
|
thread_ts?: string
|
|
mrkdwn?: *true | bool
|
|
}
|
|
|
|
#block: {
|
|
type: string
|
|
block_id?: string
|
|
elements?: [...{
|
|
type: string
|
|
action_id?: string
|
|
url?: string
|
|
value?: string
|
|
style?: string
|
|
text?: #textType
|
|
confirm?: {
|
|
title: #textType
|
|
text: #textType
|
|
confirm: #textType
|
|
deny: #textType
|
|
style?: string
|
|
}
|
|
options?: [...#option]
|
|
initial_options?: [...#option]
|
|
placeholder?: #textType
|
|
initial_date?: string
|
|
image_url?: string
|
|
alt_text?: string
|
|
option_groups?: [...#option]
|
|
max_selected_items?: int
|
|
initial_value?: string
|
|
multiline?: bool
|
|
min_length?: int
|
|
max_length?: int
|
|
dispatch_action_config?: {
|
|
trigger_actions_on?: [...string]
|
|
}
|
|
initial_time?: string
|
|
}]
|
|
}
|
|
|
|
#textType: {
|
|
type: string
|
|
text: string
|
|
emoji?: bool
|
|
verbatim?: bool
|
|
}
|
|
|
|
#option: {
|
|
text: #textType
|
|
value: string
|
|
description?: #textType
|
|
url?: string
|
|
}
|