mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
feat(structures): add entitlement structure (#11377)
* feat(structures): add entitlement structure * feat(structures): create and update barrel exports * chore: reword comment for entitlment deleted getter to be clearer * feat(structures): add symbols to optimise ends_at, starts_at fields * feat(structures): optimise starts_at and ends_at fields * feat(structures): manage Date and Discord ISOs appropriately * chore: remove accidental whitespace * chore: correct name styles on symbols (remove 'at') * chore: correct name styles on AtTimestamp fields (remove 'at') * chore: call super.toJSON on toJSON override * chore: run prettier to clear linting/formatter errors * chore: correct usage of optimizeData * chore: update DataTemplate override for Entitlement * chore: update class default type param, update DataTemplate doc * Apply suggestions from code review Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> --------- Co-authored-by: Almeida <github@almeidx.dev> Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export * from './bitfields/index.js';
|
||||
export * from './channels/index.js';
|
||||
export * from './emojis/index.js';
|
||||
export * from './entitlements/index.js';
|
||||
export * from './interactions/index.js';
|
||||
export * from './invites/index.js';
|
||||
export * from './messages/index.js';
|
||||
|
||||
Reference in New Issue
Block a user