@aacebo/echo
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -47,3 +47,3 @@ export interface Action<T = any> { | ||
} | ||
export type ControlBlock = Input | Option | Select | ChatSelect | UserSelect; | ||
export type ControlBlock = Input | Option | Select | ChatSelect | UserSelect | Poll | PollOption; | ||
export interface Input { | ||
@@ -92,2 +92,14 @@ readonly id?: string; | ||
} | ||
export interface Poll { | ||
readonly id?: string; | ||
readonly type: 'poll'; | ||
readonly title: string; | ||
readonly options: PollOption[]; | ||
} | ||
export interface PollOption { | ||
readonly id?: string; | ||
readonly type: 'poll_option'; | ||
readonly label: string; | ||
readonly value: number; | ||
} | ||
export type MediaBlock = Audio | File | Image | Video; | ||
@@ -94,0 +106,0 @@ export interface Audio { |
{ | ||
"name": "@aacebo/echo", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52305
1048