File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,23 @@ export interface EntityRefField {
237237 icon ?: EntityIconField ;
238238}
239239
240+ export interface EntityBooleanCheckboxField {
241+ type : string ;
242+ text : string ;
243+ description ?: string ;
244+ }
245+
246+ export interface EntityBooleanTextField {
247+ type : string ;
248+ true_text : string ;
249+ false_text : string ;
250+ true_description ?: string ;
251+ false_description ?: string ;
252+ }
253+
240254export interface EntityTimestampField {
241255 value : number ;
242256 label ?: string ;
243- link ?: string ;
244- icon ?: EntityIconField ;
245257 type ?: string ;
246258 edit ?: EntityEditSupport ;
247259}
@@ -272,6 +284,7 @@ export interface EntityCustomField {
272284 item_type ?: string ;
273285 user ?: EntityUserIDField | EntityUserField ;
274286 entity_ref ?: EntityRefField ;
287+ boolean ?: EntityBooleanCheckboxField | EntityBooleanTextField ;
275288}
276289
277290export enum CustomFieldType {
@@ -284,6 +297,9 @@ export enum CustomFieldType {
284297 ChannelId = 'slack#/types/channel_id' ,
285298 User = 'slack#/types/user' ,
286299 EntityRef = 'slack#/types/entity_ref' ,
300+ Boolean = 'boolean' ,
301+ Link = 'slack#/types/link' ,
302+ Email = 'slack#/types/email' ,
287303}
288304
289305export interface EntityActionButton {
You can’t perform that action at this time.
0 commit comments