Skip to content

[SSF 170] - New Endpoints for FM Required Actions#139

Open
dburkhart07 wants to merge 6 commits intomainfrom
ddb/SSF-170-endpoints-for-fm-required-donations
Open

[SSF 170] - New Endpoints for FM Required Actions#139
dburkhart07 wants to merge 6 commits intomainfrom
ddb/SSF-170-endpoints-for-fm-required-donations

Conversation

@dburkhart07
Copy link
Copy Markdown

@dburkhart07 dburkhart07 commented Mar 27, 2026

ℹ️ Issue

Closes #170

📝 Description

  • Added new DTO for confirming donation item details
  • Created new donation endpoint to update the donation item details
  • Update the order tracking to require both tracking link and shipping cost
  • Added logic for both endpoints to fulfill the donation when appropriate (see ticket)
  • Wrote/updated tests for each

✔️ Verification

  • Tested endpoints
  • Ensured all tests passed

@dburkhart07 dburkhart07 marked this pull request as ready for review March 30, 2026 04:10
@dburkhart07 dburkhart07 changed the title Initial implementation [SSF 170] - New Endpoints for FM Required Actions Mar 30, 2026
relations: { allocations: { order: true } },
});

const allItemsFulfilled = items.every(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we abstract this logic to utils and create a method like donationReadyToFulfill

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can only include logic without repo usage, since it needs to be put into the utils folder. I created a boolean function that takes in the donation items, which should reduce complexity

@sam-schu sam-schu self-requested a review March 30, 2026 20:05
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.

2 participants