Skip to content

@onlyworlds/sdk 4.217.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:53
· 45 commits to main since this release

Added

  • readCalendarShape(value) reads a calendar for editing: every check of readCalendarConfig but the profile's size bounds, giving { config, limit }, where limit is the first bound the calendar passes in validateCalendarConfig's own words, or null. It is null exactly where readCalendarConfig is null for a reason other than size. Since the bounds of 4.212.0 a calendar past one is no calendar to any reader, so its owner could not open it to cut it down; a builder can now load it and name what to cut. A config whose limit is set is for editing only: never hand it to a formatter or a date reader. readCalendarConfig answers as before. Also from @onlyworlds/sdk/calendar, with its type CalendarShape.