mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Mark DataStores as public to directly display them in the docs. (#2268)
* make EmojiStore not Private anymore. because why have something private if there is priority functionality on that class? also that causes that the docs wont show it directly * make GuildChannelStore not private anymore because why have something private if there is priority functionality on that class? also that causes that the docs wont show it directly * make RoleStore not private anymore because why have something private if there is priority functionality on that class? also that causes that the docs wont show it directly * make ReactionStore not private anymore because why have something private if there is priority functionality on that class? also that causes that the docs wont show it directly * make all non private to stay consistent * fix merge conflicts because of other PRs.
This commit is contained in:
@@ -7,7 +7,6 @@ const lruable = ['group', 'dm'];
|
||||
|
||||
/**
|
||||
* Stores channels.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class ChannelStore extends DataStore {
|
||||
|
||||
@@ -7,7 +7,6 @@ const { TypeError } = require('../errors');
|
||||
/**
|
||||
* Stores the client presence and other presences.
|
||||
* @extends {PresenceStore}
|
||||
* @private
|
||||
*/
|
||||
class ClientPresenceStore extends PresenceStore {
|
||||
constructor(...args) {
|
||||
|
||||
@@ -7,7 +7,6 @@ const Permissions = require('../util/Permissions');
|
||||
|
||||
/**
|
||||
* Stores guild channels.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class GuildChannelStore extends DataStore {
|
||||
|
||||
@@ -6,7 +6,6 @@ const DataResolver = require('../util/DataResolver');
|
||||
|
||||
/**
|
||||
* Stores guild emojis.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class GuildEmojiStore extends DataStore {
|
||||
|
||||
@@ -5,7 +5,6 @@ const Guild = require('../structures/Guild');
|
||||
|
||||
/**
|
||||
* Stores guilds.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class GuildStore extends DataStore {
|
||||
|
||||
@@ -3,7 +3,6 @@ const { Presence } = require('../structures/Presence');
|
||||
|
||||
/**
|
||||
* Stores presences.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class PresenceStore extends DataStore {
|
||||
|
||||
@@ -3,7 +3,6 @@ const MessageReaction = require('../structures/MessageReaction');
|
||||
|
||||
/**
|
||||
* Stores reactions.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class ReactionStore extends DataStore {
|
||||
|
||||
@@ -5,7 +5,6 @@ const Permissions = require('../util/Permissions');
|
||||
|
||||
/**
|
||||
* Stores roles.
|
||||
* @private
|
||||
* @extends {DataStore}
|
||||
*/
|
||||
class RoleStore extends DataStore {
|
||||
|
||||
Reference in New Issue
Block a user