Skip to content

#4248 Add process and factories - #4357

Open
Santiordon wants to merge 5 commits into
developfrom
#4248-sponsor-data
Open

#4248 Add process and factories#4357
Santiordon wants to merge 5 commits into
developfrom
#4248-sponsor-data

Conversation

@Santiordon

Copy link
Copy Markdown
Contributor

Changes

Add process and factory for sponsor data.
Tables affected:

  • Sponsor_Contact
  • Sponsor_Tier
  • Sponsor
  • Prospective_Sponsor
  • Sponsor_Task

Checklist

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #4248 (issue #)

@Santiordon Santiordon self-assigned this Jul 30, 2026
return sponsor;
}

private async writeProspective(planned: PlannedProspective, organizationId: string): Promise<Prospective_Sponsor> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should set dateDeleted and create the matching Sponsor row when status === ACCEPTED

}) &&
activeYear + 1 <= currentYear
) {
activeYear = activeYear++;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: just activeYear++

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.

[Seed Data] - Generate Sponsor Data

2 participants