Skip to content

feat(calendars): resolved days, range delete and optional summary - #101

Merged
ysyneu merged 1 commit into
mainfrom
feat/calendar-days
Oct 14, 2026
Merged

ysyneu merged 1 commit into
mainfrom
feat/calendar-days

Conversation

@ysyneu

@ysyneu ysyneu commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

What

make sync-spec (flashduty-docs main) + make generate.

Calendars

  • CalEventListResponse.Days map[string]CalDay — resolved state of every day in the requested scope, keyed by YYYY-MM-DD. New CalDay{IsOff, EventID, Layer}; Layer is custom / holiday / weekly.
  • CalEventIDRequest adds StartAt / EndAt (clear the calendar's own events off [start_at, end_at)); EventID becomes omitempty. Pass either EventID or both dates.
  • CalEventUpsertRequest.Summary becomes omitempty.
  • Method docs for CalEventDelete / CalEventList / CalEventUpsert updated from the spec.

Other spec changes picked up by the sync

  • ScheduleFixedTimeNotifyInfo: Cycle documents day / week / month; new Days []int64.
  • LicenseListResponse.ReleaseLimited bool.
  • Work item Status / TargetStatus field docs list the allowed values.

All changes are additive or doc-only; no field removed or retyped.

Checks

  • go build ./..., go vet ./...
  • go test -race ./... — all packages pass

Sync the OpenAPI spec and regenerate.

Calendars:
- CalEventListResponse.Days: resolved state of every day in the scope,
  keyed by YYYY-MM-DD, as the new CalDay (IsOff, EventID, Layer).
- CalEventIDRequest gains StartAt/EndAt to clear a date range; EventID is
  now optional (pass one form or the other).
- CalEventUpsertRequest.Summary is optional.

Also picked up from the spec:
- ScheduleFixedTimeNotifyInfo: week/month cycles and Days.
- LicenseListResponse.ReleaseLimited.
- Work item status fields document their allowed values.
@ysyneu
ysyneu merged commit a13798a into main Oct 14, 2026
4 checks passed
@ysyneu
ysyneu deleted the feat/calendar-days branch October 14, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant