From c2be1224991bbecf30d4a9bdc307a79ee5f46ac3 Mon Sep 17 00:00:00 2001 From: kl4us Date: Mon, 19 Jun 2023 17:30:58 +0200 Subject: [PATCH] add grade 'UIAA' --- src/db/ClimbTypes.ts | 5 +++++ src/graphql/schema/Climb.gql | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/db/ClimbTypes.ts b/src/db/ClimbTypes.ts index d06c0ce4..29100bc9 100644 --- a/src/db/ClimbTypes.ts +++ b/src/db/ClimbTypes.ts @@ -41,6 +41,11 @@ export interface IClimbProps { /** Total length in metersif known. We will support individual pitch lenth in the future. */ length?: number /** +<<<<<<< HEAD +======= + + /** +>>>>>>> 17f9b63... fix * Grades appear within as an I18n-safe format. * We achieve this via a larger data encapsulation, and perform interpretation and comparison * with the [sandbag library](https://github.com/OpenBeta/sandbag) diff --git a/src/graphql/schema/Climb.gql b/src/graphql/schema/Climb.gql index 8e0554a6..22665932 100644 --- a/src/graphql/schema/Climb.gql +++ b/src/graphql/schema/Climb.gql @@ -149,6 +149,12 @@ type GradeType { https://www.99boulders.com/bouldering-grades#font-scale-aka-fontainebleau-scale """ font: String + """ + UIAA grading system, typically used in Central Europe (e.g. Germany, Austria, Switzerland). + This database uses Roman numerals with +/- signs, e.g. "7-", "7", "7+" (using Arabic numerals, like "VII-", is not supported). + https://en.wikipedia.org/wiki/Grade_(climbing)#UIAA + """ + uiaa: String } """