Skip to content

Commit

Permalink
delete old search functions (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeglova authored Apr 23, 2024
1 parent e45392c commit 501fa94
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 2,303 deletions.
33 changes: 0 additions & 33 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,3 @@
import type { Facets } from "./facet_display/types"

export enum LearningResourceType {
Course = "course",
Program = "program",
Userlist = "userlist",
LearningPath = "learningpath",
Video = "video",
Podcast = "podcast",
PodcastEpisode = "podcastepisode",
PseudoList = "favorites",
ResourceFile = "resourcefile",
Post = "post",
Comment = "comment",
Profile = "profile"
}

export const INITIAL_FACET_STATE: Facets = {
platform: [],
offered_by: [],
topic: [],
department: [],
level: [],
course_feature: [],
resource_type: [],
content_feature_type: []
}

export const LEARNING_RESOURCE_ENDPOINT = "resource"
export const CONTENT_FILE_ENDPOINT = "content_file"

export const COURSENUM_SORT_FIELD = "department_course_numbers.sort_coursenum"

export const DEPARTMENTS = {
1: "Civil and Environmental Engineering",
2: "Mechanical Engineering",
Expand Down
Loading

0 comments on commit 501fa94

Please sign in to comment.