This commit is contained in:
tungdo0602
2025-06-30 21:57:54 +07:00
parent 8b072d8b38
commit 70cd1133f8
10 changed files with 10 additions and 10 deletions

View File

@@ -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"
} }
], ],

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -10,7 +10,7 @@ class MediaGalleryItem {
*/ */
/** /**
* @param {MediaGalleryItem | APIMediaGalleryItem} [data={}] * @param {MediaGalleryItem | APIMediaGalleryItem} [data={}] The data
*/ */
constructor(data = {}) { constructor(data = {}) {
/** /**

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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 = {}) {
/** /**