fox-block-builder
Version:
Maintainable code for loop slack-block-kit-like modal builder
117 lines (116 loc) • 3.71 kB
TypeScript
export declare enum Prop {
AuthorName = "authorName",
Blocks = "blocks",
Elements = "elements",
BlockId = "blockId",
ExternalId = "externalId",
Label = "label",
Element = "element",
Hint = "hint",
Optional = "optional",
Fields = "fields",
Accessory = "accessory",
ActionId = "actionId",
Url = "url",
Style = "style",
Value = "value",
Option = "option",
Confirm = "confirm",
ImageUrl = "imageUrl",
AltText = "altText",
Options = "options",
InitialOptions = "initialOptions",
InitialOption = "initialOption",
Placeholder = "placeholder",
Type = "type",
Source = "source",
InitialDateTime = "initialDateTime",
InitialValue = "initialValue",
IsDecimalAllowed = "isDecimalAllowed",
Multiline = "multiline",
MinLength = "minLength",
MaxLength = "maxLength",
MinValue = "minValue",
MaxValue = "maxValue",
InitialChannel = "initialChannel",
InitialChannels = "initialChannels",
InitialConversation = "initialConversation",
InitialConversations = "initialConversations",
ResponseUrlEnabled = "responseUrlEnabled",
DefaultToCurrentConversation = "defaultToCurrentConversation",
Filter = "filter",
MinQueryLength = "minQueryLength",
OptionGroups = "optionGroups",
InitialUser = "initialUser",
InitialUsers = "initialUsers",
MaxSelectedItems = "maxSelectedItems",
Title = "title",
Submit = "submit",
Close = "close",
Deny = "deny",
ExcludeExternalSharedChannels = "excludeExternalSharedChannels",
ExcludeBotUsers = "excludeBotUsers",
Text = "text",
PrivateMetaData = "privateMetaData",
CallbackId = "callbackId",
Channel = "channel",
ClearOnClose = "clearOnClose",
NotifyOnClose = "notifyOnClose",
Description = "description",
Danger = "danger",
Primary = "primary",
AsUser = "asUser",
ThreadTs = "threadTs",
ReplaceOriginal = "replaceOriginal",
DeleteOriginal = "deleteOriginal",
ResponseType = "responseType",
PostAt = "postAt",
Ephemeral = "ephemeral",
InChannel = "inChannel",
Ts = "ts",
Color = "color",
Fallback = "fallback",
Attachments = "attachments",
DispatchAction = "dispatchAction",
DispatchActionConfig = "dispatchActionConfig",
OnEnterPressed = "onEnterPressed",
OnCharacterEntered = "onCharacterEntered",
DispatchActionOnEnterPressed = "dispatchActionOnEnterPressed",
DispatchActionOnCharacterEntered = "dispatchActionOnCharacterEntered",
InitialTime = "initialTime",
Mrkdwn = "mrkdwn",
IgnoreMarkdown = "ignoreMarkdown",
SubmitDisabled = "submitDisabled",
FocusOnLoad = "focusOnLoad",
AccessibilityLabel = "accessibilityLabel",
ProviderIconUrl = "providerIconUrl",
ProviderName = "providerName",
TitleUrl = "titleUrl",
ThumbnailUrl = "thumbnailUrl",
VideoUrl = "videoUrl",
MaxFiles = "maxFiles",
Filetypes = "filetypes",
/** Расширенные параметры нашего форка */
AsTitle = "asTitle",
Access = "access",
Analytics = "analytics",
MinOffset = "minOffset",
MaxOffset = "maxOffset",
CustomField = "customField",
NotCustom = "notCustom",
Directory = "directory",
ForTeams = "forTeams",
GetValue = "getValue",
OneSType = "oneSType",
Exclude = "exclude",
YearSince = "yearSince",
SubmitOnClick = "submitOnClick",
OnChange = "onChange",
OnSelect = "onSelect",
Variant = "variant",
RegExp = "regExp",
InitialOffset = "initialOffset",
InitialOffsetRange = "initialOffsetRange",
HintField = "hintField",
NoSubmit = "noSubmit"
}