Skip to content

Conversation

@matt-franklin225
Copy link
Contributor

@matt-franklin225 matt-franklin225 commented Nov 12, 2025

Description

Removed redundant GE variable created in courses.ts of the api's schema, importing that variable from lib/course.ts instead. Updated the names of the matching variable in other files that use this variable to inputGECategories for consistency.

Related Issue

Will close #142

Motivation and Context

This cleans up redundant code in the codebase.

How Has This Been Tested?

The changes have been tested on a local instance.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code involves a change to the database schema.
  • My code requires a change to the documentation.

@matt-franklin225
Copy link
Contributor Author

There really weren't many duplicate data models so I just left it as is (excluding the duplicate ge variables)

@matt-franklin225 matt-franklin225 changed the title Consolidating Course Data Models Fix: Consolidating Course Data Models Nov 19, 2025
@matt-franklin225 matt-franklin225 marked this pull request as draft November 19, 2025 23:09
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.

Extract common course data models

2 participants