Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/db/ClimbSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ const GradeTypeSchema = new Schema<GradeScalesTypes>({
brazilian_crux: { type: Schema.Types.String, required: false },
french: { type: Schema.Types.String, required: false },
font: { type: Schema.Types.String, required: false },
UIAA: { type: Schema.Types.String, required: false }
UIAA: { type: Schema.Types.String, required: false },
wi: { type: Schema.Types.String, required: false }
}, { _id: false })

const PitchSchema = new mongoose.Schema({
Expand Down
9 changes: 0 additions & 9 deletions src/db/ClimbTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@ export enum SafetyType {
X = 'X',
}

export interface IGradeType {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this appears to be unused.

yds?: string
ewbank?: string
brazilianCrux?: string
french?: string
font?: string
uiaa?: string
}

/**
* What sort of climb is this? Routes can combine these fields, which is why
* this is not an enumeration.
Expand Down
5 changes: 5 additions & 0 deletions src/graphql/schema/Climb.gql
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ type GradeType {
https://en.wikipedia.org/wiki/Grade_(climbing)#UIAA
"""
uiaa: String
"""
Water Ice Grading System
https://en.wikipedia.org/wiki/Ice_climbing#WI-grades
"""
wi: String
}

"""
Expand Down
Loading