Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@slack/types

Package Overview
Dependencies
Maintainers
11
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/types - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

LICENSE

18

dist/index.d.ts

@@ -29,4 +29,4 @@ export interface Dialog {

export interface View {
title: PlainTextElement;
type: 'modal';
title?: PlainTextElement;
type: 'home' | 'modal';
blocks: (KnownBlock | Block)[];

@@ -45,6 +45,2 @@ callback_id?: string;

}
export interface UserElement {
type: 'user';
user_id: string;
}
export interface PlainTextElement {

@@ -174,2 +170,8 @@ type: 'plain_text';

}
export interface RadioButtons extends Action {
type: 'radio_buttons';
initial_option?: Option;
options: Option[];
confirm?: Confirm;
}
export interface PlainTextInput extends Action {

@@ -196,7 +198,7 @@ type: 'plain_text_input';

type: 'context';
elements: (ImageElement | UserElement | PlainTextElement | MrkdwnElement)[];
elements: (ImageElement | PlainTextElement | MrkdwnElement)[];
}
export interface ActionsBlock extends Block {
type: 'actions';
elements: (Button | Overflow | Datepicker | Select | Action)[];
elements: (Button | Overflow | Datepicker | Select | RadioButtons | Action)[];
}

@@ -203,0 +205,0 @@ export interface DividerBlock extends Block {

{
"name": "@slack/types",
"version": "1.2.1",
"version": "1.3.0",
"description": "Shared type definitions for the Node Slack SDK",

@@ -42,3 +42,4 @@ "author": "Slack Technologies, Inc.",

"typescript": "^3.3.3333"
}
},
"gitHead": "bc2f0d72b0466c202f2c13623c972f1b50a4699d"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc