mirror of
https://github.com/outline/outline.git
synced 2026-11-22 22:02:35 +03:00
Stores the re-verification cadence as an ISO 8601 duration string (e.g. P30D, P6M, P1Y) instead of an integer number of days, matching the period format already used by date filters. This also allows calendar-aware cadences such as months and years. - document and collection verificationInterval columns become strings, and the team preference becomes a duration string - new parseISO8601Duration and addISO8601Duration helpers in shared/utils/date.ts build on the existing isISO8601Duration validation, and a zodISO8601DurationType schema helper validates the value at the API and MCP boundaries, rejecting negative and zero-length durations Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mb5McXaNbEDyyCZXPAdGAY