discord.js/src/stores
bdistin c62f01f0e4 refactor(BitField): base class for Permissions, ActivityFlags, Speaking (#2765)
* abstract BitField from Permissions

* reduce useless code, improve docs

* add a ReadOnly identifier to the return type of Bitfield#freeze()

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-1.html#partial-readonly-record-and-pick

* fix the RangeError

* update docs, convert Speaking and ActivityFlags to bitfields

* fix some docs

* Fix Speaking BitField oops

* docs for oops

* more incorrect docs

* Fix incorrectly named property

* add new classes to index

* fix missing @extends docs

* default bitfield resolve to 0, and cleanup defaulting everywhere

Also removes GuildMember#missiongPermissions() alias that had incorrect behavior

* Breaking: Rename Overwrite allowed and denied to allow and deny

To be consistent with the api's naming

* fix setSpeaking usage to bitfields instead of booleans

* fix speaking bug in playChunk

* docs: Updated typings

* fix: BitFieldResolvable should use RecursiveArray

* bugfix/requested change

* typings: Cleanup (#2)

* typings: Fix BitField#{toArray,@@iterator} output type

* typings: correct PermissionOverwrites property names and nitpicks
2018-08-21 11:56:41 +02:00
..
ChannelStore.js
DataStore.js fix(Collection): use Symbol.species for creating derived collections (#2715) 2018-08-10 10:57:33 +02:00
GuildChannelStore.js refactor(BitField): base class for Permissions, ActivityFlags, Speaking (#2765) 2018-08-21 11:56:41 +02:00
GuildEmojiRoleStore.js refactor: role stores (#2478) 2018-04-24 15:52:00 -05:00
GuildEmojiStore.js docs: fix a number of spelling mistakes (#2469) 2018-04-13 20:50:47 +02:00
GuildMemberRoleStore.js fix: Added everyone role to GuildMemberRoleStore#_filtered (#2514) 2018-04-28 13:40:24 -05:00
GuildMemberStore.js fix: GuildMemberStore now works with custom structures again 2018-08-13 16:21:11 +01:00
GuildStore.js refactor: remove user bot methods (#2559) 2018-07-25 22:14:23 -04:00
MessageStore.js refactor: remove user bot methods (#2559) 2018-07-25 22:14:23 -04:00
PresenceStore.js fix(PresenceStore): pass user id as extra (#2733) 2018-08-11 18:24:30 +02:00
ReactionStore.js
ReactionUserStore.js fix(ReactionUserStore): fetch inconsistency 2018-06-05 00:33:52 -05:00
RoleStore.js docs fix: RoleResolvable typedef missing and incorrecty documented methods (#2640) 2018-08-10 11:08:48 +02:00
UserStore.js refactor: remove user bot methods (#2559) 2018-07-25 22:14:23 -04:00
VoiceStateStore.js voice state fixes 2018-08-10 15:15:52 +01:00