League-of-Foundry-Developers / foundry-vtt-types

Unofficial type declarations for the Foundry Virtual Tabletop API
MIT License
111 stars 52 forks source link

Refine document type references to use new CONST pieces #2632

Closed JPMeehan closed 1 month ago

JPMeehan commented 1 month ago
  1. Fix foundry.CONST.ALL_DOCUMENT_TYPES to be available as an array
  2. Refactor DocumentType helper type to point to foundry.CONST.ALL_DOCUMENT_TYPES
  3. Audit usage of DocumentType helper

May have issues around Regions not being implemented yet.