mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 12:57:49 +00:00
fix: alot of stuff
This commit is contained in:
40
src/lib/utils/references.ts
Normal file
40
src/lib/utils/references.ts
Normal 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'
|
||||
};
|
||||
Reference in New Issue
Block a user