mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43: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.
|
* Stores channels.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class ChannelStore extends DataStore {
|
class ChannelStore extends DataStore {
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ const { TypeError } = require('../errors');
|
|||||||
/**
|
/**
|
||||||
* Stores the client presence and other presences.
|
* Stores the client presence and other presences.
|
||||||
* @extends {PresenceStore}
|
* @extends {PresenceStore}
|
||||||
* @private
|
|
||||||
*/
|
*/
|
||||||
class ClientPresenceStore extends PresenceStore {
|
class ClientPresenceStore extends PresenceStore {
|
||||||
constructor(...args) {
|
constructor(...args) {
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ const Permissions = require('../util/Permissions');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores guild channels.
|
* Stores guild channels.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class GuildChannelStore extends DataStore {
|
class GuildChannelStore extends DataStore {
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ const DataResolver = require('../util/DataResolver');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores guild emojis.
|
* Stores guild emojis.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class GuildEmojiStore extends DataStore {
|
class GuildEmojiStore extends DataStore {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ const Guild = require('../structures/Guild');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores guilds.
|
* Stores guilds.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class GuildStore extends DataStore {
|
class GuildStore extends DataStore {
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ const { Presence } = require('../structures/Presence');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores presences.
|
* Stores presences.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class PresenceStore extends DataStore {
|
class PresenceStore extends DataStore {
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ const MessageReaction = require('../structures/MessageReaction');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores reactions.
|
* Stores reactions.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class ReactionStore extends DataStore {
|
class ReactionStore extends DataStore {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ const Permissions = require('../util/Permissions');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores roles.
|
* Stores roles.
|
||||||
* @private
|
|
||||||
* @extends {DataStore}
|
* @extends {DataStore}
|
||||||
*/
|
*/
|
||||||
class RoleStore extends DataStore {
|
class RoleStore extends DataStore {
|
||||||
|
|||||||
Reference in New Issue
Block a user