Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/** @jsxImportSource https://esm.sh/react **/
import React from "https://esm.sh/react";
import { hydrateRoot } from "https://esm.sh/react-dom/client";
import { renderToString } from "https://esm.sh/react-dom/server";
interface TypePair {
id: number;
type_pair: string;
types: string[];
rank: number;
tier: string;
timestamp: string;
timestamp_seconds: number;
}
interface ComboboxProps {
options: string[];
value: string;
onChange: (value: string) => void;
placeholder: string;
}
const typePairData: { type_pairs: TypePair[] } = {
"type_pairs": [
{
"id": 1,
"type_pair": "normal-ghost",
"types": ["ghost", "normal"],
"rank": 2,
"tier": "S",
"timestamp": "31:28",
"timestamp_seconds": 1888,
},
{
"id": 2,
"type_pair": "water-fairy",
"types": ["fairy", "water"],
"rank": 4,
"tier": "S",
"timestamp": "31:09",
"timestamp_seconds": 1869,
},
{
"id": 3,
"type_pair": "flying-ground",
"types": ["flying", "ground"],
"rank": 5,
"tier": "S",
"timestamp": "31:02",
"timestamp_seconds": 1862,
},
{
"id": 4,
"type_pair": "water-ground",
"types": ["ground", "water"],
"rank": 6,
"tier": "S",
"timestamp": "30:52",
"timestamp_seconds": 1852,
},
{
"id": 5,
"type_pair": "poison-dark",
"types": ["dark", "poison"],
"rank": 7,
"tier": "S",
"timestamp": "30:43",
"timestamp_seconds": 1843,
},
{
"id": 6,
"type_pair": "bug-steel",
"types": ["bug", "steel"],
"rank": 8,
"tier": "S",
"timestamp": "30:35",
"timestamp_seconds": 1835,
},
{
"id": 7,
"type_pair": "fairy-steel",
"types": ["fairy", "steel"],
"rank": 1,
"tier": "S",
"timestamp": "31:38",
"timestamp_seconds": 1898,
},
{
"id": 8,
"type_pair": "fairy-ground",
"types": ["fairy", "ground"],
"rank": 3,
"tier": "S",
"timestamp": "31:19",
"timestamp_seconds": 1879,
},
{
"id": 9,
"type_pair": "ice-ground",
"types": ["ground", "ice"],
bl3-pkmntypestiers.web.val.run
July 17, 2024