foundry-vtt-types
foundry-vtt-types copied to clipboard
Implement GetDataReturnType across all subclasses of Application
trafficstars
- The helper
GetDataReturnTypeshould be used for the invocation of all instances ofgetData - The interface should be named
Dataand inside the namespace for the class, e.g.ActorSheet.Data
Related, all instances of _renderInner should be typed as ReturnType<this["getData"]>
Realized I didn't post here. But for visibility, I'm going to give this a whirl.
Looks like the ones that are left are (sorted by file path, not class name):
- [x]
GridConfig - [ ]
ImagePopout - [ ]
JournalSheet - [ ]
RollTableConfig - [ ]
SceneConfig - [ ]
HeadsUpDisplay - [ ]
SceneControls - [ ]
BasePlaceableHUD - [ ]
MainMenu - [ ]
DrawingConfig - [ ]
DrawingHUD - [ ]
AmbientLightConfig - [ ]
NoteConfig - [ ]
AmbientSoundConfig - [ ]
TileConfig - [ ]
TileHUD - [ ]
TokenConfig - [ ]
DefaultTokenConfig - [ ]
TokenHUD - [ ]
WallConfig - [ ]
DocumentDirectory - [ ]
PackageConfiguration - [ ]
SidebarTab - [ ]
Sidebar - [ ]
Compendium - [ ]
InvitationLinks - [ ]
ModuleManagement - [ ]
PermissionConfig - [ ]
WorldConfig - [ ]
ChatLog - [ ]
CombatTracker - [ ]
CompendiumDirectory - [ ]
PlaylistDirectory - [ ]
Settings - [ ]
FrameViewer - [ ]
Dialog - [ ]
FilePicker
As of v13 Testing 1, here are the guaranteed survivors that need to be handled
- [ ] Application
- [ ] FormApplication
- [ ] DocumentSheet
- [ ] ActorSheet
- [ ] ItemSheet
- [ ] JournalSheet
- [ ] JournalPageSheet & subclasses
- [ ] Dialog
Unknown survivors
- AdventureImporter (request by premium creators to add back in)
Ticketed to be migrated in a pending release
- [ ] Filepicker
Staff have promised will be migrated by stable
- [ ] CameraViews
- [ ] InstallPackage
- [ ] SettingsConfig
- [ ] SetupPackages
- [ ] AVConfig
- [ ] DiceConfig
- [ ] DefaultSheetsConfig
- [ ] FontConfig
- [ ] PackageConfiguration
- [ ] DependencyResolution
- [ ] KeybindingsConfig
- [ ] ModuleManagement
- [ ] ToursManagement
- [ ] WorldConfig