foundry-vtt-types
foundry-vtt-types copied to clipboard
Update ClientSettings
trafficstars
resources/app/client/core/settings.js
Possibly blocked by #1606 and/or will cause merge issues.
I've added support for DataModels and DataFields so this shouldn't be blocked anymore.
Note there are some unresolved questions with settings:
- Is it intentional that providing something like a SetField basically behaves identically to an ArrayField?
- When does undefined get replaced with null? In all cases? What about functions, data models, data fields, etc.? I can tell that there's some substitution of undefined into null but I can't tell what cases it applies to.
JPMeehan provided these Foundry issues: https://github.com/foundryvtt/foundryvtt/issues/11613 https://github.com/foundryvtt/foundryvtt/issues/11629