fix 2
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"quoteProps": "as-needed",
|
"quoteProps": "as-needed",
|
||||||
"trailingComma": "all",
|
"trailingComma": "all",
|
||||||
"endOfLine": "lf",
|
"endOfLine": "auto",
|
||||||
"arrowParens": "avoid"
|
"arrowParens": "avoid"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class ContainerComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ContainerComponent | APIContainerComponent} [data={}]
|
* @param {ContainerComponent | APIContainerComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'CONTAINER' }, data);
|
super({ type: 'CONTAINER' }, data);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class FileComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {FileComponent | APIFileComponent} [data={}]
|
* @param {FileComponent | APIFileComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'FILE' }, data);
|
super({ type: 'FILE' }, data);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class MediaGalleryComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {MediaGalleryComponent | APIMediaGalleryComponent} [data={}]
|
* @param {MediaGalleryComponent | APIMediaGalleryComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'MEDIA_GALLERY' }, data);
|
super({ type: 'MEDIA_GALLERY' }, data);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class MediaGalleryItem {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {MediaGalleryItem | APIMediaGalleryItem} [data={}]
|
* @param {MediaGalleryItem | APIMediaGalleryItem} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class SectionComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {SectionComponent | APISectionComponent} [data={}]
|
* @param {SectionComponent | APISectionComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'SECTION' }, data);
|
super({ type: 'SECTION' }, data);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class SeparatorComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {SeparatorComponent | APISeparatorComponent} [data={}]
|
* @param {SeparatorComponent | APISeparatorComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'SEPARATOR' }, data);
|
super({ type: 'SEPARATOR' }, data);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class TextDisplayComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {TextDisplayComponent | APITextDisplayComponent} [data={}]
|
* @param {TextDisplayComponent | APITextDisplayComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'TEXT_DISPLAY' }, data);
|
super({ type: 'TEXT_DISPLAY' }, data);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class ThumbnailComponent extends BaseMessageComponent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ThumbnailComponent | APIThumbnailComponent} [data={}]
|
* @param {ThumbnailComponent | APIThumbnailComponent} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
super({ type: 'THUMBNAIL' }, data);
|
super({ type: 'THUMBNAIL' }, data);
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ class UnfurledMediaItem {
|
|||||||
* @property {string} [url] Supports arbitrary urls and `attachment://<filename>` references
|
* @property {string} [url] Supports arbitrary urls and `attachment://<filename>` references
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @param {UnfurledMediaItem | APIUnfurledMediaItem} [data={}]
|
* @param {UnfurledMediaItem | APIUnfurledMediaItem} [data={}] The data
|
||||||
*/
|
*/
|
||||||
constructor(data = {}) {
|
constructor(data = {}) {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user