Skip to content

feat: SmartHabit resource (read-only)#1

Open
ByteExceptionM wants to merge 1 commit into
developfrom
feature/smart-habit
Open

feat: SmartHabit resource (read-only)#1
ByteExceptionM wants to merge 1 commit into
developfrom
feature/smart-habit

Conversation

@ByteExceptionM
Copy link
Copy Markdown
Owner

Adds typed SmartHabit resource for Reclaim's newer recurring-habit model (the one that superseded DailyHabit).

Read-only this release. Write ops (create / update / planner actions) need live API probing before they ship — open issue if needed sooner.

  • SmartHabit.list() / SmartHabit.get(lineageId) / sh.refresh()
  • Convenience accessors: title, idealTime, durationMinMins, durationMaxMins, recurrenceactiveSeries.*
  • id aliased to lineageId so generic BaseResource methods work
  • Nested types: SmartHabitSeries, SmartHabitRecurrence, SmartHabitAttendee, SmartHabitTimezone, SmartHabitPeriod, SmartHabitInit
  • BaseResource.id refactored from declared property to accessor with _id backing (enables subclass override)
  • Version bump 0.1.0 → 0.2.0

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