diff --git a/src/lib/utils/code.ts b/src/lib/utils/code.ts index e173940dd..4eecaf2a2 100644 --- a/src/lib/utils/code.ts +++ b/src/lib/utils/code.ts @@ -48,6 +48,8 @@ const platformAliases: Record = { [Platform.ClientAndroidJava]: 'java', [Platform.ClientAndroidKotlin]: 'kotlin', [Platform.ClientApple]: 'swift', + [Platform.ClientGraphql]: 'graphql', + [Platform.ClientRest]: 'http', [Platform.ServerDart]: 'dart', [Platform.ServerDeno]: 'ts', [Platform.ServerDotNet]: 'cs', diff --git a/src/lib/utils/references.ts b/src/lib/utils/references.ts index 5cf4b245e..0d8555323 100644 --- a/src/lib/utils/references.ts +++ b/src/lib/utils/references.ts @@ -20,6 +20,8 @@ export enum Platform { ClientApple = 'client-apple', ClientAndroidKotlin = 'client-android-kotlin', ClientAndroidJava = 'client-android-java', + ClientGraphql = 'client-graphql', + ClientRest = 'client-rest', ServerDart = 'server-dart', ServerDeno = 'server-deno', ServerDotNet = 'server-dotnet', @@ -36,6 +38,8 @@ export const platformMap: Record = { [Platform.ClientWeb]: 'Web', [Platform.ClientAndroidKotlin]: 'Android (Kotlin)', [Platform.ClientAndroidJava]: 'Android (Java)', + [Platform.ClientGraphql]: 'GraphQL', + [Platform.ClientRest]: 'REST', [Platform.ServerDart]: 'Dart', [Platform.ServerDeno]: 'Deno', [Platform.ServerDotNet]: '.NET',