mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 04:22:09 +00:00
fix
This commit is contained in:
@@ -2,7 +2,7 @@ import { writable } from 'svelte/store';
|
||||
import type { Language } from './code';
|
||||
import { browser } from '$app/environment';
|
||||
|
||||
const allVersions = ['1.4.x', '1.3.x', '1.2.x', '1.1.x', '1.0.x', '0.15.x', 'cloud'] as const;
|
||||
const allVersions = ['1.5.x', '1.4.x', '1.3.x', '1.2.x', '1.1.x', '1.0.x', '0.15.x', 'cloud'] as const;
|
||||
|
||||
export type Version = (typeof allVersions)[number];
|
||||
|
||||
@@ -19,7 +19,8 @@ export enum Service {
|
||||
Locale = 'locale',
|
||||
Storage = 'storage',
|
||||
Teams = 'teams',
|
||||
Users = 'users'
|
||||
Users = 'users',
|
||||
Messaging = 'messaging'
|
||||
}
|
||||
|
||||
export enum Platform {
|
||||
@@ -67,7 +68,7 @@ export const platformMap: Record<Language | string, string> = {
|
||||
sh: 'Shell',
|
||||
js: 'JavaScript',
|
||||
ts: 'TypeScript',
|
||||
jsx: 'React',
|
||||
jsx: 'React',
|
||||
tsx: 'React',
|
||||
typescript: 'TypeScript',
|
||||
dart: 'Dart',
|
||||
@@ -110,7 +111,8 @@ export const serviceMap: Record<Service, string> = {
|
||||
[Service.Locale]: 'Locale',
|
||||
[Service.Storage]: 'Storage',
|
||||
[Service.Teams]: 'Teams',
|
||||
[Service.Users]: 'Users'
|
||||
[Service.Users]: 'Users',
|
||||
[Service.Messaging]: 'Messaging'
|
||||
};
|
||||
|
||||
export const preferredVersion = writable<Version | null>(
|
||||
|
||||
Reference in New Issue
Block a user