Skip to content

feat: use inheritedResourceAllocations for timeslot assigned resources - #15

Merged
oskarbruening merged 3 commits into
mainfrom
feat/timeslot-inherited-resource-allocations
Jul 13, 2026
Merged

feat: use inheritedResourceAllocations for timeslot assigned resources#15
oskarbruening merged 3 commits into
mainfrom
feat/timeslot-inherited-resource-allocations

Conversation

@oskarbruening

Copy link
Copy Markdown
Collaborator

Summary

Assigned resources on timeslots now come from inheritedResourceAllocations instead of resourceAllocations, which reflects how assigned resources actually resolve for a timeslot.

  • Both TIMESLOTS_QUERY and TIMESLOT_BY_ID_QUERY fetch inheritedResourceAllocations, adding allocation status and dropping the unused resourcePool.id.
  • AssignedResource model gains status: string and drops id (its only source, the pool id, is no longer fetched).
  • Converter and raw response shapes updated accordingly.

Breaking change

AssignedResource.id is removed from the public model. Consumers keyed resources by accountUserId/name already; the pool id was not useful.

Test plan

  • npm run typecheck
  • Full suite: 631 tests pass; coverage 99.85% lines / 97.11% branches (>95% gate)
  • npm run lint clean

🤖 Generated with Claude Code

oskarbruening and others added 3 commits July 13, 2026 17:44
Assigned resources on timeslots are sourced from inheritedResourceAllocations
rather than resourceAllocations. This adds the allocation status and drops the
resource-pool id (unused), surfacing status on the AssignedResource model.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oskarbruening
oskarbruening merged commit 9d6a9c4 into main Jul 13, 2026
2 checks passed
@oskarbruening
oskarbruening deleted the feat/timeslot-inherited-resource-allocations branch July 13, 2026 21:46
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