fix: alot of stuff

This commit is contained in:
Torsten Dittmann
2023-09-12 17:36:30 +02:00
parent 27a5d9873a
commit 45e217ae21
5 changed files with 97 additions and 23 deletions

View File

@@ -0,0 +1,40 @@
export const versions = ['1.3.x'];
export enum Service {
Account = 'account',
Avatars = 'avatars',
Database = 'database',
Functions = 'functions',
Health = 'health',
Locale = 'locale',
Storage = 'storage',
Teams = 'teams'
}
export enum Platform {
ClientApple = 'client-apple',
ClientFlutter = 'client-flutter',
ClientWeb = 'client-web',
ServerDart = 'server-dart',
ServerDeno = 'server-deno',
ServerDotNet = 'server-dotnet',
ServerNodeJs = 'server-nodejs',
ServerPhp = 'server-php',
ServerPython = 'server-python',
ServerRuby = 'server-ruby',
ServerSwift = 'server-swift'
}
export const languageMap: Record<Platform, string> = {
[Platform.ClientApple]: 'swift',
[Platform.ClientFlutter]: 'dart',
[Platform.ClientWeb]: 'js',
[Platform.ServerDart]: 'dart',
[Platform.ServerDeno]: 'ts',
[Platform.ServerDotNet]: 'cs',
[Platform.ServerNodeJs]: 'js',
[Platform.ServerPhp]: 'php',
[Platform.ServerPython]: 'py',
[Platform.ServerRuby]: 'rb',
[Platform.ServerSwift]: 'swift'
};