guilded.ts
Advanced tools
Comparing version 0.0.0-dev-20220727134214 to 0.0.0-dev-20220728144940
# guilded.ts | ||
## 0.0.0-dev-20220727134214 | ||
## 0.0.0-dev-20220728144940 | ||
@@ -15,5 +15,7 @@ ### Minor Changes | ||
- 9cac330: feat: add `mentions` to forum topics | ||
- Updated dependencies [9cac330] | ||
- Updated dependencies [4d06b33] | ||
- guilded-api-typings@0.0.0-dev-20220727134214 | ||
- @guildedts/rest@0.0.0-dev-20220727134214 | ||
- guilded-api-typings@0.0.0-dev-20220728144940 | ||
- @guildedts/rest@0.0.0-dev-20220728144940 | ||
- @guildedts/builders@0.2.8 | ||
@@ -20,0 +22,0 @@ - @guildedts/ws@0.4.3 |
@@ -30,2 +30,4 @@ "use strict"; | ||
content; | ||
/** The mentions of the forum topic. */ | ||
mentions; | ||
/** | ||
@@ -49,2 +51,3 @@ * @param channel The forum channel the topic belongs to. | ||
this.content = 'content' in raw ? raw.content : undefined; | ||
this.mentions = 'mentions' in raw ? raw.mentions : undefined; | ||
if (cache) | ||
@@ -51,0 +54,0 @@ channel.topics.cache.set(this.id, this); |
{ | ||
"name": "guilded.ts", | ||
"version": "0.0.0-dev-20220727134214", | ||
"version": "0.0.0-dev-20220728144940", | ||
"description": "A powerful NPM module that allows you to easily interact with the Guilded API.", | ||
@@ -31,5 +31,5 @@ "repository": { | ||
"@guildedts/builders": "^0.2.8", | ||
"@guildedts/rest": "^0.0.0-dev-20220727134214", | ||
"@guildedts/rest": "^0.0.0-dev-20220728144940", | ||
"@guildedts/ws": "^0.4.3", | ||
"guilded-api-typings": "^0.0.0-dev-20220727134214", | ||
"guilded-api-typings": "^0.0.0-dev-20220728144940", | ||
"node-fetch": "^2.6.7" | ||
@@ -36,0 +36,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { APIForumTopic, APIForumTopicEditPayload, APIForumTopicSummary } from 'guilded-api-typings'; | ||
import { APIForumTopic, APIForumTopicEditPayload, APIForumTopicSummary, APIMentions } from 'guilded-api-typings'; | ||
import { FetchOptions } from '../managers/BaseManager'; | ||
@@ -30,2 +30,4 @@ import { Base } from './Base'; | ||
readonly content?: string; | ||
/** The mentions of the forum topic. */ | ||
readonly mentions?: APIMentions; | ||
/** | ||
@@ -32,0 +34,0 @@ * @param channel The forum channel the topic belongs to. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
499250
7629