Files
discord.js/packages
Asad 3d74122215 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>
2026-01-15 23:43:39 +00:00
..
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-10 17:53:48 +00:00
2025-12-12 13:01:25 +00:00