mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 12:57:49 +00:00
pretty selects everywhere
This commit is contained in:
@@ -2,15 +2,13 @@ import { writable } from 'svelte/store';
|
||||
import type { Language } from './code';
|
||||
import { browser } from '$app/environment';
|
||||
|
||||
export type Version = '1.4.x' | '1.3.x' | '1.2.x' | '1.1.x' | '1.0.x' | '0.15.x' | 'cloud';
|
||||
export const versions: Readonly<Array<Omit<Version, 'cloud'>>> = [
|
||||
'1.4.x',
|
||||
'1.3.x',
|
||||
'1.2.x',
|
||||
'1.1.x',
|
||||
'1.0.x',
|
||||
'0.15.x'
|
||||
] as const;
|
||||
const allVersions = ['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];
|
||||
|
||||
export const versions: Readonly<Array<Omit<Version, 'cloud'>>> = allVersions.filter(
|
||||
(v) => v !== 'cloud'
|
||||
);
|
||||
|
||||
export enum Service {
|
||||
Account = 'account',
|
||||
|
||||
Reference in New Issue
Block a user