All checks were successful
Build and Push Docker Image / build (push) Successful in 8m3s
- Remove RoutingRule model and routing engine (replaced by direct award assignment) - Simplify RoutingMode enum: PARALLEL/POST_MAIN → SHARED, keep EXCLUSIVE - Remove routing router, routing-rules-editor, and related tests - Update pipeline, award, and notification code to remove routing references - Seed: include all CSV entries (no filtering/dedup), AI screening handles duplicates - Seed: fix non-breaking space (U+00A0) bug in category/issue mapping - Stage filtering: add duplicate detection that flags projects for admin review Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
99 lines
3.3 KiB
TypeScript
99 lines
3.3 KiB
TypeScript
import { router } from '../trpc'
|
|
import { programRouter } from './program'
|
|
import { projectRouter } from './project'
|
|
import { userRouter } from './user'
|
|
import { assignmentRouter } from './assignment'
|
|
import { evaluationRouter } from './evaluation'
|
|
import { fileRouter } from './file'
|
|
import { exportRouter } from './export'
|
|
import { auditRouter } from './audit'
|
|
import { settingsRouter } from './settings'
|
|
import { gracePeriodRouter } from './gracePeriod'
|
|
// Phase 2 routers
|
|
import { learningResourceRouter } from './learningResource'
|
|
import { partnerRouter } from './partner'
|
|
import { notionImportRouter } from './notion-import'
|
|
import { typeformImportRouter } from './typeform-import'
|
|
// Phase 2B routers
|
|
import { tagRouter } from './tag'
|
|
import { applicantRouter } from './applicant'
|
|
import { liveVotingRouter } from './live-voting'
|
|
import { analyticsRouter } from './analytics'
|
|
// Storage routers
|
|
import { avatarRouter } from './avatar'
|
|
import { logoRouter } from './logo'
|
|
// Applicant system routers
|
|
import { applicationRouter } from './application'
|
|
import { mentorRouter } from './mentor'
|
|
import { filteringRouter } from './filtering'
|
|
import { specialAwardRouter } from './specialAward'
|
|
import { notificationRouter } from './notification'
|
|
// Feature expansion routers
|
|
import { messageRouter } from './message'
|
|
import { webhookRouter } from './webhook'
|
|
import { projectPoolRouter } from './project-pool'
|
|
import { wizardTemplateRouter } from './wizard-template'
|
|
import { dashboardRouter } from './dashboard'
|
|
// Round redesign Phase 2 routers
|
|
import { pipelineRouter } from './pipeline'
|
|
import { stageRouter } from './stage'
|
|
|
|
import { stageFilteringRouter } from './stageFiltering'
|
|
import { stageAssignmentRouter } from './stageAssignment'
|
|
import { cohortRouter } from './cohort'
|
|
import { liveRouter } from './live'
|
|
import { decisionRouter } from './decision'
|
|
import { awardRouter } from './award'
|
|
|
|
/**
|
|
* Root tRPC router that combines all domain routers
|
|
*/
|
|
export const appRouter = router({
|
|
program: programRouter,
|
|
project: projectRouter,
|
|
user: userRouter,
|
|
assignment: assignmentRouter,
|
|
evaluation: evaluationRouter,
|
|
file: fileRouter,
|
|
export: exportRouter,
|
|
audit: auditRouter,
|
|
settings: settingsRouter,
|
|
gracePeriod: gracePeriodRouter,
|
|
// Phase 2 routers
|
|
learningResource: learningResourceRouter,
|
|
partner: partnerRouter,
|
|
notionImport: notionImportRouter,
|
|
typeformImport: typeformImportRouter,
|
|
// Phase 2B routers
|
|
tag: tagRouter,
|
|
applicant: applicantRouter,
|
|
liveVoting: liveVotingRouter,
|
|
analytics: analyticsRouter,
|
|
// Storage routers
|
|
avatar: avatarRouter,
|
|
logo: logoRouter,
|
|
// Applicant system routers
|
|
application: applicationRouter,
|
|
mentor: mentorRouter,
|
|
filtering: filteringRouter,
|
|
specialAward: specialAwardRouter,
|
|
notification: notificationRouter,
|
|
// Feature expansion routers
|
|
message: messageRouter,
|
|
webhook: webhookRouter,
|
|
projectPool: projectPoolRouter,
|
|
wizardTemplate: wizardTemplateRouter,
|
|
dashboard: dashboardRouter,
|
|
// Round redesign Phase 2 routers
|
|
pipeline: pipelineRouter,
|
|
stage: stageRouter,
|
|
stageFiltering: stageFilteringRouter,
|
|
stageAssignment: stageAssignmentRouter,
|
|
cohort: cohortRouter,
|
|
live: liveRouter,
|
|
decision: decisionRouter,
|
|
award: awardRouter,
|
|
})
|
|
|
|
export type AppRouter = typeof appRouter
|