feat: add rest and graphql

This commit is contained in:
Torsten Dittmann
2023-09-19 11:24:33 +02:00
parent ef1191c4b8
commit b5a6fa779f
2 changed files with 6 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ const platformAliases: Record<Platform, keyof typeof languages> = {
[Platform.ClientAndroidJava]: 'java', [Platform.ClientAndroidJava]: 'java',
[Platform.ClientAndroidKotlin]: 'kotlin', [Platform.ClientAndroidKotlin]: 'kotlin',
[Platform.ClientApple]: 'swift', [Platform.ClientApple]: 'swift',
[Platform.ClientGraphql]: 'graphql',
[Platform.ClientRest]: 'http',
[Platform.ServerDart]: 'dart', [Platform.ServerDart]: 'dart',
[Platform.ServerDeno]: 'ts', [Platform.ServerDeno]: 'ts',
[Platform.ServerDotNet]: 'cs', [Platform.ServerDotNet]: 'cs',

View File

@@ -20,6 +20,8 @@ export enum Platform {
ClientApple = 'client-apple', ClientApple = 'client-apple',
ClientAndroidKotlin = 'client-android-kotlin', ClientAndroidKotlin = 'client-android-kotlin',
ClientAndroidJava = 'client-android-java', ClientAndroidJava = 'client-android-java',
ClientGraphql = 'client-graphql',
ClientRest = 'client-rest',
ServerDart = 'server-dart', ServerDart = 'server-dart',
ServerDeno = 'server-deno', ServerDeno = 'server-deno',
ServerDotNet = 'server-dotnet', ServerDotNet = 'server-dotnet',
@@ -36,6 +38,8 @@ export const platformMap: Record<Language, string> = {
[Platform.ClientWeb]: 'Web', [Platform.ClientWeb]: 'Web',
[Platform.ClientAndroidKotlin]: 'Android (Kotlin)', [Platform.ClientAndroidKotlin]: 'Android (Kotlin)',
[Platform.ClientAndroidJava]: 'Android (Java)', [Platform.ClientAndroidJava]: 'Android (Java)',
[Platform.ClientGraphql]: 'GraphQL',
[Platform.ClientRest]: 'REST',
[Platform.ServerDart]: 'Dart', [Platform.ServerDart]: 'Dart',
[Platform.ServerDeno]: 'Deno', [Platform.ServerDeno]: 'Deno',
[Platform.ServerDotNet]: '.NET', [Platform.ServerDotNet]: '.NET',