-13
.editorconfig
-13
.editorconfig
-3
.gitignore
-3
.gitignore
+2
.npmrc
+2
.npmrc
+1
-1
.vscode/settings.json
+1
-1
.vscode/settings.json
+1
-1
index.html
+1
-1
index.html
···
7
7
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover, interactive-widget=resizes-content"
8
8
/>
9
9
<title>Aglais</title>
10
-
<script type="module" src="/src/main.tsx"></script>
10
+
<script type="module" src="./src/main"></script>
11
11
</head>
12
12
<body></body>
13
13
</html>
+10
mise.lock
+10
mise.lock
+6
-2
mise.toml
+6
-2
mise.toml
+36
-48
package.json
+36
-48
package.json
···
3
3
"private": true,
4
4
"scripts": {
5
5
"dev": "vite",
6
-
"build": "tsc -b && vite build",
6
+
"build": "vite build",
7
7
"preview": "vite preview",
8
-
"fmt": "PRETTIER_EXPERIMENTAL_CLI=1 prettier --cache --write ."
8
+
"fmt": "prettier --cache --write ."
9
9
},
10
10
"dependencies": {
11
-
"@atcute/atproto": "^3.1.9",
12
-
"@atcute/bluemoji": "^3.1.3",
13
-
"@atcute/bluesky": "^3.2.11",
11
+
"@atcute/bluemoji": "^1.0.4",
12
+
"@atcute/bluesky": "^1.0.15",
14
13
"@atcute/bluesky-richtext-parser": "^1.0.7",
15
-
"@atcute/bluesky-richtext-segmenter": "^2.0.4",
16
-
"@atcute/bluesky-search-parser": "^0.1.1",
17
-
"@atcute/cbor": "^2.2.8",
18
-
"@atcute/cid": "^2.2.6",
19
-
"@atcute/client": "^4.1.0",
20
-
"@atcute/identity": "^1.1.3",
21
-
"@atcute/identity-resolver": "^1.1.4",
22
-
"@atcute/lexicons": "^1.2.5",
23
-
"@atcute/multibase": "^1.1.6",
24
-
"@atcute/oauth-browser-client": "2.0.1",
25
-
"@atcute/tid": "^1.0.3",
26
-
"@atcute/uint8array": "^1.0.5",
27
-
"@atcute/xrpc-server": "^0.1.3",
28
-
"@atlaskit/pragmatic-drag-and-drop": "1.6.0",
29
-
"@atlaskit/pragmatic-drag-and-drop-hitbox": "1.0.3",
30
-
"@floating-ui/dom": "^1.7.4",
31
-
"@floating-ui/utils": "^0.2.10",
32
-
"@kelinci/basa-lexicons": "^1.0.0",
33
-
"@mary/array-fns": "jsr:^0.1.5",
34
-
"@mary/async-iterator-fns": "jsr:^0.1.1",
35
-
"@mary/batch-fetch": "jsr:^0.1.0",
36
-
"@mary/date-fns": "jsr:^0.1.3",
37
-
"@mary/events": "jsr:^0.2.0",
38
-
"@mary/exif-rm": "jsr:^0.2.2",
14
+
"@atcute/bluesky-richtext-segmenter": "^1.0.5",
15
+
"@atcute/bluesky-search-parser": "^0.1.0",
16
+
"@atcute/cbor": "^2.2.0",
17
+
"@atcute/cid": "^2.2.0",
18
+
"@atcute/client": "^2.0.9",
19
+
"@atcute/oauth-browser-client": "^1.0.16",
20
+
"@atcute/tid": "^1.0.2",
21
+
"@atlaskit/pragmatic-drag-and-drop": "^1.5.2",
22
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
23
+
"@floating-ui/dom": "^1.6.13",
24
+
"@floating-ui/utils": "^0.2.9",
25
+
"@mary/array-fns": "npm:@jsr/mary__array-fns@^0.1.4",
26
+
"@mary/async-iterator-fns": "npm:@jsr/mary__async-iterator-fns@^0.1.1",
27
+
"@mary/date-fns": "npm:@jsr/mary__date-fns@^0.1.3",
28
+
"@mary/events": "npm:@jsr/mary__events@^0.2.0",
29
+
"@mary/exif-rm": "npm:@jsr/mary__exif-rm@^0.2.2",
39
30
"@mary/solid-freeze": "npm:@externdefs/solid-freeze@^0.1.1",
40
31
"@mary/solid-query": "npm:@externdefs/solid-query@^0.1.5",
41
32
"comlink": "^4.4.2",
42
-
"hls.js": "^1.6.15",
43
-
"idb": "^8.0.3",
44
-
"nanoid": "^5.1.6",
33
+
"hls.js": "^1.6.0",
34
+
"idb": "^8.0.2",
35
+
"nanoid": "^5.1.5",
45
36
"solid-floating-ui": "~0.2.1",
46
-
"solid-js": "^1.9.10",
47
-
"webm-muxer": "^5.1.4"
37
+
"solid-js": "^1.9.5",
38
+
"webm-muxer": "^5.1.1"
48
39
},
49
40
"devDependencies": {
50
-
"@badrap/valita": "^0.4.6",
51
-
"@cloudflare/vite-plugin": "^1.16.1",
52
41
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
53
42
"@types/dom-close-watcher": "^1.0.0",
54
-
"@types/dom-webcodecs": "^0.1.18",
55
-
"@types/node": "^24.10.1",
56
-
"autoprefixer": "^10.4.22",
43
+
"@types/dom-webcodecs": "^0.1.14",
44
+
"autoprefixer": "^10.4.21",
57
45
"babel-plugin-transform-typescript-const-enums": "^0.1.0",
58
-
"prettier": "^3.7.4",
59
-
"prettier-plugin-tailwindcss": "^0.7.2",
60
-
"tailwindcss": "^3.4.18",
61
-
"terser": "^5.44.1",
62
-
"typescript": "~5.9.3",
63
-
"vite": "^7.2.6",
64
-
"vite-plugin-pwa": "1.1.0",
65
-
"vite-plugin-solid": "^2.11.10",
66
-
"wrangler": "^4.52.1"
46
+
"prettier": "^3.5.3",
47
+
"prettier-plugin-tailwindcss": "^0.6.11",
48
+
"tailwindcss": "^3.4.17",
49
+
"terser": "^5.39.0",
50
+
"typescript": "5.7.2",
51
+
"vite": "6.0.5",
52
+
"vite-plugin-pwa": "0.21.0",
53
+
"vite-plugin-solid": "^2.11.6",
54
+
"wrangler": "^4.6.0"
67
55
},
68
56
"pnpm": {
69
57
"patchedDependencies": {
+17
-17
patches/solid-js.patch
+17
-17
patches/solid-js.patch
···
1
1
diff --git a/dist/solid.js b/dist/solid.js
2
-
index a36e31312a461cdf9999e22aa893ef29162750c8..6de1f7f7d608e07baa9edbc6f0ee394f7f9b4411 100644
2
+
index 2571609363d5758d32e2aa88489acca146a6d308..4a1e0bf4e523fb075340e0c2ccef0a4a9ab12f7f 100644
3
3
--- a/dist/solid.js
4
4
+++ b/dist/solid.js
5
-
@@ -1468,7 +1468,6 @@ function Show(props) {
6
-
const child = props.children;
7
-
const fn = typeof child === "function" && child.length > 0;
8
-
return fn ? untrack(() => child(keyed ? c : () => {
9
-
- if (!untrack(condition)) throw narrowedError("Show");
10
-
return conditionValue();
11
-
})) : child;
12
-
}
13
-
@@ -1500,7 +1499,6 @@ function Switch(props) {
14
-
const child = mp.children;
15
-
const fn = typeof child === "function" && child.length > 0;
16
-
return fn ? untrack(() => child(mp.keyed ? conditionValue() : () => {
17
-
- if (untrack(switchFunc)()?.[0] !== index) throw narrowedError("Match");
18
-
return conditionValue();
19
-
})) : child;
20
-
}, undefined, undefined);
5
+
@@ -1581,7 +1581,6 @@ function Show(props) {
6
+
keyed
7
+
? c
8
+
: () => {
9
+
- if (!untrack(condition)) throw narrowedError("Show");
10
+
return props.when;
11
+
}
12
+
)
13
+
@@ -1628,7 +1627,6 @@ function Switch(props) {
14
+
keyed
15
+
? when
16
+
: () => {
17
+
- if (untrack(evalConditions)[0] !== index) throw narrowedError("Match");
18
+
return cond.when;
19
+
}
20
+
)
+1767
-1897
pnpm-lock.yaml
+1767
-1897
pnpm-lock.yaml
···
17
17
hash: 0b06407b66b7af88765fb6e01e112677a8c09ce518cb4f547cee8a0044471acd
18
18
path: patches/@tanstack__query-core@5.17.19.patch
19
19
solid-js:
20
-
hash: 9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7
20
+
hash: 9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c
21
21
path: patches/solid-js.patch
22
22
vite-plugin-pwa:
23
23
hash: 003379ded749ad87080f87b428b17f04c4c88b6b64544df4d928aab76fbf6325
···
30
30
31
31
.:
32
32
dependencies:
33
-
'@atcute/atproto':
34
-
specifier: ^3.1.9
35
-
version: 3.1.9
36
33
'@atcute/bluemoji':
37
-
specifier: ^3.1.3
38
-
version: 3.1.3
34
+
specifier: ^1.0.4
35
+
version: 1.0.4(@atcute/bluesky@1.0.15(@atcute/client@2.0.9))(@atcute/client@2.0.9)
39
36
'@atcute/bluesky':
40
-
specifier: ^3.2.11
41
-
version: 3.2.11
37
+
specifier: ^1.0.15
38
+
version: 1.0.15(@atcute/client@2.0.9)
42
39
'@atcute/bluesky-richtext-parser':
43
40
specifier: ^1.0.7
44
41
version: 1.0.7
45
42
'@atcute/bluesky-richtext-segmenter':
46
-
specifier: ^2.0.4
47
-
version: 2.0.4
43
+
specifier: ^1.0.5
44
+
version: 1.0.5(@atcute/bluesky@1.0.15(@atcute/client@2.0.9))(@atcute/client@2.0.9)
48
45
'@atcute/bluesky-search-parser':
49
-
specifier: ^0.1.1
50
-
version: 0.1.1
46
+
specifier: ^0.1.0
47
+
version: 0.1.0
51
48
'@atcute/cbor':
52
-
specifier: ^2.2.8
53
-
version: 2.2.8
49
+
specifier: ^2.2.0
50
+
version: 2.2.0
54
51
'@atcute/cid':
55
-
specifier: ^2.2.6
56
-
version: 2.2.6
52
+
specifier: ^2.2.0
53
+
version: 2.2.0
57
54
'@atcute/client':
58
-
specifier: ^4.1.0
59
-
version: 4.1.0
60
-
'@atcute/identity':
61
-
specifier: ^1.1.3
62
-
version: 1.1.3
63
-
'@atcute/identity-resolver':
64
-
specifier: ^1.1.4
65
-
version: 1.1.4(@atcute/identity@1.1.3)
66
-
'@atcute/lexicons':
67
-
specifier: ^1.2.5
68
-
version: 1.2.5
69
-
'@atcute/multibase':
70
-
specifier: ^1.1.6
71
-
version: 1.1.6
55
+
specifier: ^2.0.9
56
+
version: 2.0.9
72
57
'@atcute/oauth-browser-client':
73
-
specifier: 2.0.1
74
-
version: 2.0.1
58
+
specifier: ^1.0.16
59
+
version: 1.0.16
75
60
'@atcute/tid':
76
-
specifier: ^1.0.3
77
-
version: 1.0.3
78
-
'@atcute/uint8array':
79
-
specifier: ^1.0.5
80
-
version: 1.0.5
81
-
'@atcute/xrpc-server':
82
-
specifier: ^0.1.3
83
-
version: 0.1.3
61
+
specifier: ^1.0.2
62
+
version: 1.0.2
84
63
'@atlaskit/pragmatic-drag-and-drop':
85
-
specifier: 1.6.0
86
-
version: 1.6.0
64
+
specifier: ^1.5.2
65
+
version: 1.5.2
87
66
'@atlaskit/pragmatic-drag-and-drop-hitbox':
88
-
specifier: 1.0.3
67
+
specifier: ^1.0.3
89
68
version: 1.0.3
90
69
'@floating-ui/dom':
91
-
specifier: ^1.7.4
92
-
version: 1.7.4
70
+
specifier: ^1.6.13
71
+
version: 1.6.13
93
72
'@floating-ui/utils':
94
-
specifier: ^0.2.10
95
-
version: 0.2.10(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)
96
-
'@kelinci/basa-lexicons':
97
-
specifier: ^1.0.0
98
-
version: 1.0.0
73
+
specifier: ^0.2.9
74
+
version: 0.2.9(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)
99
75
'@mary/array-fns':
100
-
specifier: jsr:^0.1.5
101
-
version: '@jsr/mary__array-fns@0.1.5'
76
+
specifier: npm:@jsr/mary__array-fns@^0.1.4
77
+
version: '@jsr/mary__array-fns@0.1.4'
102
78
'@mary/async-iterator-fns':
103
-
specifier: jsr:^0.1.1
79
+
specifier: npm:@jsr/mary__async-iterator-fns@^0.1.1
104
80
version: '@jsr/mary__async-iterator-fns@0.1.1'
105
-
'@mary/batch-fetch':
106
-
specifier: jsr:^0.1.0
107
-
version: '@jsr/mary__batch-fetch@0.1.0'
108
81
'@mary/date-fns':
109
-
specifier: jsr:^0.1.3
82
+
specifier: npm:@jsr/mary__date-fns@^0.1.3
110
83
version: '@jsr/mary__date-fns@0.1.3'
111
84
'@mary/events':
112
-
specifier: jsr:^0.2.0
85
+
specifier: npm:@jsr/mary__events@^0.2.0
113
86
version: '@jsr/mary__events@0.2.0'
114
87
'@mary/exif-rm':
115
-
specifier: jsr:^0.2.2
88
+
specifier: npm:@jsr/mary__exif-rm@^0.2.2
116
89
version: '@jsr/mary__exif-rm@0.2.2'
117
90
'@mary/solid-freeze':
118
91
specifier: npm:@externdefs/solid-freeze@^0.1.1
119
-
version: '@externdefs/solid-freeze@0.1.1(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))'
92
+
version: '@externdefs/solid-freeze@0.1.1(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))'
120
93
'@mary/solid-query':
121
94
specifier: npm:@externdefs/solid-query@^0.1.5
122
-
version: '@externdefs/solid-query@0.1.5(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))'
95
+
version: '@externdefs/solid-query@0.1.5(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))'
123
96
comlink:
124
97
specifier: ^4.4.2
125
98
version: 4.4.2
126
99
hls.js:
127
-
specifier: ^1.6.15
128
-
version: 1.6.15
100
+
specifier: ^1.6.0
101
+
version: 1.6.0
129
102
idb:
130
-
specifier: ^8.0.3
131
-
version: 8.0.3
103
+
specifier: ^8.0.2
104
+
version: 8.0.2
132
105
nanoid:
133
-
specifier: ^5.1.6
134
-
version: 5.1.6
106
+
specifier: ^5.1.5
107
+
version: 5.1.5
135
108
solid-floating-ui:
136
109
specifier: ~0.2.1
137
-
version: 0.2.1(@floating-ui/dom@1.7.4)(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))
110
+
version: 0.2.1(@floating-ui/dom@1.6.13)(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))
138
111
solid-js:
139
-
specifier: ^1.9.10
140
-
version: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
112
+
specifier: ^1.9.5
113
+
version: 1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)
141
114
webm-muxer:
142
-
specifier: ^5.1.4
143
-
version: 5.1.4
115
+
specifier: ^5.1.1
116
+
version: 5.1.1
144
117
devDependencies:
145
-
'@badrap/valita':
146
-
specifier: ^0.4.6
147
-
version: 0.4.6
148
-
'@cloudflare/vite-plugin':
149
-
specifier: ^1.16.1
150
-
version: 1.16.1(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1))(workerd@1.20251202.0)(wrangler@4.52.1)
151
118
'@trivago/prettier-plugin-sort-imports':
152
119
specifier: ^5.2.2
153
-
version: 5.2.2(prettier@3.7.4)
120
+
version: 5.2.2(prettier@3.5.3)
154
121
'@types/dom-close-watcher':
155
122
specifier: ^1.0.0
156
123
version: 1.0.0
157
124
'@types/dom-webcodecs':
158
-
specifier: ^0.1.18
159
-
version: 0.1.18
160
-
'@types/node':
161
-
specifier: ^24.10.1
162
-
version: 24.10.1
125
+
specifier: ^0.1.14
126
+
version: 0.1.14
163
127
autoprefixer:
164
-
specifier: ^10.4.22
165
-
version: 10.4.22(postcss@8.5.6)
128
+
specifier: ^10.4.21
129
+
version: 10.4.21(postcss@8.5.3)
166
130
babel-plugin-transform-typescript-const-enums:
167
131
specifier: ^0.1.0
168
-
version: 0.1.0(@babel/core@7.28.5)
132
+
version: 0.1.0(@babel/core@7.26.10)
169
133
prettier:
170
-
specifier: ^3.7.4
171
-
version: 3.7.4
134
+
specifier: ^3.5.3
135
+
version: 3.5.3
172
136
prettier-plugin-tailwindcss:
173
-
specifier: ^0.7.2
174
-
version: 0.7.2(@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.7.4))(prettier@3.7.4)
137
+
specifier: ^0.6.11
138
+
version: 0.6.11(@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.5.3))(prettier@3.5.3)
175
139
tailwindcss:
176
-
specifier: ^3.4.18
177
-
version: 3.4.18
140
+
specifier: ^3.4.17
141
+
version: 3.4.17
178
142
terser:
179
-
specifier: ^5.44.1
180
-
version: 5.44.1
143
+
specifier: ^5.39.0
144
+
version: 5.39.0
181
145
typescript:
182
-
specifier: ~5.9.3
183
-
version: 5.9.3
146
+
specifier: 5.7.2
147
+
version: 5.7.2
184
148
vite:
185
-
specifier: ^7.2.6
186
-
version: 7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)
149
+
specifier: 6.0.5
150
+
version: 6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)
187
151
vite-plugin-pwa:
188
-
specifier: 1.1.0
189
-
version: 1.1.0(patch_hash=003379ded749ad87080f87b428b17f04c4c88b6b64544df4d928aab76fbf6325)(@types/babel__core@7.20.5)(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1))
152
+
specifier: 0.21.0
153
+
version: 0.21.0(patch_hash=003379ded749ad87080f87b428b17f04c4c88b6b64544df4d928aab76fbf6325)(@types/babel__core@7.20.5)(vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0))
190
154
vite-plugin-solid:
191
-
specifier: ^2.11.10
192
-
version: 2.11.10(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1))
155
+
specifier: ^2.11.6
156
+
version: 2.11.6(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))(vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0))
193
157
wrangler:
194
-
specifier: ^4.52.1
195
-
version: 4.52.1
158
+
specifier: ^4.6.0
159
+
version: 4.6.0
196
160
197
161
packages:
198
162
···
200
164
resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
201
165
engines: {node: '>=10'}
202
166
167
+
'@ampproject/remapping@2.3.0':
168
+
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
169
+
engines: {node: '>=6.0.0'}
170
+
203
171
'@apideck/better-ajv-errors@0.3.6':
204
172
resolution: {integrity: sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==}
205
173
engines: {node: '>=10'}
206
174
peerDependencies:
207
175
ajv: '>=8'
208
176
209
-
'@atcute/atproto@3.1.9':
210
-
resolution: {integrity: sha512-DyWwHCTdR4hY2BPNbLXgVmm7lI+fceOwWbE4LXbGvbvVtSn+ejSVFaAv01Ra3kWDha0whsOmbJL8JP0QPpf1+w==}
211
-
212
-
'@atcute/bluemoji@3.1.3':
213
-
resolution: {integrity: sha512-IV7Kidr32BueYvcr/Q2MPupu06oAZv0O0MahQc0X/g4ykg6d5B4gGvBgBV/iHwW6uAO9s1TO1RrsEdu1FFnowQ==}
177
+
'@atcute/bluemoji@1.0.4':
178
+
resolution: {integrity: sha512-Rzujybon6EFuycWPID5bzjYIVdPPWWjVfPqELhByJTLe2vq3SlEubUCmz3VfhDu/Bb8wlBP2tIT5w4oq3vJLrg==}
179
+
peerDependencies:
180
+
'@atcute/bluesky': ^1.0.0
181
+
'@atcute/client': ^1.0.0 || ^2.0.0
214
182
215
183
'@atcute/bluesky-richtext-parser@1.0.7':
216
184
resolution: {integrity: sha512-nOvU699OXiGMbyswao7JJnY0C9WkwE7PVC/m5WWt0UN9fsXSOor9IZWw+v9SATp+94BTJoG38XyUomUaJnoQRA==}
217
185
218
-
'@atcute/bluesky-richtext-segmenter@2.0.4':
219
-
resolution: {integrity: sha512-6m5QEAv4lU3qTy5MeJXJRRG33acipYJnMW1T7W/KrMyThGhQ7jSTTh8Z48quElgivgX7MDj6o/ow1oLUsjsCKw==}
186
+
'@atcute/bluesky-richtext-segmenter@1.0.5':
187
+
resolution: {integrity: sha512-D0FfmJVwppky9naL1OGKcQjtgO0lDLhkG4iCQHpShuHhEZ9FUdf3eUb/eQpVRNJGaJ4ShjEOHA6FlAizcjMkGQ==}
188
+
peerDependencies:
189
+
'@atcute/bluesky': ^1.0.0
190
+
'@atcute/client': ^1.0.0 || ^2.0.0
220
191
221
-
'@atcute/bluesky-search-parser@0.1.1':
222
-
resolution: {integrity: sha512-jX01yzA4CWXfnpAmOL5P9kjpWEhVvIq2xEyYLZdFVpYe1v6xclUem1ir+Q8+aWoAcYwqQq6pM16XxkGw0yi5nA==}
192
+
'@atcute/bluesky-search-parser@0.1.0':
193
+
resolution: {integrity: sha512-bTClwD9VGwaECOyWe1mf8V6t+7/77e3tiUHTE6CSrHXOJ/yM8N2xbn+dIi2ki2JLHvgvBN9wsWpFLykgfWhBaw==}
223
194
224
-
'@atcute/bluesky@3.2.11':
225
-
resolution: {integrity: sha512-AboS6y4t+zaxIq7E4noue10csSpIuk/Uwo30/l6GgGBDPXrd7STw8Yb5nGZQP+TdG/uC8/c2mm7UnY65SDOh6A==}
226
-
227
-
'@atcute/cbor@2.2.8':
228
-
resolution: {integrity: sha512-UzOAN9BuN6JCXgn0ryV8qZuRJUDrNqrbLd6EFM8jc6RYssjRyGRxNy6RZ1NU/07Hd8Tq/0pz8+nQiMu5Zai5uw==}
229
-
230
-
'@atcute/cid@2.2.6':
231
-
resolution: {integrity: sha512-bTAHHbJ24p+E//V4KCS4xdmd39o211jJswvqQOevj7vk+5IYcgDLx1ryZWZ1sEPOo9x875li/kj5gpKL14RDwQ==}
232
-
233
-
'@atcute/client@4.1.0':
234
-
resolution: {integrity: sha512-AYhSu3RSDA2VDkVGOmad320NRbUUUf5pCFWJcOzlk25YC/4kyzmMFfpzhf1jjjEcY+anNBXGGhav/kKB1evggQ==}
235
-
236
-
'@atcute/crypto@2.2.6':
237
-
resolution: {integrity: sha512-vkuexF+kmrKE1/Uqzub99Qi4QpnxA2jbu60E6PTgL4XypELQ6rb59MB/J1VbY2gs0kd3ET7+L3+NWpKD5nXyfA==}
238
-
239
-
'@atcute/identity-resolver@1.1.4':
240
-
resolution: {integrity: sha512-/SVh8vf2cXFJenmBnGeYF2aY3WGQm3cJeew5NWTlkqoy3LvJ5wkvKq9PWu4Tv653VF40rPOp6LOdVr9Fa+q5rA==}
195
+
'@atcute/bluesky@1.0.15':
196
+
resolution: {integrity: sha512-+EFiybmKQ97aBAgtaD+cKRJER5AMn3cZMkEwEg/pDdWyzxYJ9m1UgemmLdTgI8VrxPufKqdXS2nl7uO7TY6BPA==}
241
197
peerDependencies:
242
-
'@atcute/identity': ^1.0.0
243
-
244
-
'@atcute/identity@1.1.3':
245
-
resolution: {integrity: sha512-oIqPoI8TwWeQxvcLmFEZLdN2XdWcaLVtlm8pNk0E72As9HNzzD9pwKPrLr3rmTLRIoULPPFmq9iFNsTeCIU9ng==}
198
+
'@atcute/client': ^1.0.0 || ^2.0.0
246
199
247
-
'@atcute/lexicons@1.2.5':
248
-
resolution: {integrity: sha512-9yO9WdgxW8jZ7SbzUycH710z+JmsQ9W9n5S6i6eghYju32kkluFmgBeS47r8e8p2+Dv4DemS7o/3SUGsX9FR5Q==}
200
+
'@atcute/cbor@2.2.0':
201
+
resolution: {integrity: sha512-W3ttcDJHiB5N6MbfEpJbTINZSjg0KB8gpBds8UWOGmybqUnuz43HZkFSpF/Vom0KilYg6QWU/ZM4X8SXZE+kow==}
249
202
250
-
'@atcute/multibase@1.1.6':
251
-
resolution: {integrity: sha512-HBxuCgYLKPPxETV0Rot4VP9e24vKl8JdzGCZOVsDaOXJgbRZoRIF67Lp0H/OgnJeH/Xpva8Z5ReoTNJE5dn3kg==}
203
+
'@atcute/cid@2.2.0':
204
+
resolution: {integrity: sha512-ty+WjGcTfi1JJtcRNz6bsJMqT69lEIl4Ts7vl4U8SBHbxjbb6Tk/pcnQZVClKRYduRoZ1XhS9n5qOSIbIMctDA==}
252
205
253
-
'@atcute/oauth-browser-client@2.0.1':
254
-
resolution: {integrity: sha512-lG021GkeORG06zfFf4bH85egObjBEKHNgAWHvbtY/E2dX4wxo88hf370pJDx8acdnuUJLJ2VKPikJtZwo4Heeg==}
206
+
'@atcute/client@2.0.9':
207
+
resolution: {integrity: sha512-QNDm9gMP6x9LY77ArwY+urQOBtQW74/onEAz42c40JxRm6Rl9K9cU4ROvNKJ+5cpVmEm1sthEWVRmDr5CSZENA==}
255
208
256
-
'@atcute/tid@1.0.3':
257
-
resolution: {integrity: sha512-wfMJx1IMdnu0CZgWl0uR4JO2s6PGT1YPhpytD4ZHzEYKKQVuqV6Eb/7vieaVo1eYNMp2FrY67FZObeR7utRl2w==}
209
+
'@atcute/multibase@1.1.2':
210
+
resolution: {integrity: sha512-KFX+c7a/u2jSNcRw0rLaUHG/XEKf1A1c8XF5soHnsb1JMCShihf/anfZ1kJ4no/IlIp9HEHV3PQRQO2sWL6ASQ==}
258
211
259
-
'@atcute/uint8array@1.0.5':
260
-
resolution: {integrity: sha512-XLWWxoR2HNl2qU+FCr0rp1APwJXci7HnzbOQLxK55OaMNBXZ19+xNC5ii4QCsThsDxa4JS/JTzuiQLziITWf2Q==}
212
+
'@atcute/oauth-browser-client@1.0.16':
213
+
resolution: {integrity: sha512-BKkA4TPyaLIO+hVxcxZoDfLFUgsd3A47UyzWAbe3BpSoN8Kywy/CqWuAVlqdiUhO1iG+vVqGQhjKy4UxutaU4g==}
261
214
262
-
'@atcute/util-fetch@1.0.4':
263
-
resolution: {integrity: sha512-sIU9Qk0dE8PLEXSfhy+gIJV+HpiiknMytCI2SqLlqd0vgZUtEKI/EQfP+23LHWvP+CLCzVDOa6cpH045OlmNBg==}
215
+
'@atcute/tid@1.0.2':
216
+
resolution: {integrity: sha512-ahmjroNyeDPJhtuf3+HTJropaH04HmJ8fhntDu73Gpz/RkAF7+nkz6kcP2QTgfvMCgMPAJUdskAAP82GPDTY9w==}
264
217
265
-
'@atcute/xrpc-server@0.1.3':
266
-
resolution: {integrity: sha512-AMig6MuAL5VfXRZVsQqQXKCXnZgpjTc6UM6RggvyE1qVT8y9tZPFXdP5tt/p6Jf+h4cAw+XMu2uyrGpUmnTSyQ==}
218
+
'@atcute/uint8array@1.0.1':
219
+
resolution: {integrity: sha512-AAnlFKyfDRgb9GNZJbhQ6OuMhbmNPirQyapb8KnmcEhxQZ3+tt+4NcwqekEegY4MpNqSTYeeTdyxq0wGZv1JHg==}
267
220
268
221
'@atlaskit/pragmatic-drag-and-drop-hitbox@1.0.3':
269
222
resolution: {integrity: sha512-/Sbu/HqN2VGLYBhnsG7SbRNg98XKkbF6L7XDdBi+izRybfaK1FeMfodPpm/xnBHPJzwYMdkE0qtLyv6afhgMUA==}
270
223
271
-
'@atlaskit/pragmatic-drag-and-drop@1.6.0':
272
-
resolution: {integrity: sha512-J5ZnU6h0wjda1M1BKimzt4oRKeyVsTQzlRUqlbIUjfNioWFdSnIkPogWIn9tV2B68jphL1QNuZdEkKxcJygU2w==}
224
+
'@atlaskit/pragmatic-drag-and-drop@1.5.2':
225
+
resolution: {integrity: sha512-fDuTwlDD11r3ev5tLJ6JnzQUiG9v77c8zGcNdO7RRNtZZbOHam8CFhmyFGY4E/mLjvgYng0UkcyCrSBc4FXYZw==}
273
226
274
-
'@babel/code-frame@7.27.1':
275
-
resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
227
+
'@babel/code-frame@7.26.2':
228
+
resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==}
276
229
engines: {node: '>=6.9.0'}
277
230
278
-
'@babel/compat-data@7.28.5':
279
-
resolution: {integrity: sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==}
231
+
'@babel/compat-data@7.26.8':
232
+
resolution: {integrity: sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==}
280
233
engines: {node: '>=6.9.0'}
281
234
282
-
'@babel/core@7.28.5':
283
-
resolution: {integrity: sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==}
235
+
'@babel/core@7.26.10':
236
+
resolution: {integrity: sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==}
284
237
engines: {node: '>=6.9.0'}
285
238
286
-
'@babel/generator@7.28.5':
287
-
resolution: {integrity: sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==}
239
+
'@babel/generator@7.27.0':
240
+
resolution: {integrity: sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==}
288
241
engines: {node: '>=6.9.0'}
289
242
290
-
'@babel/helper-annotate-as-pure@7.27.3':
291
-
resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}
243
+
'@babel/helper-annotate-as-pure@7.25.9':
244
+
resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==}
292
245
engines: {node: '>=6.9.0'}
293
246
294
-
'@babel/helper-compilation-targets@7.27.2':
295
-
resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==}
247
+
'@babel/helper-compilation-targets@7.27.0':
248
+
resolution: {integrity: sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA==}
296
249
engines: {node: '>=6.9.0'}
297
250
298
-
'@babel/helper-create-class-features-plugin@7.28.5':
299
-
resolution: {integrity: sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==}
251
+
'@babel/helper-create-class-features-plugin@7.27.0':
252
+
resolution: {integrity: sha512-vSGCvMecvFCd/BdpGlhpXYNhhC4ccxyvQWpbGL4CWbvfEoLFWUZuSuf7s9Aw70flgQF+6vptvgK2IfOnKlRmBg==}
300
253
engines: {node: '>=6.9.0'}
301
254
peerDependencies:
302
255
'@babel/core': ^7.0.0
303
256
304
-
'@babel/helper-create-regexp-features-plugin@7.28.5':
305
-
resolution: {integrity: sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==}
257
+
'@babel/helper-create-regexp-features-plugin@7.27.0':
258
+
resolution: {integrity: sha512-fO8l08T76v48BhpNRW/nQ0MxfnSdoSKUJBMjubOAYffsVuGG5qOfMq7N6Es7UJvi7Y8goXXo07EfcHZXDPuELQ==}
306
259
engines: {node: '>=6.9.0'}
307
260
peerDependencies:
308
261
'@babel/core': ^7.0.0
309
262
310
-
'@babel/helper-define-polyfill-provider@0.6.5':
311
-
resolution: {integrity: sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==}
263
+
'@babel/helper-define-polyfill-provider@0.6.4':
264
+
resolution: {integrity: sha512-jljfR1rGnXXNWnmQg2K3+bvhkxB51Rl32QRaOTuwwjviGrHzIbSc8+x9CpraDtbT7mfyjXObULP4w/adunNwAw==}
312
265
peerDependencies:
313
266
'@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
314
267
315
-
'@babel/helper-globals@7.28.0':
316
-
resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
317
-
engines: {node: '>=6.9.0'}
318
-
319
-
'@babel/helper-member-expression-to-functions@7.28.5':
320
-
resolution: {integrity: sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==}
268
+
'@babel/helper-member-expression-to-functions@7.25.9':
269
+
resolution: {integrity: sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==}
321
270
engines: {node: '>=6.9.0'}
322
271
323
272
'@babel/helper-module-imports@7.18.6':
324
273
resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==}
325
274
engines: {node: '>=6.9.0'}
326
275
327
-
'@babel/helper-module-imports@7.27.1':
328
-
resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}
276
+
'@babel/helper-module-imports@7.25.9':
277
+
resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==}
329
278
engines: {node: '>=6.9.0'}
330
279
331
-
'@babel/helper-module-transforms@7.28.3':
332
-
resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==}
280
+
'@babel/helper-module-transforms@7.26.0':
281
+
resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==}
333
282
engines: {node: '>=6.9.0'}
334
283
peerDependencies:
335
284
'@babel/core': ^7.0.0
336
285
337
-
'@babel/helper-optimise-call-expression@7.27.1':
338
-
resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}
286
+
'@babel/helper-optimise-call-expression@7.25.9':
287
+
resolution: {integrity: sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==}
339
288
engines: {node: '>=6.9.0'}
340
289
341
-
'@babel/helper-plugin-utils@7.27.1':
342
-
resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==}
290
+
'@babel/helper-plugin-utils@7.26.5':
291
+
resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==}
343
292
engines: {node: '>=6.9.0'}
344
293
345
-
'@babel/helper-remap-async-to-generator@7.27.1':
346
-
resolution: {integrity: sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==}
294
+
'@babel/helper-remap-async-to-generator@7.25.9':
295
+
resolution: {integrity: sha512-IZtukuUeBbhgOcaW2s06OXTzVNJR0ybm4W5xC1opWFFJMZbwRj5LCk+ByYH7WdZPZTt8KnFwA8pvjN2yqcPlgw==}
347
296
engines: {node: '>=6.9.0'}
348
297
peerDependencies:
349
298
'@babel/core': ^7.0.0
350
299
351
-
'@babel/helper-replace-supers@7.27.1':
352
-
resolution: {integrity: sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==}
300
+
'@babel/helper-replace-supers@7.26.5':
301
+
resolution: {integrity: sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==}
353
302
engines: {node: '>=6.9.0'}
354
303
peerDependencies:
355
304
'@babel/core': ^7.0.0
356
305
357
-
'@babel/helper-skip-transparent-expression-wrappers@7.27.1':
358
-
resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}
306
+
'@babel/helper-skip-transparent-expression-wrappers@7.25.9':
307
+
resolution: {integrity: sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==}
359
308
engines: {node: '>=6.9.0'}
360
309
361
-
'@babel/helper-string-parser@7.27.1':
362
-
resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
310
+
'@babel/helper-string-parser@7.25.9':
311
+
resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}
363
312
engines: {node: '>=6.9.0'}
364
313
365
-
'@babel/helper-validator-identifier@7.28.5':
366
-
resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
314
+
'@babel/helper-validator-identifier@7.25.9':
315
+
resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}
367
316
engines: {node: '>=6.9.0'}
368
317
369
-
'@babel/helper-validator-option@7.27.1':
370
-
resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
318
+
'@babel/helper-validator-option@7.25.9':
319
+
resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==}
371
320
engines: {node: '>=6.9.0'}
372
321
373
-
'@babel/helper-wrap-function@7.28.3':
374
-
resolution: {integrity: sha512-zdf983tNfLZFletc0RRXYrHrucBEg95NIFMkn6K9dbeMYnsgHaSBGcQqdsCSStG2PYwRre0Qc2NNSCXbG+xc6g==}
322
+
'@babel/helper-wrap-function@7.25.9':
323
+
resolution: {integrity: sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==}
375
324
engines: {node: '>=6.9.0'}
376
325
377
-
'@babel/helpers@7.28.4':
378
-
resolution: {integrity: sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==}
326
+
'@babel/helpers@7.27.0':
327
+
resolution: {integrity: sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg==}
379
328
engines: {node: '>=6.9.0'}
380
329
381
-
'@babel/parser@7.28.5':
382
-
resolution: {integrity: sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==}
330
+
'@babel/parser@7.27.0':
331
+
resolution: {integrity: sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==}
383
332
engines: {node: '>=6.0.0'}
384
333
hasBin: true
385
334
386
-
'@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.28.5':
387
-
resolution: {integrity: sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==}
335
+
'@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9':
336
+
resolution: {integrity: sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==}
388
337
engines: {node: '>=6.9.0'}
389
338
peerDependencies:
390
339
'@babel/core': ^7.0.0
391
340
392
-
'@babel/plugin-bugfix-safari-class-field-initializer-scope@7.27.1':
393
-
resolution: {integrity: sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==}
341
+
'@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9':
342
+
resolution: {integrity: sha512-MrGRLZxLD/Zjj0gdU15dfs+HH/OXvnw/U4jJD8vpcP2CJQapPEv1IWwjc/qMg7ItBlPwSv1hRBbb7LeuANdcnw==}
394
343
engines: {node: '>=6.9.0'}
395
344
peerDependencies:
396
345
'@babel/core': ^7.0.0
397
346
398
-
'@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1':
399
-
resolution: {integrity: sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==}
347
+
'@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9':
348
+
resolution: {integrity: sha512-2qUwwfAFpJLZqxd02YW9btUCZHl+RFvdDkNfZwaIJrvB8Tesjsk8pEQkTvGwZXLqXUx/2oyY3ySRhm6HOXuCug==}
400
349
engines: {node: '>=6.9.0'}
401
350
peerDependencies:
402
351
'@babel/core': ^7.0.0
403
352
404
-
'@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1':
405
-
resolution: {integrity: sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==}
353
+
'@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9':
354
+
resolution: {integrity: sha512-6xWgLZTJXwilVjlnV7ospI3xi+sl8lN8rXXbBD6vYn3UYDlGsag8wrZkKcSI8G6KgqKP7vNFaDgeDnfAABq61g==}
406
355
engines: {node: '>=6.9.0'}
407
356
peerDependencies:
408
357
'@babel/core': ^7.13.0
409
358
410
-
'@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.28.3':
411
-
resolution: {integrity: sha512-b6YTX108evsvE4YgWyQ921ZAFFQm3Bn+CA3+ZXlNVnPhx+UfsVURoPjfGAPCjBgrqo30yX/C2nZGX96DxvR9Iw==}
359
+
'@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9':
360
+
resolution: {integrity: sha512-aLnMXYPnzwwqhYSCyXfKkIkYgJ8zv9RK+roo9DkTXz38ynIhd9XCbN08s3MGvqL2MYGVUGdRQLL/JqBIeJhJBg==}
412
361
engines: {node: '>=6.9.0'}
413
362
peerDependencies:
414
363
'@babel/core': ^7.0.0
···
419
368
peerDependencies:
420
369
'@babel/core': ^7.0.0-0
421
370
422
-
'@babel/plugin-syntax-import-assertions@7.27.1':
423
-
resolution: {integrity: sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==}
371
+
'@babel/plugin-syntax-import-assertions@7.26.0':
372
+
resolution: {integrity: sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==}
424
373
engines: {node: '>=6.9.0'}
425
374
peerDependencies:
426
375
'@babel/core': ^7.0.0-0
427
376
428
-
'@babel/plugin-syntax-import-attributes@7.27.1':
429
-
resolution: {integrity: sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==}
377
+
'@babel/plugin-syntax-import-attributes@7.26.0':
378
+
resolution: {integrity: sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==}
430
379
engines: {node: '>=6.9.0'}
431
380
peerDependencies:
432
381
'@babel/core': ^7.0.0-0
433
382
434
-
'@babel/plugin-syntax-jsx@7.27.1':
435
-
resolution: {integrity: sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==}
383
+
'@babel/plugin-syntax-jsx@7.25.9':
384
+
resolution: {integrity: sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==}
436
385
engines: {node: '>=6.9.0'}
437
386
peerDependencies:
438
387
'@babel/core': ^7.0.0-0
···
443
392
peerDependencies:
444
393
'@babel/core': ^7.0.0
445
394
446
-
'@babel/plugin-transform-arrow-functions@7.27.1':
447
-
resolution: {integrity: sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==}
395
+
'@babel/plugin-transform-arrow-functions@7.25.9':
396
+
resolution: {integrity: sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg==}
448
397
engines: {node: '>=6.9.0'}
449
398
peerDependencies:
450
399
'@babel/core': ^7.0.0-0
451
400
452
-
'@babel/plugin-transform-async-generator-functions@7.28.0':
453
-
resolution: {integrity: sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==}
401
+
'@babel/plugin-transform-async-generator-functions@7.26.8':
402
+
resolution: {integrity: sha512-He9Ej2X7tNf2zdKMAGOsmg2MrFc+hfoAhd3po4cWfo/NWjzEAKa0oQruj1ROVUdl0e6fb6/kE/G3SSxE0lRJOg==}
454
403
engines: {node: '>=6.9.0'}
455
404
peerDependencies:
456
405
'@babel/core': ^7.0.0-0
457
406
458
-
'@babel/plugin-transform-async-to-generator@7.27.1':
459
-
resolution: {integrity: sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==}
407
+
'@babel/plugin-transform-async-to-generator@7.25.9':
408
+
resolution: {integrity: sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==}
460
409
engines: {node: '>=6.9.0'}
461
410
peerDependencies:
462
411
'@babel/core': ^7.0.0-0
463
412
464
-
'@babel/plugin-transform-block-scoped-functions@7.27.1':
465
-
resolution: {integrity: sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==}
413
+
'@babel/plugin-transform-block-scoped-functions@7.26.5':
414
+
resolution: {integrity: sha512-chuTSY+hq09+/f5lMj8ZSYgCFpppV2CbYrhNFJ1BFoXpiWPnnAb7R0MqrafCpN8E1+YRrtM1MXZHJdIx8B6rMQ==}
466
415
engines: {node: '>=6.9.0'}
467
416
peerDependencies:
468
417
'@babel/core': ^7.0.0-0
469
418
470
-
'@babel/plugin-transform-block-scoping@7.28.5':
471
-
resolution: {integrity: sha512-45DmULpySVvmq9Pj3X9B+62Xe+DJGov27QravQJU1LLcapR6/10i+gYVAucGGJpHBp5mYxIMK4nDAT/QDLr47g==}
419
+
'@babel/plugin-transform-block-scoping@7.27.0':
420
+
resolution: {integrity: sha512-u1jGphZ8uDI2Pj/HJj6YQ6XQLZCNjOlprjxB5SVz6rq2T6SwAR+CdrWK0CP7F+9rDVMXdB0+r6Am5G5aobOjAQ==}
472
421
engines: {node: '>=6.9.0'}
473
422
peerDependencies:
474
423
'@babel/core': ^7.0.0-0
475
424
476
-
'@babel/plugin-transform-class-properties@7.27.1':
477
-
resolution: {integrity: sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==}
425
+
'@babel/plugin-transform-class-properties@7.25.9':
426
+
resolution: {integrity: sha512-bbMAII8GRSkcd0h0b4X+36GksxuheLFjP65ul9w6C3KgAamI3JqErNgSrosX6ZPj+Mpim5VvEbawXxJCyEUV3Q==}
478
427
engines: {node: '>=6.9.0'}
479
428
peerDependencies:
480
429
'@babel/core': ^7.0.0-0
481
430
482
-
'@babel/plugin-transform-class-static-block@7.28.3':
483
-
resolution: {integrity: sha512-LtPXlBbRoc4Njl/oh1CeD/3jC+atytbnf/UqLoqTDcEYGUPj022+rvfkbDYieUrSj3CaV4yHDByPE+T2HwfsJg==}
431
+
'@babel/plugin-transform-class-static-block@7.26.0':
432
+
resolution: {integrity: sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ==}
484
433
engines: {node: '>=6.9.0'}
485
434
peerDependencies:
486
435
'@babel/core': ^7.12.0
487
436
488
-
'@babel/plugin-transform-classes@7.28.4':
489
-
resolution: {integrity: sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==}
437
+
'@babel/plugin-transform-classes@7.25.9':
438
+
resolution: {integrity: sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg==}
490
439
engines: {node: '>=6.9.0'}
491
440
peerDependencies:
492
441
'@babel/core': ^7.0.0-0
493
442
494
-
'@babel/plugin-transform-computed-properties@7.27.1':
495
-
resolution: {integrity: sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==}
443
+
'@babel/plugin-transform-computed-properties@7.25.9':
444
+
resolution: {integrity: sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA==}
496
445
engines: {node: '>=6.9.0'}
497
446
peerDependencies:
498
447
'@babel/core': ^7.0.0-0
499
448
500
-
'@babel/plugin-transform-destructuring@7.28.5':
501
-
resolution: {integrity: sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==}
449
+
'@babel/plugin-transform-destructuring@7.25.9':
450
+
resolution: {integrity: sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ==}
502
451
engines: {node: '>=6.9.0'}
503
452
peerDependencies:
504
453
'@babel/core': ^7.0.0-0
505
454
506
-
'@babel/plugin-transform-dotall-regex@7.27.1':
507
-
resolution: {integrity: sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==}
455
+
'@babel/plugin-transform-dotall-regex@7.25.9':
456
+
resolution: {integrity: sha512-t7ZQ7g5trIgSRYhI9pIJtRl64KHotutUJsh4Eze5l7olJv+mRSg4/MmbZ0tv1eeqRbdvo/+trvJD/Oc5DmW2cA==}
508
457
engines: {node: '>=6.9.0'}
509
458
peerDependencies:
510
459
'@babel/core': ^7.0.0-0
511
460
512
-
'@babel/plugin-transform-duplicate-keys@7.27.1':
513
-
resolution: {integrity: sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q==}
461
+
'@babel/plugin-transform-duplicate-keys@7.25.9':
462
+
resolution: {integrity: sha512-LZxhJ6dvBb/f3x8xwWIuyiAHy56nrRG3PeYTpBkkzkYRRQ6tJLu68lEF5VIqMUZiAV7a8+Tb78nEoMCMcqjXBw==}
514
463
engines: {node: '>=6.9.0'}
515
464
peerDependencies:
516
465
'@babel/core': ^7.0.0-0
517
466
518
-
'@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.27.1':
519
-
resolution: {integrity: sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==}
467
+
'@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9':
468
+
resolution: {integrity: sha512-0UfuJS0EsXbRvKnwcLjFtJy/Sxc5J5jhLHnFhy7u4zih97Hz6tJkLU+O+FMMrNZrosUPxDi6sYxJ/EA8jDiAog==}
520
469
engines: {node: '>=6.9.0'}
521
470
peerDependencies:
522
471
'@babel/core': ^7.0.0
523
472
524
-
'@babel/plugin-transform-dynamic-import@7.27.1':
525
-
resolution: {integrity: sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==}
526
-
engines: {node: '>=6.9.0'}
527
-
peerDependencies:
528
-
'@babel/core': ^7.0.0-0
529
-
530
-
'@babel/plugin-transform-explicit-resource-management@7.28.0':
531
-
resolution: {integrity: sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==}
473
+
'@babel/plugin-transform-dynamic-import@7.25.9':
474
+
resolution: {integrity: sha512-GCggjexbmSLaFhqsojeugBpeaRIgWNTcgKVq/0qIteFEqY2A+b9QidYadrWlnbWQUrW5fn+mCvf3tr7OeBFTyg==}
532
475
engines: {node: '>=6.9.0'}
533
476
peerDependencies:
534
477
'@babel/core': ^7.0.0-0
535
478
536
-
'@babel/plugin-transform-exponentiation-operator@7.28.5':
537
-
resolution: {integrity: sha512-D4WIMaFtwa2NizOp+dnoFjRez/ClKiC2BqqImwKd1X28nqBtZEyCYJ2ozQrrzlxAFrcrjxo39S6khe9RNDlGzw==}
479
+
'@babel/plugin-transform-exponentiation-operator@7.26.3':
480
+
resolution: {integrity: sha512-7CAHcQ58z2chuXPWblnn1K6rLDnDWieghSOEmqQsrBenH0P9InCUtOJYD89pvngljmZlJcz3fcmgYsXFNGa1ZQ==}
538
481
engines: {node: '>=6.9.0'}
539
482
peerDependencies:
540
483
'@babel/core': ^7.0.0-0
541
484
542
-
'@babel/plugin-transform-export-namespace-from@7.27.1':
543
-
resolution: {integrity: sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==}
485
+
'@babel/plugin-transform-export-namespace-from@7.25.9':
486
+
resolution: {integrity: sha512-2NsEz+CxzJIVOPx2o9UsW1rXLqtChtLoVnwYHHiB04wS5sgn7mrV45fWMBX0Kk+ub9uXytVYfNP2HjbVbCB3Ww==}
544
487
engines: {node: '>=6.9.0'}
545
488
peerDependencies:
546
489
'@babel/core': ^7.0.0-0
547
490
548
-
'@babel/plugin-transform-for-of@7.27.1':
549
-
resolution: {integrity: sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==}
491
+
'@babel/plugin-transform-for-of@7.26.9':
492
+
resolution: {integrity: sha512-Hry8AusVm8LW5BVFgiyUReuoGzPUpdHQQqJY5bZnbbf+ngOHWuCuYFKw/BqaaWlvEUrF91HMhDtEaI1hZzNbLg==}
550
493
engines: {node: '>=6.9.0'}
551
494
peerDependencies:
552
495
'@babel/core': ^7.0.0-0
553
496
554
-
'@babel/plugin-transform-function-name@7.27.1':
555
-
resolution: {integrity: sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==}
497
+
'@babel/plugin-transform-function-name@7.25.9':
498
+
resolution: {integrity: sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA==}
556
499
engines: {node: '>=6.9.0'}
557
500
peerDependencies:
558
501
'@babel/core': ^7.0.0-0
559
502
560
-
'@babel/plugin-transform-json-strings@7.27.1':
561
-
resolution: {integrity: sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==}
503
+
'@babel/plugin-transform-json-strings@7.25.9':
504
+
resolution: {integrity: sha512-xoTMk0WXceiiIvsaquQQUaLLXSW1KJ159KP87VilruQm0LNNGxWzahxSS6T6i4Zg3ezp4vA4zuwiNUR53qmQAw==}
562
505
engines: {node: '>=6.9.0'}
563
506
peerDependencies:
564
507
'@babel/core': ^7.0.0-0
565
508
566
-
'@babel/plugin-transform-literals@7.27.1':
567
-
resolution: {integrity: sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==}
509
+
'@babel/plugin-transform-literals@7.25.9':
510
+
resolution: {integrity: sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ==}
568
511
engines: {node: '>=6.9.0'}
569
512
peerDependencies:
570
513
'@babel/core': ^7.0.0-0
571
514
572
-
'@babel/plugin-transform-logical-assignment-operators@7.28.5':
573
-
resolution: {integrity: sha512-axUuqnUTBuXyHGcJEVVh9pORaN6wC5bYfE7FGzPiaWa3syib9m7g+/IT/4VgCOe2Upef43PHzeAvcrVek6QuuA==}
515
+
'@babel/plugin-transform-logical-assignment-operators@7.25.9':
516
+
resolution: {integrity: sha512-wI4wRAzGko551Y8eVf6iOY9EouIDTtPb0ByZx+ktDGHwv6bHFimrgJM/2T021txPZ2s4c7bqvHbd+vXG6K948Q==}
574
517
engines: {node: '>=6.9.0'}
575
518
peerDependencies:
576
519
'@babel/core': ^7.0.0-0
577
520
578
-
'@babel/plugin-transform-member-expression-literals@7.27.1':
579
-
resolution: {integrity: sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==}
521
+
'@babel/plugin-transform-member-expression-literals@7.25.9':
522
+
resolution: {integrity: sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA==}
580
523
engines: {node: '>=6.9.0'}
581
524
peerDependencies:
582
525
'@babel/core': ^7.0.0-0
583
526
584
-
'@babel/plugin-transform-modules-amd@7.27.1':
585
-
resolution: {integrity: sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==}
527
+
'@babel/plugin-transform-modules-amd@7.25.9':
528
+
resolution: {integrity: sha512-g5T11tnI36jVClQlMlt4qKDLlWnG5pP9CSM4GhdRciTNMRgkfpo5cR6b4rGIOYPgRRuFAvwjPQ/Yk+ql4dyhbw==}
586
529
engines: {node: '>=6.9.0'}
587
530
peerDependencies:
588
531
'@babel/core': ^7.0.0-0
589
532
590
-
'@babel/plugin-transform-modules-commonjs@7.27.1':
591
-
resolution: {integrity: sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==}
533
+
'@babel/plugin-transform-modules-commonjs@7.26.3':
534
+
resolution: {integrity: sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ==}
592
535
engines: {node: '>=6.9.0'}
593
536
peerDependencies:
594
537
'@babel/core': ^7.0.0-0
595
538
596
-
'@babel/plugin-transform-modules-systemjs@7.28.5':
597
-
resolution: {integrity: sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==}
539
+
'@babel/plugin-transform-modules-systemjs@7.25.9':
540
+
resolution: {integrity: sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA==}
598
541
engines: {node: '>=6.9.0'}
599
542
peerDependencies:
600
543
'@babel/core': ^7.0.0-0
601
544
602
-
'@babel/plugin-transform-modules-umd@7.27.1':
603
-
resolution: {integrity: sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==}
545
+
'@babel/plugin-transform-modules-umd@7.25.9':
546
+
resolution: {integrity: sha512-bS9MVObUgE7ww36HEfwe6g9WakQ0KF07mQF74uuXdkoziUPfKyu/nIm663kz//e5O1nPInPFx36z7WJmJ4yNEw==}
604
547
engines: {node: '>=6.9.0'}
605
548
peerDependencies:
606
549
'@babel/core': ^7.0.0-0
607
550
608
-
'@babel/plugin-transform-named-capturing-groups-regex@7.27.1':
609
-
resolution: {integrity: sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==}
551
+
'@babel/plugin-transform-named-capturing-groups-regex@7.25.9':
552
+
resolution: {integrity: sha512-oqB6WHdKTGl3q/ItQhpLSnWWOpjUJLsOCLVyeFgeTktkBSCiurvPOsyt93gibI9CmuKvTUEtWmG5VhZD+5T/KA==}
610
553
engines: {node: '>=6.9.0'}
611
554
peerDependencies:
612
555
'@babel/core': ^7.0.0
613
556
614
-
'@babel/plugin-transform-new-target@7.27.1':
615
-
resolution: {integrity: sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==}
557
+
'@babel/plugin-transform-new-target@7.25.9':
558
+
resolution: {integrity: sha512-U/3p8X1yCSoKyUj2eOBIx3FOn6pElFOKvAAGf8HTtItuPyB+ZeOqfn+mvTtg9ZlOAjsPdK3ayQEjqHjU/yLeVQ==}
616
559
engines: {node: '>=6.9.0'}
617
560
peerDependencies:
618
561
'@babel/core': ^7.0.0-0
619
562
620
-
'@babel/plugin-transform-nullish-coalescing-operator@7.27.1':
621
-
resolution: {integrity: sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==}
563
+
'@babel/plugin-transform-nullish-coalescing-operator@7.26.6':
564
+
resolution: {integrity: sha512-CKW8Vu+uUZneQCPtXmSBUC6NCAUdya26hWCElAWh5mVSlSRsmiCPUUDKb3Z0szng1hiAJa098Hkhg9o4SE35Qw==}
622
565
engines: {node: '>=6.9.0'}
623
566
peerDependencies:
624
567
'@babel/core': ^7.0.0-0
625
568
626
-
'@babel/plugin-transform-numeric-separator@7.27.1':
627
-
resolution: {integrity: sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==}
569
+
'@babel/plugin-transform-numeric-separator@7.25.9':
570
+
resolution: {integrity: sha512-TlprrJ1GBZ3r6s96Yq8gEQv82s8/5HnCVHtEJScUj90thHQbwe+E5MLhi2bbNHBEJuzrvltXSru+BUxHDoog7Q==}
628
571
engines: {node: '>=6.9.0'}
629
572
peerDependencies:
630
573
'@babel/core': ^7.0.0-0
631
574
632
-
'@babel/plugin-transform-object-rest-spread@7.28.4':
633
-
resolution: {integrity: sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==}
575
+
'@babel/plugin-transform-object-rest-spread@7.25.9':
576
+
resolution: {integrity: sha512-fSaXafEE9CVHPweLYw4J0emp1t8zYTXyzN3UuG+lylqkvYd7RMrsOQ8TYx5RF231be0vqtFC6jnx3UmpJmKBYg==}
634
577
engines: {node: '>=6.9.0'}
635
578
peerDependencies:
636
579
'@babel/core': ^7.0.0-0
637
580
638
-
'@babel/plugin-transform-object-super@7.27.1':
639
-
resolution: {integrity: sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==}
581
+
'@babel/plugin-transform-object-super@7.25.9':
582
+
resolution: {integrity: sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A==}
640
583
engines: {node: '>=6.9.0'}
641
584
peerDependencies:
642
585
'@babel/core': ^7.0.0-0
643
586
644
-
'@babel/plugin-transform-optional-catch-binding@7.27.1':
645
-
resolution: {integrity: sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==}
587
+
'@babel/plugin-transform-optional-catch-binding@7.25.9':
588
+
resolution: {integrity: sha512-qM/6m6hQZzDcZF3onzIhZeDHDO43bkNNlOX0i8n3lR6zLbu0GN2d8qfM/IERJZYauhAHSLHy39NF0Ctdvcid7g==}
646
589
engines: {node: '>=6.9.0'}
647
590
peerDependencies:
648
591
'@babel/core': ^7.0.0-0
649
592
650
-
'@babel/plugin-transform-optional-chaining@7.28.5':
651
-
resolution: {integrity: sha512-N6fut9IZlPnjPwgiQkXNhb+cT8wQKFlJNqcZkWlcTqkcqx6/kU4ynGmLFoa4LViBSirn05YAwk+sQBbPfxtYzQ==}
593
+
'@babel/plugin-transform-optional-chaining@7.25.9':
594
+
resolution: {integrity: sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A==}
652
595
engines: {node: '>=6.9.0'}
653
596
peerDependencies:
654
597
'@babel/core': ^7.0.0-0
655
598
656
-
'@babel/plugin-transform-parameters@7.27.7':
657
-
resolution: {integrity: sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==}
599
+
'@babel/plugin-transform-parameters@7.25.9':
600
+
resolution: {integrity: sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g==}
658
601
engines: {node: '>=6.9.0'}
659
602
peerDependencies:
660
603
'@babel/core': ^7.0.0-0
661
604
662
-
'@babel/plugin-transform-private-methods@7.27.1':
663
-
resolution: {integrity: sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==}
605
+
'@babel/plugin-transform-private-methods@7.25.9':
606
+
resolution: {integrity: sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw==}
664
607
engines: {node: '>=6.9.0'}
665
608
peerDependencies:
666
609
'@babel/core': ^7.0.0-0
667
610
668
-
'@babel/plugin-transform-private-property-in-object@7.27.1':
669
-
resolution: {integrity: sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==}
611
+
'@babel/plugin-transform-private-property-in-object@7.25.9':
612
+
resolution: {integrity: sha512-Evf3kcMqzXA3xfYJmZ9Pg1OvKdtqsDMSWBDzZOPLvHiTt36E75jLDQo5w1gtRU95Q4E5PDttrTf25Fw8d/uWLw==}
670
613
engines: {node: '>=6.9.0'}
671
614
peerDependencies:
672
615
'@babel/core': ^7.0.0-0
673
616
674
-
'@babel/plugin-transform-property-literals@7.27.1':
675
-
resolution: {integrity: sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==}
617
+
'@babel/plugin-transform-property-literals@7.25.9':
618
+
resolution: {integrity: sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA==}
676
619
engines: {node: '>=6.9.0'}
677
620
peerDependencies:
678
621
'@babel/core': ^7.0.0-0
679
622
680
-
'@babel/plugin-transform-regenerator@7.28.4':
681
-
resolution: {integrity: sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==}
623
+
'@babel/plugin-transform-regenerator@7.27.0':
624
+
resolution: {integrity: sha512-LX/vCajUJQDqE7Aum/ELUMZAY19+cDpghxrnyt5I1tV6X5PyC86AOoWXWFYFeIvauyeSA6/ktn4tQVn/3ZifsA==}
682
625
engines: {node: '>=6.9.0'}
683
626
peerDependencies:
684
627
'@babel/core': ^7.0.0-0
685
628
686
-
'@babel/plugin-transform-regexp-modifiers@7.27.1':
687
-
resolution: {integrity: sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==}
629
+
'@babel/plugin-transform-regexp-modifiers@7.26.0':
630
+
resolution: {integrity: sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw==}
688
631
engines: {node: '>=6.9.0'}
689
632
peerDependencies:
690
633
'@babel/core': ^7.0.0
691
634
692
-
'@babel/plugin-transform-reserved-words@7.27.1':
693
-
resolution: {integrity: sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==}
635
+
'@babel/plugin-transform-reserved-words@7.25.9':
636
+
resolution: {integrity: sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg==}
694
637
engines: {node: '>=6.9.0'}
695
638
peerDependencies:
696
639
'@babel/core': ^7.0.0-0
697
640
698
-
'@babel/plugin-transform-shorthand-properties@7.27.1':
699
-
resolution: {integrity: sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==}
641
+
'@babel/plugin-transform-shorthand-properties@7.25.9':
642
+
resolution: {integrity: sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng==}
700
643
engines: {node: '>=6.9.0'}
701
644
peerDependencies:
702
645
'@babel/core': ^7.0.0-0
703
646
704
-
'@babel/plugin-transform-spread@7.27.1':
705
-
resolution: {integrity: sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==}
647
+
'@babel/plugin-transform-spread@7.25.9':
648
+
resolution: {integrity: sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A==}
706
649
engines: {node: '>=6.9.0'}
707
650
peerDependencies:
708
651
'@babel/core': ^7.0.0-0
709
652
710
-
'@babel/plugin-transform-sticky-regex@7.27.1':
711
-
resolution: {integrity: sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==}
653
+
'@babel/plugin-transform-sticky-regex@7.25.9':
654
+
resolution: {integrity: sha512-WqBUSgeVwucYDP9U/xNRQam7xV8W5Zf+6Eo7T2SRVUFlhRiMNFdFz58u0KZmCVVqs2i7SHgpRnAhzRNmKfi2uA==}
712
655
engines: {node: '>=6.9.0'}
713
656
peerDependencies:
714
657
'@babel/core': ^7.0.0-0
715
658
716
-
'@babel/plugin-transform-template-literals@7.27.1':
717
-
resolution: {integrity: sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==}
659
+
'@babel/plugin-transform-template-literals@7.26.8':
660
+
resolution: {integrity: sha512-OmGDL5/J0CJPJZTHZbi2XpO0tyT2Ia7fzpW5GURwdtp2X3fMmN8au/ej6peC/T33/+CRiIpA8Krse8hFGVmT5Q==}
718
661
engines: {node: '>=6.9.0'}
719
662
peerDependencies:
720
663
'@babel/core': ^7.0.0-0
721
664
722
-
'@babel/plugin-transform-typeof-symbol@7.27.1':
723
-
resolution: {integrity: sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==}
665
+
'@babel/plugin-transform-typeof-symbol@7.27.0':
666
+
resolution: {integrity: sha512-+LLkxA9rKJpNoGsbLnAgOCdESl73vwYn+V6b+5wHbrE7OGKVDPHIQvbFSzqE6rwqaCw2RE+zdJrlLkcf8YOA0w==}
724
667
engines: {node: '>=6.9.0'}
725
668
peerDependencies:
726
669
'@babel/core': ^7.0.0-0
727
670
728
-
'@babel/plugin-transform-unicode-escapes@7.27.1':
729
-
resolution: {integrity: sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==}
671
+
'@babel/plugin-transform-unicode-escapes@7.25.9':
672
+
resolution: {integrity: sha512-s5EDrE6bW97LtxOcGj1Khcx5AaXwiMmi4toFWRDP9/y0Woo6pXC+iyPu/KuhKtfSrNFd7jJB+/fkOtZy6aIC6Q==}
730
673
engines: {node: '>=6.9.0'}
731
674
peerDependencies:
732
675
'@babel/core': ^7.0.0-0
733
676
734
-
'@babel/plugin-transform-unicode-property-regex@7.27.1':
735
-
resolution: {integrity: sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==}
677
+
'@babel/plugin-transform-unicode-property-regex@7.25.9':
678
+
resolution: {integrity: sha512-Jt2d8Ga+QwRluxRQ307Vlxa6dMrYEMZCgGxoPR8V52rxPyldHu3hdlHspxaqYmE7oID5+kB+UKUB/eWS+DkkWg==}
736
679
engines: {node: '>=6.9.0'}
737
680
peerDependencies:
738
681
'@babel/core': ^7.0.0-0
739
682
740
-
'@babel/plugin-transform-unicode-regex@7.27.1':
741
-
resolution: {integrity: sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==}
683
+
'@babel/plugin-transform-unicode-regex@7.25.9':
684
+
resolution: {integrity: sha512-yoxstj7Rg9dlNn9UQxzk4fcNivwv4nUYz7fYXBaKxvw/lnmPuOm/ikoELygbYq68Bls3D/D+NBPHiLwZdZZ4HA==}
742
685
engines: {node: '>=6.9.0'}
743
686
peerDependencies:
744
687
'@babel/core': ^7.0.0-0
745
688
746
-
'@babel/plugin-transform-unicode-sets-regex@7.27.1':
747
-
resolution: {integrity: sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==}
689
+
'@babel/plugin-transform-unicode-sets-regex@7.25.9':
690
+
resolution: {integrity: sha512-8BYqO3GeVNHtx69fdPshN3fnzUNLrWdHhk/icSwigksJGczKSizZ+Z6SBCxTs723Fr5VSNorTIK7a+R2tISvwQ==}
748
691
engines: {node: '>=6.9.0'}
749
692
peerDependencies:
750
693
'@babel/core': ^7.0.0
751
694
752
-
'@babel/preset-env@7.28.5':
753
-
resolution: {integrity: sha512-S36mOoi1Sb6Fz98fBfE+UZSpYw5mJm0NUHtIKrOuNcqeFauy1J6dIvXm2KRVKobOSaGq4t/hBXdN4HGU3wL9Wg==}
695
+
'@babel/preset-env@7.26.9':
696
+
resolution: {integrity: sha512-vX3qPGE8sEKEAZCWk05k3cpTAE3/nOYca++JA+Rd0z2NCNzabmYvEiSShKzm10zdquOIAVXsy2Ei/DTW34KlKQ==}
754
697
engines: {node: '>=6.9.0'}
755
698
peerDependencies:
756
699
'@babel/core': ^7.0.0-0
···
760
703
peerDependencies:
761
704
'@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0
762
705
763
-
'@babel/runtime@7.28.4':
764
-
resolution: {integrity: sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==}
706
+
'@babel/runtime@7.27.0':
707
+
resolution: {integrity: sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==}
765
708
engines: {node: '>=6.9.0'}
766
709
767
-
'@babel/template@7.27.2':
768
-
resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
710
+
'@babel/template@7.27.0':
711
+
resolution: {integrity: sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==}
769
712
engines: {node: '>=6.9.0'}
770
713
771
-
'@babel/traverse@7.28.5':
772
-
resolution: {integrity: sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==}
714
+
'@babel/traverse@7.27.0':
715
+
resolution: {integrity: sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==}
773
716
engines: {node: '>=6.9.0'}
774
717
775
-
'@babel/types@7.28.5':
776
-
resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
718
+
'@babel/types@7.27.0':
719
+
resolution: {integrity: sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==}
777
720
engines: {node: '>=6.9.0'}
778
721
779
-
'@badrap/valita@0.4.6':
780
-
resolution: {integrity: sha512-4kdqcjyxo/8RQ8ayjms47HCWZIF5981oE5nIenbfThKDxWXtEHKipAOWlflpPJzZx9y/JWYQkp18Awr7VuepFg==}
781
-
engines: {node: '>= 18'}
782
-
783
-
'@cloudflare/kv-asset-handler@0.4.1':
784
-
resolution: {integrity: sha512-Nu8ahitGFFJztxUml9oD/DLb7Z28C8cd8F46IVQ7y5Btz575pvMY8AqZsXkX7Gds29eCKdMgIHjIvzskHgPSFg==}
722
+
'@cloudflare/kv-asset-handler@0.4.0':
723
+
resolution: {integrity: sha512-+tv3z+SPp+gqTIcImN9o0hqE9xyfQjI1XD9pL6NuKjua9B1y7mNYv0S9cP+QEbA4ppVgGZEmKOvHX5G5Ei1CVA==}
785
724
engines: {node: '>=18.0.0'}
786
725
787
-
'@cloudflare/unenv-preset@2.7.12':
788
-
resolution: {integrity: sha512-SIBo+k58R9OyBsxF1jL6GdL7XHbzatT86c0be+UY5v5tg6TAuJ1/2QsRuC3pHgKVHile1HcJqEEORoS9hv8hNw==}
726
+
'@cloudflare/unenv-preset@2.3.1':
727
+
resolution: {integrity: sha512-Xq57Qd+ADpt6hibcVBO0uLG9zzRgyRhfCUgBT9s+g3+3Ivg5zDyVgLFy40ES1VdNcu8rPNSivm9A+kGP5IVaPg==}
789
728
peerDependencies:
790
-
unenv: 2.0.0-rc.24
791
-
workerd: ^1.20251125.0
729
+
unenv: 2.0.0-rc.15
730
+
workerd: ^1.20250320.0
792
731
peerDependenciesMeta:
793
732
workerd:
794
733
optional: true
795
734
796
-
'@cloudflare/vite-plugin@1.16.1':
797
-
resolution: {integrity: sha512-8C4OUJfwX7jz7FBka5PkZRs6EMPg47YL00SgSG8R/N0MymhfkJREnCMBCSyEYdQNFfhGPLefgPKbPKnZqylxoA==}
798
-
peerDependencies:
799
-
vite: ^6.1.0 || ^7.0.0
800
-
wrangler: ^4.52.1
801
-
802
-
'@cloudflare/workerd-darwin-64@1.20251202.0':
803
-
resolution: {integrity: sha512-/uvEAWEukTWb1geHhbjGUeZqcSSSyYzp0mvoPUBl+l0ont4NVGao3fgwM0q8wtKvgoKCHSG6zcG23wj9Opj3Nw==}
735
+
'@cloudflare/workerd-darwin-64@1.20250321.0':
736
+
resolution: {integrity: sha512-y273GfLaNCxkL8hTfo0c8FZKkOPdq+CPZAKJXPWB+YpS1JCOULu6lNTptpD7ZtF14dTYPkn5Weug31TTlviJmw==}
804
737
engines: {node: '>=16'}
805
738
cpu: [x64]
806
739
os: [darwin]
807
740
808
-
'@cloudflare/workerd-darwin-arm64@1.20251202.0':
809
-
resolution: {integrity: sha512-f52xRvcI9cWRd6400EZStRtXiRC5XKEud7K5aFIbbUv0VeINltujFQQ9nHWtsF6g1quIXWkjhh5u01gPAYNNXA==}
741
+
'@cloudflare/workerd-darwin-arm64@1.20250321.0':
742
+
resolution: {integrity: sha512-qvf7/gkkQq7fAsoMlntJSimN/WfwQqxi2oL0aWZMGodTvs/yRHO2I4oE0eOihVdK1BXyBHJXNxEvNDBjF0+Yuw==}
810
743
engines: {node: '>=16'}
811
744
cpu: [arm64]
812
745
os: [darwin]
813
746
814
-
'@cloudflare/workerd-linux-64@1.20251202.0':
815
-
resolution: {integrity: sha512-HYXinF5RBH7oXbsFUMmwKCj+WltpYbf5mRKUBG5v3EuPhUjSIFB84U+58pDyfBJjcynHdy3EtvTWcvh/+lcgow==}
747
+
'@cloudflare/workerd-linux-64@1.20250321.0':
748
+
resolution: {integrity: sha512-AEp3xjWFrNPO/h0StCOgOb0bWCcNThnkESpy91Wf4mfUF2p7tOCdp37Nk/1QIRqSxnfv4Hgxyi7gcWud9cJuMw==}
816
749
engines: {node: '>=16'}
817
750
cpu: [x64]
818
751
os: [linux]
819
752
820
-
'@cloudflare/workerd-linux-arm64@1.20251202.0':
821
-
resolution: {integrity: sha512-++L02Jdoxz7hEA9qDaQjbVU1RzQS+S+eqIi22DkPe2Tgiq2M3UfNpeu+75k5L9DGRIkZPYvwMBMbcmKvQqdIIg==}
753
+
'@cloudflare/workerd-linux-arm64@1.20250321.0':
754
+
resolution: {integrity: sha512-wRWyMIoPIS1UBXCisW0FYTgGsfZD4AVS0hXA5nuLc0c21CvzZpmmTjqEWMcwPFenwy/MNL61NautVOC4qJqQ3Q==}
822
755
engines: {node: '>=16'}
823
756
cpu: [arm64]
824
757
os: [linux]
825
758
826
-
'@cloudflare/workerd-windows-64@1.20251202.0':
827
-
resolution: {integrity: sha512-gzeU6eDydTi7ib+Q9DD/c0hpXtqPucnHk2tfGU03mljPObYxzMkkPGgB5qxpksFvub3y4K0ChjqYxGJB4F+j3g==}
759
+
'@cloudflare/workerd-windows-64@1.20250321.0':
760
+
resolution: {integrity: sha512-8vYP3QYO0zo2faUDfWl88jjfUvz7Si9GS3mUYaTh/TR9LcAUtsO7muLxPamqEyoxNFtbQgy08R4rTid94KRi3w==}
828
761
engines: {node: '>=16'}
829
762
cpu: [x64]
830
763
os: [win32]
···
833
766
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
834
767
engines: {node: '>=12'}
835
768
836
-
'@emnapi/runtime@1.7.1':
837
-
resolution: {integrity: sha512-PVtJr5CmLwYAU9PZDMITZoR5iAOShYREoR45EyyLrbntV50mdePTgUn4AmOw90Ifcj+x2kRjdzr1HP3RrNiHGA==}
769
+
'@emnapi/runtime@1.4.0':
770
+
resolution: {integrity: sha512-64WYIf4UYcdLnbKn/umDlNjQDSS8AgZrI/R9+x5ilkUVFxXcA1Ebl+gQLc/6mERA4407Xof0R7wEyEuj091CVw==}
838
771
839
-
'@esbuild/aix-ppc64@0.25.12':
840
-
resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==}
772
+
'@esbuild/aix-ppc64@0.24.0':
773
+
resolution: {integrity: sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==}
841
774
engines: {node: '>=18'}
842
775
cpu: [ppc64]
843
776
os: [aix]
844
777
845
-
'@esbuild/aix-ppc64@0.27.0':
846
-
resolution: {integrity: sha512-KuZrd2hRjz01y5JK9mEBSD3Vj3mbCvemhT466rSuJYeE/hjuBrHfjjcjMdTm/sz7au+++sdbJZJmuBwQLuw68A==}
778
+
'@esbuild/aix-ppc64@0.24.2':
779
+
resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==}
847
780
engines: {node: '>=18'}
848
781
cpu: [ppc64]
849
782
os: [aix]
850
783
851
-
'@esbuild/android-arm64@0.25.12':
852
-
resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==}
784
+
'@esbuild/android-arm64@0.24.0':
785
+
resolution: {integrity: sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==}
853
786
engines: {node: '>=18'}
854
787
cpu: [arm64]
855
788
os: [android]
856
789
857
-
'@esbuild/android-arm64@0.27.0':
858
-
resolution: {integrity: sha512-CC3vt4+1xZrs97/PKDkl0yN7w8edvU2vZvAFGD16n9F0Cvniy5qvzRXjfO1l94efczkkQE6g1x0i73Qf5uthOQ==}
790
+
'@esbuild/android-arm64@0.24.2':
791
+
resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==}
859
792
engines: {node: '>=18'}
860
793
cpu: [arm64]
861
794
os: [android]
862
795
863
-
'@esbuild/android-arm@0.25.12':
864
-
resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==}
796
+
'@esbuild/android-arm@0.24.0':
797
+
resolution: {integrity: sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==}
865
798
engines: {node: '>=18'}
866
799
cpu: [arm]
867
800
os: [android]
868
801
869
-
'@esbuild/android-arm@0.27.0':
870
-
resolution: {integrity: sha512-j67aezrPNYWJEOHUNLPj9maeJte7uSMM6gMoxfPC9hOg8N02JuQi/T7ewumf4tNvJadFkvLZMlAq73b9uwdMyQ==}
802
+
'@esbuild/android-arm@0.24.2':
803
+
resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==}
871
804
engines: {node: '>=18'}
872
805
cpu: [arm]
873
806
os: [android]
874
807
875
-
'@esbuild/android-x64@0.25.12':
876
-
resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==}
808
+
'@esbuild/android-x64@0.24.0':
809
+
resolution: {integrity: sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==}
877
810
engines: {node: '>=18'}
878
811
cpu: [x64]
879
812
os: [android]
880
813
881
-
'@esbuild/android-x64@0.27.0':
882
-
resolution: {integrity: sha512-wurMkF1nmQajBO1+0CJmcN17U4BP6GqNSROP8t0X/Jiw2ltYGLHpEksp9MpoBqkrFR3kv2/te6Sha26k3+yZ9Q==}
814
+
'@esbuild/android-x64@0.24.2':
815
+
resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==}
883
816
engines: {node: '>=18'}
884
817
cpu: [x64]
885
818
os: [android]
886
819
887
-
'@esbuild/darwin-arm64@0.25.12':
888
-
resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==}
820
+
'@esbuild/darwin-arm64@0.24.0':
821
+
resolution: {integrity: sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==}
889
822
engines: {node: '>=18'}
890
823
cpu: [arm64]
891
824
os: [darwin]
892
825
893
-
'@esbuild/darwin-arm64@0.27.0':
894
-
resolution: {integrity: sha512-uJOQKYCcHhg07DL7i8MzjvS2LaP7W7Pn/7uA0B5S1EnqAirJtbyw4yC5jQ5qcFjHK9l6o/MX9QisBg12kNkdHg==}
826
+
'@esbuild/darwin-arm64@0.24.2':
827
+
resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==}
895
828
engines: {node: '>=18'}
896
829
cpu: [arm64]
897
830
os: [darwin]
898
831
899
-
'@esbuild/darwin-x64@0.25.12':
900
-
resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==}
832
+
'@esbuild/darwin-x64@0.24.0':
833
+
resolution: {integrity: sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==}
901
834
engines: {node: '>=18'}
902
835
cpu: [x64]
903
836
os: [darwin]
904
837
905
-
'@esbuild/darwin-x64@0.27.0':
906
-
resolution: {integrity: sha512-8mG6arH3yB/4ZXiEnXof5MK72dE6zM9cDvUcPtxhUZsDjESl9JipZYW60C3JGreKCEP+p8P/72r69m4AZGJd5g==}
838
+
'@esbuild/darwin-x64@0.24.2':
839
+
resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==}
907
840
engines: {node: '>=18'}
908
841
cpu: [x64]
909
842
os: [darwin]
910
843
911
-
'@esbuild/freebsd-arm64@0.25.12':
912
-
resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==}
844
+
'@esbuild/freebsd-arm64@0.24.0':
845
+
resolution: {integrity: sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==}
913
846
engines: {node: '>=18'}
914
847
cpu: [arm64]
915
848
os: [freebsd]
916
849
917
-
'@esbuild/freebsd-arm64@0.27.0':
918
-
resolution: {integrity: sha512-9FHtyO988CwNMMOE3YIeci+UV+x5Zy8fI2qHNpsEtSF83YPBmE8UWmfYAQg6Ux7Gsmd4FejZqnEUZCMGaNQHQw==}
850
+
'@esbuild/freebsd-arm64@0.24.2':
851
+
resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==}
919
852
engines: {node: '>=18'}
920
853
cpu: [arm64]
921
854
os: [freebsd]
922
855
923
-
'@esbuild/freebsd-x64@0.25.12':
924
-
resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==}
856
+
'@esbuild/freebsd-x64@0.24.0':
857
+
resolution: {integrity: sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==}
925
858
engines: {node: '>=18'}
926
859
cpu: [x64]
927
860
os: [freebsd]
928
861
929
-
'@esbuild/freebsd-x64@0.27.0':
930
-
resolution: {integrity: sha512-zCMeMXI4HS/tXvJz8vWGexpZj2YVtRAihHLk1imZj4efx1BQzN76YFeKqlDr3bUWI26wHwLWPd3rwh6pe4EV7g==}
862
+
'@esbuild/freebsd-x64@0.24.2':
863
+
resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==}
931
864
engines: {node: '>=18'}
932
865
cpu: [x64]
933
866
os: [freebsd]
934
867
935
-
'@esbuild/linux-arm64@0.25.12':
936
-
resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==}
868
+
'@esbuild/linux-arm64@0.24.0':
869
+
resolution: {integrity: sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==}
937
870
engines: {node: '>=18'}
938
871
cpu: [arm64]
939
872
os: [linux]
940
873
941
-
'@esbuild/linux-arm64@0.27.0':
942
-
resolution: {integrity: sha512-AS18v0V+vZiLJyi/4LphvBE+OIX682Pu7ZYNsdUHyUKSoRwdnOsMf6FDekwoAFKej14WAkOef3zAORJgAtXnlQ==}
874
+
'@esbuild/linux-arm64@0.24.2':
875
+
resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==}
943
876
engines: {node: '>=18'}
944
877
cpu: [arm64]
945
878
os: [linux]
946
879
947
-
'@esbuild/linux-arm@0.25.12':
948
-
resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==}
880
+
'@esbuild/linux-arm@0.24.0':
881
+
resolution: {integrity: sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==}
949
882
engines: {node: '>=18'}
950
883
cpu: [arm]
951
884
os: [linux]
952
885
953
-
'@esbuild/linux-arm@0.27.0':
954
-
resolution: {integrity: sha512-t76XLQDpxgmq2cNXKTVEB7O7YMb42atj2Re2Haf45HkaUpjM2J0UuJZDuaGbPbamzZ7bawyGFUkodL+zcE+jvQ==}
886
+
'@esbuild/linux-arm@0.24.2':
887
+
resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==}
955
888
engines: {node: '>=18'}
956
889
cpu: [arm]
957
890
os: [linux]
958
891
959
-
'@esbuild/linux-ia32@0.25.12':
960
-
resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==}
892
+
'@esbuild/linux-ia32@0.24.0':
893
+
resolution: {integrity: sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==}
961
894
engines: {node: '>=18'}
962
895
cpu: [ia32]
963
896
os: [linux]
964
897
965
-
'@esbuild/linux-ia32@0.27.0':
966
-
resolution: {integrity: sha512-Mz1jxqm/kfgKkc/KLHC5qIujMvnnarD9ra1cEcrs7qshTUSksPihGrWHVG5+osAIQ68577Zpww7SGapmzSt4Nw==}
898
+
'@esbuild/linux-ia32@0.24.2':
899
+
resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==}
967
900
engines: {node: '>=18'}
968
901
cpu: [ia32]
969
902
os: [linux]
970
903
971
-
'@esbuild/linux-loong64@0.25.12':
972
-
resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==}
904
+
'@esbuild/linux-loong64@0.24.0':
905
+
resolution: {integrity: sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==}
973
906
engines: {node: '>=18'}
974
907
cpu: [loong64]
975
908
os: [linux]
976
909
977
-
'@esbuild/linux-loong64@0.27.0':
978
-
resolution: {integrity: sha512-QbEREjdJeIreIAbdG2hLU1yXm1uu+LTdzoq1KCo4G4pFOLlvIspBm36QrQOar9LFduavoWX2msNFAAAY9j4BDg==}
910
+
'@esbuild/linux-loong64@0.24.2':
911
+
resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==}
979
912
engines: {node: '>=18'}
980
913
cpu: [loong64]
981
914
os: [linux]
982
915
983
-
'@esbuild/linux-mips64el@0.25.12':
984
-
resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==}
916
+
'@esbuild/linux-mips64el@0.24.0':
917
+
resolution: {integrity: sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==}
985
918
engines: {node: '>=18'}
986
919
cpu: [mips64el]
987
920
os: [linux]
988
921
989
-
'@esbuild/linux-mips64el@0.27.0':
990
-
resolution: {integrity: sha512-sJz3zRNe4tO2wxvDpH/HYJilb6+2YJxo/ZNbVdtFiKDufzWq4JmKAiHy9iGoLjAV7r/W32VgaHGkk35cUXlNOg==}
922
+
'@esbuild/linux-mips64el@0.24.2':
923
+
resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==}
991
924
engines: {node: '>=18'}
992
925
cpu: [mips64el]
993
926
os: [linux]
994
927
995
-
'@esbuild/linux-ppc64@0.25.12':
996
-
resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==}
928
+
'@esbuild/linux-ppc64@0.24.0':
929
+
resolution: {integrity: sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==}
997
930
engines: {node: '>=18'}
998
931
cpu: [ppc64]
999
932
os: [linux]
1000
933
1001
-
'@esbuild/linux-ppc64@0.27.0':
1002
-
resolution: {integrity: sha512-z9N10FBD0DCS2dmSABDBb5TLAyF1/ydVb+N4pi88T45efQ/w4ohr/F/QYCkxDPnkhkp6AIpIcQKQ8F0ANoA2JA==}
934
+
'@esbuild/linux-ppc64@0.24.2':
935
+
resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==}
1003
936
engines: {node: '>=18'}
1004
937
cpu: [ppc64]
1005
938
os: [linux]
1006
939
1007
-
'@esbuild/linux-riscv64@0.25.12':
1008
-
resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==}
940
+
'@esbuild/linux-riscv64@0.24.0':
941
+
resolution: {integrity: sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==}
1009
942
engines: {node: '>=18'}
1010
943
cpu: [riscv64]
1011
944
os: [linux]
1012
945
1013
-
'@esbuild/linux-riscv64@0.27.0':
1014
-
resolution: {integrity: sha512-pQdyAIZ0BWIC5GyvVFn5awDiO14TkT/19FTmFcPdDec94KJ1uZcmFs21Fo8auMXzD4Tt+diXu1LW1gHus9fhFQ==}
946
+
'@esbuild/linux-riscv64@0.24.2':
947
+
resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==}
1015
948
engines: {node: '>=18'}
1016
949
cpu: [riscv64]
1017
950
os: [linux]
1018
951
1019
-
'@esbuild/linux-s390x@0.25.12':
1020
-
resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==}
952
+
'@esbuild/linux-s390x@0.24.0':
953
+
resolution: {integrity: sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==}
1021
954
engines: {node: '>=18'}
1022
955
cpu: [s390x]
1023
956
os: [linux]
1024
957
1025
-
'@esbuild/linux-s390x@0.27.0':
1026
-
resolution: {integrity: sha512-hPlRWR4eIDDEci953RI1BLZitgi5uqcsjKMxwYfmi4LcwyWo2IcRP+lThVnKjNtk90pLS8nKdroXYOqW+QQH+w==}
958
+
'@esbuild/linux-s390x@0.24.2':
959
+
resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==}
1027
960
engines: {node: '>=18'}
1028
961
cpu: [s390x]
1029
962
os: [linux]
1030
963
1031
-
'@esbuild/linux-x64@0.25.12':
1032
-
resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==}
964
+
'@esbuild/linux-x64@0.24.0':
965
+
resolution: {integrity: sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==}
1033
966
engines: {node: '>=18'}
1034
967
cpu: [x64]
1035
968
os: [linux]
1036
969
1037
-
'@esbuild/linux-x64@0.27.0':
1038
-
resolution: {integrity: sha512-1hBWx4OUJE2cab++aVZ7pObD6s+DK4mPGpemtnAORBvb5l/g5xFGk0vc0PjSkrDs0XaXj9yyob3d14XqvnQ4gw==}
970
+
'@esbuild/linux-x64@0.24.2':
971
+
resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==}
1039
972
engines: {node: '>=18'}
1040
973
cpu: [x64]
1041
974
os: [linux]
1042
975
1043
-
'@esbuild/netbsd-arm64@0.25.12':
1044
-
resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==}
976
+
'@esbuild/netbsd-arm64@0.24.2':
977
+
resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==}
1045
978
engines: {node: '>=18'}
1046
979
cpu: [arm64]
1047
980
os: [netbsd]
1048
981
1049
-
'@esbuild/netbsd-arm64@0.27.0':
1050
-
resolution: {integrity: sha512-6m0sfQfxfQfy1qRuecMkJlf1cIzTOgyaeXaiVaaki8/v+WB+U4hc6ik15ZW6TAllRlg/WuQXxWj1jx6C+dfy3w==}
1051
-
engines: {node: '>=18'}
1052
-
cpu: [arm64]
1053
-
os: [netbsd]
1054
-
1055
-
'@esbuild/netbsd-x64@0.25.12':
1056
-
resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==}
982
+
'@esbuild/netbsd-x64@0.24.0':
983
+
resolution: {integrity: sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==}
1057
984
engines: {node: '>=18'}
1058
985
cpu: [x64]
1059
986
os: [netbsd]
1060
987
1061
-
'@esbuild/netbsd-x64@0.27.0':
1062
-
resolution: {integrity: sha512-xbbOdfn06FtcJ9d0ShxxvSn2iUsGd/lgPIO2V3VZIPDbEaIj1/3nBBe1AwuEZKXVXkMmpr6LUAgMkLD/4D2PPA==}
988
+
'@esbuild/netbsd-x64@0.24.2':
989
+
resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==}
1063
990
engines: {node: '>=18'}
1064
991
cpu: [x64]
1065
992
os: [netbsd]
1066
993
1067
-
'@esbuild/openbsd-arm64@0.25.12':
1068
-
resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==}
994
+
'@esbuild/openbsd-arm64@0.24.0':
995
+
resolution: {integrity: sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==}
1069
996
engines: {node: '>=18'}
1070
997
cpu: [arm64]
1071
998
os: [openbsd]
1072
999
1073
-
'@esbuild/openbsd-arm64@0.27.0':
1074
-
resolution: {integrity: sha512-fWgqR8uNbCQ/GGv0yhzttj6sU/9Z5/Sv/VGU3F5OuXK6J6SlriONKrQ7tNlwBrJZXRYk5jUhuWvF7GYzGguBZQ==}
1000
+
'@esbuild/openbsd-arm64@0.24.2':
1001
+
resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==}
1075
1002
engines: {node: '>=18'}
1076
1003
cpu: [arm64]
1077
1004
os: [openbsd]
1078
1005
1079
-
'@esbuild/openbsd-x64@0.25.12':
1080
-
resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==}
1006
+
'@esbuild/openbsd-x64@0.24.0':
1007
+
resolution: {integrity: sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==}
1081
1008
engines: {node: '>=18'}
1082
1009
cpu: [x64]
1083
1010
os: [openbsd]
1084
1011
1085
-
'@esbuild/openbsd-x64@0.27.0':
1086
-
resolution: {integrity: sha512-aCwlRdSNMNxkGGqQajMUza6uXzR/U0dIl1QmLjPtRbLOx3Gy3otfFu/VjATy4yQzo9yFDGTxYDo1FfAD9oRD2A==}
1012
+
'@esbuild/openbsd-x64@0.24.2':
1013
+
resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==}
1087
1014
engines: {node: '>=18'}
1088
1015
cpu: [x64]
1089
1016
os: [openbsd]
1090
1017
1091
-
'@esbuild/openharmony-arm64@0.25.12':
1092
-
resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==}
1093
-
engines: {node: '>=18'}
1094
-
cpu: [arm64]
1095
-
os: [openharmony]
1096
-
1097
-
'@esbuild/openharmony-arm64@0.27.0':
1098
-
resolution: {integrity: sha512-nyvsBccxNAsNYz2jVFYwEGuRRomqZ149A39SHWk4hV0jWxKM0hjBPm3AmdxcbHiFLbBSwG6SbpIcUbXjgyECfA==}
1099
-
engines: {node: '>=18'}
1100
-
cpu: [arm64]
1101
-
os: [openharmony]
1102
-
1103
-
'@esbuild/sunos-x64@0.25.12':
1104
-
resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==}
1018
+
'@esbuild/sunos-x64@0.24.0':
1019
+
resolution: {integrity: sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==}
1105
1020
engines: {node: '>=18'}
1106
1021
cpu: [x64]
1107
1022
os: [sunos]
1108
1023
1109
-
'@esbuild/sunos-x64@0.27.0':
1110
-
resolution: {integrity: sha512-Q1KY1iJafM+UX6CFEL+F4HRTgygmEW568YMqDA5UV97AuZSm21b7SXIrRJDwXWPzr8MGr75fUZPV67FdtMHlHA==}
1024
+
'@esbuild/sunos-x64@0.24.2':
1025
+
resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==}
1111
1026
engines: {node: '>=18'}
1112
1027
cpu: [x64]
1113
1028
os: [sunos]
1114
1029
1115
-
'@esbuild/win32-arm64@0.25.12':
1116
-
resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==}
1030
+
'@esbuild/win32-arm64@0.24.0':
1031
+
resolution: {integrity: sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==}
1117
1032
engines: {node: '>=18'}
1118
1033
cpu: [arm64]
1119
1034
os: [win32]
1120
1035
1121
-
'@esbuild/win32-arm64@0.27.0':
1122
-
resolution: {integrity: sha512-W1eyGNi6d+8kOmZIwi/EDjrL9nxQIQ0MiGqe/AWc6+IaHloxHSGoeRgDRKHFISThLmsewZ5nHFvGFWdBYlgKPg==}
1036
+
'@esbuild/win32-arm64@0.24.2':
1037
+
resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==}
1123
1038
engines: {node: '>=18'}
1124
1039
cpu: [arm64]
1125
1040
os: [win32]
1126
1041
1127
-
'@esbuild/win32-ia32@0.25.12':
1128
-
resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==}
1042
+
'@esbuild/win32-ia32@0.24.0':
1043
+
resolution: {integrity: sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==}
1129
1044
engines: {node: '>=18'}
1130
1045
cpu: [ia32]
1131
1046
os: [win32]
1132
1047
1133
-
'@esbuild/win32-ia32@0.27.0':
1134
-
resolution: {integrity: sha512-30z1aKL9h22kQhilnYkORFYt+3wp7yZsHWus+wSKAJR8JtdfI76LJ4SBdMsCopTR3z/ORqVu5L1vtnHZWVj4cQ==}
1048
+
'@esbuild/win32-ia32@0.24.2':
1049
+
resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==}
1135
1050
engines: {node: '>=18'}
1136
1051
cpu: [ia32]
1137
1052
os: [win32]
1138
1053
1139
-
'@esbuild/win32-x64@0.25.12':
1140
-
resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==}
1054
+
'@esbuild/win32-x64@0.24.0':
1055
+
resolution: {integrity: sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==}
1141
1056
engines: {node: '>=18'}
1142
1057
cpu: [x64]
1143
1058
os: [win32]
1144
1059
1145
-
'@esbuild/win32-x64@0.27.0':
1146
-
resolution: {integrity: sha512-aIitBcjQeyOhMTImhLZmtxfdOcuNRpwlPNmlFKPcHQYPhEssw75Cl1TSXJXpMkzaua9FUetx/4OQKq7eJul5Cg==}
1060
+
'@esbuild/win32-x64@0.24.2':
1061
+
resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==}
1147
1062
engines: {node: '>=18'}
1148
1063
cpu: [x64]
1149
1064
os: [win32]
···
1158
1073
peerDependencies:
1159
1074
solid-js: ^1.8.5
1160
1075
1161
-
'@floating-ui/core@1.7.3':
1162
-
resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==}
1076
+
'@fastify/busboy@2.1.1':
1077
+
resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==}
1078
+
engines: {node: '>=14'}
1163
1079
1164
-
'@floating-ui/dom@1.7.4':
1165
-
resolution: {integrity: sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==}
1080
+
'@floating-ui/core@1.6.9':
1081
+
resolution: {integrity: sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==}
1082
+
1083
+
'@floating-ui/dom@1.6.13':
1084
+
resolution: {integrity: sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==}
1166
1085
1167
-
'@floating-ui/utils@0.2.10':
1168
-
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
1086
+
'@floating-ui/utils@0.2.9':
1087
+
resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==}
1169
1088
1170
1089
'@img/sharp-darwin-arm64@0.33.5':
1171
1090
resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==}
···
1272
1191
cpu: [x64]
1273
1192
os: [win32]
1274
1193
1275
-
'@isaacs/balanced-match@4.0.1':
1276
-
resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}
1277
-
engines: {node: 20 || >=22}
1278
-
1279
-
'@isaacs/brace-expansion@5.0.0':
1280
-
resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==}
1281
-
engines: {node: 20 || >=22}
1282
-
1283
1194
'@isaacs/cliui@8.0.2':
1284
1195
resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
1285
1196
engines: {node: '>=12'}
1286
1197
1287
-
'@jridgewell/gen-mapping@0.3.13':
1288
-
resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
1289
-
1290
-
'@jridgewell/remapping@2.3.5':
1291
-
resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}
1198
+
'@jridgewell/gen-mapping@0.3.8':
1199
+
resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==}
1200
+
engines: {node: '>=6.0.0'}
1292
1201
1293
1202
'@jridgewell/resolve-uri@3.1.2':
1294
1203
resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
1295
1204
engines: {node: '>=6.0.0'}
1296
1205
1297
-
'@jridgewell/source-map@0.3.11':
1298
-
resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}
1206
+
'@jridgewell/set-array@1.2.1':
1207
+
resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}
1208
+
engines: {node: '>=6.0.0'}
1299
1209
1300
-
'@jridgewell/sourcemap-codec@1.5.5':
1301
-
resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
1210
+
'@jridgewell/source-map@0.3.6':
1211
+
resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==}
1302
1212
1303
-
'@jridgewell/trace-mapping@0.3.31':
1304
-
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
1213
+
'@jridgewell/sourcemap-codec@1.5.0':
1214
+
resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}
1215
+
1216
+
'@jridgewell/trace-mapping@0.3.25':
1217
+
resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
1305
1218
1306
1219
'@jridgewell/trace-mapping@0.3.9':
1307
1220
resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
1308
1221
1309
-
'@jsr/mary__array-fns@0.1.5':
1310
-
resolution: {integrity: sha512-gI4scq/Hh9GtFUJfS8cvZf5nr+cs7udvrEpMv75grws5/0LIwBycKeeJcNi4+xNl6x4CGW6Fp46puhtJiQOpMg==, tarball: https://npm.jsr.io/~/11/@jsr/mary__array-fns/0.1.5.tgz}
1222
+
'@jsr/mary__array-fns@0.1.4':
1223
+
resolution: {integrity: sha512-+HbGYR9Ll5blEmAvVAoPejyGj01YeBbVmJ59qxaMDKt5i3F90ohYLA5a78y6AULDlet1IxYB+a/cMN+A0vGnDg==, tarball: https://npm.jsr.io/~/11/@jsr/mary__array-fns/0.1.4.tgz}
1311
1224
1312
1225
'@jsr/mary__async-iterator-fns@0.1.1':
1313
1226
resolution: {integrity: sha512-ef/TDpu6yGTAb4fbGEjSFPO7u49WrxJeXa9T6fvmjlpEfR84qxrjTR6MEUQ1hMySD0+O9yQKvBl/KL5x7K9+iA==, tarball: https://npm.jsr.io/~/11/@jsr/mary__async-iterator-fns/0.1.1.tgz}
1314
1227
1315
-
'@jsr/mary__batch-fetch@0.1.0':
1316
-
resolution: {integrity: sha512-A5SmTfDUMjr+AaJA+wFg4eKKVQm6/51CYTg5ssO+vcnaCJoP1Y0RURG6VkMno9QUholf3AAldfzRgQOXDZbFgg==, tarball: https://npm.jsr.io/~/11/@jsr/mary__batch-fetch/0.1.0.tgz}
1317
-
1318
1228
'@jsr/mary__date-fns@0.1.3':
1319
1229
resolution: {integrity: sha512-kjS04BESEHO9ZTqjOxk4ip8DsAdVDmt/jC5V4zVIYq3VD/04+WJK9kjdQda23eVZMuF9ZZY0zMswU7UXG+PSrg==, tarball: https://npm.jsr.io/~/11/@jsr/mary__date-fns/0.1.3.tgz}
1320
1230
···
1323
1233
1324
1234
'@jsr/mary__exif-rm@0.2.2':
1325
1235
resolution: {integrity: sha512-+ZpLaC+1CyqWhH608Sqd6/yTG0pOlokn2tCXha7s1SMQ+GLKo4Nn/PskTeeP9Pt+6gNYSu6ednoSlRvXb2ZGxg==, tarball: https://npm.jsr.io/~/11/@jsr/mary__exif-rm/0.2.2.tgz}
1326
-
1327
-
'@kelinci/basa-lexicons@1.0.0':
1328
-
resolution: {integrity: sha512-QND0ktwpGySoHhqRUrLZ3YybyHnOkV6mGCLn75yJWl9PpKIMh/gmAyvXIo1ZuzSHu4v6xcSyi3A78QoH4MhTGw==}
1329
-
1330
-
'@noble/secp256k1@3.0.0':
1331
-
resolution: {integrity: sha512-NJBaR352KyIvj3t6sgT/+7xrNyF9Xk9QlLSIqUGVUYlsnDTAUqY8LOmwpcgEx4AMJXRITQ5XEVHD+mMaPfr3mg==}
1332
1236
1333
1237
'@nodelib/fs.scandir@2.1.5':
1334
1238
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
···
1357
1261
resolution: {integrity: sha512-/lwVUaDPCeopUL6XPz2B2ZwaQeIbctP8YxNIyCxunxVKWhCAhii+w0ourNK7JedyGIcM+DaXZTeRlcbgEWaZig==}
1358
1262
engines: {node: '>=12.4.0'}
1359
1263
1360
-
'@poppinss/colors@4.1.5':
1361
-
resolution: {integrity: sha512-FvdDqtcRCtz6hThExcFOgW0cWX+xwSMWcRuQe5ZEb2m7cVQOAVZOIMt+/v9RxGiD9/OY16qJBXK4CVKWAPalBw==}
1362
-
1363
-
'@poppinss/dumper@0.6.5':
1364
-
resolution: {integrity: sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==}
1365
-
1366
-
'@poppinss/exception@1.2.2':
1367
-
resolution: {integrity: sha512-m7bpKCD4QMlFCjA/nKTs23fuvoVFoA83brRKmObCUNmi/9tVu8Ve3w4YQAnJu4q3Tjf5fr685HYIC/IA2zHRSg==}
1368
-
1369
-
'@remix-run/node-fetch-server@0.8.1':
1370
-
resolution: {integrity: sha512-J1dev372wtJqmqn9U/qbpbZxbJSQrogNN2+Qv1lKlpATpe/WQ9aCZfl/xSb9d2Rgh1IyLSvNxZAXPZxruO6Xig==}
1264
+
'@pkgjs/parseargs@0.11.0':
1265
+
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
1266
+
engines: {node: '>=14'}
1371
1267
1372
1268
'@rollup/plugin-babel@5.3.1':
1373
1269
resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==}
···
1409
1305
peerDependencies:
1410
1306
rollup: ^1.20.0||^2.0.0
1411
1307
1412
-
'@rollup/pluginutils@5.3.0':
1413
-
resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==}
1308
+
'@rollup/pluginutils@5.1.4':
1309
+
resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}
1414
1310
engines: {node: '>=14.0.0'}
1415
1311
peerDependencies:
1416
1312
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
···
1418
1314
rollup:
1419
1315
optional: true
1420
1316
1421
-
'@rollup/rollup-android-arm-eabi@4.53.3':
1422
-
resolution: {integrity: sha512-mRSi+4cBjrRLoaal2PnqH82Wqyb+d3HsPUN/W+WslCXsZsyHa9ZeQQX/pQsZaVIWDkPcpV6jJ+3KLbTbgnwv8w==}
1317
+
'@rollup/rollup-android-arm-eabi@4.37.0':
1318
+
resolution: {integrity: sha512-l7StVw6WAa8l3vA1ov80jyetOAEo1FtHvZDbzXDO/02Sq/QVvqlHkYoFwDJPIMj0GKiistsBudfx5tGFnwYWDQ==}
1423
1319
cpu: [arm]
1424
1320
os: [android]
1425
1321
1426
-
'@rollup/rollup-android-arm64@4.53.3':
1427
-
resolution: {integrity: sha512-CbDGaMpdE9sh7sCmTrTUyllhrg65t6SwhjlMJsLr+J8YjFuPmCEjbBSx4Z/e4SmDyH3aB5hGaJUP2ltV/vcs4w==}
1322
+
'@rollup/rollup-android-arm64@4.37.0':
1323
+
resolution: {integrity: sha512-6U3SlVyMxezt8Y+/iEBcbp945uZjJwjZimu76xoG7tO1av9VO691z8PkhzQ85ith2I8R2RddEPeSfcbyPfD4hA==}
1428
1324
cpu: [arm64]
1429
1325
os: [android]
1430
1326
1431
-
'@rollup/rollup-darwin-arm64@4.53.3':
1432
-
resolution: {integrity: sha512-Nr7SlQeqIBpOV6BHHGZgYBuSdanCXuw09hon14MGOLGmXAFYjx1wNvquVPmpZnl0tLjg25dEdr4IQ6GgyToCUA==}
1327
+
'@rollup/rollup-darwin-arm64@4.37.0':
1328
+
resolution: {integrity: sha512-+iTQ5YHuGmPt10NTzEyMPbayiNTcOZDWsbxZYR1ZnmLnZxG17ivrPSWFO9j6GalY0+gV3Jtwrrs12DBscxnlYA==}
1433
1329
cpu: [arm64]
1434
1330
os: [darwin]
1435
1331
1436
-
'@rollup/rollup-darwin-x64@4.53.3':
1437
-
resolution: {integrity: sha512-DZ8N4CSNfl965CmPktJ8oBnfYr3F8dTTNBQkRlffnUarJ2ohudQD17sZBa097J8xhQ26AwhHJ5mvUyQW8ddTsQ==}
1332
+
'@rollup/rollup-darwin-x64@4.37.0':
1333
+
resolution: {integrity: sha512-m8W2UbxLDcmRKVjgl5J/k4B8d7qX2EcJve3Sut7YGrQoPtCIQGPH5AMzuFvYRWZi0FVS0zEY4c8uttPfX6bwYQ==}
1438
1334
cpu: [x64]
1439
1335
os: [darwin]
1440
1336
1441
-
'@rollup/rollup-freebsd-arm64@4.53.3':
1442
-
resolution: {integrity: sha512-yMTrCrK92aGyi7GuDNtGn2sNW+Gdb4vErx4t3Gv/Tr+1zRb8ax4z8GWVRfr3Jw8zJWvpGHNpss3vVlbF58DZ4w==}
1337
+
'@rollup/rollup-freebsd-arm64@4.37.0':
1338
+
resolution: {integrity: sha512-FOMXGmH15OmtQWEt174v9P1JqqhlgYge/bUjIbiVD1nI1NeJ30HYT9SJlZMqdo1uQFyt9cz748F1BHghWaDnVA==}
1443
1339
cpu: [arm64]
1444
1340
os: [freebsd]
1445
1341
1446
-
'@rollup/rollup-freebsd-x64@4.53.3':
1447
-
resolution: {integrity: sha512-lMfF8X7QhdQzseM6XaX0vbno2m3hlyZFhwcndRMw8fbAGUGL3WFMBdK0hbUBIUYcEcMhVLr1SIamDeuLBnXS+Q==}
1342
+
'@rollup/rollup-freebsd-x64@4.37.0':
1343
+
resolution: {integrity: sha512-SZMxNttjPKvV14Hjck5t70xS3l63sbVwl98g3FlVVx2YIDmfUIy29jQrsw06ewEYQ8lQSuY9mpAPlmgRD2iSsA==}
1448
1344
cpu: [x64]
1449
1345
os: [freebsd]
1450
1346
1451
-
'@rollup/rollup-linux-arm-gnueabihf@4.53.3':
1452
-
resolution: {integrity: sha512-k9oD15soC/Ln6d2Wv/JOFPzZXIAIFLp6B+i14KhxAfnq76ajt0EhYc5YPeX6W1xJkAdItcVT+JhKl1QZh44/qw==}
1347
+
'@rollup/rollup-linux-arm-gnueabihf@4.37.0':
1348
+
resolution: {integrity: sha512-hhAALKJPidCwZcj+g+iN+38SIOkhK2a9bqtJR+EtyxrKKSt1ynCBeqrQy31z0oWU6thRZzdx53hVgEbRkuI19w==}
1453
1349
cpu: [arm]
1454
1350
os: [linux]
1455
1351
1456
-
'@rollup/rollup-linux-arm-musleabihf@4.53.3':
1457
-
resolution: {integrity: sha512-vTNlKq+N6CK/8UktsrFuc+/7NlEYVxgaEgRXVUVK258Z5ymho29skzW1sutgYjqNnquGwVUObAaxae8rZ6YMhg==}
1352
+
'@rollup/rollup-linux-arm-musleabihf@4.37.0':
1353
+
resolution: {integrity: sha512-jUb/kmn/Gd8epbHKEqkRAxq5c2EwRt0DqhSGWjPFxLeFvldFdHQs/n8lQ9x85oAeVb6bHcS8irhTJX2FCOd8Ag==}
1458
1354
cpu: [arm]
1459
1355
os: [linux]
1460
1356
1461
-
'@rollup/rollup-linux-arm64-gnu@4.53.3':
1462
-
resolution: {integrity: sha512-RGrFLWgMhSxRs/EWJMIFM1O5Mzuz3Xy3/mnxJp/5cVhZ2XoCAxJnmNsEyeMJtpK+wu0FJFWz+QF4mjCA7AUQ3w==}
1357
+
'@rollup/rollup-linux-arm64-gnu@4.37.0':
1358
+
resolution: {integrity: sha512-oNrJxcQT9IcbcmKlkF+Yz2tmOxZgG9D9GRq+1OE6XCQwCVwxixYAa38Z8qqPzQvzt1FCfmrHX03E0pWoXm1DqA==}
1463
1359
cpu: [arm64]
1464
1360
os: [linux]
1465
1361
1466
-
'@rollup/rollup-linux-arm64-musl@4.53.3':
1467
-
resolution: {integrity: sha512-kASyvfBEWYPEwe0Qv4nfu6pNkITLTb32p4yTgzFCocHnJLAHs+9LjUu9ONIhvfT/5lv4YS5muBHyuV84epBo/A==}
1362
+
'@rollup/rollup-linux-arm64-musl@4.37.0':
1363
+
resolution: {integrity: sha512-pfxLBMls+28Ey2enpX3JvjEjaJMBX5XlPCZNGxj4kdJyHduPBXtxYeb8alo0a7bqOoWZW2uKynhHxF/MWoHaGQ==}
1468
1364
cpu: [arm64]
1469
1365
os: [linux]
1470
1366
1471
-
'@rollup/rollup-linux-loong64-gnu@4.53.3':
1472
-
resolution: {integrity: sha512-JiuKcp2teLJwQ7vkJ95EwESWkNRFJD7TQgYmCnrPtlu50b4XvT5MOmurWNrCj3IFdyjBQ5p9vnrX4JM6I8OE7g==}
1367
+
'@rollup/rollup-linux-loongarch64-gnu@4.37.0':
1368
+
resolution: {integrity: sha512-yCE0NnutTC/7IGUq/PUHmoeZbIwq3KRh02e9SfFh7Vmc1Z7atuJRYWhRME5fKgT8aS20mwi1RyChA23qSyRGpA==}
1473
1369
cpu: [loong64]
1474
1370
os: [linux]
1475
1371
1476
-
'@rollup/rollup-linux-ppc64-gnu@4.53.3':
1477
-
resolution: {integrity: sha512-EoGSa8nd6d3T7zLuqdojxC20oBfNT8nexBbB/rkxgKj5T5vhpAQKKnD+h3UkoMuTyXkP5jTjK/ccNRmQrPNDuw==}
1372
+
'@rollup/rollup-linux-powerpc64le-gnu@4.37.0':
1373
+
resolution: {integrity: sha512-NxcICptHk06E2Lh3a4Pu+2PEdZ6ahNHuK7o6Np9zcWkrBMuv21j10SQDJW3C9Yf/A/P7cutWoC/DptNLVsZ0VQ==}
1478
1374
cpu: [ppc64]
1479
1375
os: [linux]
1480
1376
1481
-
'@rollup/rollup-linux-riscv64-gnu@4.53.3':
1482
-
resolution: {integrity: sha512-4s+Wped2IHXHPnAEbIB0YWBv7SDohqxobiiPA1FIWZpX+w9o2i4LezzH/NkFUl8LRci/8udci6cLq+jJQlh+0g==}
1377
+
'@rollup/rollup-linux-riscv64-gnu@4.37.0':
1378
+
resolution: {integrity: sha512-PpWwHMPCVpFZLTfLq7EWJWvrmEuLdGn1GMYcm5MV7PaRgwCEYJAwiN94uBuZev0/J/hFIIJCsYw4nLmXA9J7Pw==}
1483
1379
cpu: [riscv64]
1484
1380
os: [linux]
1485
1381
1486
-
'@rollup/rollup-linux-riscv64-musl@4.53.3':
1487
-
resolution: {integrity: sha512-68k2g7+0vs2u9CxDt5ktXTngsxOQkSEV/xBbwlqYcUrAVh6P9EgMZvFsnHy4SEiUl46Xf0IObWVbMvPrr2gw8A==}
1382
+
'@rollup/rollup-linux-riscv64-musl@4.37.0':
1383
+
resolution: {integrity: sha512-DTNwl6a3CfhGTAOYZ4KtYbdS8b+275LSLqJVJIrPa5/JuIufWWZ/QFvkxp52gpmguN95eujrM68ZG+zVxa8zHA==}
1488
1384
cpu: [riscv64]
1489
1385
os: [linux]
1490
1386
1491
-
'@rollup/rollup-linux-s390x-gnu@4.53.3':
1492
-
resolution: {integrity: sha512-VYsFMpULAz87ZW6BVYw3I6sWesGpsP9OPcyKe8ofdg9LHxSbRMd7zrVrr5xi/3kMZtpWL/wC+UIJWJYVX5uTKg==}
1387
+
'@rollup/rollup-linux-s390x-gnu@4.37.0':
1388
+
resolution: {integrity: sha512-hZDDU5fgWvDdHFuExN1gBOhCuzo/8TMpidfOR+1cPZJflcEzXdCy1LjnklQdW8/Et9sryOPJAKAQRw8Jq7Tg+A==}
1493
1389
cpu: [s390x]
1494
1390
os: [linux]
1495
1391
1496
-
'@rollup/rollup-linux-x64-gnu@4.53.3':
1497
-
resolution: {integrity: sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w==}
1392
+
'@rollup/rollup-linux-x64-gnu@4.37.0':
1393
+
resolution: {integrity: sha512-pKivGpgJM5g8dwj0ywBwe/HeVAUSuVVJhUTa/URXjxvoyTT/AxsLTAbkHkDHG7qQxLoW2s3apEIl26uUe08LVQ==}
1498
1394
cpu: [x64]
1499
1395
os: [linux]
1500
1396
1501
-
'@rollup/rollup-linux-x64-musl@4.53.3':
1502
-
resolution: {integrity: sha512-eoROhjcc6HbZCJr+tvVT8X4fW3/5g/WkGvvmwz/88sDtSJzO7r/blvoBDgISDiCjDRZmHpwud7h+6Q9JxFwq1Q==}
1397
+
'@rollup/rollup-linux-x64-musl@4.37.0':
1398
+
resolution: {integrity: sha512-E2lPrLKE8sQbY/2bEkVTGDEk4/49UYRVWgj90MY8yPjpnGBQ+Xi1Qnr7b7UIWw1NOggdFQFOLZ8+5CzCiz143w==}
1503
1399
cpu: [x64]
1504
1400
os: [linux]
1505
1401
1506
-
'@rollup/rollup-openharmony-arm64@4.53.3':
1507
-
resolution: {integrity: sha512-OueLAWgrNSPGAdUdIjSWXw+u/02BRTcnfw9PN41D2vq/JSEPnJnVuBgw18VkN8wcd4fjUs+jFHVM4t9+kBSNLw==}
1508
-
cpu: [arm64]
1509
-
os: [openharmony]
1510
-
1511
-
'@rollup/rollup-win32-arm64-msvc@4.53.3':
1512
-
resolution: {integrity: sha512-GOFuKpsxR/whszbF/bzydebLiXIHSgsEUp6M0JI8dWvi+fFa1TD6YQa4aSZHtpmh2/uAlj/Dy+nmby3TJ3pkTw==}
1402
+
'@rollup/rollup-win32-arm64-msvc@4.37.0':
1403
+
resolution: {integrity: sha512-Jm7biMazjNzTU4PrQtr7VS8ibeys9Pn29/1bm4ph7CP2kf21950LgN+BaE2mJ1QujnvOc6p54eWWiVvn05SOBg==}
1513
1404
cpu: [arm64]
1514
1405
os: [win32]
1515
1406
1516
-
'@rollup/rollup-win32-ia32-msvc@4.53.3':
1517
-
resolution: {integrity: sha512-iah+THLcBJdpfZ1TstDFbKNznlzoxa8fmnFYK4V67HvmuNYkVdAywJSoteUszvBQ9/HqN2+9AZghbajMsFT+oA==}
1407
+
'@rollup/rollup-win32-ia32-msvc@4.37.0':
1408
+
resolution: {integrity: sha512-e3/1SFm1OjefWICB2Ucstg2dxYDkDTZGDYgwufcbsxTHyqQps1UQf33dFEChBNmeSsTOyrjw2JJq0zbG5GF6RA==}
1518
1409
cpu: [ia32]
1519
1410
os: [win32]
1520
1411
1521
-
'@rollup/rollup-win32-x64-gnu@4.53.3':
1522
-
resolution: {integrity: sha512-J9QDiOIZlZLdcot5NXEepDkstocktoVjkaKUtqzgzpt2yWjGlbYiKyp05rWwk4nypbYUNoFAztEgixoLaSETkg==}
1412
+
'@rollup/rollup-win32-x64-msvc@4.37.0':
1413
+
resolution: {integrity: sha512-LWbXUBwn/bcLx2sSsqy7pK5o+Nr+VCoRoAohfJ5C/aBio9nfJmGQqHAhU6pwxV/RmyTk5AqdySma7uwWGlmeuA==}
1523
1414
cpu: [x64]
1524
1415
os: [win32]
1525
1416
1526
-
'@rollup/rollup-win32-x64-msvc@4.53.3':
1527
-
resolution: {integrity: sha512-UhTd8u31dXadv0MopwGgNOBpUVROFKWVQgAg5N1ESyCz8AuBcMqm4AuTjrwgQKGDfoFuz02EuMRHQIw/frmYKQ==}
1528
-
cpu: [x64]
1529
-
os: [win32]
1530
-
1531
-
'@sindresorhus/is@7.1.1':
1532
-
resolution: {integrity: sha512-rO92VvpgMc3kfiTjGT52LEtJ8Yc5kCWhZjLQ3LwlA4pSgPpQO7bVpYXParOD8Jwf+cVQECJo3yP/4I8aZtUQTQ==}
1533
-
engines: {node: '>=18'}
1534
-
1535
-
'@speed-highlight/core@1.2.12':
1536
-
resolution: {integrity: sha512-uilwrK0Ygyri5dToHYdZSjcvpS2ZwX0w5aSt3GCEN9hrjxWCoeV4Z2DTXuxjwbntaLQIEEAlCeNQss5SoHvAEA==}
1537
-
1538
-
'@standard-schema/spec@1.0.0':
1539
-
resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==}
1540
-
1541
1417
'@surma/rollup-plugin-off-main-thread@2.2.3':
1542
1418
resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==}
1543
1419
···
1563
1439
'@types/babel__core@7.20.5':
1564
1440
resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}
1565
1441
1566
-
'@types/babel__generator@7.27.0':
1567
-
resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==}
1442
+
'@types/babel__generator@7.6.8':
1443
+
resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==}
1568
1444
1569
1445
'@types/babel__template@7.4.4':
1570
1446
resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==}
1571
1447
1572
-
'@types/babel__traverse@7.28.0':
1573
-
resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==}
1448
+
'@types/babel__traverse@7.20.7':
1449
+
resolution: {integrity: sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==}
1574
1450
1575
1451
'@types/dom-close-watcher@1.0.0':
1576
1452
resolution: {integrity: sha512-7pL0By56sVVGMSJ3HdSY+u08Id0ljStCaf1VnGFxwfpuNdA0HMz0sl2J24eSi9M6ptl9ySkVK35jF75Fn8trUg==}
1577
1453
1578
-
'@types/dom-webcodecs@0.1.18':
1579
-
resolution: {integrity: sha512-vAvE8C9DGWR+tkb19xyjk1TSUlJ7RUzzp4a9Anu7mwBT+fpyePWK1UxmH14tMO5zHmrnrRIMg5NutnnDztLxgg==}
1454
+
'@types/dom-webcodecs@0.1.14':
1455
+
resolution: {integrity: sha512-ba9aF0qARLLQpLihONIRbj8VvAdUxO+5jIxlscVcDAQTcJmq5qVr781+ino5qbQUJUmO21cLP2eLeXYWzao5Vg==}
1580
1456
1581
1457
'@types/estree@0.0.39':
1582
1458
resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==}
1583
1459
1584
-
'@types/estree@1.0.8':
1585
-
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
1460
+
'@types/estree@1.0.6':
1461
+
resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
1586
1462
1587
-
'@types/node@24.10.1':
1588
-
resolution: {integrity: sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==}
1463
+
'@types/estree@1.0.7':
1464
+
resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}
1589
1465
1590
1466
'@types/resolve@1.20.2':
1591
1467
resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
···
1605
1481
engines: {node: '>=0.4.0'}
1606
1482
hasBin: true
1607
1483
1608
-
acorn@8.15.0:
1609
-
resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
1484
+
acorn@8.14.1:
1485
+
resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==}
1610
1486
engines: {node: '>=0.4.0'}
1611
1487
hasBin: true
1612
1488
···
1617
1493
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
1618
1494
engines: {node: '>=8'}
1619
1495
1620
-
ansi-regex@6.2.2:
1621
-
resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==}
1496
+
ansi-regex@6.1.0:
1497
+
resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
1622
1498
engines: {node: '>=12'}
1623
1499
1624
1500
ansi-styles@4.3.0:
1625
1501
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
1626
1502
engines: {node: '>=8'}
1627
1503
1628
-
ansi-styles@6.2.3:
1629
-
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
1504
+
ansi-styles@6.2.1:
1505
+
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
1630
1506
engines: {node: '>=12'}
1631
1507
1632
1508
any-promise@1.3.0:
···
1639
1515
arg@5.0.2:
1640
1516
resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
1641
1517
1518
+
as-table@1.0.55:
1519
+
resolution: {integrity: sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==}
1520
+
1642
1521
async@3.2.6:
1643
1522
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
1644
1523
···
1646
1525
resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==}
1647
1526
engines: {node: '>= 4.0.0'}
1648
1527
1649
-
autoprefixer@10.4.22:
1650
-
resolution: {integrity: sha512-ARe0v/t9gO28Bznv6GgqARmVqcWOV3mfgUPn9becPHMiD3o9BwlRgaeccZnwTpZ7Zwqrm+c1sUSsMxIzQzc8Xg==}
1528
+
autoprefixer@10.4.21:
1529
+
resolution: {integrity: sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==}
1651
1530
engines: {node: ^10 || ^12 || >=14}
1652
1531
hasBin: true
1653
1532
peerDependencies:
1654
1533
postcss: ^8.1.0
1655
1534
1656
-
babel-plugin-jsx-dom-expressions@0.40.3:
1657
-
resolution: {integrity: sha512-5HOwwt0BYiv/zxl7j8Pf2bGL6rDXfV6nUhLs8ygBX+EFJXzBPHM/euj9j/6deMZ6wa52Wb2PBaAV5U/jKwIY1w==}
1535
+
babel-plugin-jsx-dom-expressions@0.39.7:
1536
+
resolution: {integrity: sha512-8GzVmFla7jaTNWW8W+lTMl9YGva4/06CtwJjySnkYtt8G1v9weCzc2SuF1DfrudcCNb2Doetc1FRg33swBYZCA==}
1658
1537
peerDependencies:
1659
1538
'@babel/core': ^7.20.12
1660
1539
1661
-
babel-plugin-polyfill-corejs2@0.4.14:
1662
-
resolution: {integrity: sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==}
1540
+
babel-plugin-polyfill-corejs2@0.4.13:
1541
+
resolution: {integrity: sha512-3sX/eOms8kd3q2KZ6DAhKPc0dgm525Gqq5NtWKZ7QYYZEv57OQ54KtblzJzH1lQF/eQxO8KjWGIK9IPUJNus5g==}
1663
1542
peerDependencies:
1664
1543
'@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
1665
1544
1666
-
babel-plugin-polyfill-corejs3@0.13.0:
1667
-
resolution: {integrity: sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==}
1545
+
babel-plugin-polyfill-corejs3@0.11.1:
1546
+
resolution: {integrity: sha512-yGCqvBT4rwMczo28xkH/noxJ6MZ4nJfkVYdoDaC/utLtWrXxv27HVrzAeSbqR8SxDsp46n0YF47EbHoixy6rXQ==}
1668
1547
peerDependencies:
1669
1548
'@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
1670
1549
1671
-
babel-plugin-polyfill-regenerator@0.6.5:
1672
-
resolution: {integrity: sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==}
1550
+
babel-plugin-polyfill-regenerator@0.6.4:
1551
+
resolution: {integrity: sha512-7gD3pRadPrbjhjLyxebmx/WrFYcuSjZ0XbdUujQMZ/fcE9oeewk2U/7PCvez84UeuK3oSjmPZ0Ch0dlupQvGzw==}
1673
1552
peerDependencies:
1674
1553
'@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
1675
1554
···
1678
1557
peerDependencies:
1679
1558
'@babel/core': ^7.24.4
1680
1559
1681
-
babel-preset-solid@1.9.10:
1682
-
resolution: {integrity: sha512-HCelrgua/Y+kqO8RyL04JBWS/cVdrtUv/h45GntgQY+cJl4eBcKkCDV3TdMjtKx1nXwRaR9QXslM/Npm1dxdZQ==}
1560
+
babel-preset-solid@1.9.5:
1561
+
resolution: {integrity: sha512-85I3osODJ1LvZbv8wFozROV1vXq32BubqHXAGu73A//TRs3NLI1OFP83AQBUTSQHwgZQmARjHlJciym3we+V+w==}
1683
1562
peerDependencies:
1684
1563
'@babel/core': ^7.0.0
1685
-
solid-js: ^1.9.10
1686
-
peerDependenciesMeta:
1687
-
solid-js:
1688
-
optional: true
1689
1564
1690
1565
balanced-match@1.0.2:
1691
1566
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
1692
-
1693
-
baseline-browser-mapping@2.9.0:
1694
-
resolution: {integrity: sha512-Mh++g+2LPfzZToywfE1BUzvZbfOY52Nil0rn9H1CPC5DJ7fX+Vir7nToBeoiSbB1zTNeGYbELEvJESujgGrzXw==}
1695
-
hasBin: true
1696
1567
1697
1568
binary-extensions@2.3.0:
1698
1569
resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
···
1704
1575
blake3-wasm@2.1.5:
1705
1576
resolution: {integrity: sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==}
1706
1577
1707
-
brace-expansion@2.0.2:
1708
-
resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==}
1578
+
brace-expansion@1.1.11:
1579
+
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
1580
+
1581
+
brace-expansion@2.0.1:
1582
+
resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}
1709
1583
1710
1584
braces@3.0.3:
1711
1585
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
1712
1586
engines: {node: '>=8'}
1713
1587
1714
-
browserslist@4.28.1:
1715
-
resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}
1588
+
browserslist@4.24.4:
1589
+
resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==}
1716
1590
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
1717
1591
hasBin: true
1718
1592
···
1723
1597
resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}
1724
1598
engines: {node: '>= 6'}
1725
1599
1726
-
caniuse-lite@1.0.30001759:
1727
-
resolution: {integrity: sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==}
1600
+
caniuse-lite@1.0.30001707:
1601
+
resolution: {integrity: sha512-3qtRjw/HQSMlDWf+X79N206fepf4SOOU6SQLMaq/0KkZLmSjPxAkBOQQ+FxbHKfHmYLZFfdWsO3KA90ceHPSnw==}
1602
+
1603
+
chalk@4.1.2:
1604
+
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
1605
+
engines: {node: '>=10'}
1728
1606
1729
1607
chokidar@3.6.0:
1730
1608
resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
···
1758
1636
resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
1759
1637
engines: {node: '>=4.0.0'}
1760
1638
1639
+
concat-map@0.0.1:
1640
+
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
1641
+
1761
1642
convert-source-map@2.0.0:
1762
1643
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
1763
1644
1764
-
cookie@1.1.1:
1765
-
resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}
1766
-
engines: {node: '>=18'}
1645
+
cookie@0.5.0:
1646
+
resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}
1647
+
engines: {node: '>= 0.6'}
1767
1648
1768
-
core-js-compat@3.47.0:
1769
-
resolution: {integrity: sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==}
1649
+
core-js-compat@3.41.0:
1650
+
resolution: {integrity: sha512-RFsU9LySVue9RTwdDVX/T0e2Y6jRYWXERKElIjpuEOEnxaXffI0X7RUwVzfYLfzuLXSNJDYoRYUAmRUcyln20A==}
1770
1651
1771
1652
cross-spawn@7.0.6:
1772
1653
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
···
1781
1662
engines: {node: '>=4'}
1782
1663
hasBin: true
1783
1664
1784
-
csstype@3.2.3:
1785
-
resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
1665
+
csstype@3.1.3:
1666
+
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
1667
+
1668
+
data-uri-to-buffer@2.0.2:
1669
+
resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==}
1786
1670
1787
-
debug@4.4.3:
1788
-
resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
1671
+
debug@4.4.0:
1672
+
resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}
1789
1673
engines: {node: '>=6.0'}
1790
1674
peerDependencies:
1791
1675
supports-color: '*'
···
1800
1684
defu@6.1.4:
1801
1685
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
1802
1686
1803
-
detect-libc@2.1.2:
1804
-
resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
1687
+
detect-libc@2.0.3:
1688
+
resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==}
1805
1689
engines: {node: '>=8'}
1806
1690
1807
1691
didyoumean@1.2.2:
···
1818
1702
engines: {node: '>=0.10.0'}
1819
1703
hasBin: true
1820
1704
1821
-
electron-to-chromium@1.5.264:
1822
-
resolution: {integrity: sha512-1tEf0nLgltC3iy9wtlYDlQDc5Rg9lEKVjEmIHJ21rI9OcqkvD45K1oyNIRA4rR1z3LgJ7KeGzEBojVcV6m4qjA==}
1705
+
electron-to-chromium@1.5.128:
1706
+
resolution: {integrity: sha512-bo1A4HH/NS522Ws0QNFIzyPcyUUNV/yyy70Ho1xqfGYzPUme2F/xr4tlEOuM6/A538U1vDA7a4XfCd1CKRegKQ==}
1823
1707
1824
1708
emoji-regex@8.0.0:
1825
1709
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
···
1827
1711
emoji-regex@9.2.2:
1828
1712
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
1829
1713
1830
-
entities@6.0.1:
1831
-
resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==}
1714
+
entities@4.5.0:
1715
+
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
1832
1716
engines: {node: '>=0.12'}
1833
1717
1834
-
error-stack-parser-es@1.0.5:
1835
-
resolution: {integrity: sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==}
1836
-
1837
-
esbuild@0.25.12:
1838
-
resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==}
1718
+
esbuild@0.24.0:
1719
+
resolution: {integrity: sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==}
1839
1720
engines: {node: '>=18'}
1840
1721
hasBin: true
1841
1722
1842
-
esbuild@0.27.0:
1843
-
resolution: {integrity: sha512-jd0f4NHbD6cALCyGElNpGAOtWxSq46l9X/sWB0Nzd5er4Kz2YTm+Vl0qKFT9KUJvD8+fiO8AvoHhFvEatfVixA==}
1723
+
esbuild@0.24.2:
1724
+
resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==}
1844
1725
engines: {node: '>=18'}
1845
1726
hasBin: true
1846
1727
···
1848
1729
resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
1849
1730
engines: {node: '>=6'}
1850
1731
1851
-
esm-env@1.2.2:
1852
-
resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==}
1853
-
1854
1732
estree-walker@1.0.1:
1855
1733
resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==}
1856
1734
···
1865
1743
resolution: {integrity: sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==}
1866
1744
engines: {node: '>=6'}
1867
1745
1746
+
exsolve@1.0.4:
1747
+
resolution: {integrity: sha512-xsZH6PXaER4XoV+NiT7JHp1bJodJVT+cxeSH1G0f0tlT0lJqYuHUP3bUx2HtfTDvOagMINYp8rsqusxud3RXhw==}
1748
+
1868
1749
fast-deep-equal@3.1.3:
1869
1750
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
1870
1751
···
1875
1756
fast-json-stable-stringify@2.1.0:
1876
1757
resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
1877
1758
1878
-
fast-uri@3.1.0:
1879
-
resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==}
1759
+
fast-uri@3.0.6:
1760
+
resolution: {integrity: sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==}
1880
1761
1881
1762
fastq@1.19.1:
1882
1763
resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
1883
1764
1884
-
fdir@6.5.0:
1885
-
resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
1886
-
engines: {node: '>=12.0.0'}
1765
+
fdir@6.4.3:
1766
+
resolution: {integrity: sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==}
1887
1767
peerDependencies:
1888
1768
picomatch: ^3 || ^4
1889
1769
peerDependenciesMeta:
···
1901
1781
resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
1902
1782
engines: {node: '>=14'}
1903
1783
1904
-
fraction.js@5.3.4:
1905
-
resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==}
1784
+
fraction.js@4.3.7:
1785
+
resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}
1906
1786
1907
1787
fs-extra@9.1.0:
1908
1788
resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==}
1909
1789
engines: {node: '>=10'}
1790
+
1791
+
fs.realpath@1.0.0:
1792
+
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
1910
1793
1911
1794
fsevents@2.3.3:
1912
1795
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
···
1920
1803
get-own-enumerable-property-symbols@3.0.2:
1921
1804
resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==}
1922
1805
1923
-
get-port@7.1.0:
1924
-
resolution: {integrity: sha512-QB9NKEeDg3xxVwCCwJQ9+xycaz6pBB6iQ76wiWMl1927n0Kir6alPiP+yuiICLLU4jpMe08dXfpebuQppFA2zw==}
1925
-
engines: {node: '>=16'}
1806
+
get-source@2.0.12:
1807
+
resolution: {integrity: sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==}
1926
1808
1927
1809
glob-parent@5.1.2:
1928
1810
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
···
1935
1817
glob-to-regexp@0.4.1:
1936
1818
resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
1937
1819
1938
-
glob@11.1.0:
1939
-
resolution: {integrity: sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==}
1940
-
engines: {node: 20 || >=22}
1820
+
glob@10.4.5:
1821
+
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
1941
1822
hasBin: true
1942
1823
1824
+
glob@7.2.3:
1825
+
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
1826
+
deprecated: Glob versions prior to v9 are no longer supported
1827
+
1828
+
globals@11.12.0:
1829
+
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
1830
+
engines: {node: '>=4'}
1831
+
1943
1832
graceful-fs@4.2.11:
1944
1833
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
1945
1834
1946
-
hls.js@1.6.15:
1947
-
resolution: {integrity: sha512-E3a5VwgXimGHwpRGV+WxRTKeSp2DW5DI5MWv34ulL3t5UNmyJWCQ1KmLEHbYzcfThfXG8amBL+fCYPneGHC4VA==}
1835
+
has-flag@4.0.0:
1836
+
resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
1837
+
engines: {node: '>=8'}
1838
+
1839
+
hls.js@1.6.0:
1840
+
resolution: {integrity: sha512-AlW8ymcDKZuKtzXCUmEy4nOcHRkebnShH6t6hC2+QJQP0WXlTUSSO9Kp22uSEYdCgpwkXEJsfOhqxrgO2tDctQ==}
1948
1841
1949
1842
html-entities@2.3.3:
1950
1843
resolution: {integrity: sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==}
···
1952
1845
idb@7.1.1:
1953
1846
resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==}
1954
1847
1955
-
idb@8.0.3:
1956
-
resolution: {integrity: sha512-LtwtVyVYO5BqRvcsKuB2iUMnHwPVByPCXFXOpuU96IZPPoPN6xjOGxZQ74pgSVVLQWtUOYgyeL4GE98BY5D3wg==}
1848
+
idb@8.0.2:
1849
+
resolution: {integrity: sha512-CX70rYhx7GDDQzwwQMDwF6kDRQi5vVs6khHUumDrMecBylKkwvZ8HWvKV08AGb7VbpoGCWUQ4aHzNDgoUiOIUg==}
1850
+
1851
+
inflight@1.0.6:
1852
+
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
1853
+
deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
1957
1854
1958
-
is-arrayish@0.3.4:
1959
-
resolution: {integrity: sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==}
1855
+
inherits@2.0.4:
1856
+
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
1857
+
1858
+
is-arrayish@0.3.2:
1859
+
resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}
1960
1860
1961
1861
is-binary-path@2.1.0:
1962
1862
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
···
2000
1900
isexe@2.0.0:
2001
1901
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
2002
1902
2003
-
jackspeak@4.1.1:
2004
-
resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==}
2005
-
engines: {node: 20 || >=22}
1903
+
jackspeak@3.4.3:
1904
+
resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
2006
1905
2007
-
jake@10.9.4:
2008
-
resolution: {integrity: sha512-wpHYzhxiVQL+IV05BLE2Xn34zW1S223hvjtqk0+gsPrwd/8JNLXJgZZM/iPFsYc1xyphF+6M6EvdE5E9MBGkDA==}
1906
+
jake@10.9.2:
1907
+
resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==}
2009
1908
engines: {node: '>=10'}
2010
1909
hasBin: true
2011
1910
···
2019
1918
js-tokens@4.0.0:
2020
1919
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
2021
1920
1921
+
jsesc@3.0.2:
1922
+
resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==}
1923
+
engines: {node: '>=6'}
1924
+
hasBin: true
1925
+
2022
1926
jsesc@3.1.0:
2023
1927
resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
2024
1928
engines: {node: '>=6'}
···
2035
1939
engines: {node: '>=6'}
2036
1940
hasBin: true
2037
1941
2038
-
jsonfile@6.2.0:
2039
-
resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
1942
+
jsonfile@6.1.0:
1943
+
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
2040
1944
2041
1945
jsonpointer@5.0.1:
2042
1946
resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
2043
1947
engines: {node: '>=0.10.0'}
2044
-
2045
-
kleur@4.1.5:
2046
-
resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}
2047
-
engines: {node: '>=6'}
2048
1948
2049
1949
leven@3.1.0:
2050
1950
resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==}
···
2066
1966
lodash@4.17.21:
2067
1967
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
2068
1968
2069
-
lru-cache@11.2.4:
2070
-
resolution: {integrity: sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==}
2071
-
engines: {node: 20 || >=22}
1969
+
lru-cache@10.4.3:
1970
+
resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
2072
1971
2073
1972
lru-cache@5.1.1:
2074
1973
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
···
2093
1992
engines: {node: '>=10.0.0'}
2094
1993
hasBin: true
2095
1994
2096
-
miniflare@4.20251202.0:
2097
-
resolution: {integrity: sha512-Pa5iBAVzzVT/yr7rcyr75ETm5IGCpdT61foGx+6jDj+vzISNfWZgEcSxWk1nlJboJumUJ10kC498hQudpdbDWg==}
1995
+
miniflare@4.20250321.1:
1996
+
resolution: {integrity: sha512-pQuVtF6vQ1zMvPCo3Z19mzSFjgnlEnybzNzAJZipsqIk6kMXpYBZq+d8cWmeQFkBYlgeZKeKJ4EBKT6KapfTNg==}
2098
1997
engines: {node: '>=18.0.0'}
2099
1998
hasBin: true
2100
1999
2101
-
minimatch@10.1.1:
2102
-
resolution: {integrity: sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==}
2103
-
engines: {node: 20 || >=22}
2000
+
minimatch@3.1.2:
2001
+
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
2104
2002
2105
2003
minimatch@5.1.6:
2106
2004
resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==}
2107
2005
engines: {node: '>=10'}
2108
2006
2007
+
minimatch@9.0.5:
2008
+
resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}
2009
+
engines: {node: '>=16 || 14 >=14.17'}
2010
+
2109
2011
minipass@7.1.2:
2110
2012
resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
2111
2013
engines: {node: '>=16 || 14 >=14.17'}
···
2113
2015
ms@2.1.3:
2114
2016
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
2115
2017
2018
+
mustache@4.2.0:
2019
+
resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==}
2020
+
hasBin: true
2021
+
2116
2022
mz@2.7.0:
2117
2023
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
2118
2024
···
2121
2027
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
2122
2028
hasBin: true
2123
2029
2124
-
nanoid@5.1.6:
2125
-
resolution: {integrity: sha512-c7+7RQ+dMB5dPwwCp4ee1/iV/q2P6aK1mTZcfr1BTuVlyW9hJYiMPybJCcnBlQtuSmTIWNeazm/zqNoZSSElBg==}
2030
+
nanoid@5.1.5:
2031
+
resolution: {integrity: sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==}
2126
2032
engines: {node: ^18 || >=20}
2127
2033
hasBin: true
2128
2034
2129
-
node-releases@2.0.27:
2130
-
resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==}
2035
+
node-releases@2.0.19:
2036
+
resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
2131
2037
2132
2038
normalize-path@3.0.0:
2133
2039
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
···
2145
2051
resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
2146
2052
engines: {node: '>= 6'}
2147
2053
2054
+
ohash@2.0.11:
2055
+
resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==}
2056
+
2057
+
once@1.4.0:
2058
+
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
2059
+
2148
2060
package-json-from-dist@1.0.1:
2149
2061
resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
2150
2062
2151
-
parse5@7.3.0:
2152
-
resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}
2063
+
parse5@7.2.1:
2064
+
resolution: {integrity: sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==}
2065
+
2066
+
path-is-absolute@1.0.1:
2067
+
resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
2068
+
engines: {node: '>=0.10.0'}
2153
2069
2154
2070
path-key@3.1.1:
2155
2071
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
···
2158
2074
path-parse@1.0.7:
2159
2075
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
2160
2076
2161
-
path-scurry@2.0.1:
2162
-
resolution: {integrity: sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==}
2163
-
engines: {node: 20 || >=22}
2077
+
path-scurry@1.11.1:
2078
+
resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
2079
+
engines: {node: '>=16 || 14 >=14.18'}
2164
2080
2165
2081
path-to-regexp@6.3.0:
2166
2082
resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==}
···
2175
2091
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
2176
2092
engines: {node: '>=8.6'}
2177
2093
2178
-
picomatch@4.0.3:
2179
-
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
2094
+
picomatch@4.0.2:
2095
+
resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
2180
2096
engines: {node: '>=12'}
2181
2097
2182
2098
pify@2.3.0:
···
2193
2109
peerDependencies:
2194
2110
postcss: ^8.0.0
2195
2111
2196
-
postcss-js@4.1.0:
2197
-
resolution: {integrity: sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==}
2112
+
postcss-js@4.0.1:
2113
+
resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
2198
2114
engines: {node: ^12 || ^14 || >= 16}
2199
2115
peerDependencies:
2200
2116
postcss: ^8.4.21
2201
2117
2202
-
postcss-load-config@6.0.1:
2203
-
resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}
2204
-
engines: {node: '>= 18'}
2118
+
postcss-load-config@4.0.2:
2119
+
resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==}
2120
+
engines: {node: '>= 14'}
2205
2121
peerDependencies:
2206
-
jiti: '>=1.21.0'
2207
2122
postcss: '>=8.0.9'
2208
-
tsx: ^4.8.1
2209
-
yaml: ^2.4.2
2123
+
ts-node: '>=9.0.0'
2210
2124
peerDependenciesMeta:
2211
-
jiti:
2212
-
optional: true
2213
2125
postcss:
2214
2126
optional: true
2215
-
tsx:
2216
-
optional: true
2217
-
yaml:
2127
+
ts-node:
2218
2128
optional: true
2219
2129
2220
2130
postcss-nested@6.2.0:
···
2230
2140
postcss-value-parser@4.2.0:
2231
2141
resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
2232
2142
2233
-
postcss@8.5.6:
2234
-
resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
2143
+
postcss@8.5.3:
2144
+
resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==}
2235
2145
engines: {node: ^10 || ^12 || >=14}
2236
2146
2237
-
prettier-plugin-tailwindcss@0.7.2:
2238
-
resolution: {integrity: sha512-LkphyK3Fw+q2HdMOoiEHWf93fNtYJwfamoKPl7UwtjFQdei/iIBoX11G6j706FzN3ymX9mPVi97qIY8328vdnA==}
2239
-
engines: {node: '>=20.19'}
2147
+
prettier-plugin-tailwindcss@0.6.11:
2148
+
resolution: {integrity: sha512-YxaYSIvZPAqhrrEpRtonnrXdghZg1irNg4qrjboCXrpybLWVs55cW2N3juhspVJiO0JBvYJT8SYsJpc8OQSnsA==}
2149
+
engines: {node: '>=14.21.3'}
2240
2150
peerDependencies:
2241
2151
'@ianvs/prettier-plugin-sort-imports': '*'
2242
-
'@prettier/plugin-hermes': '*'
2243
-
'@prettier/plugin-oxc': '*'
2244
2152
'@prettier/plugin-pug': '*'
2245
2153
'@shopify/prettier-plugin-liquid': '*'
2246
2154
'@trivago/prettier-plugin-sort-imports': '*'
···
2248
2156
prettier: ^3.0
2249
2157
prettier-plugin-astro: '*'
2250
2158
prettier-plugin-css-order: '*'
2159
+
prettier-plugin-import-sort: '*'
2251
2160
prettier-plugin-jsdoc: '*'
2252
2161
prettier-plugin-marko: '*'
2253
2162
prettier-plugin-multiline-arrays: '*'
2254
2163
prettier-plugin-organize-attributes: '*'
2255
2164
prettier-plugin-organize-imports: '*'
2256
2165
prettier-plugin-sort-imports: '*'
2166
+
prettier-plugin-style-order: '*'
2257
2167
prettier-plugin-svelte: '*'
2258
2168
peerDependenciesMeta:
2259
2169
'@ianvs/prettier-plugin-sort-imports':
2260
-
optional: true
2261
-
'@prettier/plugin-hermes':
2262
-
optional: true
2263
-
'@prettier/plugin-oxc':
2264
2170
optional: true
2265
2171
'@prettier/plugin-pug':
2266
2172
optional: true
···
2273
2179
prettier-plugin-astro:
2274
2180
optional: true
2275
2181
prettier-plugin-css-order:
2182
+
optional: true
2183
+
prettier-plugin-import-sort:
2276
2184
optional: true
2277
2185
prettier-plugin-jsdoc:
2278
2186
optional: true
···
2286
2194
optional: true
2287
2195
prettier-plugin-sort-imports:
2288
2196
optional: true
2197
+
prettier-plugin-style-order:
2198
+
optional: true
2289
2199
prettier-plugin-svelte:
2290
2200
optional: true
2291
2201
2292
-
prettier@3.7.4:
2293
-
resolution: {integrity: sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==}
2202
+
prettier@3.5.3:
2203
+
resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
2294
2204
engines: {node: '>=14'}
2295
2205
hasBin: true
2296
2206
···
2302
2212
resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==}
2303
2213
engines: {node: ^14.13.1 || >=16.0.0}
2304
2214
2215
+
printable-characters@1.0.42:
2216
+
resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==}
2217
+
2305
2218
punycode@2.3.1:
2306
2219
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
2307
2220
engines: {node: '>=6'}
···
2322
2235
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
2323
2236
engines: {node: '>=8.10.0'}
2324
2237
2325
-
regenerate-unicode-properties@10.2.2:
2326
-
resolution: {integrity: sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==}
2238
+
regenerate-unicode-properties@10.2.0:
2239
+
resolution: {integrity: sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==}
2327
2240
engines: {node: '>=4'}
2328
2241
2329
2242
regenerate@1.4.2:
2330
2243
resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==}
2331
2244
2332
-
regexpu-core@6.4.0:
2333
-
resolution: {integrity: sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==}
2245
+
regenerator-runtime@0.14.1:
2246
+
resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}
2247
+
2248
+
regenerator-transform@0.15.2:
2249
+
resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==}
2250
+
2251
+
regexpu-core@6.2.0:
2252
+
resolution: {integrity: sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==}
2334
2253
engines: {node: '>=4'}
2335
2254
2336
2255
regjsgen@0.8.0:
2337
2256
resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==}
2338
2257
2339
-
regjsparser@0.13.0:
2340
-
resolution: {integrity: sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==}
2258
+
regjsparser@0.12.0:
2259
+
resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==}
2341
2260
hasBin: true
2342
2261
2343
2262
require-from-string@2.0.2:
2344
2263
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
2345
2264
engines: {node: '>=0.10.0'}
2346
2265
2347
-
resolve@1.22.11:
2348
-
resolution: {integrity: sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==}
2266
+
resolve@1.22.10:
2267
+
resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==}
2349
2268
engines: {node: '>= 0.4'}
2350
2269
hasBin: true
2351
2270
···
2358
2277
engines: {node: '>=10.0.0'}
2359
2278
hasBin: true
2360
2279
2361
-
rollup@4.53.3:
2362
-
resolution: {integrity: sha512-w8GmOxZfBmKknvdXU1sdM9NHcoQejwF/4mNgj2JuEEdRaHwwF12K7e9eXn1nLZ07ad+du76mkVsyeb2rKGllsA==}
2280
+
rollup@4.37.0:
2281
+
resolution: {integrity: sha512-iAtQy/L4QFU+rTJ1YUjXqJOJzuwEghqWzCEYD2FEghT7Gsy1VdABntrO4CLopA5IkflTyqNiLNwPcOJ3S7UKLg==}
2363
2282
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
2364
2283
hasBin: true
2365
2284
···
2370
2289
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
2371
2290
hasBin: true
2372
2291
2373
-
semver@7.7.3:
2374
-
resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==}
2292
+
semver@7.7.1:
2293
+
resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==}
2375
2294
engines: {node: '>=10'}
2376
2295
hasBin: true
2377
2296
2378
2297
serialize-javascript@6.0.2:
2379
2298
resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
2380
2299
2381
-
seroval-plugins@1.3.3:
2382
-
resolution: {integrity: sha512-16OL3NnUBw8JG1jBLUoZJsLnQq0n5Ua6aHalhJK4fMQkz1lqR7Osz1sA30trBtd9VUDc2NgkuRCn8+/pBwqZ+w==}
2300
+
seroval-plugins@1.2.1:
2301
+
resolution: {integrity: sha512-H5vs53+39+x4Udwp4J5rNZfgFuA+Lt+uU+09w1gYBVWomtAl98B+E9w7yC05Xc81/HgLvJdlyqJbU0fJCKCmdw==}
2383
2302
engines: {node: '>=10'}
2384
2303
peerDependencies:
2385
2304
seroval: ^1.0
2386
2305
2387
-
seroval@1.3.2:
2388
-
resolution: {integrity: sha512-RbcPH1n5cfwKrru7v7+zrZvjLurgHhGyso3HTyGtRivGWgYjbOmGuivCQaORNELjNONoK35nj28EoWul9sb1zQ==}
2306
+
seroval@1.2.1:
2307
+
resolution: {integrity: sha512-yBxFFs3zmkvKNmR0pFSU//rIsYjuX418TnlDmc2weaq5XFDqDIV/NOMPBoLrbxjLH42p4UzRuXHryXh9dYcKcw==}
2389
2308
engines: {node: '>=10'}
2390
2309
2391
2310
sharp@0.33.5:
···
2404
2323
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
2405
2324
engines: {node: '>=14'}
2406
2325
2407
-
simple-swizzle@0.2.4:
2408
-
resolution: {integrity: sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==}
2326
+
simple-swizzle@0.2.2:
2327
+
resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}
2409
2328
2410
2329
smob@1.5.0:
2411
2330
resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}
···
2417
2336
'@floating-ui/dom': ^1.0
2418
2337
solid-js: ^1.3
2419
2338
2420
-
solid-js@1.9.10:
2421
-
resolution: {integrity: sha512-Coz956cos/EPDlhs6+jsdTxKuJDPT7B5SVIWgABwROyxjY7Xbr8wkzD68Et+NxnV7DLJ3nJdAC2r9InuV/4Jew==}
2339
+
solid-js@1.9.5:
2340
+
resolution: {integrity: sha512-ogI3DaFcyn6UhYhrgcyRAMbu/buBJitYQASZz5WzfQVPP10RD2AbCoRZ517psnezrasyCbWzIxZ6kVqet768xw==}
2422
2341
2423
2342
solid-refresh@0.6.3:
2424
2343
resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==}
···
2439
2358
source-map@0.8.0-beta.0:
2440
2359
resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==}
2441
2360
engines: {node: '>= 8'}
2442
-
deprecated: The work that was done in this beta branch won't be included in future versions
2443
2361
2444
2362
sourcemap-codec@1.4.8:
2445
2363
resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
2446
2364
deprecated: Please use @jridgewell/sourcemap-codec instead
2447
2365
2366
+
stacktracey@2.1.8:
2367
+
resolution: {integrity: sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==}
2368
+
2448
2369
stoppable@1.1.0:
2449
2370
resolution: {integrity: sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==}
2450
2371
engines: {node: '>=4', npm: '>=6'}
···
2465
2386
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
2466
2387
engines: {node: '>=8'}
2467
2388
2468
-
strip-ansi@7.1.2:
2469
-
resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==}
2389
+
strip-ansi@7.1.0:
2390
+
resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
2470
2391
engines: {node: '>=12'}
2471
2392
2472
2393
strip-comments@2.0.1:
2473
2394
resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==}
2474
2395
engines: {node: '>=10'}
2475
2396
2476
-
sucrase@3.35.1:
2477
-
resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==}
2397
+
sucrase@3.35.0:
2398
+
resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==}
2478
2399
engines: {node: '>=16 || 14 >=14.17'}
2479
2400
hasBin: true
2480
2401
2481
-
supports-color@10.2.2:
2482
-
resolution: {integrity: sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==}
2483
-
engines: {node: '>=18'}
2402
+
supports-color@7.2.0:
2403
+
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
2404
+
engines: {node: '>=8'}
2484
2405
2485
2406
supports-preserve-symlinks-flag@1.0.0:
2486
2407
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
2487
2408
engines: {node: '>= 0.4'}
2488
2409
2489
-
tailwindcss@3.4.18:
2490
-
resolution: {integrity: sha512-6A2rnmW5xZMdw11LYjhcI5846rt9pbLSabY5XPxo+XWdxwZaFEn47Go4NzFiHu9sNNmr/kXivP1vStfvMaK1GQ==}
2410
+
tailwindcss@3.4.17:
2411
+
resolution: {integrity: sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==}
2491
2412
engines: {node: '>=14.0.0'}
2492
2413
hasBin: true
2493
2414
···
2499
2420
resolution: {integrity: sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==}
2500
2421
engines: {node: '>=10'}
2501
2422
2502
-
terser@5.44.1:
2503
-
resolution: {integrity: sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==}
2423
+
terser@5.39.0:
2424
+
resolution: {integrity: sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==}
2504
2425
engines: {node: '>=10'}
2505
2426
hasBin: true
2506
2427
···
2511
2432
thenify@3.3.1:
2512
2433
resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
2513
2434
2514
-
tinyglobby@0.2.15:
2515
-
resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}
2435
+
tinyglobby@0.2.12:
2436
+
resolution: {integrity: sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==}
2516
2437
engines: {node: '>=12.0.0'}
2517
2438
2518
2439
to-regex-range@5.0.1:
···
2532
2453
resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==}
2533
2454
engines: {node: '>=10'}
2534
2455
2535
-
typescript@5.9.3:
2536
-
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
2456
+
typescript@5.7.2:
2457
+
resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==}
2537
2458
engines: {node: '>=14.17'}
2538
2459
hasBin: true
2539
2460
2540
-
undici-types@7.16.0:
2541
-
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
2461
+
ufo@1.5.4:
2462
+
resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==}
2542
2463
2543
-
undici@7.14.0:
2544
-
resolution: {integrity: sha512-Vqs8HTzjpQXZeXdpsfChQTlafcMQaaIwnGwLam1wudSSjlJeQ3bw1j+TLPePgrCnCpUXx7Ba5Pdpf5OBih62NQ==}
2545
-
engines: {node: '>=20.18.1'}
2464
+
undici@5.29.0:
2465
+
resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==}
2466
+
engines: {node: '>=14.0'}
2546
2467
2547
-
unenv@2.0.0-rc.24:
2548
-
resolution: {integrity: sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==}
2468
+
unenv@2.0.0-rc.15:
2469
+
resolution: {integrity: sha512-J/rEIZU8w6FOfLNz/hNKsnY+fFHWnu9MH4yRbSZF3xbbGHovcetXPs7sD+9p8L6CeNC//I9bhRYAOsBt2u7/OA==}
2549
2470
2550
2471
unicode-canonical-property-names-ecmascript@2.0.1:
2551
2472
resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
···
2555
2476
resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==}
2556
2477
engines: {node: '>=4'}
2557
2478
2558
-
unicode-match-property-value-ecmascript@2.2.1:
2559
-
resolution: {integrity: sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==}
2479
+
unicode-match-property-value-ecmascript@2.2.0:
2480
+
resolution: {integrity: sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==}
2560
2481
engines: {node: '>=4'}
2561
2482
2562
-
unicode-property-aliases-ecmascript@2.2.0:
2563
-
resolution: {integrity: sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==}
2483
+
unicode-property-aliases-ecmascript@2.1.0:
2484
+
resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==}
2564
2485
engines: {node: '>=4'}
2565
2486
2566
2487
unique-string@2.0.0:
···
2575
2496
resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==}
2576
2497
engines: {node: '>=4'}
2577
2498
2578
-
update-browserslist-db@1.2.2:
2579
-
resolution: {integrity: sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA==}
2499
+
update-browserslist-db@1.1.3:
2500
+
resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
2580
2501
hasBin: true
2581
2502
peerDependencies:
2582
2503
browserslist: '>= 4.21.0'
···
2584
2505
util-deprecate@1.0.2:
2585
2506
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
2586
2507
2587
-
vite-plugin-pwa@1.1.0:
2588
-
resolution: {integrity: sha512-VsSpdubPzXhHWVINcSx6uHRMpOHVHQcHsef1QgkOlEoaIDAlssFEW88LBq1a59BuokAhsh2kUDJbaX1bZv4Bjw==}
2508
+
validate-html-nesting@1.2.2:
2509
+
resolution: {integrity: sha512-hGdgQozCsQJMyfK5urgFcWEqsSSrK63Awe0t/IMR0bZ0QMtnuaiHzThW81guu3qx9abLi99NEuiaN6P9gVYsNg==}
2510
+
2511
+
vite-plugin-pwa@0.21.0:
2512
+
resolution: {integrity: sha512-gnDE5sN2hdxA4vTl0pe6PCTPXqChk175jH8dZVVTBjFhWarZZoXaAdoTIKCIa8Zbx94sC0CnCOyERBWpxvry+g==}
2589
2513
engines: {node: '>=16.0.0'}
2590
2514
peerDependencies:
2591
-
'@vite-pwa/assets-generator': ^1.0.0
2592
-
vite: ^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
2515
+
'@vite-pwa/assets-generator': ^0.2.6
2516
+
vite: ^3.1.0 || ^4.0.0 || ^5.0.0
2593
2517
peerDependenciesMeta:
2594
2518
'@vite-pwa/assets-generator':
2595
2519
optional: true
2596
2520
2597
-
vite-plugin-solid@2.11.10:
2598
-
resolution: {integrity: sha512-Yr1dQybmtDtDAHkii6hXuc1oVH9CPcS/Zb2jN/P36qqcrkNnVPsMTzQ06jyzFPFjj3U1IYKMVt/9ZqcwGCEbjw==}
2521
+
vite-plugin-solid@2.11.6:
2522
+
resolution: {integrity: sha512-Sl5CTqJTGyEeOsmdH6BOgalIZlwH3t4/y0RQuFLMGnvWMBvxb4+lq7x3BSiAw6etf0QexfNJW7HSOO/Qf7pigg==}
2599
2523
peerDependencies:
2600
2524
'@testing-library/jest-dom': ^5.16.6 || ^5.17.0 || ^6.*
2601
2525
solid-js: ^1.7.2
2602
-
vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
2526
+
vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0
2603
2527
peerDependenciesMeta:
2604
2528
'@testing-library/jest-dom':
2605
2529
optional: true
2606
2530
2607
-
vite@7.2.6:
2608
-
resolution: {integrity: sha512-tI2l/nFHC5rLh7+5+o7QjKjSR04ivXDF4jcgV0f/bTQ+OJiITy5S6gaynVsEM+7RqzufMnVbIon6Sr5x1SDYaQ==}
2609
-
engines: {node: ^20.19.0 || >=22.12.0}
2531
+
vite@6.0.5:
2532
+
resolution: {integrity: sha512-akD5IAH/ID5imgue2DYhzsEwCi0/4VKY31uhMLEYJwPP4TiUp8pL5PIK+Wo7H8qT8JY9i+pVfPydcFPYD1EL7g==}
2533
+
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
2610
2534
hasBin: true
2611
2535
peerDependencies:
2612
-
'@types/node': ^20.19.0 || >=22.12.0
2536
+
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
2613
2537
jiti: '>=1.21.0'
2614
-
less: ^4.0.0
2538
+
less: '*'
2615
2539
lightningcss: ^1.21.0
2616
-
sass: ^1.70.0
2617
-
sass-embedded: ^1.70.0
2618
-
stylus: '>=0.54.8'
2619
-
sugarss: ^5.0.0
2540
+
sass: '*'
2541
+
sass-embedded: '*'
2542
+
stylus: '*'
2543
+
sugarss: '*'
2620
2544
terser: ^5.16.0
2621
2545
tsx: ^4.8.1
2622
2546
yaml: ^2.4.2
···
2644
2568
yaml:
2645
2569
optional: true
2646
2570
2647
-
vitefu@1.1.1:
2648
-
resolution: {integrity: sha512-B/Fegf3i8zh0yFbpzZ21amWzHmuNlLlmJT6n7bu5e+pCHUKQIfXSYokrqOBGEMMe9UG2sostKQF9mml/vYaWJQ==}
2571
+
vitefu@1.0.6:
2572
+
resolution: {integrity: sha512-+Rex1GlappUyNN6UfwbVZne/9cYC4+R2XDk9xkNXBKMw6HQagdX9PgZ8V2v1WUSK1wfBLp7qbI1+XSNIlB1xmA==}
2649
2573
peerDependencies:
2650
-
vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0
2574
+
vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0
2651
2575
peerDependenciesMeta:
2652
2576
vite:
2653
2577
optional: true
···
2655
2579
webidl-conversions@4.0.2:
2656
2580
resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==}
2657
2581
2658
-
webm-muxer@5.1.4:
2659
-
resolution: {integrity: sha512-ditzgFVFbfqPaugkIr4mGhAdob5K9HY6Rzlh7TRsA368yA1sp/m5O7nQCcMLdgFDeNGtFPg8B+MeXLtpzKWX6Q==}
2660
-
deprecated: This library is superseded by Mediabunny. Please migrate to it.
2582
+
webm-muxer@5.1.1:
2583
+
resolution: {integrity: sha512-oqGiFrwVr0LoVEIgSIISV+CURkPje1K2WiTzH+FUT4A70PcZHSPkwihBxwr+jumr76sQmhMHo9mvP82AuNiCiA==}
2661
2584
2662
2585
whatwg-url@7.1.0:
2663
2586
resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==}
···
2667
2590
engines: {node: '>= 8'}
2668
2591
hasBin: true
2669
2592
2670
-
workbox-background-sync@7.4.0:
2671
-
resolution: {integrity: sha512-8CB9OxKAgKZKyNMwfGZ1XESx89GryWTfI+V5yEj8sHjFH8MFelUwYXEyldEK6M6oKMmn807GoJFUEA1sC4XS9w==}
2593
+
workbox-background-sync@7.3.0:
2594
+
resolution: {integrity: sha512-PCSk3eK7Mxeuyatb22pcSx9dlgWNv3+M8PqPaYDokks8Y5/FX4soaOqj3yhAZr5k6Q5JWTOMYgaJBpbw11G9Eg==}
2672
2595
2673
-
workbox-broadcast-update@7.4.0:
2674
-
resolution: {integrity: sha512-+eZQwoktlvo62cI0b+QBr40v5XjighxPq3Fzo9AWMiAosmpG5gxRHgTbGGhaJv/q/MFVxwFNGh/UwHZ/8K88lA==}
2596
+
workbox-broadcast-update@7.3.0:
2597
+
resolution: {integrity: sha512-T9/F5VEdJVhwmrIAE+E/kq5at2OY6+OXXgOWQevnubal6sO92Gjo24v6dCVwQiclAF5NS3hlmsifRrpQzZCdUA==}
2675
2598
2676
-
workbox-build@7.4.0:
2677
-
resolution: {integrity: sha512-Ntk1pWb0caOFIvwz/hfgrov/OJ45wPEhI5PbTywQcYjyZiVhT3UrwwUPl6TRYbTm4moaFYithYnl1lvZ8UjxcA==}
2678
-
engines: {node: '>=20.0.0'}
2599
+
workbox-build@7.3.0:
2600
+
resolution: {integrity: sha512-JGL6vZTPlxnlqZRhR/K/msqg3wKP+m0wfEUVosK7gsYzSgeIxvZLi1ViJJzVL7CEeI8r7rGFV973RiEqkP3lWQ==}
2601
+
engines: {node: '>=16.0.0'}
2679
2602
2680
-
workbox-cacheable-response@7.4.0:
2681
-
resolution: {integrity: sha512-0Fb8795zg/x23ISFkAc7lbWes6vbw34DGFIMw31cwuHPgDEC/5EYm6m/ZkylLX0EnEbbOyOCLjKgFS/Z5g0HeQ==}
2603
+
workbox-cacheable-response@7.3.0:
2604
+
resolution: {integrity: sha512-eAFERIg6J2LuyELhLlmeRcJFa5e16Mj8kL2yCDbhWE+HUun9skRQrGIFVUagqWj4DMaaPSMWfAolM7XZZxNmxA==}
2682
2605
2683
-
workbox-core@7.4.0:
2684
-
resolution: {integrity: sha512-6BMfd8tYEnN4baG4emG9U0hdXM4gGuDU3ectXuVHnj71vwxTFI7WOpQJC4siTOlVtGqCUtj0ZQNsrvi6kZZTAQ==}
2606
+
workbox-core@7.3.0:
2607
+
resolution: {integrity: sha512-Z+mYrErfh4t3zi7NVTvOuACB0A/jA3bgxUN3PwtAVHvfEsZxV9Iju580VEETug3zYJRc0Dmii/aixI/Uxj8fmw==}
2685
2608
2686
-
workbox-expiration@7.4.0:
2687
-
resolution: {integrity: sha512-V50p4BxYhtA80eOvulu8xVfPBgZbkxJ1Jr8UUn0rvqjGhLDqKNtfrDfjJKnLz2U8fO2xGQJTx/SKXNTzHOjnHw==}
2609
+
workbox-expiration@7.3.0:
2610
+
resolution: {integrity: sha512-lpnSSLp2BM+K6bgFCWc5bS1LR5pAwDWbcKt1iL87/eTSJRdLdAwGQznZE+1czLgn/X05YChsrEegTNxjM067vQ==}
2688
2611
2689
-
workbox-google-analytics@7.4.0:
2690
-
resolution: {integrity: sha512-MVPXQslRF6YHkzGoFw1A4GIB8GrKym/A5+jYDUSL+AeJw4ytQGrozYdiZqUW1TPQHW8isBCBtyFJergUXyNoWQ==}
2612
+
workbox-google-analytics@7.3.0:
2613
+
resolution: {integrity: sha512-ii/tSfFdhjLHZ2BrYgFNTrb/yk04pw2hasgbM70jpZfLk0vdJAXgaiMAWsoE+wfJDNWoZmBYY0hMVI0v5wWDbg==}
2691
2614
2692
-
workbox-navigation-preload@7.4.0:
2693
-
resolution: {integrity: sha512-etzftSgdQfjMcfPgbfaZCfM2QuR1P+4o8uCA2s4rf3chtKTq/Om7g/qvEOcZkG6v7JZOSOxVYQiOu6PbAZgU6w==}
2615
+
workbox-navigation-preload@7.3.0:
2616
+
resolution: {integrity: sha512-fTJzogmFaTv4bShZ6aA7Bfj4Cewaq5rp30qcxl2iYM45YD79rKIhvzNHiFj1P+u5ZZldroqhASXwwoyusnr2cg==}
2694
2617
2695
-
workbox-precaching@7.4.0:
2696
-
resolution: {integrity: sha512-VQs37T6jDqf1rTxUJZXRl3yjZMf5JX/vDPhmx2CPgDDKXATzEoqyRqhYnRoxl6Kr0rqaQlp32i9rtG5zTzIlNg==}
2618
+
workbox-precaching@7.3.0:
2619
+
resolution: {integrity: sha512-ckp/3t0msgXclVAYaNndAGeAoWQUv7Rwc4fdhWL69CCAb2UHo3Cef0KIUctqfQj1p8h6aGyz3w8Cy3Ihq9OmIw==}
2697
2620
2698
-
workbox-range-requests@7.4.0:
2699
-
resolution: {integrity: sha512-3Vq854ZNuP6Y0KZOQWLaLC9FfM7ZaE+iuQl4VhADXybwzr4z/sMmnLgTeUZLq5PaDlcJBxYXQ3U91V7dwAIfvw==}
2621
+
workbox-range-requests@7.3.0:
2622
+
resolution: {integrity: sha512-EyFmM1KpDzzAouNF3+EWa15yDEenwxoeXu9bgxOEYnFfCxns7eAxA9WSSaVd8kujFFt3eIbShNqa4hLQNFvmVQ==}
2700
2623
2701
-
workbox-recipes@7.4.0:
2702
-
resolution: {integrity: sha512-kOkWvsAn4H8GvAkwfJTbwINdv4voFoiE9hbezgB1sb/0NLyTG4rE7l6LvS8lLk5QIRIto+DjXLuAuG3Vmt3cxQ==}
2624
+
workbox-recipes@7.3.0:
2625
+
resolution: {integrity: sha512-BJro/MpuW35I/zjZQBcoxsctgeB+kyb2JAP5EB3EYzePg8wDGoQuUdyYQS+CheTb+GhqJeWmVs3QxLI8EBP1sg==}
2703
2626
2704
-
workbox-routing@7.4.0:
2705
-
resolution: {integrity: sha512-C/ooj5uBWYAhAqwmU8HYQJdOjjDKBp9MzTQ+otpMmd+q0eF59K+NuXUek34wbL0RFrIXe/KKT+tUWcZcBqxbHQ==}
2627
+
workbox-routing@7.3.0:
2628
+
resolution: {integrity: sha512-ZUlysUVn5ZUzMOmQN3bqu+gK98vNfgX/gSTZ127izJg/pMMy4LryAthnYtjuqcjkN4HEAx1mdgxNiKJMZQM76A==}
2706
2629
2707
-
workbox-strategies@7.4.0:
2708
-
resolution: {integrity: sha512-T4hVqIi5A4mHi92+5EppMX3cLaVywDp8nsyUgJhOZxcfSV/eQofcOA6/EMo5rnTNmNTpw0rUgjAI6LaVullPpg==}
2630
+
workbox-strategies@7.3.0:
2631
+
resolution: {integrity: sha512-tmZydug+qzDFATwX7QiEL5Hdf7FrkhjaF9db1CbB39sDmEZJg3l9ayDvPxy8Y18C3Y66Nrr9kkN1f/RlkDgllg==}
2709
2632
2710
-
workbox-streams@7.4.0:
2711
-
resolution: {integrity: sha512-QHPBQrey7hQbnTs5GrEVoWz7RhHJXnPT+12qqWM378orDMo5VMJLCkCM1cnCk+8Eq92lccx/VgRZ7WAzZWbSLg==}
2633
+
workbox-streams@7.3.0:
2634
+
resolution: {integrity: sha512-SZnXucyg8x2Y61VGtDjKPO5EgPUG5NDn/v86WYHX+9ZqvAsGOytP0Jxp1bl663YUuMoXSAtsGLL+byHzEuMRpw==}
2712
2635
2713
-
workbox-sw@7.4.0:
2714
-
resolution: {integrity: sha512-ltU+Kr3qWR6BtbdlMnCjobZKzeV1hN+S6UvDywBrwM19TTyqA03X66dzw1tEIdJvQ4lYKkBFox6IAEhoSEZ8Xw==}
2636
+
workbox-sw@7.3.0:
2637
+
resolution: {integrity: sha512-aCUyoAZU9IZtH05mn0ACUpyHzPs0lMeJimAYkQkBsOWiqaJLgusfDCR+yllkPkFRxWpZKF8vSvgHYeG7LwhlmA==}
2715
2638
2716
-
workbox-window@7.4.0:
2717
-
resolution: {integrity: sha512-/bIYdBLAVsNR3v7gYGaV4pQW3M3kEPx5E8vDxGvxo6khTrGtSSCS7QiFKv9ogzBgZiy0OXLP9zO28U/1nF1mfw==}
2639
+
workbox-window@7.3.0:
2640
+
resolution: {integrity: sha512-qW8PDy16OV1UBaUNGlTVcepzrlzyzNW/ZJvFQQs2j2TzGsg6IKjcpZC1RSquqQnTOafl5pCj5bGfAHlCjOOjdA==}
2718
2641
2719
-
workerd@1.20251202.0:
2720
-
resolution: {integrity: sha512-p08YfrUMHkjCECNdT36r+6DpJIZX4kixbZ4n6GMUcLR5Gh18fakSCsiQrh72iOm4M9QHv/rM7P8YvCrUPWT5sg==}
2642
+
workerd@1.20250321.0:
2643
+
resolution: {integrity: sha512-vyuz9pdJ+7o1lC79vQ2UVRLXPARa2Lq94PbTfqEcYQeSxeR9X+YqhNq2yysv8Zs5vpokmexLCtMniPp9u+2LVQ==}
2721
2644
engines: {node: '>=16'}
2722
2645
hasBin: true
2723
2646
2724
-
wrangler@4.52.1:
2725
-
resolution: {integrity: sha512-rIzDxzPnLAaqBF+SdHGd9Az0ELEWtIBwPp5diCR58p2F4C+KgNGGpPMFswMntuViQ2RKRgGbk4jIzStJoUUfjQ==}
2726
-
engines: {node: '>=20.0.0'}
2647
+
wrangler@4.6.0:
2648
+
resolution: {integrity: sha512-2a2ZD0adlvxQ1H+nRKkuuD0dkgaYTOPlC7gBolItk5TfqOSliEV4m6DtZtKtJp33ioM+Uy6TlEWPpA2TrDveEQ==}
2649
+
engines: {node: '>=18.0.0'}
2727
2650
hasBin: true
2728
2651
peerDependencies:
2729
-
'@cloudflare/workers-types': ^4.20251202.0
2652
+
'@cloudflare/workers-types': ^4.20250321.0
2730
2653
peerDependenciesMeta:
2731
2654
'@cloudflare/workers-types':
2732
2655
optional: true
···
2739
2662
resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
2740
2663
engines: {node: '>=12'}
2741
2664
2665
+
wrappy@1.0.2:
2666
+
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
2667
+
2742
2668
ws@8.18.0:
2743
2669
resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==}
2744
2670
engines: {node: '>=10.0.0'}
···
2754
2680
yallist@3.1.1:
2755
2681
resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
2756
2682
2757
-
youch-core@0.3.3:
2758
-
resolution: {integrity: sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==}
2683
+
yaml@2.7.0:
2684
+
resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==}
2685
+
engines: {node: '>= 14'}
2686
+
hasBin: true
2759
2687
2760
-
youch@4.1.0-beta.10:
2761
-
resolution: {integrity: sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==}
2688
+
youch@3.2.3:
2689
+
resolution: {integrity: sha512-ZBcWz/uzZaQVdCvfV4uk616Bbpf2ee+F/AvuKDR5EwX/Y4v06xWdtMluqTD7+KlZdM93lLm9gMZYo0sKBS0pgw==}
2762
2690
2763
2691
zod@3.22.3:
2764
2692
resolution: {integrity: sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==}
···
2767
2695
2768
2696
'@alloc/quick-lru@5.2.0': {}
2769
2697
2698
+
'@ampproject/remapping@2.3.0':
2699
+
dependencies:
2700
+
'@jridgewell/gen-mapping': 0.3.8
2701
+
'@jridgewell/trace-mapping': 0.3.25
2702
+
2770
2703
'@apideck/better-ajv-errors@0.3.6(ajv@8.17.1)':
2771
2704
dependencies:
2772
2705
ajv: 8.17.1
···
2774
2707
jsonpointer: 5.0.1
2775
2708
leven: 3.1.0
2776
2709
2777
-
'@atcute/atproto@3.1.9':
2710
+
'@atcute/bluemoji@1.0.4(@atcute/bluesky@1.0.15(@atcute/client@2.0.9))(@atcute/client@2.0.9)':
2778
2711
dependencies:
2779
-
'@atcute/lexicons': 1.2.5
2780
-
2781
-
'@atcute/bluemoji@3.1.3':
2782
-
dependencies:
2783
-
'@atcute/atproto': 3.1.9
2784
-
'@atcute/bluesky': 3.2.11
2785
-
'@atcute/lexicons': 1.2.5
2712
+
'@atcute/bluesky': 1.0.15(@atcute/client@2.0.9)
2713
+
'@atcute/client': 2.0.9
2786
2714
2787
2715
'@atcute/bluesky-richtext-parser@1.0.7': {}
2788
2716
2789
-
'@atcute/bluesky-richtext-segmenter@2.0.4':
2717
+
'@atcute/bluesky-richtext-segmenter@1.0.5(@atcute/bluesky@1.0.15(@atcute/client@2.0.9))(@atcute/client@2.0.9)':
2790
2718
dependencies:
2791
-
'@atcute/bluesky': 3.2.11
2792
-
'@atcute/lexicons': 1.2.5
2719
+
'@atcute/bluesky': 1.0.15(@atcute/client@2.0.9)
2720
+
'@atcute/client': 2.0.9
2793
2721
2794
-
'@atcute/bluesky-search-parser@0.1.1': {}
2722
+
'@atcute/bluesky-search-parser@0.1.0': {}
2795
2723
2796
-
'@atcute/bluesky@3.2.11':
2724
+
'@atcute/bluesky@1.0.15(@atcute/client@2.0.9)':
2797
2725
dependencies:
2798
-
'@atcute/atproto': 3.1.9
2799
-
'@atcute/lexicons': 1.2.5
2726
+
'@atcute/client': 2.0.9
2800
2727
2801
-
'@atcute/cbor@2.2.8':
2728
+
'@atcute/cbor@2.2.0':
2802
2729
dependencies:
2803
-
'@atcute/cid': 2.2.6
2804
-
'@atcute/multibase': 1.1.6
2805
-
'@atcute/uint8array': 1.0.5
2730
+
'@atcute/cid': 2.2.0
2731
+
'@atcute/multibase': 1.1.2
2732
+
'@atcute/uint8array': 1.0.1
2806
2733
2807
-
'@atcute/cid@2.2.6':
2734
+
'@atcute/cid@2.2.0':
2808
2735
dependencies:
2809
-
'@atcute/multibase': 1.1.6
2810
-
'@atcute/uint8array': 1.0.5
2736
+
'@atcute/multibase': 1.1.2
2737
+
'@atcute/uint8array': 1.0.1
2811
2738
2812
-
'@atcute/client@4.1.0':
2813
-
dependencies:
2814
-
'@atcute/identity': 1.1.3
2815
-
'@atcute/lexicons': 1.2.5
2739
+
'@atcute/client@2.0.9': {}
2816
2740
2817
-
'@atcute/crypto@2.2.6':
2741
+
'@atcute/multibase@1.1.2':
2818
2742
dependencies:
2819
-
'@atcute/multibase': 1.1.6
2820
-
'@atcute/uint8array': 1.0.5
2821
-
'@noble/secp256k1': 3.0.0
2743
+
'@atcute/uint8array': 1.0.1
2822
2744
2823
-
'@atcute/identity-resolver@1.1.4(@atcute/identity@1.1.3)':
2745
+
'@atcute/oauth-browser-client@1.0.16':
2824
2746
dependencies:
2825
-
'@atcute/identity': 1.1.3
2826
-
'@atcute/lexicons': 1.2.5
2827
-
'@atcute/util-fetch': 1.0.4
2828
-
'@badrap/valita': 0.4.6
2747
+
'@atcute/client': 2.0.9
2748
+
'@atcute/multibase': 1.1.2
2749
+
'@atcute/uint8array': 1.0.1
2829
2750
2830
-
'@atcute/identity@1.1.3':
2831
-
dependencies:
2832
-
'@atcute/lexicons': 1.2.5
2833
-
'@badrap/valita': 0.4.6
2751
+
'@atcute/tid@1.0.2': {}
2834
2752
2835
-
'@atcute/lexicons@1.2.5':
2836
-
dependencies:
2837
-
'@standard-schema/spec': 1.0.0
2838
-
esm-env: 1.2.2
2839
-
2840
-
'@atcute/multibase@1.1.6':
2841
-
dependencies:
2842
-
'@atcute/uint8array': 1.0.5
2843
-
2844
-
'@atcute/oauth-browser-client@2.0.1':
2845
-
dependencies:
2846
-
'@atcute/client': 4.1.0
2847
-
'@atcute/identity': 1.1.3
2848
-
'@atcute/identity-resolver': 1.1.4(@atcute/identity@1.1.3)
2849
-
'@atcute/lexicons': 1.2.5
2850
-
'@atcute/multibase': 1.1.6
2851
-
'@atcute/uint8array': 1.0.5
2852
-
nanoid: 5.1.6
2853
-
2854
-
'@atcute/tid@1.0.3': {}
2855
-
2856
-
'@atcute/uint8array@1.0.5': {}
2857
-
2858
-
'@atcute/util-fetch@1.0.4':
2859
-
dependencies:
2860
-
'@badrap/valita': 0.4.6
2861
-
2862
-
'@atcute/xrpc-server@0.1.3':
2863
-
dependencies:
2864
-
'@atcute/cbor': 2.2.8
2865
-
'@atcute/crypto': 2.2.6
2866
-
'@atcute/identity': 1.1.3
2867
-
'@atcute/identity-resolver': 1.1.4(@atcute/identity@1.1.3)
2868
-
'@atcute/lexicons': 1.2.5
2869
-
'@atcute/multibase': 1.1.6
2870
-
'@atcute/uint8array': 1.0.5
2871
-
'@badrap/valita': 0.4.6
2872
-
nanoid: 5.1.6
2753
+
'@atcute/uint8array@1.0.1': {}
2873
2754
2874
2755
'@atlaskit/pragmatic-drag-and-drop-hitbox@1.0.3':
2875
2756
dependencies:
2876
-
'@atlaskit/pragmatic-drag-and-drop': 1.6.0
2877
-
'@babel/runtime': 7.28.4
2757
+
'@atlaskit/pragmatic-drag-and-drop': 1.5.2
2758
+
'@babel/runtime': 7.27.0
2878
2759
2879
-
'@atlaskit/pragmatic-drag-and-drop@1.6.0':
2760
+
'@atlaskit/pragmatic-drag-and-drop@1.5.2':
2880
2761
dependencies:
2881
-
'@babel/runtime': 7.28.4
2762
+
'@babel/runtime': 7.27.0
2882
2763
bind-event-listener: 3.0.0
2883
2764
raf-schd: 4.0.3
2884
2765
2885
-
'@babel/code-frame@7.27.1':
2766
+
'@babel/code-frame@7.26.2':
2886
2767
dependencies:
2887
-
'@babel/helper-validator-identifier': 7.28.5
2768
+
'@babel/helper-validator-identifier': 7.25.9
2888
2769
js-tokens: 4.0.0
2889
2770
picocolors: 1.1.1
2890
2771
2891
-
'@babel/compat-data@7.28.5': {}
2772
+
'@babel/compat-data@7.26.8': {}
2892
2773
2893
-
'@babel/core@7.28.5':
2774
+
'@babel/core@7.26.10':
2894
2775
dependencies:
2895
-
'@babel/code-frame': 7.27.1
2896
-
'@babel/generator': 7.28.5
2897
-
'@babel/helper-compilation-targets': 7.27.2
2898
-
'@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.5)
2899
-
'@babel/helpers': 7.28.4
2900
-
'@babel/parser': 7.28.5
2901
-
'@babel/template': 7.27.2
2902
-
'@babel/traverse': 7.28.5
2903
-
'@babel/types': 7.28.5
2904
-
'@jridgewell/remapping': 2.3.5
2776
+
'@ampproject/remapping': 2.3.0
2777
+
'@babel/code-frame': 7.26.2
2778
+
'@babel/generator': 7.27.0
2779
+
'@babel/helper-compilation-targets': 7.27.0
2780
+
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10)
2781
+
'@babel/helpers': 7.27.0
2782
+
'@babel/parser': 7.27.0
2783
+
'@babel/template': 7.27.0
2784
+
'@babel/traverse': 7.27.0
2785
+
'@babel/types': 7.27.0
2905
2786
convert-source-map: 2.0.0
2906
-
debug: 4.4.3
2787
+
debug: 4.4.0
2907
2788
gensync: 1.0.0-beta.2
2908
2789
json5: 2.2.3
2909
2790
semver: 6.3.1
2910
2791
transitivePeerDependencies:
2911
2792
- supports-color
2912
2793
2913
-
'@babel/generator@7.28.5':
2794
+
'@babel/generator@7.27.0':
2914
2795
dependencies:
2915
-
'@babel/parser': 7.28.5
2916
-
'@babel/types': 7.28.5
2917
-
'@jridgewell/gen-mapping': 0.3.13
2918
-
'@jridgewell/trace-mapping': 0.3.31
2796
+
'@babel/parser': 7.27.0
2797
+
'@babel/types': 7.27.0
2798
+
'@jridgewell/gen-mapping': 0.3.8
2799
+
'@jridgewell/trace-mapping': 0.3.25
2919
2800
jsesc: 3.1.0
2920
2801
2921
-
'@babel/helper-annotate-as-pure@7.27.3':
2802
+
'@babel/helper-annotate-as-pure@7.25.9':
2922
2803
dependencies:
2923
-
'@babel/types': 7.28.5
2804
+
'@babel/types': 7.27.0
2924
2805
2925
-
'@babel/helper-compilation-targets@7.27.2':
2806
+
'@babel/helper-compilation-targets@7.27.0':
2926
2807
dependencies:
2927
-
'@babel/compat-data': 7.28.5
2928
-
'@babel/helper-validator-option': 7.27.1
2929
-
browserslist: 4.28.1
2808
+
'@babel/compat-data': 7.26.8
2809
+
'@babel/helper-validator-option': 7.25.9
2810
+
browserslist: 4.24.4
2930
2811
lru-cache: 5.1.1
2931
2812
semver: 6.3.1
2932
2813
2933
-
'@babel/helper-create-class-features-plugin@7.28.5(@babel/core@7.28.5)':
2814
+
'@babel/helper-create-class-features-plugin@7.27.0(@babel/core@7.26.10)':
2934
2815
dependencies:
2935
-
'@babel/core': 7.28.5
2936
-
'@babel/helper-annotate-as-pure': 7.27.3
2937
-
'@babel/helper-member-expression-to-functions': 7.28.5
2938
-
'@babel/helper-optimise-call-expression': 7.27.1
2939
-
'@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.5)
2940
-
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
2941
-
'@babel/traverse': 7.28.5
2816
+
'@babel/core': 7.26.10
2817
+
'@babel/helper-annotate-as-pure': 7.25.9
2818
+
'@babel/helper-member-expression-to-functions': 7.25.9
2819
+
'@babel/helper-optimise-call-expression': 7.25.9
2820
+
'@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.10)
2821
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
2822
+
'@babel/traverse': 7.27.0
2942
2823
semver: 6.3.1
2943
2824
transitivePeerDependencies:
2944
2825
- supports-color
2945
2826
2946
-
'@babel/helper-create-regexp-features-plugin@7.28.5(@babel/core@7.28.5)':
2827
+
'@babel/helper-create-regexp-features-plugin@7.27.0(@babel/core@7.26.10)':
2947
2828
dependencies:
2948
-
'@babel/core': 7.28.5
2949
-
'@babel/helper-annotate-as-pure': 7.27.3
2950
-
regexpu-core: 6.4.0
2829
+
'@babel/core': 7.26.10
2830
+
'@babel/helper-annotate-as-pure': 7.25.9
2831
+
regexpu-core: 6.2.0
2951
2832
semver: 6.3.1
2952
2833
2953
-
'@babel/helper-define-polyfill-provider@0.6.5(@babel/core@7.28.5)':
2834
+
'@babel/helper-define-polyfill-provider@0.6.4(@babel/core@7.26.10)':
2954
2835
dependencies:
2955
-
'@babel/core': 7.28.5
2956
-
'@babel/helper-compilation-targets': 7.27.2
2957
-
'@babel/helper-plugin-utils': 7.27.1
2958
-
debug: 4.4.3
2836
+
'@babel/core': 7.26.10
2837
+
'@babel/helper-compilation-targets': 7.27.0
2838
+
'@babel/helper-plugin-utils': 7.26.5
2839
+
debug: 4.4.0
2959
2840
lodash.debounce: 4.0.8
2960
-
resolve: 1.22.11
2841
+
resolve: 1.22.10
2961
2842
transitivePeerDependencies:
2962
2843
- supports-color
2963
2844
2964
-
'@babel/helper-globals@7.28.0': {}
2965
-
2966
-
'@babel/helper-member-expression-to-functions@7.28.5':
2845
+
'@babel/helper-member-expression-to-functions@7.25.9':
2967
2846
dependencies:
2968
-
'@babel/traverse': 7.28.5
2969
-
'@babel/types': 7.28.5
2847
+
'@babel/traverse': 7.27.0
2848
+
'@babel/types': 7.27.0
2970
2849
transitivePeerDependencies:
2971
2850
- supports-color
2972
2851
2973
2852
'@babel/helper-module-imports@7.18.6':
2974
2853
dependencies:
2975
-
'@babel/types': 7.28.5
2854
+
'@babel/types': 7.27.0
2976
2855
2977
-
'@babel/helper-module-imports@7.27.1':
2856
+
'@babel/helper-module-imports@7.25.9':
2978
2857
dependencies:
2979
-
'@babel/traverse': 7.28.5
2980
-
'@babel/types': 7.28.5
2858
+
'@babel/traverse': 7.27.0
2859
+
'@babel/types': 7.27.0
2981
2860
transitivePeerDependencies:
2982
2861
- supports-color
2983
2862
2984
-
'@babel/helper-module-transforms@7.28.3(@babel/core@7.28.5)':
2863
+
'@babel/helper-module-transforms@7.26.0(@babel/core@7.26.10)':
2985
2864
dependencies:
2986
-
'@babel/core': 7.28.5
2987
-
'@babel/helper-module-imports': 7.27.1
2988
-
'@babel/helper-validator-identifier': 7.28.5
2989
-
'@babel/traverse': 7.28.5
2865
+
'@babel/core': 7.26.10
2866
+
'@babel/helper-module-imports': 7.25.9
2867
+
'@babel/helper-validator-identifier': 7.25.9
2868
+
'@babel/traverse': 7.27.0
2990
2869
transitivePeerDependencies:
2991
2870
- supports-color
2992
2871
2993
-
'@babel/helper-optimise-call-expression@7.27.1':
2872
+
'@babel/helper-optimise-call-expression@7.25.9':
2994
2873
dependencies:
2995
-
'@babel/types': 7.28.5
2874
+
'@babel/types': 7.27.0
2996
2875
2997
-
'@babel/helper-plugin-utils@7.27.1': {}
2876
+
'@babel/helper-plugin-utils@7.26.5': {}
2998
2877
2999
-
'@babel/helper-remap-async-to-generator@7.27.1(@babel/core@7.28.5)':
2878
+
'@babel/helper-remap-async-to-generator@7.25.9(@babel/core@7.26.10)':
3000
2879
dependencies:
3001
-
'@babel/core': 7.28.5
3002
-
'@babel/helper-annotate-as-pure': 7.27.3
3003
-
'@babel/helper-wrap-function': 7.28.3
3004
-
'@babel/traverse': 7.28.5
2880
+
'@babel/core': 7.26.10
2881
+
'@babel/helper-annotate-as-pure': 7.25.9
2882
+
'@babel/helper-wrap-function': 7.25.9
2883
+
'@babel/traverse': 7.27.0
3005
2884
transitivePeerDependencies:
3006
2885
- supports-color
3007
2886
3008
-
'@babel/helper-replace-supers@7.27.1(@babel/core@7.28.5)':
2887
+
'@babel/helper-replace-supers@7.26.5(@babel/core@7.26.10)':
3009
2888
dependencies:
3010
-
'@babel/core': 7.28.5
3011
-
'@babel/helper-member-expression-to-functions': 7.28.5
3012
-
'@babel/helper-optimise-call-expression': 7.27.1
3013
-
'@babel/traverse': 7.28.5
2889
+
'@babel/core': 7.26.10
2890
+
'@babel/helper-member-expression-to-functions': 7.25.9
2891
+
'@babel/helper-optimise-call-expression': 7.25.9
2892
+
'@babel/traverse': 7.27.0
3014
2893
transitivePeerDependencies:
3015
2894
- supports-color
3016
2895
3017
-
'@babel/helper-skip-transparent-expression-wrappers@7.27.1':
2896
+
'@babel/helper-skip-transparent-expression-wrappers@7.25.9':
3018
2897
dependencies:
3019
-
'@babel/traverse': 7.28.5
3020
-
'@babel/types': 7.28.5
2898
+
'@babel/traverse': 7.27.0
2899
+
'@babel/types': 7.27.0
3021
2900
transitivePeerDependencies:
3022
2901
- supports-color
3023
2902
3024
-
'@babel/helper-string-parser@7.27.1': {}
2903
+
'@babel/helper-string-parser@7.25.9': {}
3025
2904
3026
-
'@babel/helper-validator-identifier@7.28.5': {}
2905
+
'@babel/helper-validator-identifier@7.25.9': {}
3027
2906
3028
-
'@babel/helper-validator-option@7.27.1': {}
2907
+
'@babel/helper-validator-option@7.25.9': {}
3029
2908
3030
-
'@babel/helper-wrap-function@7.28.3':
2909
+
'@babel/helper-wrap-function@7.25.9':
3031
2910
dependencies:
3032
-
'@babel/template': 7.27.2
3033
-
'@babel/traverse': 7.28.5
3034
-
'@babel/types': 7.28.5
2911
+
'@babel/template': 7.27.0
2912
+
'@babel/traverse': 7.27.0
2913
+
'@babel/types': 7.27.0
3035
2914
transitivePeerDependencies:
3036
2915
- supports-color
3037
2916
3038
-
'@babel/helpers@7.28.4':
2917
+
'@babel/helpers@7.27.0':
3039
2918
dependencies:
3040
-
'@babel/template': 7.27.2
3041
-
'@babel/types': 7.28.5
2919
+
'@babel/template': 7.27.0
2920
+
'@babel/types': 7.27.0
3042
2921
3043
-
'@babel/parser@7.28.5':
2922
+
'@babel/parser@7.27.0':
3044
2923
dependencies:
3045
-
'@babel/types': 7.28.5
2924
+
'@babel/types': 7.27.0
3046
2925
3047
-
'@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.28.5(@babel/core@7.28.5)':
2926
+
'@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.10)':
3048
2927
dependencies:
3049
-
'@babel/core': 7.28.5
3050
-
'@babel/helper-plugin-utils': 7.27.1
3051
-
'@babel/traverse': 7.28.5
2928
+
'@babel/core': 7.26.10
2929
+
'@babel/helper-plugin-utils': 7.26.5
2930
+
'@babel/traverse': 7.27.0
3052
2931
transitivePeerDependencies:
3053
2932
- supports-color
3054
2933
3055
-
'@babel/plugin-bugfix-safari-class-field-initializer-scope@7.27.1(@babel/core@7.28.5)':
2934
+
'@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(@babel/core@7.26.10)':
3056
2935
dependencies:
3057
-
'@babel/core': 7.28.5
3058
-
'@babel/helper-plugin-utils': 7.27.1
2936
+
'@babel/core': 7.26.10
2937
+
'@babel/helper-plugin-utils': 7.26.5
3059
2938
3060
-
'@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/core@7.28.5)':
2939
+
'@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/core@7.26.10)':
3061
2940
dependencies:
3062
-
'@babel/core': 7.28.5
3063
-
'@babel/helper-plugin-utils': 7.27.1
2941
+
'@babel/core': 7.26.10
2942
+
'@babel/helper-plugin-utils': 7.26.5
3064
2943
3065
-
'@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1(@babel/core@7.28.5)':
2944
+
'@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(@babel/core@7.26.10)':
3066
2945
dependencies:
3067
-
'@babel/core': 7.28.5
3068
-
'@babel/helper-plugin-utils': 7.27.1
3069
-
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
3070
-
'@babel/plugin-transform-optional-chaining': 7.28.5(@babel/core@7.28.5)
2946
+
'@babel/core': 7.26.10
2947
+
'@babel/helper-plugin-utils': 7.26.5
2948
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
2949
+
'@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.10)
3071
2950
transitivePeerDependencies:
3072
2951
- supports-color
3073
2952
3074
-
'@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.28.3(@babel/core@7.28.5)':
2953
+
'@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(@babel/core@7.26.10)':
3075
2954
dependencies:
3076
-
'@babel/core': 7.28.5
3077
-
'@babel/helper-plugin-utils': 7.27.1
3078
-
'@babel/traverse': 7.28.5
2955
+
'@babel/core': 7.26.10
2956
+
'@babel/helper-plugin-utils': 7.26.5
2957
+
'@babel/traverse': 7.27.0
3079
2958
transitivePeerDependencies:
3080
2959
- supports-color
3081
2960
3082
-
'@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.28.5)':
2961
+
'@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.10)':
3083
2962
dependencies:
3084
-
'@babel/core': 7.28.5
2963
+
'@babel/core': 7.26.10
3085
2964
3086
-
'@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.28.5)':
2965
+
'@babel/plugin-syntax-import-assertions@7.26.0(@babel/core@7.26.10)':
3087
2966
dependencies:
3088
-
'@babel/core': 7.28.5
3089
-
'@babel/helper-plugin-utils': 7.27.1
2967
+
'@babel/core': 7.26.10
2968
+
'@babel/helper-plugin-utils': 7.26.5
3090
2969
3091
-
'@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.28.5)':
2970
+
'@babel/plugin-syntax-import-attributes@7.26.0(@babel/core@7.26.10)':
3092
2971
dependencies:
3093
-
'@babel/core': 7.28.5
3094
-
'@babel/helper-plugin-utils': 7.27.1
2972
+
'@babel/core': 7.26.10
2973
+
'@babel/helper-plugin-utils': 7.26.5
3095
2974
3096
-
'@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.28.5)':
2975
+
'@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.10)':
3097
2976
dependencies:
3098
-
'@babel/core': 7.28.5
3099
-
'@babel/helper-plugin-utils': 7.27.1
2977
+
'@babel/core': 7.26.10
2978
+
'@babel/helper-plugin-utils': 7.26.5
3100
2979
3101
-
'@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.28.5)':
2980
+
'@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.10)':
3102
2981
dependencies:
3103
-
'@babel/core': 7.28.5
3104
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3105
-
'@babel/helper-plugin-utils': 7.27.1
2982
+
'@babel/core': 7.26.10
2983
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
2984
+
'@babel/helper-plugin-utils': 7.26.5
3106
2985
3107
-
'@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.28.5)':
2986
+
'@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.10)':
3108
2987
dependencies:
3109
-
'@babel/core': 7.28.5
3110
-
'@babel/helper-plugin-utils': 7.27.1
2988
+
'@babel/core': 7.26.10
2989
+
'@babel/helper-plugin-utils': 7.26.5
3111
2990
3112
-
'@babel/plugin-transform-async-generator-functions@7.28.0(@babel/core@7.28.5)':
2991
+
'@babel/plugin-transform-async-generator-functions@7.26.8(@babel/core@7.26.10)':
3113
2992
dependencies:
3114
-
'@babel/core': 7.28.5
3115
-
'@babel/helper-plugin-utils': 7.27.1
3116
-
'@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.28.5)
3117
-
'@babel/traverse': 7.28.5
2993
+
'@babel/core': 7.26.10
2994
+
'@babel/helper-plugin-utils': 7.26.5
2995
+
'@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.10)
2996
+
'@babel/traverse': 7.27.0
3118
2997
transitivePeerDependencies:
3119
2998
- supports-color
3120
2999
3121
-
'@babel/plugin-transform-async-to-generator@7.27.1(@babel/core@7.28.5)':
3000
+
'@babel/plugin-transform-async-to-generator@7.25.9(@babel/core@7.26.10)':
3122
3001
dependencies:
3123
-
'@babel/core': 7.28.5
3124
-
'@babel/helper-module-imports': 7.27.1
3125
-
'@babel/helper-plugin-utils': 7.27.1
3126
-
'@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.28.5)
3002
+
'@babel/core': 7.26.10
3003
+
'@babel/helper-module-imports': 7.25.9
3004
+
'@babel/helper-plugin-utils': 7.26.5
3005
+
'@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.10)
3127
3006
transitivePeerDependencies:
3128
3007
- supports-color
3129
3008
3130
-
'@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.28.5)':
3009
+
'@babel/plugin-transform-block-scoped-functions@7.26.5(@babel/core@7.26.10)':
3131
3010
dependencies:
3132
-
'@babel/core': 7.28.5
3133
-
'@babel/helper-plugin-utils': 7.27.1
3011
+
'@babel/core': 7.26.10
3012
+
'@babel/helper-plugin-utils': 7.26.5
3134
3013
3135
-
'@babel/plugin-transform-block-scoping@7.28.5(@babel/core@7.28.5)':
3014
+
'@babel/plugin-transform-block-scoping@7.27.0(@babel/core@7.26.10)':
3136
3015
dependencies:
3137
-
'@babel/core': 7.28.5
3138
-
'@babel/helper-plugin-utils': 7.27.1
3016
+
'@babel/core': 7.26.10
3017
+
'@babel/helper-plugin-utils': 7.26.5
3139
3018
3140
-
'@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.28.5)':
3019
+
'@babel/plugin-transform-class-properties@7.25.9(@babel/core@7.26.10)':
3141
3020
dependencies:
3142
-
'@babel/core': 7.28.5
3143
-
'@babel/helper-create-class-features-plugin': 7.28.5(@babel/core@7.28.5)
3144
-
'@babel/helper-plugin-utils': 7.27.1
3021
+
'@babel/core': 7.26.10
3022
+
'@babel/helper-create-class-features-plugin': 7.27.0(@babel/core@7.26.10)
3023
+
'@babel/helper-plugin-utils': 7.26.5
3145
3024
transitivePeerDependencies:
3146
3025
- supports-color
3147
3026
3148
-
'@babel/plugin-transform-class-static-block@7.28.3(@babel/core@7.28.5)':
3027
+
'@babel/plugin-transform-class-static-block@7.26.0(@babel/core@7.26.10)':
3149
3028
dependencies:
3150
-
'@babel/core': 7.28.5
3151
-
'@babel/helper-create-class-features-plugin': 7.28.5(@babel/core@7.28.5)
3152
-
'@babel/helper-plugin-utils': 7.27.1
3029
+
'@babel/core': 7.26.10
3030
+
'@babel/helper-create-class-features-plugin': 7.27.0(@babel/core@7.26.10)
3031
+
'@babel/helper-plugin-utils': 7.26.5
3153
3032
transitivePeerDependencies:
3154
3033
- supports-color
3155
3034
3156
-
'@babel/plugin-transform-classes@7.28.4(@babel/core@7.28.5)':
3035
+
'@babel/plugin-transform-classes@7.25.9(@babel/core@7.26.10)':
3157
3036
dependencies:
3158
-
'@babel/core': 7.28.5
3159
-
'@babel/helper-annotate-as-pure': 7.27.3
3160
-
'@babel/helper-compilation-targets': 7.27.2
3161
-
'@babel/helper-globals': 7.28.0
3162
-
'@babel/helper-plugin-utils': 7.27.1
3163
-
'@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.5)
3164
-
'@babel/traverse': 7.28.5
3037
+
'@babel/core': 7.26.10
3038
+
'@babel/helper-annotate-as-pure': 7.25.9
3039
+
'@babel/helper-compilation-targets': 7.27.0
3040
+
'@babel/helper-plugin-utils': 7.26.5
3041
+
'@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.10)
3042
+
'@babel/traverse': 7.27.0
3043
+
globals: 11.12.0
3165
3044
transitivePeerDependencies:
3166
3045
- supports-color
3167
3046
3168
-
'@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.28.5)':
3169
-
dependencies:
3170
-
'@babel/core': 7.28.5
3171
-
'@babel/helper-plugin-utils': 7.27.1
3172
-
'@babel/template': 7.27.2
3173
-
3174
-
'@babel/plugin-transform-destructuring@7.28.5(@babel/core@7.28.5)':
3047
+
'@babel/plugin-transform-computed-properties@7.25.9(@babel/core@7.26.10)':
3175
3048
dependencies:
3176
-
'@babel/core': 7.28.5
3177
-
'@babel/helper-plugin-utils': 7.27.1
3178
-
'@babel/traverse': 7.28.5
3179
-
transitivePeerDependencies:
3180
-
- supports-color
3049
+
'@babel/core': 7.26.10
3050
+
'@babel/helper-plugin-utils': 7.26.5
3051
+
'@babel/template': 7.27.0
3181
3052
3182
-
'@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.28.5)':
3053
+
'@babel/plugin-transform-destructuring@7.25.9(@babel/core@7.26.10)':
3183
3054
dependencies:
3184
-
'@babel/core': 7.28.5
3185
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3186
-
'@babel/helper-plugin-utils': 7.27.1
3055
+
'@babel/core': 7.26.10
3056
+
'@babel/helper-plugin-utils': 7.26.5
3187
3057
3188
-
'@babel/plugin-transform-duplicate-keys@7.27.1(@babel/core@7.28.5)':
3058
+
'@babel/plugin-transform-dotall-regex@7.25.9(@babel/core@7.26.10)':
3189
3059
dependencies:
3190
-
'@babel/core': 7.28.5
3191
-
'@babel/helper-plugin-utils': 7.27.1
3060
+
'@babel/core': 7.26.10
3061
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3062
+
'@babel/helper-plugin-utils': 7.26.5
3192
3063
3193
-
'@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.27.1(@babel/core@7.28.5)':
3064
+
'@babel/plugin-transform-duplicate-keys@7.25.9(@babel/core@7.26.10)':
3194
3065
dependencies:
3195
-
'@babel/core': 7.28.5
3196
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3197
-
'@babel/helper-plugin-utils': 7.27.1
3066
+
'@babel/core': 7.26.10
3067
+
'@babel/helper-plugin-utils': 7.26.5
3198
3068
3199
-
'@babel/plugin-transform-dynamic-import@7.27.1(@babel/core@7.28.5)':
3069
+
'@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(@babel/core@7.26.10)':
3200
3070
dependencies:
3201
-
'@babel/core': 7.28.5
3202
-
'@babel/helper-plugin-utils': 7.27.1
3071
+
'@babel/core': 7.26.10
3072
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3073
+
'@babel/helper-plugin-utils': 7.26.5
3203
3074
3204
-
'@babel/plugin-transform-explicit-resource-management@7.28.0(@babel/core@7.28.5)':
3075
+
'@babel/plugin-transform-dynamic-import@7.25.9(@babel/core@7.26.10)':
3205
3076
dependencies:
3206
-
'@babel/core': 7.28.5
3207
-
'@babel/helper-plugin-utils': 7.27.1
3208
-
'@babel/plugin-transform-destructuring': 7.28.5(@babel/core@7.28.5)
3209
-
transitivePeerDependencies:
3210
-
- supports-color
3077
+
'@babel/core': 7.26.10
3078
+
'@babel/helper-plugin-utils': 7.26.5
3211
3079
3212
-
'@babel/plugin-transform-exponentiation-operator@7.28.5(@babel/core@7.28.5)':
3080
+
'@babel/plugin-transform-exponentiation-operator@7.26.3(@babel/core@7.26.10)':
3213
3081
dependencies:
3214
-
'@babel/core': 7.28.5
3215
-
'@babel/helper-plugin-utils': 7.27.1
3082
+
'@babel/core': 7.26.10
3083
+
'@babel/helper-plugin-utils': 7.26.5
3216
3084
3217
-
'@babel/plugin-transform-export-namespace-from@7.27.1(@babel/core@7.28.5)':
3085
+
'@babel/plugin-transform-export-namespace-from@7.25.9(@babel/core@7.26.10)':
3218
3086
dependencies:
3219
-
'@babel/core': 7.28.5
3220
-
'@babel/helper-plugin-utils': 7.27.1
3087
+
'@babel/core': 7.26.10
3088
+
'@babel/helper-plugin-utils': 7.26.5
3221
3089
3222
-
'@babel/plugin-transform-for-of@7.27.1(@babel/core@7.28.5)':
3090
+
'@babel/plugin-transform-for-of@7.26.9(@babel/core@7.26.10)':
3223
3091
dependencies:
3224
-
'@babel/core': 7.28.5
3225
-
'@babel/helper-plugin-utils': 7.27.1
3226
-
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
3092
+
'@babel/core': 7.26.10
3093
+
'@babel/helper-plugin-utils': 7.26.5
3094
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
3227
3095
transitivePeerDependencies:
3228
3096
- supports-color
3229
3097
3230
-
'@babel/plugin-transform-function-name@7.27.1(@babel/core@7.28.5)':
3098
+
'@babel/plugin-transform-function-name@7.25.9(@babel/core@7.26.10)':
3231
3099
dependencies:
3232
-
'@babel/core': 7.28.5
3233
-
'@babel/helper-compilation-targets': 7.27.2
3234
-
'@babel/helper-plugin-utils': 7.27.1
3235
-
'@babel/traverse': 7.28.5
3100
+
'@babel/core': 7.26.10
3101
+
'@babel/helper-compilation-targets': 7.27.0
3102
+
'@babel/helper-plugin-utils': 7.26.5
3103
+
'@babel/traverse': 7.27.0
3236
3104
transitivePeerDependencies:
3237
3105
- supports-color
3238
3106
3239
-
'@babel/plugin-transform-json-strings@7.27.1(@babel/core@7.28.5)':
3107
+
'@babel/plugin-transform-json-strings@7.25.9(@babel/core@7.26.10)':
3240
3108
dependencies:
3241
-
'@babel/core': 7.28.5
3242
-
'@babel/helper-plugin-utils': 7.27.1
3109
+
'@babel/core': 7.26.10
3110
+
'@babel/helper-plugin-utils': 7.26.5
3243
3111
3244
-
'@babel/plugin-transform-literals@7.27.1(@babel/core@7.28.5)':
3112
+
'@babel/plugin-transform-literals@7.25.9(@babel/core@7.26.10)':
3245
3113
dependencies:
3246
-
'@babel/core': 7.28.5
3247
-
'@babel/helper-plugin-utils': 7.27.1
3114
+
'@babel/core': 7.26.10
3115
+
'@babel/helper-plugin-utils': 7.26.5
3248
3116
3249
-
'@babel/plugin-transform-logical-assignment-operators@7.28.5(@babel/core@7.28.5)':
3117
+
'@babel/plugin-transform-logical-assignment-operators@7.25.9(@babel/core@7.26.10)':
3250
3118
dependencies:
3251
-
'@babel/core': 7.28.5
3252
-
'@babel/helper-plugin-utils': 7.27.1
3119
+
'@babel/core': 7.26.10
3120
+
'@babel/helper-plugin-utils': 7.26.5
3253
3121
3254
-
'@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.28.5)':
3122
+
'@babel/plugin-transform-member-expression-literals@7.25.9(@babel/core@7.26.10)':
3255
3123
dependencies:
3256
-
'@babel/core': 7.28.5
3257
-
'@babel/helper-plugin-utils': 7.27.1
3124
+
'@babel/core': 7.26.10
3125
+
'@babel/helper-plugin-utils': 7.26.5
3258
3126
3259
-
'@babel/plugin-transform-modules-amd@7.27.1(@babel/core@7.28.5)':
3127
+
'@babel/plugin-transform-modules-amd@7.25.9(@babel/core@7.26.10)':
3260
3128
dependencies:
3261
-
'@babel/core': 7.28.5
3262
-
'@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.5)
3263
-
'@babel/helper-plugin-utils': 7.27.1
3129
+
'@babel/core': 7.26.10
3130
+
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10)
3131
+
'@babel/helper-plugin-utils': 7.26.5
3264
3132
transitivePeerDependencies:
3265
3133
- supports-color
3266
3134
3267
-
'@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.28.5)':
3135
+
'@babel/plugin-transform-modules-commonjs@7.26.3(@babel/core@7.26.10)':
3268
3136
dependencies:
3269
-
'@babel/core': 7.28.5
3270
-
'@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.5)
3271
-
'@babel/helper-plugin-utils': 7.27.1
3137
+
'@babel/core': 7.26.10
3138
+
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10)
3139
+
'@babel/helper-plugin-utils': 7.26.5
3272
3140
transitivePeerDependencies:
3273
3141
- supports-color
3274
3142
3275
-
'@babel/plugin-transform-modules-systemjs@7.28.5(@babel/core@7.28.5)':
3143
+
'@babel/plugin-transform-modules-systemjs@7.25.9(@babel/core@7.26.10)':
3276
3144
dependencies:
3277
-
'@babel/core': 7.28.5
3278
-
'@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.5)
3279
-
'@babel/helper-plugin-utils': 7.27.1
3280
-
'@babel/helper-validator-identifier': 7.28.5
3281
-
'@babel/traverse': 7.28.5
3145
+
'@babel/core': 7.26.10
3146
+
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10)
3147
+
'@babel/helper-plugin-utils': 7.26.5
3148
+
'@babel/helper-validator-identifier': 7.25.9
3149
+
'@babel/traverse': 7.27.0
3282
3150
transitivePeerDependencies:
3283
3151
- supports-color
3284
3152
3285
-
'@babel/plugin-transform-modules-umd@7.27.1(@babel/core@7.28.5)':
3153
+
'@babel/plugin-transform-modules-umd@7.25.9(@babel/core@7.26.10)':
3286
3154
dependencies:
3287
-
'@babel/core': 7.28.5
3288
-
'@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.5)
3289
-
'@babel/helper-plugin-utils': 7.27.1
3155
+
'@babel/core': 7.26.10
3156
+
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10)
3157
+
'@babel/helper-plugin-utils': 7.26.5
3290
3158
transitivePeerDependencies:
3291
3159
- supports-color
3292
3160
3293
-
'@babel/plugin-transform-named-capturing-groups-regex@7.27.1(@babel/core@7.28.5)':
3161
+
'@babel/plugin-transform-named-capturing-groups-regex@7.25.9(@babel/core@7.26.10)':
3294
3162
dependencies:
3295
-
'@babel/core': 7.28.5
3296
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3297
-
'@babel/helper-plugin-utils': 7.27.1
3163
+
'@babel/core': 7.26.10
3164
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3165
+
'@babel/helper-plugin-utils': 7.26.5
3298
3166
3299
-
'@babel/plugin-transform-new-target@7.27.1(@babel/core@7.28.5)':
3167
+
'@babel/plugin-transform-new-target@7.25.9(@babel/core@7.26.10)':
3300
3168
dependencies:
3301
-
'@babel/core': 7.28.5
3302
-
'@babel/helper-plugin-utils': 7.27.1
3169
+
'@babel/core': 7.26.10
3170
+
'@babel/helper-plugin-utils': 7.26.5
3303
3171
3304
-
'@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.28.5)':
3172
+
'@babel/plugin-transform-nullish-coalescing-operator@7.26.6(@babel/core@7.26.10)':
3305
3173
dependencies:
3306
-
'@babel/core': 7.28.5
3307
-
'@babel/helper-plugin-utils': 7.27.1
3174
+
'@babel/core': 7.26.10
3175
+
'@babel/helper-plugin-utils': 7.26.5
3308
3176
3309
-
'@babel/plugin-transform-numeric-separator@7.27.1(@babel/core@7.28.5)':
3177
+
'@babel/plugin-transform-numeric-separator@7.25.9(@babel/core@7.26.10)':
3310
3178
dependencies:
3311
-
'@babel/core': 7.28.5
3312
-
'@babel/helper-plugin-utils': 7.27.1
3179
+
'@babel/core': 7.26.10
3180
+
'@babel/helper-plugin-utils': 7.26.5
3313
3181
3314
-
'@babel/plugin-transform-object-rest-spread@7.28.4(@babel/core@7.28.5)':
3182
+
'@babel/plugin-transform-object-rest-spread@7.25.9(@babel/core@7.26.10)':
3315
3183
dependencies:
3316
-
'@babel/core': 7.28.5
3317
-
'@babel/helper-compilation-targets': 7.27.2
3318
-
'@babel/helper-plugin-utils': 7.27.1
3319
-
'@babel/plugin-transform-destructuring': 7.28.5(@babel/core@7.28.5)
3320
-
'@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.5)
3321
-
'@babel/traverse': 7.28.5
3322
-
transitivePeerDependencies:
3323
-
- supports-color
3184
+
'@babel/core': 7.26.10
3185
+
'@babel/helper-compilation-targets': 7.27.0
3186
+
'@babel/helper-plugin-utils': 7.26.5
3187
+
'@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.10)
3324
3188
3325
-
'@babel/plugin-transform-object-super@7.27.1(@babel/core@7.28.5)':
3189
+
'@babel/plugin-transform-object-super@7.25.9(@babel/core@7.26.10)':
3326
3190
dependencies:
3327
-
'@babel/core': 7.28.5
3328
-
'@babel/helper-plugin-utils': 7.27.1
3329
-
'@babel/helper-replace-supers': 7.27.1(@babel/core@7.28.5)
3191
+
'@babel/core': 7.26.10
3192
+
'@babel/helper-plugin-utils': 7.26.5
3193
+
'@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.10)
3330
3194
transitivePeerDependencies:
3331
3195
- supports-color
3332
3196
3333
-
'@babel/plugin-transform-optional-catch-binding@7.27.1(@babel/core@7.28.5)':
3197
+
'@babel/plugin-transform-optional-catch-binding@7.25.9(@babel/core@7.26.10)':
3334
3198
dependencies:
3335
-
'@babel/core': 7.28.5
3336
-
'@babel/helper-plugin-utils': 7.27.1
3199
+
'@babel/core': 7.26.10
3200
+
'@babel/helper-plugin-utils': 7.26.5
3337
3201
3338
-
'@babel/plugin-transform-optional-chaining@7.28.5(@babel/core@7.28.5)':
3202
+
'@babel/plugin-transform-optional-chaining@7.25.9(@babel/core@7.26.10)':
3339
3203
dependencies:
3340
-
'@babel/core': 7.28.5
3341
-
'@babel/helper-plugin-utils': 7.27.1
3342
-
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
3204
+
'@babel/core': 7.26.10
3205
+
'@babel/helper-plugin-utils': 7.26.5
3206
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
3343
3207
transitivePeerDependencies:
3344
3208
- supports-color
3345
3209
3346
-
'@babel/plugin-transform-parameters@7.27.7(@babel/core@7.28.5)':
3210
+
'@babel/plugin-transform-parameters@7.25.9(@babel/core@7.26.10)':
3347
3211
dependencies:
3348
-
'@babel/core': 7.28.5
3349
-
'@babel/helper-plugin-utils': 7.27.1
3212
+
'@babel/core': 7.26.10
3213
+
'@babel/helper-plugin-utils': 7.26.5
3350
3214
3351
-
'@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.28.5)':
3215
+
'@babel/plugin-transform-private-methods@7.25.9(@babel/core@7.26.10)':
3352
3216
dependencies:
3353
-
'@babel/core': 7.28.5
3354
-
'@babel/helper-create-class-features-plugin': 7.28.5(@babel/core@7.28.5)
3355
-
'@babel/helper-plugin-utils': 7.27.1
3217
+
'@babel/core': 7.26.10
3218
+
'@babel/helper-create-class-features-plugin': 7.27.0(@babel/core@7.26.10)
3219
+
'@babel/helper-plugin-utils': 7.26.5
3356
3220
transitivePeerDependencies:
3357
3221
- supports-color
3358
3222
3359
-
'@babel/plugin-transform-private-property-in-object@7.27.1(@babel/core@7.28.5)':
3223
+
'@babel/plugin-transform-private-property-in-object@7.25.9(@babel/core@7.26.10)':
3360
3224
dependencies:
3361
-
'@babel/core': 7.28.5
3362
-
'@babel/helper-annotate-as-pure': 7.27.3
3363
-
'@babel/helper-create-class-features-plugin': 7.28.5(@babel/core@7.28.5)
3364
-
'@babel/helper-plugin-utils': 7.27.1
3225
+
'@babel/core': 7.26.10
3226
+
'@babel/helper-annotate-as-pure': 7.25.9
3227
+
'@babel/helper-create-class-features-plugin': 7.27.0(@babel/core@7.26.10)
3228
+
'@babel/helper-plugin-utils': 7.26.5
3365
3229
transitivePeerDependencies:
3366
3230
- supports-color
3367
3231
3368
-
'@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.28.5)':
3232
+
'@babel/plugin-transform-property-literals@7.25.9(@babel/core@7.26.10)':
3369
3233
dependencies:
3370
-
'@babel/core': 7.28.5
3371
-
'@babel/helper-plugin-utils': 7.27.1
3234
+
'@babel/core': 7.26.10
3235
+
'@babel/helper-plugin-utils': 7.26.5
3372
3236
3373
-
'@babel/plugin-transform-regenerator@7.28.4(@babel/core@7.28.5)':
3237
+
'@babel/plugin-transform-regenerator@7.27.0(@babel/core@7.26.10)':
3374
3238
dependencies:
3375
-
'@babel/core': 7.28.5
3376
-
'@babel/helper-plugin-utils': 7.27.1
3239
+
'@babel/core': 7.26.10
3240
+
'@babel/helper-plugin-utils': 7.26.5
3241
+
regenerator-transform: 0.15.2
3377
3242
3378
-
'@babel/plugin-transform-regexp-modifiers@7.27.1(@babel/core@7.28.5)':
3243
+
'@babel/plugin-transform-regexp-modifiers@7.26.0(@babel/core@7.26.10)':
3379
3244
dependencies:
3380
-
'@babel/core': 7.28.5
3381
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3382
-
'@babel/helper-plugin-utils': 7.27.1
3245
+
'@babel/core': 7.26.10
3246
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3247
+
'@babel/helper-plugin-utils': 7.26.5
3383
3248
3384
-
'@babel/plugin-transform-reserved-words@7.27.1(@babel/core@7.28.5)':
3249
+
'@babel/plugin-transform-reserved-words@7.25.9(@babel/core@7.26.10)':
3385
3250
dependencies:
3386
-
'@babel/core': 7.28.5
3387
-
'@babel/helper-plugin-utils': 7.27.1
3251
+
'@babel/core': 7.26.10
3252
+
'@babel/helper-plugin-utils': 7.26.5
3388
3253
3389
-
'@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.28.5)':
3254
+
'@babel/plugin-transform-shorthand-properties@7.25.9(@babel/core@7.26.10)':
3390
3255
dependencies:
3391
-
'@babel/core': 7.28.5
3392
-
'@babel/helper-plugin-utils': 7.27.1
3256
+
'@babel/core': 7.26.10
3257
+
'@babel/helper-plugin-utils': 7.26.5
3393
3258
3394
-
'@babel/plugin-transform-spread@7.27.1(@babel/core@7.28.5)':
3259
+
'@babel/plugin-transform-spread@7.25.9(@babel/core@7.26.10)':
3395
3260
dependencies:
3396
-
'@babel/core': 7.28.5
3397
-
'@babel/helper-plugin-utils': 7.27.1
3398
-
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
3261
+
'@babel/core': 7.26.10
3262
+
'@babel/helper-plugin-utils': 7.26.5
3263
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
3399
3264
transitivePeerDependencies:
3400
3265
- supports-color
3401
3266
3402
-
'@babel/plugin-transform-sticky-regex@7.27.1(@babel/core@7.28.5)':
3267
+
'@babel/plugin-transform-sticky-regex@7.25.9(@babel/core@7.26.10)':
3403
3268
dependencies:
3404
-
'@babel/core': 7.28.5
3405
-
'@babel/helper-plugin-utils': 7.27.1
3269
+
'@babel/core': 7.26.10
3270
+
'@babel/helper-plugin-utils': 7.26.5
3406
3271
3407
-
'@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.28.5)':
3272
+
'@babel/plugin-transform-template-literals@7.26.8(@babel/core@7.26.10)':
3408
3273
dependencies:
3409
-
'@babel/core': 7.28.5
3410
-
'@babel/helper-plugin-utils': 7.27.1
3274
+
'@babel/core': 7.26.10
3275
+
'@babel/helper-plugin-utils': 7.26.5
3411
3276
3412
-
'@babel/plugin-transform-typeof-symbol@7.27.1(@babel/core@7.28.5)':
3277
+
'@babel/plugin-transform-typeof-symbol@7.27.0(@babel/core@7.26.10)':
3413
3278
dependencies:
3414
-
'@babel/core': 7.28.5
3415
-
'@babel/helper-plugin-utils': 7.27.1
3279
+
'@babel/core': 7.26.10
3280
+
'@babel/helper-plugin-utils': 7.26.5
3416
3281
3417
-
'@babel/plugin-transform-unicode-escapes@7.27.1(@babel/core@7.28.5)':
3282
+
'@babel/plugin-transform-unicode-escapes@7.25.9(@babel/core@7.26.10)':
3418
3283
dependencies:
3419
-
'@babel/core': 7.28.5
3420
-
'@babel/helper-plugin-utils': 7.27.1
3284
+
'@babel/core': 7.26.10
3285
+
'@babel/helper-plugin-utils': 7.26.5
3421
3286
3422
-
'@babel/plugin-transform-unicode-property-regex@7.27.1(@babel/core@7.28.5)':
3287
+
'@babel/plugin-transform-unicode-property-regex@7.25.9(@babel/core@7.26.10)':
3423
3288
dependencies:
3424
-
'@babel/core': 7.28.5
3425
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3426
-
'@babel/helper-plugin-utils': 7.27.1
3289
+
'@babel/core': 7.26.10
3290
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3291
+
'@babel/helper-plugin-utils': 7.26.5
3427
3292
3428
-
'@babel/plugin-transform-unicode-regex@7.27.1(@babel/core@7.28.5)':
3293
+
'@babel/plugin-transform-unicode-regex@7.25.9(@babel/core@7.26.10)':
3429
3294
dependencies:
3430
-
'@babel/core': 7.28.5
3431
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3432
-
'@babel/helper-plugin-utils': 7.27.1
3295
+
'@babel/core': 7.26.10
3296
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3297
+
'@babel/helper-plugin-utils': 7.26.5
3433
3298
3434
-
'@babel/plugin-transform-unicode-sets-regex@7.27.1(@babel/core@7.28.5)':
3299
+
'@babel/plugin-transform-unicode-sets-regex@7.25.9(@babel/core@7.26.10)':
3435
3300
dependencies:
3436
-
'@babel/core': 7.28.5
3437
-
'@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.28.5)
3438
-
'@babel/helper-plugin-utils': 7.27.1
3301
+
'@babel/core': 7.26.10
3302
+
'@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/core@7.26.10)
3303
+
'@babel/helper-plugin-utils': 7.26.5
3439
3304
3440
-
'@babel/preset-env@7.28.5(@babel/core@7.28.5)':
3305
+
'@babel/preset-env@7.26.9(@babel/core@7.26.10)':
3441
3306
dependencies:
3442
-
'@babel/compat-data': 7.28.5
3443
-
'@babel/core': 7.28.5
3444
-
'@babel/helper-compilation-targets': 7.27.2
3445
-
'@babel/helper-plugin-utils': 7.27.1
3446
-
'@babel/helper-validator-option': 7.27.1
3447
-
'@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.28.5(@babel/core@7.28.5)
3448
-
'@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.27.1(@babel/core@7.28.5)
3449
-
'@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/core@7.28.5)
3450
-
'@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/core@7.28.5)
3451
-
'@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.28.3(@babel/core@7.28.5)
3452
-
'@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.28.5)
3453
-
'@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.28.5)
3454
-
'@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.28.5)
3455
-
'@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.28.5)
3456
-
'@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.28.5)
3457
-
'@babel/plugin-transform-async-generator-functions': 7.28.0(@babel/core@7.28.5)
3458
-
'@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.28.5)
3459
-
'@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.28.5)
3460
-
'@babel/plugin-transform-block-scoping': 7.28.5(@babel/core@7.28.5)
3461
-
'@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.28.5)
3462
-
'@babel/plugin-transform-class-static-block': 7.28.3(@babel/core@7.28.5)
3463
-
'@babel/plugin-transform-classes': 7.28.4(@babel/core@7.28.5)
3464
-
'@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.28.5)
3465
-
'@babel/plugin-transform-destructuring': 7.28.5(@babel/core@7.28.5)
3466
-
'@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.28.5)
3467
-
'@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/core@7.28.5)
3468
-
'@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.27.1(@babel/core@7.28.5)
3469
-
'@babel/plugin-transform-dynamic-import': 7.27.1(@babel/core@7.28.5)
3470
-
'@babel/plugin-transform-explicit-resource-management': 7.28.0(@babel/core@7.28.5)
3471
-
'@babel/plugin-transform-exponentiation-operator': 7.28.5(@babel/core@7.28.5)
3472
-
'@babel/plugin-transform-export-namespace-from': 7.27.1(@babel/core@7.28.5)
3473
-
'@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.28.5)
3474
-
'@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.28.5)
3475
-
'@babel/plugin-transform-json-strings': 7.27.1(@babel/core@7.28.5)
3476
-
'@babel/plugin-transform-literals': 7.27.1(@babel/core@7.28.5)
3477
-
'@babel/plugin-transform-logical-assignment-operators': 7.28.5(@babel/core@7.28.5)
3478
-
'@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.28.5)
3479
-
'@babel/plugin-transform-modules-amd': 7.27.1(@babel/core@7.28.5)
3480
-
'@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.5)
3481
-
'@babel/plugin-transform-modules-systemjs': 7.28.5(@babel/core@7.28.5)
3482
-
'@babel/plugin-transform-modules-umd': 7.27.1(@babel/core@7.28.5)
3483
-
'@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.28.5)
3484
-
'@babel/plugin-transform-new-target': 7.27.1(@babel/core@7.28.5)
3485
-
'@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.28.5)
3486
-
'@babel/plugin-transform-numeric-separator': 7.27.1(@babel/core@7.28.5)
3487
-
'@babel/plugin-transform-object-rest-spread': 7.28.4(@babel/core@7.28.5)
3488
-
'@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.28.5)
3489
-
'@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.28.5)
3490
-
'@babel/plugin-transform-optional-chaining': 7.28.5(@babel/core@7.28.5)
3491
-
'@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.28.5)
3492
-
'@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.28.5)
3493
-
'@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.28.5)
3494
-
'@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.28.5)
3495
-
'@babel/plugin-transform-regenerator': 7.28.4(@babel/core@7.28.5)
3496
-
'@babel/plugin-transform-regexp-modifiers': 7.27.1(@babel/core@7.28.5)
3497
-
'@babel/plugin-transform-reserved-words': 7.27.1(@babel/core@7.28.5)
3498
-
'@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.28.5)
3499
-
'@babel/plugin-transform-spread': 7.27.1(@babel/core@7.28.5)
3500
-
'@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.28.5)
3501
-
'@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.28.5)
3502
-
'@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/core@7.28.5)
3503
-
'@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/core@7.28.5)
3504
-
'@babel/plugin-transform-unicode-property-regex': 7.27.1(@babel/core@7.28.5)
3505
-
'@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.28.5)
3506
-
'@babel/plugin-transform-unicode-sets-regex': 7.27.1(@babel/core@7.28.5)
3507
-
'@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.28.5)
3508
-
babel-plugin-polyfill-corejs2: 0.4.14(@babel/core@7.28.5)
3509
-
babel-plugin-polyfill-corejs3: 0.13.0(@babel/core@7.28.5)
3510
-
babel-plugin-polyfill-regenerator: 0.6.5(@babel/core@7.28.5)
3511
-
core-js-compat: 3.47.0
3307
+
'@babel/compat-data': 7.26.8
3308
+
'@babel/core': 7.26.10
3309
+
'@babel/helper-compilation-targets': 7.27.0
3310
+
'@babel/helper-plugin-utils': 7.26.5
3311
+
'@babel/helper-validator-option': 7.25.9
3312
+
'@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/core@7.26.10)
3313
+
'@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/core@7.26.10)
3314
+
'@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/core@7.26.10)
3315
+
'@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/core@7.26.10)
3316
+
'@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/core@7.26.10)
3317
+
'@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.10)
3318
+
'@babel/plugin-syntax-import-assertions': 7.26.0(@babel/core@7.26.10)
3319
+
'@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.10)
3320
+
'@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.26.10)
3321
+
'@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.10)
3322
+
'@babel/plugin-transform-async-generator-functions': 7.26.8(@babel/core@7.26.10)
3323
+
'@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.10)
3324
+
'@babel/plugin-transform-block-scoped-functions': 7.26.5(@babel/core@7.26.10)
3325
+
'@babel/plugin-transform-block-scoping': 7.27.0(@babel/core@7.26.10)
3326
+
'@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.10)
3327
+
'@babel/plugin-transform-class-static-block': 7.26.0(@babel/core@7.26.10)
3328
+
'@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.10)
3329
+
'@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.10)
3330
+
'@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.10)
3331
+
'@babel/plugin-transform-dotall-regex': 7.25.9(@babel/core@7.26.10)
3332
+
'@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/core@7.26.10)
3333
+
'@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.10)
3334
+
'@babel/plugin-transform-dynamic-import': 7.25.9(@babel/core@7.26.10)
3335
+
'@babel/plugin-transform-exponentiation-operator': 7.26.3(@babel/core@7.26.10)
3336
+
'@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.10)
3337
+
'@babel/plugin-transform-for-of': 7.26.9(@babel/core@7.26.10)
3338
+
'@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.10)
3339
+
'@babel/plugin-transform-json-strings': 7.25.9(@babel/core@7.26.10)
3340
+
'@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.10)
3341
+
'@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.10)
3342
+
'@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.26.10)
3343
+
'@babel/plugin-transform-modules-amd': 7.25.9(@babel/core@7.26.10)
3344
+
'@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.10)
3345
+
'@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/core@7.26.10)
3346
+
'@babel/plugin-transform-modules-umd': 7.25.9(@babel/core@7.26.10)
3347
+
'@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.10)
3348
+
'@babel/plugin-transform-new-target': 7.25.9(@babel/core@7.26.10)
3349
+
'@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/core@7.26.10)
3350
+
'@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.10)
3351
+
'@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.10)
3352
+
'@babel/plugin-transform-object-super': 7.25.9(@babel/core@7.26.10)
3353
+
'@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.10)
3354
+
'@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.10)
3355
+
'@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.10)
3356
+
'@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.10)
3357
+
'@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.10)
3358
+
'@babel/plugin-transform-property-literals': 7.25.9(@babel/core@7.26.10)
3359
+
'@babel/plugin-transform-regenerator': 7.27.0(@babel/core@7.26.10)
3360
+
'@babel/plugin-transform-regexp-modifiers': 7.26.0(@babel/core@7.26.10)
3361
+
'@babel/plugin-transform-reserved-words': 7.25.9(@babel/core@7.26.10)
3362
+
'@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.10)
3363
+
'@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.10)
3364
+
'@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.10)
3365
+
'@babel/plugin-transform-template-literals': 7.26.8(@babel/core@7.26.10)
3366
+
'@babel/plugin-transform-typeof-symbol': 7.27.0(@babel/core@7.26.10)
3367
+
'@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/core@7.26.10)
3368
+
'@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/core@7.26.10)
3369
+
'@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.10)
3370
+
'@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/core@7.26.10)
3371
+
'@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.26.10)
3372
+
babel-plugin-polyfill-corejs2: 0.4.13(@babel/core@7.26.10)
3373
+
babel-plugin-polyfill-corejs3: 0.11.1(@babel/core@7.26.10)
3374
+
babel-plugin-polyfill-regenerator: 0.6.4(@babel/core@7.26.10)
3375
+
core-js-compat: 3.41.0
3512
3376
semver: 6.3.1
3513
3377
transitivePeerDependencies:
3514
3378
- supports-color
3515
3379
3516
-
'@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.28.5)':
3380
+
'@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.26.10)':
3517
3381
dependencies:
3518
-
'@babel/core': 7.28.5
3519
-
'@babel/helper-plugin-utils': 7.27.1
3520
-
'@babel/types': 7.28.5
3382
+
'@babel/core': 7.26.10
3383
+
'@babel/helper-plugin-utils': 7.26.5
3384
+
'@babel/types': 7.27.0
3521
3385
esutils: 2.0.3
3522
3386
3523
-
'@babel/runtime@7.28.4': {}
3387
+
'@babel/runtime@7.27.0':
3388
+
dependencies:
3389
+
regenerator-runtime: 0.14.1
3524
3390
3525
-
'@babel/template@7.27.2':
3391
+
'@babel/template@7.27.0':
3526
3392
dependencies:
3527
-
'@babel/code-frame': 7.27.1
3528
-
'@babel/parser': 7.28.5
3529
-
'@babel/types': 7.28.5
3393
+
'@babel/code-frame': 7.26.2
3394
+
'@babel/parser': 7.27.0
3395
+
'@babel/types': 7.27.0
3530
3396
3531
-
'@babel/traverse@7.28.5':
3397
+
'@babel/traverse@7.27.0':
3532
3398
dependencies:
3533
-
'@babel/code-frame': 7.27.1
3534
-
'@babel/generator': 7.28.5
3535
-
'@babel/helper-globals': 7.28.0
3536
-
'@babel/parser': 7.28.5
3537
-
'@babel/template': 7.27.2
3538
-
'@babel/types': 7.28.5
3539
-
debug: 4.4.3
3399
+
'@babel/code-frame': 7.26.2
3400
+
'@babel/generator': 7.27.0
3401
+
'@babel/parser': 7.27.0
3402
+
'@babel/template': 7.27.0
3403
+
'@babel/types': 7.27.0
3404
+
debug: 4.4.0
3405
+
globals: 11.12.0
3540
3406
transitivePeerDependencies:
3541
3407
- supports-color
3542
3408
3543
-
'@babel/types@7.28.5':
3409
+
'@babel/types@7.27.0':
3544
3410
dependencies:
3545
-
'@babel/helper-string-parser': 7.27.1
3546
-
'@babel/helper-validator-identifier': 7.28.5
3411
+
'@babel/helper-string-parser': 7.25.9
3412
+
'@babel/helper-validator-identifier': 7.25.9
3547
3413
3548
-
'@badrap/valita@0.4.6': {}
3549
-
3550
-
'@cloudflare/kv-asset-handler@0.4.1':
3414
+
'@cloudflare/kv-asset-handler@0.4.0':
3551
3415
dependencies:
3552
3416
mime: 3.0.0
3553
3417
3554
-
'@cloudflare/unenv-preset@2.7.12(unenv@2.0.0-rc.24)(workerd@1.20251202.0)':
3418
+
'@cloudflare/unenv-preset@2.3.1(unenv@2.0.0-rc.15)(workerd@1.20250321.0)':
3555
3419
dependencies:
3556
-
unenv: 2.0.0-rc.24
3420
+
unenv: 2.0.0-rc.15
3557
3421
optionalDependencies:
3558
-
workerd: 1.20251202.0
3559
-
3560
-
'@cloudflare/vite-plugin@1.16.1(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1))(workerd@1.20251202.0)(wrangler@4.52.1)':
3561
-
dependencies:
3562
-
'@cloudflare/unenv-preset': 2.7.12(unenv@2.0.0-rc.24)(workerd@1.20251202.0)
3563
-
'@remix-run/node-fetch-server': 0.8.1
3564
-
defu: 6.1.4
3565
-
get-port: 7.1.0
3566
-
miniflare: 4.20251202.0
3567
-
picocolors: 1.1.1
3568
-
tinyglobby: 0.2.15
3569
-
unenv: 2.0.0-rc.24
3570
-
vite: 7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)
3571
-
wrangler: 4.52.1
3572
-
ws: 8.18.0
3573
-
transitivePeerDependencies:
3574
-
- bufferutil
3575
-
- utf-8-validate
3576
-
- workerd
3422
+
workerd: 1.20250321.0
3577
3423
3578
-
'@cloudflare/workerd-darwin-64@1.20251202.0':
3424
+
'@cloudflare/workerd-darwin-64@1.20250321.0':
3579
3425
optional: true
3580
3426
3581
-
'@cloudflare/workerd-darwin-arm64@1.20251202.0':
3427
+
'@cloudflare/workerd-darwin-arm64@1.20250321.0':
3582
3428
optional: true
3583
3429
3584
-
'@cloudflare/workerd-linux-64@1.20251202.0':
3430
+
'@cloudflare/workerd-linux-64@1.20250321.0':
3585
3431
optional: true
3586
3432
3587
-
'@cloudflare/workerd-linux-arm64@1.20251202.0':
3433
+
'@cloudflare/workerd-linux-arm64@1.20250321.0':
3588
3434
optional: true
3589
3435
3590
-
'@cloudflare/workerd-windows-64@1.20251202.0':
3436
+
'@cloudflare/workerd-windows-64@1.20250321.0':
3591
3437
optional: true
3592
3438
3593
3439
'@cspotcode/source-map-support@0.8.1':
3594
3440
dependencies:
3595
3441
'@jridgewell/trace-mapping': 0.3.9
3596
3442
3597
-
'@emnapi/runtime@1.7.1':
3443
+
'@emnapi/runtime@1.4.0':
3598
3444
dependencies:
3599
3445
tslib: 2.8.1
3600
3446
optional: true
3601
3447
3602
-
'@esbuild/aix-ppc64@0.25.12':
3448
+
'@esbuild/aix-ppc64@0.24.0':
3603
3449
optional: true
3604
3450
3605
-
'@esbuild/aix-ppc64@0.27.0':
3451
+
'@esbuild/aix-ppc64@0.24.2':
3606
3452
optional: true
3607
3453
3608
-
'@esbuild/android-arm64@0.25.12':
3454
+
'@esbuild/android-arm64@0.24.0':
3609
3455
optional: true
3610
3456
3611
-
'@esbuild/android-arm64@0.27.0':
3457
+
'@esbuild/android-arm64@0.24.2':
3612
3458
optional: true
3613
3459
3614
-
'@esbuild/android-arm@0.25.12':
3460
+
'@esbuild/android-arm@0.24.0':
3615
3461
optional: true
3616
3462
3617
-
'@esbuild/android-arm@0.27.0':
3463
+
'@esbuild/android-arm@0.24.2':
3618
3464
optional: true
3619
3465
3620
-
'@esbuild/android-x64@0.25.12':
3466
+
'@esbuild/android-x64@0.24.0':
3621
3467
optional: true
3622
3468
3623
-
'@esbuild/android-x64@0.27.0':
3469
+
'@esbuild/android-x64@0.24.2':
3624
3470
optional: true
3625
3471
3626
-
'@esbuild/darwin-arm64@0.25.12':
3472
+
'@esbuild/darwin-arm64@0.24.0':
3627
3473
optional: true
3628
3474
3629
-
'@esbuild/darwin-arm64@0.27.0':
3475
+
'@esbuild/darwin-arm64@0.24.2':
3630
3476
optional: true
3631
3477
3632
-
'@esbuild/darwin-x64@0.25.12':
3478
+
'@esbuild/darwin-x64@0.24.0':
3633
3479
optional: true
3634
3480
3635
-
'@esbuild/darwin-x64@0.27.0':
3481
+
'@esbuild/darwin-x64@0.24.2':
3636
3482
optional: true
3637
3483
3638
-
'@esbuild/freebsd-arm64@0.25.12':
3484
+
'@esbuild/freebsd-arm64@0.24.0':
3639
3485
optional: true
3640
3486
3641
-
'@esbuild/freebsd-arm64@0.27.0':
3487
+
'@esbuild/freebsd-arm64@0.24.2':
3642
3488
optional: true
3643
3489
3644
-
'@esbuild/freebsd-x64@0.25.12':
3490
+
'@esbuild/freebsd-x64@0.24.0':
3645
3491
optional: true
3646
3492
3647
-
'@esbuild/freebsd-x64@0.27.0':
3493
+
'@esbuild/freebsd-x64@0.24.2':
3648
3494
optional: true
3649
3495
3650
-
'@esbuild/linux-arm64@0.25.12':
3496
+
'@esbuild/linux-arm64@0.24.0':
3651
3497
optional: true
3652
3498
3653
-
'@esbuild/linux-arm64@0.27.0':
3499
+
'@esbuild/linux-arm64@0.24.2':
3654
3500
optional: true
3655
3501
3656
-
'@esbuild/linux-arm@0.25.12':
3502
+
'@esbuild/linux-arm@0.24.0':
3657
3503
optional: true
3658
3504
3659
-
'@esbuild/linux-arm@0.27.0':
3505
+
'@esbuild/linux-arm@0.24.2':
3660
3506
optional: true
3661
3507
3662
-
'@esbuild/linux-ia32@0.25.12':
3508
+
'@esbuild/linux-ia32@0.24.0':
3663
3509
optional: true
3664
3510
3665
-
'@esbuild/linux-ia32@0.27.0':
3511
+
'@esbuild/linux-ia32@0.24.2':
3666
3512
optional: true
3667
3513
3668
-
'@esbuild/linux-loong64@0.25.12':
3514
+
'@esbuild/linux-loong64@0.24.0':
3669
3515
optional: true
3670
3516
3671
-
'@esbuild/linux-loong64@0.27.0':
3517
+
'@esbuild/linux-loong64@0.24.2':
3672
3518
optional: true
3673
3519
3674
-
'@esbuild/linux-mips64el@0.25.12':
3520
+
'@esbuild/linux-mips64el@0.24.0':
3675
3521
optional: true
3676
3522
3677
-
'@esbuild/linux-mips64el@0.27.0':
3523
+
'@esbuild/linux-mips64el@0.24.2':
3678
3524
optional: true
3679
3525
3680
-
'@esbuild/linux-ppc64@0.25.12':
3526
+
'@esbuild/linux-ppc64@0.24.0':
3681
3527
optional: true
3682
3528
3683
-
'@esbuild/linux-ppc64@0.27.0':
3529
+
'@esbuild/linux-ppc64@0.24.2':
3684
3530
optional: true
3685
3531
3686
-
'@esbuild/linux-riscv64@0.25.12':
3532
+
'@esbuild/linux-riscv64@0.24.0':
3687
3533
optional: true
3688
3534
3689
-
'@esbuild/linux-riscv64@0.27.0':
3535
+
'@esbuild/linux-riscv64@0.24.2':
3690
3536
optional: true
3691
3537
3692
-
'@esbuild/linux-s390x@0.25.12':
3538
+
'@esbuild/linux-s390x@0.24.0':
3693
3539
optional: true
3694
3540
3695
-
'@esbuild/linux-s390x@0.27.0':
3541
+
'@esbuild/linux-s390x@0.24.2':
3696
3542
optional: true
3697
3543
3698
-
'@esbuild/linux-x64@0.25.12':
3544
+
'@esbuild/linux-x64@0.24.0':
3699
3545
optional: true
3700
3546
3701
-
'@esbuild/linux-x64@0.27.0':
3547
+
'@esbuild/linux-x64@0.24.2':
3702
3548
optional: true
3703
3549
3704
-
'@esbuild/netbsd-arm64@0.25.12':
3550
+
'@esbuild/netbsd-arm64@0.24.2':
3705
3551
optional: true
3706
3552
3707
-
'@esbuild/netbsd-arm64@0.27.0':
3553
+
'@esbuild/netbsd-x64@0.24.0':
3708
3554
optional: true
3709
3555
3710
-
'@esbuild/netbsd-x64@0.25.12':
3556
+
'@esbuild/netbsd-x64@0.24.2':
3711
3557
optional: true
3712
3558
3713
-
'@esbuild/netbsd-x64@0.27.0':
3559
+
'@esbuild/openbsd-arm64@0.24.0':
3714
3560
optional: true
3715
3561
3716
-
'@esbuild/openbsd-arm64@0.25.12':
3562
+
'@esbuild/openbsd-arm64@0.24.2':
3717
3563
optional: true
3718
3564
3719
-
'@esbuild/openbsd-arm64@0.27.0':
3565
+
'@esbuild/openbsd-x64@0.24.0':
3720
3566
optional: true
3721
3567
3722
-
'@esbuild/openbsd-x64@0.25.12':
3568
+
'@esbuild/openbsd-x64@0.24.2':
3723
3569
optional: true
3724
3570
3725
-
'@esbuild/openbsd-x64@0.27.0':
3571
+
'@esbuild/sunos-x64@0.24.0':
3726
3572
optional: true
3727
3573
3728
-
'@esbuild/openharmony-arm64@0.25.12':
3574
+
'@esbuild/sunos-x64@0.24.2':
3729
3575
optional: true
3730
3576
3731
-
'@esbuild/openharmony-arm64@0.27.0':
3732
-
optional: true
3733
-
3734
-
'@esbuild/sunos-x64@0.25.12':
3735
-
optional: true
3736
-
3737
-
'@esbuild/sunos-x64@0.27.0':
3577
+
'@esbuild/win32-arm64@0.24.0':
3738
3578
optional: true
3739
3579
3740
-
'@esbuild/win32-arm64@0.25.12':
3580
+
'@esbuild/win32-arm64@0.24.2':
3741
3581
optional: true
3742
3582
3743
-
'@esbuild/win32-arm64@0.27.0':
3744
-
optional: true
3745
-
3746
-
'@esbuild/win32-ia32@0.25.12':
3583
+
'@esbuild/win32-ia32@0.24.0':
3747
3584
optional: true
3748
3585
3749
-
'@esbuild/win32-ia32@0.27.0':
3586
+
'@esbuild/win32-ia32@0.24.2':
3750
3587
optional: true
3751
3588
3752
-
'@esbuild/win32-x64@0.25.12':
3589
+
'@esbuild/win32-x64@0.24.0':
3753
3590
optional: true
3754
3591
3755
-
'@esbuild/win32-x64@0.27.0':
3592
+
'@esbuild/win32-x64@0.24.2':
3756
3593
optional: true
3757
3594
3758
-
'@externdefs/solid-freeze@0.1.1(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))':
3595
+
'@externdefs/solid-freeze@0.1.1(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))':
3759
3596
dependencies:
3760
-
solid-js: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
3597
+
solid-js: 1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)
3761
3598
3762
-
'@externdefs/solid-query@0.1.5(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))':
3599
+
'@externdefs/solid-query@0.1.5(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))':
3763
3600
dependencies:
3764
3601
'@tanstack/query-core': 5.17.19(patch_hash=0b06407b66b7af88765fb6e01e112677a8c09ce518cb4f547cee8a0044471acd)
3765
-
solid-js: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
3602
+
solid-js: 1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)
3766
3603
3767
-
'@floating-ui/core@1.7.3':
3604
+
'@fastify/busboy@2.1.1': {}
3605
+
3606
+
'@floating-ui/core@1.6.9':
3768
3607
dependencies:
3769
-
'@floating-ui/utils': 0.2.10(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)
3608
+
'@floating-ui/utils': 0.2.9(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)
3770
3609
3771
-
'@floating-ui/dom@1.7.4':
3610
+
'@floating-ui/dom@1.6.13':
3772
3611
dependencies:
3773
-
'@floating-ui/core': 1.7.3
3774
-
'@floating-ui/utils': 0.2.10(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)
3612
+
'@floating-ui/core': 1.6.9
3613
+
'@floating-ui/utils': 0.2.9(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)
3775
3614
3776
-
'@floating-ui/utils@0.2.10(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)': {}
3615
+
'@floating-ui/utils@0.2.9(patch_hash=1cf283fbaa686f96f7b3029bbc0955bff698af6f4a75ba6c276ad1a7a7c40aea)': {}
3777
3616
3778
3617
'@img/sharp-darwin-arm64@0.33.5':
3779
3618
optionalDependencies:
···
3841
3680
3842
3681
'@img/sharp-wasm32@0.33.5':
3843
3682
dependencies:
3844
-
'@emnapi/runtime': 1.7.1
3683
+
'@emnapi/runtime': 1.4.0
3845
3684
optional: true
3846
3685
3847
3686
'@img/sharp-win32-ia32@0.33.5':
···
3849
3688
3850
3689
'@img/sharp-win32-x64@0.33.5':
3851
3690
optional: true
3852
-
3853
-
'@isaacs/balanced-match@4.0.1': {}
3854
-
3855
-
'@isaacs/brace-expansion@5.0.0':
3856
-
dependencies:
3857
-
'@isaacs/balanced-match': 4.0.1
3858
3691
3859
3692
'@isaacs/cliui@8.0.2':
3860
3693
dependencies:
3861
3694
string-width: 5.1.2
3862
3695
string-width-cjs: string-width@4.2.3
3863
-
strip-ansi: 7.1.2
3696
+
strip-ansi: 7.1.0
3864
3697
strip-ansi-cjs: strip-ansi@6.0.1
3865
3698
wrap-ansi: 8.1.0
3866
3699
wrap-ansi-cjs: wrap-ansi@7.0.0
3867
3700
3868
-
'@jridgewell/gen-mapping@0.3.13':
3701
+
'@jridgewell/gen-mapping@0.3.8':
3869
3702
dependencies:
3870
-
'@jridgewell/sourcemap-codec': 1.5.5
3871
-
'@jridgewell/trace-mapping': 0.3.31
3872
-
3873
-
'@jridgewell/remapping@2.3.5':
3874
-
dependencies:
3875
-
'@jridgewell/gen-mapping': 0.3.13
3876
-
'@jridgewell/trace-mapping': 0.3.31
3703
+
'@jridgewell/set-array': 1.2.1
3704
+
'@jridgewell/sourcemap-codec': 1.5.0
3705
+
'@jridgewell/trace-mapping': 0.3.25
3877
3706
3878
3707
'@jridgewell/resolve-uri@3.1.2': {}
3879
3708
3880
-
'@jridgewell/source-map@0.3.11':
3709
+
'@jridgewell/set-array@1.2.1': {}
3710
+
3711
+
'@jridgewell/source-map@0.3.6':
3881
3712
dependencies:
3882
-
'@jridgewell/gen-mapping': 0.3.13
3883
-
'@jridgewell/trace-mapping': 0.3.31
3713
+
'@jridgewell/gen-mapping': 0.3.8
3714
+
'@jridgewell/trace-mapping': 0.3.25
3884
3715
3885
-
'@jridgewell/sourcemap-codec@1.5.5': {}
3716
+
'@jridgewell/sourcemap-codec@1.5.0': {}
3886
3717
3887
-
'@jridgewell/trace-mapping@0.3.31':
3718
+
'@jridgewell/trace-mapping@0.3.25':
3888
3719
dependencies:
3889
3720
'@jridgewell/resolve-uri': 3.1.2
3890
-
'@jridgewell/sourcemap-codec': 1.5.5
3721
+
'@jridgewell/sourcemap-codec': 1.5.0
3891
3722
3892
3723
'@jridgewell/trace-mapping@0.3.9':
3893
3724
dependencies:
3894
3725
'@jridgewell/resolve-uri': 3.1.2
3895
-
'@jridgewell/sourcemap-codec': 1.5.5
3726
+
'@jridgewell/sourcemap-codec': 1.5.0
3896
3727
3897
-
'@jsr/mary__array-fns@0.1.5': {}
3728
+
'@jsr/mary__array-fns@0.1.4': {}
3898
3729
3899
3730
'@jsr/mary__async-iterator-fns@0.1.1': {}
3900
3731
3901
-
'@jsr/mary__batch-fetch@0.1.0': {}
3902
-
3903
3732
'@jsr/mary__date-fns@0.1.3': {}
3904
3733
3905
3734
'@jsr/mary__events@0.2.0': {}
3906
3735
3907
3736
'@jsr/mary__exif-rm@0.2.2': {}
3908
3737
3909
-
'@kelinci/basa-lexicons@1.0.0':
3910
-
dependencies:
3911
-
'@atcute/lexicons': 1.2.5
3912
-
3913
-
'@noble/secp256k1@3.0.0': {}
3914
-
3915
3738
'@nodelib/fs.scandir@2.1.5':
3916
3739
dependencies:
3917
3740
'@nodelib/fs.stat': 2.0.5
···
3934
3757
dependencies:
3935
3758
'@nolyfill/shared': 1.0.44
3936
3759
3937
-
'@poppinss/colors@4.1.5':
3938
-
dependencies:
3939
-
kleur: 4.1.5
3760
+
'@pkgjs/parseargs@0.11.0':
3761
+
optional: true
3940
3762
3941
-
'@poppinss/dumper@0.6.5':
3763
+
'@rollup/plugin-babel@5.3.1(@babel/core@7.26.10)(@types/babel__core@7.20.5)(rollup@2.79.2)':
3942
3764
dependencies:
3943
-
'@poppinss/colors': 4.1.5
3944
-
'@sindresorhus/is': 7.1.1
3945
-
supports-color: 10.2.2
3946
-
3947
-
'@poppinss/exception@1.2.2': {}
3948
-
3949
-
'@remix-run/node-fetch-server@0.8.1': {}
3950
-
3951
-
'@rollup/plugin-babel@5.3.1(@babel/core@7.28.5)(@types/babel__core@7.20.5)(rollup@2.79.2)':
3952
-
dependencies:
3953
-
'@babel/core': 7.28.5
3954
-
'@babel/helper-module-imports': 7.27.1
3765
+
'@babel/core': 7.26.10
3766
+
'@babel/helper-module-imports': 7.25.9
3955
3767
'@rollup/pluginutils': 3.1.0(rollup@2.79.2)
3956
3768
rollup: 2.79.2
3957
3769
optionalDependencies:
···
3961
3773
3962
3774
'@rollup/plugin-node-resolve@15.3.1(rollup@2.79.2)':
3963
3775
dependencies:
3964
-
'@rollup/pluginutils': 5.3.0(rollup@2.79.2)
3776
+
'@rollup/pluginutils': 5.1.4(rollup@2.79.2)
3965
3777
'@types/resolve': 1.20.2
3966
3778
deepmerge: 4.3.1
3967
3779
is-module: 1.0.0
3968
-
resolve: 1.22.11
3780
+
resolve: 1.22.10
3969
3781
optionalDependencies:
3970
3782
rollup: 2.79.2
3971
3783
···
3979
3791
dependencies:
3980
3792
serialize-javascript: 6.0.2
3981
3793
smob: 1.5.0
3982
-
terser: 5.44.1
3794
+
terser: 5.39.0
3983
3795
optionalDependencies:
3984
3796
rollup: 2.79.2
3985
3797
···
3990
3802
picomatch: 2.3.1
3991
3803
rollup: 2.79.2
3992
3804
3993
-
'@rollup/pluginutils@5.3.0(rollup@2.79.2)':
3805
+
'@rollup/pluginutils@5.1.4(rollup@2.79.2)':
3994
3806
dependencies:
3995
-
'@types/estree': 1.0.8
3807
+
'@types/estree': 1.0.7
3996
3808
estree-walker: 2.0.2
3997
-
picomatch: 4.0.3
3809
+
picomatch: 4.0.2
3998
3810
optionalDependencies:
3999
3811
rollup: 2.79.2
4000
3812
4001
-
'@rollup/rollup-android-arm-eabi@4.53.3':
3813
+
'@rollup/rollup-android-arm-eabi@4.37.0':
4002
3814
optional: true
4003
3815
4004
-
'@rollup/rollup-android-arm64@4.53.3':
3816
+
'@rollup/rollup-android-arm64@4.37.0':
4005
3817
optional: true
4006
3818
4007
-
'@rollup/rollup-darwin-arm64@4.53.3':
3819
+
'@rollup/rollup-darwin-arm64@4.37.0':
4008
3820
optional: true
4009
3821
4010
-
'@rollup/rollup-darwin-x64@4.53.3':
3822
+
'@rollup/rollup-darwin-x64@4.37.0':
4011
3823
optional: true
4012
3824
4013
-
'@rollup/rollup-freebsd-arm64@4.53.3':
3825
+
'@rollup/rollup-freebsd-arm64@4.37.0':
4014
3826
optional: true
4015
3827
4016
-
'@rollup/rollup-freebsd-x64@4.53.3':
3828
+
'@rollup/rollup-freebsd-x64@4.37.0':
4017
3829
optional: true
4018
3830
4019
-
'@rollup/rollup-linux-arm-gnueabihf@4.53.3':
3831
+
'@rollup/rollup-linux-arm-gnueabihf@4.37.0':
4020
3832
optional: true
4021
3833
4022
-
'@rollup/rollup-linux-arm-musleabihf@4.53.3':
3834
+
'@rollup/rollup-linux-arm-musleabihf@4.37.0':
4023
3835
optional: true
4024
3836
4025
-
'@rollup/rollup-linux-arm64-gnu@4.53.3':
3837
+
'@rollup/rollup-linux-arm64-gnu@4.37.0':
4026
3838
optional: true
4027
3839
4028
-
'@rollup/rollup-linux-arm64-musl@4.53.3':
3840
+
'@rollup/rollup-linux-arm64-musl@4.37.0':
4029
3841
optional: true
4030
3842
4031
-
'@rollup/rollup-linux-loong64-gnu@4.53.3':
3843
+
'@rollup/rollup-linux-loongarch64-gnu@4.37.0':
4032
3844
optional: true
4033
3845
4034
-
'@rollup/rollup-linux-ppc64-gnu@4.53.3':
3846
+
'@rollup/rollup-linux-powerpc64le-gnu@4.37.0':
4035
3847
optional: true
4036
3848
4037
-
'@rollup/rollup-linux-riscv64-gnu@4.53.3':
3849
+
'@rollup/rollup-linux-riscv64-gnu@4.37.0':
4038
3850
optional: true
4039
3851
4040
-
'@rollup/rollup-linux-riscv64-musl@4.53.3':
3852
+
'@rollup/rollup-linux-riscv64-musl@4.37.0':
4041
3853
optional: true
4042
3854
4043
-
'@rollup/rollup-linux-s390x-gnu@4.53.3':
3855
+
'@rollup/rollup-linux-s390x-gnu@4.37.0':
4044
3856
optional: true
4045
3857
4046
-
'@rollup/rollup-linux-x64-gnu@4.53.3':
3858
+
'@rollup/rollup-linux-x64-gnu@4.37.0':
4047
3859
optional: true
4048
3860
4049
-
'@rollup/rollup-linux-x64-musl@4.53.3':
3861
+
'@rollup/rollup-linux-x64-musl@4.37.0':
4050
3862
optional: true
4051
3863
4052
-
'@rollup/rollup-openharmony-arm64@4.53.3':
4053
-
optional: true
4054
-
4055
-
'@rollup/rollup-win32-arm64-msvc@4.53.3':
4056
-
optional: true
4057
-
4058
-
'@rollup/rollup-win32-ia32-msvc@4.53.3':
3864
+
'@rollup/rollup-win32-arm64-msvc@4.37.0':
4059
3865
optional: true
4060
3866
4061
-
'@rollup/rollup-win32-x64-gnu@4.53.3':
3867
+
'@rollup/rollup-win32-ia32-msvc@4.37.0':
4062
3868
optional: true
4063
3869
4064
-
'@rollup/rollup-win32-x64-msvc@4.53.3':
3870
+
'@rollup/rollup-win32-x64-msvc@4.37.0':
4065
3871
optional: true
4066
3872
4067
-
'@sindresorhus/is@7.1.1': {}
4068
-
4069
-
'@speed-highlight/core@1.2.12': {}
4070
-
4071
-
'@standard-schema/spec@1.0.0': {}
4072
-
4073
3873
'@surma/rollup-plugin-off-main-thread@2.2.3':
4074
3874
dependencies:
4075
3875
ejs: 3.1.10
···
4079
3879
4080
3880
'@tanstack/query-core@5.17.19(patch_hash=0b06407b66b7af88765fb6e01e112677a8c09ce518cb4f547cee8a0044471acd)': {}
4081
3881
4082
-
'@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.7.4)':
3882
+
'@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.5.3)':
4083
3883
dependencies:
4084
-
'@babel/generator': 7.28.5
4085
-
'@babel/parser': 7.28.5
4086
-
'@babel/traverse': 7.28.5
4087
-
'@babel/types': 7.28.5
3884
+
'@babel/generator': 7.27.0
3885
+
'@babel/parser': 7.27.0
3886
+
'@babel/traverse': 7.27.0
3887
+
'@babel/types': 7.27.0
4088
3888
javascript-natural-sort: 0.7.1
4089
3889
lodash: 4.17.21
4090
-
prettier: 3.7.4
3890
+
prettier: 3.5.3
4091
3891
transitivePeerDependencies:
4092
3892
- supports-color
4093
3893
4094
3894
'@types/babel__core@7.20.5':
4095
3895
dependencies:
4096
-
'@babel/parser': 7.28.5
4097
-
'@babel/types': 7.28.5
4098
-
'@types/babel__generator': 7.27.0
3896
+
'@babel/parser': 7.27.0
3897
+
'@babel/types': 7.27.0
3898
+
'@types/babel__generator': 7.6.8
4099
3899
'@types/babel__template': 7.4.4
4100
-
'@types/babel__traverse': 7.28.0
3900
+
'@types/babel__traverse': 7.20.7
4101
3901
4102
-
'@types/babel__generator@7.27.0':
3902
+
'@types/babel__generator@7.6.8':
4103
3903
dependencies:
4104
-
'@babel/types': 7.28.5
3904
+
'@babel/types': 7.27.0
4105
3905
4106
3906
'@types/babel__template@7.4.4':
4107
3907
dependencies:
4108
-
'@babel/parser': 7.28.5
4109
-
'@babel/types': 7.28.5
3908
+
'@babel/parser': 7.27.0
3909
+
'@babel/types': 7.27.0
4110
3910
4111
-
'@types/babel__traverse@7.28.0':
3911
+
'@types/babel__traverse@7.20.7':
4112
3912
dependencies:
4113
-
'@babel/types': 7.28.5
3913
+
'@babel/types': 7.27.0
4114
3914
4115
3915
'@types/dom-close-watcher@1.0.0': {}
4116
3916
4117
-
'@types/dom-webcodecs@0.1.18': {}
3917
+
'@types/dom-webcodecs@0.1.14': {}
4118
3918
4119
3919
'@types/estree@0.0.39': {}
4120
3920
4121
-
'@types/estree@1.0.8': {}
3921
+
'@types/estree@1.0.6': {}
4122
3922
4123
-
'@types/node@24.10.1':
4124
-
dependencies:
4125
-
undici-types: 7.16.0
3923
+
'@types/estree@1.0.7': {}
4126
3924
4127
3925
'@types/resolve@1.20.2': {}
4128
3926
···
4134
3932
4135
3933
acorn@8.14.0: {}
4136
3934
4137
-
acorn@8.15.0: {}
3935
+
acorn@8.14.1: {}
4138
3936
4139
3937
ajv@8.17.1:
4140
3938
dependencies:
4141
3939
fast-deep-equal: 3.1.3
4142
-
fast-uri: 3.1.0
3940
+
fast-uri: 3.0.6
4143
3941
json-schema-traverse: 1.0.0
4144
3942
require-from-string: 2.0.2
4145
3943
4146
3944
ansi-regex@5.0.1: {}
4147
3945
4148
-
ansi-regex@6.2.2: {}
3946
+
ansi-regex@6.1.0: {}
4149
3947
4150
3948
ansi-styles@4.3.0:
4151
3949
dependencies:
4152
3950
color-convert: 2.0.1
4153
3951
4154
-
ansi-styles@6.2.3: {}
3952
+
ansi-styles@6.2.1: {}
4155
3953
4156
3954
any-promise@1.3.0: {}
4157
3955
···
4162
3960
4163
3961
arg@5.0.2: {}
4164
3962
3963
+
as-table@1.0.55:
3964
+
dependencies:
3965
+
printable-characters: 1.0.42
3966
+
4165
3967
async@3.2.6: {}
4166
3968
4167
3969
at-least-node@1.0.0: {}
4168
3970
4169
-
autoprefixer@10.4.22(postcss@8.5.6):
3971
+
autoprefixer@10.4.21(postcss@8.5.3):
4170
3972
dependencies:
4171
-
browserslist: 4.28.1
4172
-
caniuse-lite: 1.0.30001759
4173
-
fraction.js: 5.3.4
3973
+
browserslist: 4.24.4
3974
+
caniuse-lite: 1.0.30001707
3975
+
fraction.js: 4.3.7
4174
3976
normalize-range: 0.1.2
4175
3977
picocolors: 1.1.1
4176
-
postcss: 8.5.6
3978
+
postcss: 8.5.3
4177
3979
postcss-value-parser: 4.2.0
4178
3980
4179
-
babel-plugin-jsx-dom-expressions@0.40.3(@babel/core@7.28.5):
3981
+
babel-plugin-jsx-dom-expressions@0.39.7(@babel/core@7.26.10):
4180
3982
dependencies:
4181
-
'@babel/core': 7.28.5
3983
+
'@babel/core': 7.26.10
4182
3984
'@babel/helper-module-imports': 7.18.6
4183
-
'@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.5)
4184
-
'@babel/types': 7.28.5
3985
+
'@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.10)
3986
+
'@babel/types': 7.27.0
4185
3987
html-entities: 2.3.3
4186
-
parse5: 7.3.0
3988
+
parse5: 7.2.1
3989
+
validate-html-nesting: 1.2.2
4187
3990
4188
-
babel-plugin-polyfill-corejs2@0.4.14(@babel/core@7.28.5):
3991
+
babel-plugin-polyfill-corejs2@0.4.13(@babel/core@7.26.10):
4189
3992
dependencies:
4190
-
'@babel/compat-data': 7.28.5
4191
-
'@babel/core': 7.28.5
4192
-
'@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.28.5)
3993
+
'@babel/compat-data': 7.26.8
3994
+
'@babel/core': 7.26.10
3995
+
'@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.26.10)
4193
3996
semver: 6.3.1
4194
3997
transitivePeerDependencies:
4195
3998
- supports-color
4196
3999
4197
-
babel-plugin-polyfill-corejs3@0.13.0(@babel/core@7.28.5):
4000
+
babel-plugin-polyfill-corejs3@0.11.1(@babel/core@7.26.10):
4198
4001
dependencies:
4199
-
'@babel/core': 7.28.5
4200
-
'@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.28.5)
4201
-
core-js-compat: 3.47.0
4002
+
'@babel/core': 7.26.10
4003
+
'@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.26.10)
4004
+
core-js-compat: 3.41.0
4202
4005
transitivePeerDependencies:
4203
4006
- supports-color
4204
4007
4205
-
babel-plugin-polyfill-regenerator@0.6.5(@babel/core@7.28.5):
4008
+
babel-plugin-polyfill-regenerator@0.6.4(@babel/core@7.26.10):
4206
4009
dependencies:
4207
-
'@babel/core': 7.28.5
4208
-
'@babel/helper-define-polyfill-provider': 0.6.5(@babel/core@7.28.5)
4010
+
'@babel/core': 7.26.10
4011
+
'@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.26.10)
4209
4012
transitivePeerDependencies:
4210
4013
- supports-color
4211
4014
4212
-
babel-plugin-transform-typescript-const-enums@0.1.0(@babel/core@7.28.5):
4015
+
babel-plugin-transform-typescript-const-enums@0.1.0(@babel/core@7.26.10):
4213
4016
dependencies:
4214
-
'@babel/core': 7.28.5
4215
-
'@babel/helper-plugin-utils': 7.27.1
4216
-
'@babel/types': 7.28.5
4017
+
'@babel/core': 7.26.10
4018
+
'@babel/helper-plugin-utils': 7.26.5
4019
+
'@babel/types': 7.27.0
4217
4020
4218
-
babel-preset-solid@1.9.10(@babel/core@7.28.5)(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)):
4021
+
babel-preset-solid@1.9.5(@babel/core@7.26.10):
4219
4022
dependencies:
4220
-
'@babel/core': 7.28.5
4221
-
babel-plugin-jsx-dom-expressions: 0.40.3(@babel/core@7.28.5)
4222
-
optionalDependencies:
4223
-
solid-js: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
4023
+
'@babel/core': 7.26.10
4024
+
babel-plugin-jsx-dom-expressions: 0.39.7(@babel/core@7.26.10)
4224
4025
4225
4026
balanced-match@1.0.2: {}
4226
4027
4227
-
baseline-browser-mapping@2.9.0: {}
4228
-
4229
4028
binary-extensions@2.3.0: {}
4230
4029
4231
4030
bind-event-listener@3.0.0: {}
4232
4031
4233
4032
blake3-wasm@2.1.5: {}
4234
4033
4235
-
brace-expansion@2.0.2:
4034
+
brace-expansion@1.1.11:
4035
+
dependencies:
4036
+
balanced-match: 1.0.2
4037
+
concat-map: 0.0.1
4038
+
4039
+
brace-expansion@2.0.1:
4236
4040
dependencies:
4237
4041
balanced-match: 1.0.2
4238
4042
···
4240
4044
dependencies:
4241
4045
fill-range: 7.1.1
4242
4046
4243
-
browserslist@4.28.1:
4047
+
browserslist@4.24.4:
4244
4048
dependencies:
4245
-
baseline-browser-mapping: 2.9.0
4246
-
caniuse-lite: 1.0.30001759
4247
-
electron-to-chromium: 1.5.264
4248
-
node-releases: 2.0.27
4249
-
update-browserslist-db: 1.2.2(browserslist@4.28.1)
4049
+
caniuse-lite: 1.0.30001707
4050
+
electron-to-chromium: 1.5.128
4051
+
node-releases: 2.0.19
4052
+
update-browserslist-db: 1.1.3(browserslist@4.24.4)
4250
4053
4251
4054
buffer-from@1.1.2: {}
4252
4055
4253
4056
camelcase-css@2.0.1: {}
4254
4057
4255
-
caniuse-lite@1.0.30001759: {}
4058
+
caniuse-lite@1.0.30001707: {}
4059
+
4060
+
chalk@4.1.2:
4061
+
dependencies:
4062
+
ansi-styles: 4.3.0
4063
+
supports-color: 7.2.0
4256
4064
4257
4065
chokidar@3.6.0:
4258
4066
dependencies:
···
4275
4083
color-string@1.9.1:
4276
4084
dependencies:
4277
4085
color-name: 1.1.4
4278
-
simple-swizzle: 0.2.4
4086
+
simple-swizzle: 0.2.2
4087
+
optional: true
4279
4088
4280
4089
color@4.2.3:
4281
4090
dependencies:
4282
4091
color-convert: 2.0.1
4283
4092
color-string: 1.9.1
4093
+
optional: true
4284
4094
4285
4095
comlink@4.4.2: {}
4286
4096
···
4290
4100
4291
4101
common-tags@1.8.2: {}
4292
4102
4103
+
concat-map@0.0.1: {}
4104
+
4293
4105
convert-source-map@2.0.0: {}
4294
4106
4295
-
cookie@1.1.1: {}
4107
+
cookie@0.5.0: {}
4296
4108
4297
-
core-js-compat@3.47.0:
4109
+
core-js-compat@3.41.0:
4298
4110
dependencies:
4299
-
browserslist: 4.28.1
4111
+
browserslist: 4.24.4
4300
4112
4301
4113
cross-spawn@7.0.6:
4302
4114
dependencies:
···
4308
4120
4309
4121
cssesc@3.0.0: {}
4310
4122
4311
-
csstype@3.2.3: {}
4123
+
csstype@3.1.3: {}
4124
+
4125
+
data-uri-to-buffer@2.0.2: {}
4312
4126
4313
-
debug@4.4.3:
4127
+
debug@4.4.0:
4314
4128
dependencies:
4315
4129
ms: 2.1.3
4316
4130
···
4318
4132
4319
4133
defu@6.1.4: {}
4320
4134
4321
-
detect-libc@2.1.2: {}
4135
+
detect-libc@2.0.3:
4136
+
optional: true
4322
4137
4323
4138
didyoumean@1.2.2: {}
4324
4139
···
4328
4143
4329
4144
ejs@3.1.10:
4330
4145
dependencies:
4331
-
jake: 10.9.4
4146
+
jake: 10.9.2
4332
4147
4333
-
electron-to-chromium@1.5.264: {}
4148
+
electron-to-chromium@1.5.128: {}
4334
4149
4335
4150
emoji-regex@8.0.0: {}
4336
4151
4337
4152
emoji-regex@9.2.2: {}
4338
4153
4339
-
entities@6.0.1: {}
4154
+
entities@4.5.0: {}
4340
4155
4341
-
error-stack-parser-es@1.0.5: {}
4342
-
4343
-
esbuild@0.25.12:
4156
+
esbuild@0.24.0:
4344
4157
optionalDependencies:
4345
-
'@esbuild/aix-ppc64': 0.25.12
4346
-
'@esbuild/android-arm': 0.25.12
4347
-
'@esbuild/android-arm64': 0.25.12
4348
-
'@esbuild/android-x64': 0.25.12
4349
-
'@esbuild/darwin-arm64': 0.25.12
4350
-
'@esbuild/darwin-x64': 0.25.12
4351
-
'@esbuild/freebsd-arm64': 0.25.12
4352
-
'@esbuild/freebsd-x64': 0.25.12
4353
-
'@esbuild/linux-arm': 0.25.12
4354
-
'@esbuild/linux-arm64': 0.25.12
4355
-
'@esbuild/linux-ia32': 0.25.12
4356
-
'@esbuild/linux-loong64': 0.25.12
4357
-
'@esbuild/linux-mips64el': 0.25.12
4358
-
'@esbuild/linux-ppc64': 0.25.12
4359
-
'@esbuild/linux-riscv64': 0.25.12
4360
-
'@esbuild/linux-s390x': 0.25.12
4361
-
'@esbuild/linux-x64': 0.25.12
4362
-
'@esbuild/netbsd-arm64': 0.25.12
4363
-
'@esbuild/netbsd-x64': 0.25.12
4364
-
'@esbuild/openbsd-arm64': 0.25.12
4365
-
'@esbuild/openbsd-x64': 0.25.12
4366
-
'@esbuild/openharmony-arm64': 0.25.12
4367
-
'@esbuild/sunos-x64': 0.25.12
4368
-
'@esbuild/win32-arm64': 0.25.12
4369
-
'@esbuild/win32-ia32': 0.25.12
4370
-
'@esbuild/win32-x64': 0.25.12
4158
+
'@esbuild/aix-ppc64': 0.24.0
4159
+
'@esbuild/android-arm': 0.24.0
4160
+
'@esbuild/android-arm64': 0.24.0
4161
+
'@esbuild/android-x64': 0.24.0
4162
+
'@esbuild/darwin-arm64': 0.24.0
4163
+
'@esbuild/darwin-x64': 0.24.0
4164
+
'@esbuild/freebsd-arm64': 0.24.0
4165
+
'@esbuild/freebsd-x64': 0.24.0
4166
+
'@esbuild/linux-arm': 0.24.0
4167
+
'@esbuild/linux-arm64': 0.24.0
4168
+
'@esbuild/linux-ia32': 0.24.0
4169
+
'@esbuild/linux-loong64': 0.24.0
4170
+
'@esbuild/linux-mips64el': 0.24.0
4171
+
'@esbuild/linux-ppc64': 0.24.0
4172
+
'@esbuild/linux-riscv64': 0.24.0
4173
+
'@esbuild/linux-s390x': 0.24.0
4174
+
'@esbuild/linux-x64': 0.24.0
4175
+
'@esbuild/netbsd-x64': 0.24.0
4176
+
'@esbuild/openbsd-arm64': 0.24.0
4177
+
'@esbuild/openbsd-x64': 0.24.0
4178
+
'@esbuild/sunos-x64': 0.24.0
4179
+
'@esbuild/win32-arm64': 0.24.0
4180
+
'@esbuild/win32-ia32': 0.24.0
4181
+
'@esbuild/win32-x64': 0.24.0
4371
4182
4372
-
esbuild@0.27.0:
4183
+
esbuild@0.24.2:
4373
4184
optionalDependencies:
4374
-
'@esbuild/aix-ppc64': 0.27.0
4375
-
'@esbuild/android-arm': 0.27.0
4376
-
'@esbuild/android-arm64': 0.27.0
4377
-
'@esbuild/android-x64': 0.27.0
4378
-
'@esbuild/darwin-arm64': 0.27.0
4379
-
'@esbuild/darwin-x64': 0.27.0
4380
-
'@esbuild/freebsd-arm64': 0.27.0
4381
-
'@esbuild/freebsd-x64': 0.27.0
4382
-
'@esbuild/linux-arm': 0.27.0
4383
-
'@esbuild/linux-arm64': 0.27.0
4384
-
'@esbuild/linux-ia32': 0.27.0
4385
-
'@esbuild/linux-loong64': 0.27.0
4386
-
'@esbuild/linux-mips64el': 0.27.0
4387
-
'@esbuild/linux-ppc64': 0.27.0
4388
-
'@esbuild/linux-riscv64': 0.27.0
4389
-
'@esbuild/linux-s390x': 0.27.0
4390
-
'@esbuild/linux-x64': 0.27.0
4391
-
'@esbuild/netbsd-arm64': 0.27.0
4392
-
'@esbuild/netbsd-x64': 0.27.0
4393
-
'@esbuild/openbsd-arm64': 0.27.0
4394
-
'@esbuild/openbsd-x64': 0.27.0
4395
-
'@esbuild/openharmony-arm64': 0.27.0
4396
-
'@esbuild/sunos-x64': 0.27.0
4397
-
'@esbuild/win32-arm64': 0.27.0
4398
-
'@esbuild/win32-ia32': 0.27.0
4399
-
'@esbuild/win32-x64': 0.27.0
4185
+
'@esbuild/aix-ppc64': 0.24.2
4186
+
'@esbuild/android-arm': 0.24.2
4187
+
'@esbuild/android-arm64': 0.24.2
4188
+
'@esbuild/android-x64': 0.24.2
4189
+
'@esbuild/darwin-arm64': 0.24.2
4190
+
'@esbuild/darwin-x64': 0.24.2
4191
+
'@esbuild/freebsd-arm64': 0.24.2
4192
+
'@esbuild/freebsd-x64': 0.24.2
4193
+
'@esbuild/linux-arm': 0.24.2
4194
+
'@esbuild/linux-arm64': 0.24.2
4195
+
'@esbuild/linux-ia32': 0.24.2
4196
+
'@esbuild/linux-loong64': 0.24.2
4197
+
'@esbuild/linux-mips64el': 0.24.2
4198
+
'@esbuild/linux-ppc64': 0.24.2
4199
+
'@esbuild/linux-riscv64': 0.24.2
4200
+
'@esbuild/linux-s390x': 0.24.2
4201
+
'@esbuild/linux-x64': 0.24.2
4202
+
'@esbuild/netbsd-arm64': 0.24.2
4203
+
'@esbuild/netbsd-x64': 0.24.2
4204
+
'@esbuild/openbsd-arm64': 0.24.2
4205
+
'@esbuild/openbsd-x64': 0.24.2
4206
+
'@esbuild/sunos-x64': 0.24.2
4207
+
'@esbuild/win32-arm64': 0.24.2
4208
+
'@esbuild/win32-ia32': 0.24.2
4209
+
'@esbuild/win32-x64': 0.24.2
4400
4210
4401
4211
escalade@3.2.0: {}
4402
-
4403
-
esm-env@1.2.2: {}
4404
4212
4405
4213
estree-walker@1.0.1: {}
4406
4214
···
4409
4217
esutils@2.0.3: {}
4410
4218
4411
4219
exit-hook@2.2.1: {}
4220
+
4221
+
exsolve@1.0.4: {}
4412
4222
4413
4223
fast-deep-equal@3.1.3: {}
4414
4224
···
4422
4232
4423
4233
fast-json-stable-stringify@2.1.0: {}
4424
4234
4425
-
fast-uri@3.1.0: {}
4235
+
fast-uri@3.0.6: {}
4426
4236
4427
4237
fastq@1.19.1:
4428
4238
dependencies:
4429
4239
reusify: 1.1.0
4430
4240
4431
-
fdir@6.5.0(picomatch@4.0.3):
4241
+
fdir@6.4.3(picomatch@4.0.2):
4432
4242
optionalDependencies:
4433
-
picomatch: 4.0.3
4243
+
picomatch: 4.0.2
4434
4244
4435
4245
filelist@1.0.4:
4436
4246
dependencies:
···
4445
4255
cross-spawn: 7.0.6
4446
4256
signal-exit: 4.1.0
4447
4257
4448
-
fraction.js@5.3.4: {}
4258
+
fraction.js@4.3.7: {}
4449
4259
4450
4260
fs-extra@9.1.0:
4451
4261
dependencies:
4452
4262
at-least-node: 1.0.0
4453
4263
graceful-fs: 4.2.11
4454
-
jsonfile: 6.2.0
4264
+
jsonfile: 6.1.0
4455
4265
universalify: 2.0.1
4456
4266
4267
+
fs.realpath@1.0.0: {}
4268
+
4457
4269
fsevents@2.3.3:
4458
4270
optional: true
4459
4271
···
4461
4273
4462
4274
get-own-enumerable-property-symbols@3.0.2: {}
4463
4275
4464
-
get-port@7.1.0: {}
4276
+
get-source@2.0.12:
4277
+
dependencies:
4278
+
data-uri-to-buffer: 2.0.2
4279
+
source-map: 0.6.1
4465
4280
4466
4281
glob-parent@5.1.2:
4467
4282
dependencies:
···
4473
4288
4474
4289
glob-to-regexp@0.4.1: {}
4475
4290
4476
-
glob@11.1.0:
4291
+
glob@10.4.5:
4477
4292
dependencies:
4478
4293
foreground-child: 3.3.1
4479
-
jackspeak: 4.1.1
4480
-
minimatch: 10.1.1
4294
+
jackspeak: 3.4.3
4295
+
minimatch: 9.0.5
4481
4296
minipass: 7.1.2
4482
4297
package-json-from-dist: 1.0.1
4483
-
path-scurry: 2.0.1
4298
+
path-scurry: 1.11.1
4299
+
4300
+
glob@7.2.3:
4301
+
dependencies:
4302
+
fs.realpath: 1.0.0
4303
+
inflight: 1.0.6
4304
+
inherits: 2.0.4
4305
+
minimatch: 3.1.2
4306
+
once: 1.4.0
4307
+
path-is-absolute: 1.0.1
4308
+
4309
+
globals@11.12.0: {}
4484
4310
4485
4311
graceful-fs@4.2.11: {}
4486
4312
4487
-
hls.js@1.6.15: {}
4313
+
has-flag@4.0.0: {}
4314
+
4315
+
hls.js@1.6.0: {}
4488
4316
4489
4317
html-entities@2.3.3: {}
4490
4318
4491
4319
idb@7.1.1: {}
4492
4320
4493
-
idb@8.0.3: {}
4321
+
idb@8.0.2: {}
4322
+
4323
+
inflight@1.0.6:
4324
+
dependencies:
4325
+
once: 1.4.0
4326
+
wrappy: 1.0.2
4327
+
4328
+
inherits@2.0.4: {}
4494
4329
4495
-
is-arrayish@0.3.4: {}
4330
+
is-arrayish@0.3.2:
4331
+
optional: true
4496
4332
4497
4333
is-binary-path@2.1.0:
4498
4334
dependencies:
···
4520
4356
4521
4357
isexe@2.0.0: {}
4522
4358
4523
-
jackspeak@4.1.1:
4359
+
jackspeak@3.4.3:
4524
4360
dependencies:
4525
4361
'@isaacs/cliui': 8.0.2
4362
+
optionalDependencies:
4363
+
'@pkgjs/parseargs': 0.11.0
4526
4364
4527
-
jake@10.9.4:
4365
+
jake@10.9.2:
4528
4366
dependencies:
4529
4367
async: 3.2.6
4368
+
chalk: 4.1.2
4530
4369
filelist: 1.0.4
4531
-
picocolors: 1.1.1
4370
+
minimatch: 3.1.2
4532
4371
4533
4372
javascript-natural-sort@0.7.1: {}
4534
4373
···
4536
4375
4537
4376
js-tokens@4.0.0: {}
4538
4377
4378
+
jsesc@3.0.2: {}
4379
+
4539
4380
jsesc@3.1.0: {}
4540
4381
4541
4382
json-schema-traverse@1.0.0: {}
···
4544
4385
4545
4386
json5@2.2.3: {}
4546
4387
4547
-
jsonfile@6.2.0:
4388
+
jsonfile@6.1.0:
4548
4389
dependencies:
4549
4390
universalify: 2.0.1
4550
4391
optionalDependencies:
4551
4392
graceful-fs: 4.2.11
4552
4393
4553
4394
jsonpointer@5.0.1: {}
4554
-
4555
-
kleur@4.1.5: {}
4556
4395
4557
4396
leven@3.1.0: {}
4558
4397
···
4566
4405
4567
4406
lodash@4.17.21: {}
4568
4407
4569
-
lru-cache@11.2.4: {}
4408
+
lru-cache@10.4.3: {}
4570
4409
4571
4410
lru-cache@5.1.1:
4572
4411
dependencies:
···
4589
4428
4590
4429
mime@3.0.0: {}
4591
4430
4592
-
miniflare@4.20251202.0:
4431
+
miniflare@4.20250321.1:
4593
4432
dependencies:
4594
4433
'@cspotcode/source-map-support': 0.8.1
4595
4434
acorn: 8.14.0
4596
4435
acorn-walk: 8.3.2
4597
4436
exit-hook: 2.2.1
4598
4437
glob-to-regexp: 0.4.1
4599
-
sharp: 0.33.5
4600
4438
stoppable: 1.1.0
4601
-
undici: 7.14.0
4602
-
workerd: 1.20251202.0
4439
+
undici: 5.29.0
4440
+
workerd: 1.20250321.0
4603
4441
ws: 8.18.0
4604
-
youch: 4.1.0-beta.10
4442
+
youch: 3.2.3
4605
4443
zod: 3.22.3
4606
4444
transitivePeerDependencies:
4607
4445
- bufferutil
4608
4446
- utf-8-validate
4609
4447
4610
-
minimatch@10.1.1:
4448
+
minimatch@3.1.2:
4611
4449
dependencies:
4612
-
'@isaacs/brace-expansion': 5.0.0
4450
+
brace-expansion: 1.1.11
4613
4451
4614
4452
minimatch@5.1.6:
4615
4453
dependencies:
4616
-
brace-expansion: 2.0.2
4454
+
brace-expansion: 2.0.1
4455
+
4456
+
minimatch@9.0.5:
4457
+
dependencies:
4458
+
brace-expansion: 2.0.1
4617
4459
4618
4460
minipass@7.1.2: {}
4619
4461
4620
4462
ms@2.1.3: {}
4463
+
4464
+
mustache@4.2.0: {}
4621
4465
4622
4466
mz@2.7.0:
4623
4467
dependencies:
···
4627
4471
4628
4472
nanoid@3.3.11: {}
4629
4473
4630
-
nanoid@5.1.6: {}
4474
+
nanoid@5.1.5: {}
4631
4475
4632
-
node-releases@2.0.27: {}
4476
+
node-releases@2.0.19: {}
4633
4477
4634
4478
normalize-path@3.0.0: {}
4635
4479
···
4638
4482
object-assign@4.1.1: {}
4639
4483
4640
4484
object-hash@3.0.0: {}
4485
+
4486
+
ohash@2.0.11: {}
4487
+
4488
+
once@1.4.0:
4489
+
dependencies:
4490
+
wrappy: 1.0.2
4641
4491
4642
4492
package-json-from-dist@1.0.1: {}
4643
4493
4644
-
parse5@7.3.0:
4494
+
parse5@7.2.1:
4645
4495
dependencies:
4646
-
entities: 6.0.1
4496
+
entities: 4.5.0
4497
+
4498
+
path-is-absolute@1.0.1: {}
4647
4499
4648
4500
path-key@3.1.1: {}
4649
4501
4650
4502
path-parse@1.0.7: {}
4651
4503
4652
-
path-scurry@2.0.1:
4504
+
path-scurry@1.11.1:
4653
4505
dependencies:
4654
-
lru-cache: 11.2.4
4506
+
lru-cache: 10.4.3
4655
4507
minipass: 7.1.2
4656
4508
4657
4509
path-to-regexp@6.3.0: {}
···
4662
4514
4663
4515
picomatch@2.3.1: {}
4664
4516
4665
-
picomatch@4.0.3: {}
4517
+
picomatch@4.0.2: {}
4666
4518
4667
4519
pify@2.3.0: {}
4668
4520
4669
4521
pirates@4.0.7: {}
4670
4522
4671
-
postcss-import@15.1.0(postcss@8.5.6):
4523
+
postcss-import@15.1.0(postcss@8.5.3):
4672
4524
dependencies:
4673
-
postcss: 8.5.6
4525
+
postcss: 8.5.3
4674
4526
postcss-value-parser: 4.2.0
4675
4527
read-cache: 1.0.0
4676
-
resolve: 1.22.11
4528
+
resolve: 1.22.10
4677
4529
4678
-
postcss-js@4.1.0(postcss@8.5.6):
4530
+
postcss-js@4.0.1(postcss@8.5.3):
4679
4531
dependencies:
4680
4532
camelcase-css: 2.0.1
4681
-
postcss: 8.5.6
4533
+
postcss: 8.5.3
4682
4534
4683
-
postcss-load-config@6.0.1(jiti@1.21.7)(postcss@8.5.6):
4535
+
postcss-load-config@4.0.2(postcss@8.5.3):
4684
4536
dependencies:
4685
4537
lilconfig: 3.1.3
4538
+
yaml: 2.7.0
4686
4539
optionalDependencies:
4687
-
jiti: 1.21.7
4688
-
postcss: 8.5.6
4540
+
postcss: 8.5.3
4689
4541
4690
-
postcss-nested@6.2.0(postcss@8.5.6):
4542
+
postcss-nested@6.2.0(postcss@8.5.3):
4691
4543
dependencies:
4692
-
postcss: 8.5.6
4544
+
postcss: 8.5.3
4693
4545
postcss-selector-parser: 6.1.2
4694
4546
4695
4547
postcss-selector-parser@6.1.2:
···
4699
4551
4700
4552
postcss-value-parser@4.2.0: {}
4701
4553
4702
-
postcss@8.5.6:
4554
+
postcss@8.5.3:
4703
4555
dependencies:
4704
4556
nanoid: 3.3.11
4705
4557
picocolors: 1.1.1
4706
4558
source-map-js: 1.2.1
4707
4559
4708
-
prettier-plugin-tailwindcss@0.7.2(@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.7.4))(prettier@3.7.4):
4560
+
prettier-plugin-tailwindcss@0.6.11(@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.5.3))(prettier@3.5.3):
4709
4561
dependencies:
4710
-
prettier: 3.7.4
4562
+
prettier: 3.5.3
4711
4563
optionalDependencies:
4712
-
'@trivago/prettier-plugin-sort-imports': 5.2.2(prettier@3.7.4)
4564
+
'@trivago/prettier-plugin-sort-imports': 5.2.2(prettier@3.5.3)
4713
4565
4714
-
prettier@3.7.4: {}
4566
+
prettier@3.5.3: {}
4715
4567
4716
4568
pretty-bytes@5.6.0: {}
4717
4569
4718
4570
pretty-bytes@6.1.1: {}
4719
4571
4572
+
printable-characters@1.0.42: {}
4573
+
4720
4574
punycode@2.3.1: {}
4721
4575
4722
4576
queue-microtask@1.2.3: {}
···
4735
4589
dependencies:
4736
4590
picomatch: 2.3.1
4737
4591
4738
-
regenerate-unicode-properties@10.2.2:
4592
+
regenerate-unicode-properties@10.2.0:
4739
4593
dependencies:
4740
4594
regenerate: 1.4.2
4741
4595
4742
4596
regenerate@1.4.2: {}
4743
4597
4744
-
regexpu-core@6.4.0:
4598
+
regenerator-runtime@0.14.1: {}
4599
+
4600
+
regenerator-transform@0.15.2:
4601
+
dependencies:
4602
+
'@babel/runtime': 7.27.0
4603
+
4604
+
regexpu-core@6.2.0:
4745
4605
dependencies:
4746
4606
regenerate: 1.4.2
4747
-
regenerate-unicode-properties: 10.2.2
4607
+
regenerate-unicode-properties: 10.2.0
4748
4608
regjsgen: 0.8.0
4749
-
regjsparser: 0.13.0
4609
+
regjsparser: 0.12.0
4750
4610
unicode-match-property-ecmascript: 2.0.0
4751
-
unicode-match-property-value-ecmascript: 2.2.1
4611
+
unicode-match-property-value-ecmascript: 2.2.0
4752
4612
4753
4613
regjsgen@0.8.0: {}
4754
4614
4755
-
regjsparser@0.13.0:
4615
+
regjsparser@0.12.0:
4756
4616
dependencies:
4757
-
jsesc: 3.1.0
4617
+
jsesc: 3.0.2
4758
4618
4759
4619
require-from-string@2.0.2: {}
4760
4620
4761
-
resolve@1.22.11:
4621
+
resolve@1.22.10:
4762
4622
dependencies:
4763
4623
is-core-module: '@nolyfill/is-core-module@1.0.39'
4764
4624
path-parse: 1.0.7
···
4770
4630
optionalDependencies:
4771
4631
fsevents: 2.3.3
4772
4632
4773
-
rollup@4.53.3:
4633
+
rollup@4.37.0:
4774
4634
dependencies:
4775
-
'@types/estree': 1.0.8
4635
+
'@types/estree': 1.0.6
4776
4636
optionalDependencies:
4777
-
'@rollup/rollup-android-arm-eabi': 4.53.3
4778
-
'@rollup/rollup-android-arm64': 4.53.3
4779
-
'@rollup/rollup-darwin-arm64': 4.53.3
4780
-
'@rollup/rollup-darwin-x64': 4.53.3
4781
-
'@rollup/rollup-freebsd-arm64': 4.53.3
4782
-
'@rollup/rollup-freebsd-x64': 4.53.3
4783
-
'@rollup/rollup-linux-arm-gnueabihf': 4.53.3
4784
-
'@rollup/rollup-linux-arm-musleabihf': 4.53.3
4785
-
'@rollup/rollup-linux-arm64-gnu': 4.53.3
4786
-
'@rollup/rollup-linux-arm64-musl': 4.53.3
4787
-
'@rollup/rollup-linux-loong64-gnu': 4.53.3
4788
-
'@rollup/rollup-linux-ppc64-gnu': 4.53.3
4789
-
'@rollup/rollup-linux-riscv64-gnu': 4.53.3
4790
-
'@rollup/rollup-linux-riscv64-musl': 4.53.3
4791
-
'@rollup/rollup-linux-s390x-gnu': 4.53.3
4792
-
'@rollup/rollup-linux-x64-gnu': 4.53.3
4793
-
'@rollup/rollup-linux-x64-musl': 4.53.3
4794
-
'@rollup/rollup-openharmony-arm64': 4.53.3
4795
-
'@rollup/rollup-win32-arm64-msvc': 4.53.3
4796
-
'@rollup/rollup-win32-ia32-msvc': 4.53.3
4797
-
'@rollup/rollup-win32-x64-gnu': 4.53.3
4798
-
'@rollup/rollup-win32-x64-msvc': 4.53.3
4637
+
'@rollup/rollup-android-arm-eabi': 4.37.0
4638
+
'@rollup/rollup-android-arm64': 4.37.0
4639
+
'@rollup/rollup-darwin-arm64': 4.37.0
4640
+
'@rollup/rollup-darwin-x64': 4.37.0
4641
+
'@rollup/rollup-freebsd-arm64': 4.37.0
4642
+
'@rollup/rollup-freebsd-x64': 4.37.0
4643
+
'@rollup/rollup-linux-arm-gnueabihf': 4.37.0
4644
+
'@rollup/rollup-linux-arm-musleabihf': 4.37.0
4645
+
'@rollup/rollup-linux-arm64-gnu': 4.37.0
4646
+
'@rollup/rollup-linux-arm64-musl': 4.37.0
4647
+
'@rollup/rollup-linux-loongarch64-gnu': 4.37.0
4648
+
'@rollup/rollup-linux-powerpc64le-gnu': 4.37.0
4649
+
'@rollup/rollup-linux-riscv64-gnu': 4.37.0
4650
+
'@rollup/rollup-linux-riscv64-musl': 4.37.0
4651
+
'@rollup/rollup-linux-s390x-gnu': 4.37.0
4652
+
'@rollup/rollup-linux-x64-gnu': 4.37.0
4653
+
'@rollup/rollup-linux-x64-musl': 4.37.0
4654
+
'@rollup/rollup-win32-arm64-msvc': 4.37.0
4655
+
'@rollup/rollup-win32-ia32-msvc': 4.37.0
4656
+
'@rollup/rollup-win32-x64-msvc': 4.37.0
4799
4657
fsevents: 2.3.3
4800
4658
4801
4659
run-parallel@1.2.0:
···
4804
4662
4805
4663
semver@6.3.1: {}
4806
4664
4807
-
semver@7.7.3: {}
4665
+
semver@7.7.1:
4666
+
optional: true
4808
4667
4809
4668
serialize-javascript@6.0.2:
4810
4669
dependencies:
4811
4670
randombytes: 2.1.0
4812
4671
4813
-
seroval-plugins@1.3.3(seroval@1.3.2):
4672
+
seroval-plugins@1.2.1(seroval@1.2.1):
4814
4673
dependencies:
4815
-
seroval: 1.3.2
4674
+
seroval: 1.2.1
4816
4675
4817
-
seroval@1.3.2: {}
4676
+
seroval@1.2.1: {}
4818
4677
4819
4678
sharp@0.33.5:
4820
4679
dependencies:
4821
4680
color: 4.2.3
4822
-
detect-libc: 2.1.2
4823
-
semver: 7.7.3
4681
+
detect-libc: 2.0.3
4682
+
semver: 7.7.1
4824
4683
optionalDependencies:
4825
4684
'@img/sharp-darwin-arm64': 0.33.5
4826
4685
'@img/sharp-darwin-x64': 0.33.5
···
4841
4700
'@img/sharp-wasm32': 0.33.5
4842
4701
'@img/sharp-win32-ia32': 0.33.5
4843
4702
'@img/sharp-win32-x64': 0.33.5
4703
+
optional: true
4844
4704
4845
4705
shebang-command@2.0.0:
4846
4706
dependencies:
···
4850
4710
4851
4711
signal-exit@4.1.0: {}
4852
4712
4853
-
simple-swizzle@0.2.4:
4713
+
simple-swizzle@0.2.2:
4854
4714
dependencies:
4855
-
is-arrayish: 0.3.4
4715
+
is-arrayish: 0.3.2
4716
+
optional: true
4856
4717
4857
4718
smob@1.5.0: {}
4858
4719
4859
-
solid-floating-ui@0.2.1(@floating-ui/dom@1.7.4)(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)):
4720
+
solid-floating-ui@0.2.1(@floating-ui/dom@1.6.13)(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)):
4860
4721
dependencies:
4861
-
'@floating-ui/dom': 1.7.4
4862
-
solid-js: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
4722
+
'@floating-ui/dom': 1.6.13
4723
+
solid-js: 1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)
4863
4724
4864
-
solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7):
4725
+
solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c):
4865
4726
dependencies:
4866
-
csstype: 3.2.3
4867
-
seroval: 1.3.2
4868
-
seroval-plugins: 1.3.3(seroval@1.3.2)
4727
+
csstype: 3.1.3
4728
+
seroval: 1.2.1
4729
+
seroval-plugins: 1.2.1(seroval@1.2.1)
4869
4730
4870
-
solid-refresh@0.6.3(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)):
4731
+
solid-refresh@0.6.3(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)):
4871
4732
dependencies:
4872
-
'@babel/generator': 7.28.5
4873
-
'@babel/helper-module-imports': 7.27.1
4874
-
'@babel/types': 7.28.5
4875
-
solid-js: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
4733
+
'@babel/generator': 7.27.0
4734
+
'@babel/helper-module-imports': 7.25.9
4735
+
'@babel/types': 7.27.0
4736
+
solid-js: 1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)
4876
4737
transitivePeerDependencies:
4877
4738
- supports-color
4878
4739
···
4891
4752
4892
4753
sourcemap-codec@1.4.8: {}
4893
4754
4755
+
stacktracey@2.1.8:
4756
+
dependencies:
4757
+
as-table: 1.0.55
4758
+
get-source: 2.0.12
4759
+
4894
4760
stoppable@1.1.0: {}
4895
4761
4896
4762
string-width@4.2.3:
···
4903
4769
dependencies:
4904
4770
eastasianwidth: 0.2.0
4905
4771
emoji-regex: 9.2.2
4906
-
strip-ansi: 7.1.2
4772
+
strip-ansi: 7.1.0
4907
4773
4908
4774
stringify-object@3.3.0:
4909
4775
dependencies:
···
4915
4781
dependencies:
4916
4782
ansi-regex: 5.0.1
4917
4783
4918
-
strip-ansi@7.1.2:
4784
+
strip-ansi@7.1.0:
4919
4785
dependencies:
4920
-
ansi-regex: 6.2.2
4786
+
ansi-regex: 6.1.0
4921
4787
4922
4788
strip-comments@2.0.1: {}
4923
4789
4924
-
sucrase@3.35.1:
4790
+
sucrase@3.35.0:
4925
4791
dependencies:
4926
-
'@jridgewell/gen-mapping': 0.3.13
4792
+
'@jridgewell/gen-mapping': 0.3.8
4927
4793
commander: 4.1.1
4794
+
glob: 10.4.5
4928
4795
lines-and-columns: 1.2.4
4929
4796
mz: 2.7.0
4930
4797
pirates: 4.0.7
4931
-
tinyglobby: 0.2.15
4932
4798
ts-interface-checker: 0.1.13
4933
4799
4934
-
supports-color@10.2.2: {}
4800
+
supports-color@7.2.0:
4801
+
dependencies:
4802
+
has-flag: 4.0.0
4935
4803
4936
4804
supports-preserve-symlinks-flag@1.0.0: {}
4937
4805
4938
-
tailwindcss@3.4.18:
4806
+
tailwindcss@3.4.17:
4939
4807
dependencies:
4940
4808
'@alloc/quick-lru': 5.2.0
4941
4809
arg: 5.0.2
···
4951
4819
normalize-path: 3.0.0
4952
4820
object-hash: 3.0.0
4953
4821
picocolors: 1.1.1
4954
-
postcss: 8.5.6
4955
-
postcss-import: 15.1.0(postcss@8.5.6)
4956
-
postcss-js: 4.1.0(postcss@8.5.6)
4957
-
postcss-load-config: 6.0.1(jiti@1.21.7)(postcss@8.5.6)
4958
-
postcss-nested: 6.2.0(postcss@8.5.6)
4822
+
postcss: 8.5.3
4823
+
postcss-import: 15.1.0(postcss@8.5.3)
4824
+
postcss-js: 4.0.1(postcss@8.5.3)
4825
+
postcss-load-config: 4.0.2(postcss@8.5.3)
4826
+
postcss-nested: 6.2.0(postcss@8.5.3)
4959
4827
postcss-selector-parser: 6.1.2
4960
-
resolve: 1.22.11
4961
-
sucrase: 3.35.1
4828
+
resolve: 1.22.10
4829
+
sucrase: 3.35.0
4962
4830
transitivePeerDependencies:
4963
-
- tsx
4964
-
- yaml
4831
+
- ts-node
4965
4832
4966
4833
temp-dir@2.0.0: {}
4967
4834
···
4972
4839
type-fest: 0.16.0
4973
4840
unique-string: 2.0.0
4974
4841
4975
-
terser@5.44.1:
4842
+
terser@5.39.0:
4976
4843
dependencies:
4977
-
'@jridgewell/source-map': 0.3.11
4978
-
acorn: 8.15.0
4844
+
'@jridgewell/source-map': 0.3.6
4845
+
acorn: 8.14.1
4979
4846
commander: 2.20.3
4980
4847
source-map-support: 0.5.21
4981
4848
···
4987
4854
dependencies:
4988
4855
any-promise: 1.3.0
4989
4856
4990
-
tinyglobby@0.2.15:
4857
+
tinyglobby@0.2.12:
4991
4858
dependencies:
4992
-
fdir: 6.5.0(picomatch@4.0.3)
4993
-
picomatch: 4.0.3
4859
+
fdir: 6.4.3(picomatch@4.0.2)
4860
+
picomatch: 4.0.2
4994
4861
4995
4862
to-regex-range@5.0.1:
4996
4863
dependencies:
···
5007
4874
5008
4875
type-fest@0.16.0: {}
5009
4876
5010
-
typescript@5.9.3: {}
4877
+
typescript@5.7.2: {}
5011
4878
5012
-
undici-types@7.16.0: {}
4879
+
ufo@1.5.4: {}
5013
4880
5014
-
undici@7.14.0: {}
4881
+
undici@5.29.0:
4882
+
dependencies:
4883
+
'@fastify/busboy': 2.1.1
5015
4884
5016
-
unenv@2.0.0-rc.24:
4885
+
unenv@2.0.0-rc.15:
5017
4886
dependencies:
4887
+
defu: 6.1.4
4888
+
exsolve: 1.0.4
4889
+
ohash: 2.0.11
5018
4890
pathe: 2.0.3
4891
+
ufo: 1.5.4
5019
4892
5020
4893
unicode-canonical-property-names-ecmascript@2.0.1: {}
5021
4894
5022
4895
unicode-match-property-ecmascript@2.0.0:
5023
4896
dependencies:
5024
4897
unicode-canonical-property-names-ecmascript: 2.0.1
5025
-
unicode-property-aliases-ecmascript: 2.2.0
4898
+
unicode-property-aliases-ecmascript: 2.1.0
5026
4899
5027
-
unicode-match-property-value-ecmascript@2.2.1: {}
4900
+
unicode-match-property-value-ecmascript@2.2.0: {}
5028
4901
5029
-
unicode-property-aliases-ecmascript@2.2.0: {}
4902
+
unicode-property-aliases-ecmascript@2.1.0: {}
5030
4903
5031
4904
unique-string@2.0.0:
5032
4905
dependencies:
···
5036
4909
5037
4910
upath@1.2.0: {}
5038
4911
5039
-
update-browserslist-db@1.2.2(browserslist@4.28.1):
4912
+
update-browserslist-db@1.1.3(browserslist@4.24.4):
5040
4913
dependencies:
5041
-
browserslist: 4.28.1
4914
+
browserslist: 4.24.4
5042
4915
escalade: 3.2.0
5043
4916
picocolors: 1.1.1
5044
4917
5045
4918
util-deprecate@1.0.2: {}
5046
4919
5047
-
vite-plugin-pwa@1.1.0(patch_hash=003379ded749ad87080f87b428b17f04c4c88b6b64544df4d928aab76fbf6325)(@types/babel__core@7.20.5)(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)):
4920
+
validate-html-nesting@1.2.2: {}
4921
+
4922
+
vite-plugin-pwa@0.21.0(patch_hash=003379ded749ad87080f87b428b17f04c4c88b6b64544df4d928aab76fbf6325)(@types/babel__core@7.20.5)(vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)):
5048
4923
dependencies:
5049
-
debug: 4.4.3
4924
+
debug: 4.4.0
5050
4925
pretty-bytes: 6.1.1
5051
-
tinyglobby: 0.2.15
5052
-
vite: 7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)
5053
-
workbox-build: 7.4.0(@types/babel__core@7.20.5)
5054
-
workbox-window: 7.4.0
4926
+
tinyglobby: 0.2.12
4927
+
vite: 6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)
4928
+
workbox-build: 7.3.0(@types/babel__core@7.20.5)
4929
+
workbox-window: 7.3.0
5055
4930
transitivePeerDependencies:
5056
4931
- '@types/babel__core'
5057
4932
- supports-color
5058
4933
5059
-
vite-plugin-solid@2.11.10(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)):
4934
+
vite-plugin-solid@2.11.6(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))(vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)):
5060
4935
dependencies:
5061
-
'@babel/core': 7.28.5
4936
+
'@babel/core': 7.26.10
5062
4937
'@types/babel__core': 7.20.5
5063
-
babel-preset-solid: 1.9.10(@babel/core@7.28.5)(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))
4938
+
babel-preset-solid: 1.9.5(@babel/core@7.26.10)
5064
4939
merge-anything: 5.1.7
5065
-
solid-js: 1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7)
5066
-
solid-refresh: 0.6.3(solid-js@1.9.10(patch_hash=9cf3f9930aa2f8d4e60502a75153adf9468eb53b42f69e86cac05dfaea3f82e7))
5067
-
vite: 7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)
5068
-
vitefu: 1.1.1(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1))
4940
+
solid-js: 1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c)
4941
+
solid-refresh: 0.6.3(solid-js@1.9.5(patch_hash=9a1f52b880286fb75dd8b75f1dbd1f4c0ed3fc3e607aeacc391a7e5ea64bbf9c))
4942
+
vite: 6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)
4943
+
vitefu: 1.0.6(vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0))
5069
4944
transitivePeerDependencies:
5070
4945
- supports-color
5071
4946
5072
-
vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1):
4947
+
vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0):
5073
4948
dependencies:
5074
-
esbuild: 0.25.12
5075
-
fdir: 6.5.0(picomatch@4.0.3)
5076
-
picomatch: 4.0.3
5077
-
postcss: 8.5.6
5078
-
rollup: 4.53.3
5079
-
tinyglobby: 0.2.15
4949
+
esbuild: 0.24.0
4950
+
postcss: 8.5.3
4951
+
rollup: 4.37.0
5080
4952
optionalDependencies:
5081
-
'@types/node': 24.10.1
5082
4953
fsevents: 2.3.3
5083
4954
jiti: 1.21.7
5084
-
terser: 5.44.1
4955
+
terser: 5.39.0
4956
+
yaml: 2.7.0
5085
4957
5086
-
vitefu@1.1.1(vite@7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)):
4958
+
vitefu@1.0.6(vite@6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)):
5087
4959
optionalDependencies:
5088
-
vite: 7.2.6(@types/node@24.10.1)(jiti@1.21.7)(terser@5.44.1)
4960
+
vite: 6.0.5(jiti@1.21.7)(terser@5.39.0)(yaml@2.7.0)
5089
4961
5090
4962
webidl-conversions@4.0.2: {}
5091
4963
5092
-
webm-muxer@5.1.4:
4964
+
webm-muxer@5.1.1:
5093
4965
dependencies:
5094
-
'@types/dom-webcodecs': 0.1.18
4966
+
'@types/dom-webcodecs': 0.1.14
5095
4967
'@types/wicg-file-system-access': 2020.9.8
5096
4968
5097
4969
whatwg-url@7.1.0:
···
5104
4976
dependencies:
5105
4977
isexe: 2.0.0
5106
4978
5107
-
workbox-background-sync@7.4.0:
4979
+
workbox-background-sync@7.3.0:
5108
4980
dependencies:
5109
4981
idb: 7.1.1
5110
-
workbox-core: 7.4.0
4982
+
workbox-core: 7.3.0
5111
4983
5112
-
workbox-broadcast-update@7.4.0:
4984
+
workbox-broadcast-update@7.3.0:
5113
4985
dependencies:
5114
-
workbox-core: 7.4.0
4986
+
workbox-core: 7.3.0
5115
4987
5116
-
workbox-build@7.4.0(@types/babel__core@7.20.5):
4988
+
workbox-build@7.3.0(@types/babel__core@7.20.5):
5117
4989
dependencies:
5118
4990
'@apideck/better-ajv-errors': 0.3.6(ajv@8.17.1)
5119
-
'@babel/core': 7.28.5
5120
-
'@babel/preset-env': 7.28.5(@babel/core@7.28.5)
5121
-
'@babel/runtime': 7.28.4
5122
-
'@rollup/plugin-babel': 5.3.1(@babel/core@7.28.5)(@types/babel__core@7.20.5)(rollup@2.79.2)
4991
+
'@babel/core': 7.26.10
4992
+
'@babel/preset-env': 7.26.9(@babel/core@7.26.10)
4993
+
'@babel/runtime': 7.27.0
4994
+
'@rollup/plugin-babel': 5.3.1(@babel/core@7.26.10)(@types/babel__core@7.20.5)(rollup@2.79.2)
5123
4995
'@rollup/plugin-node-resolve': 15.3.1(rollup@2.79.2)
5124
4996
'@rollup/plugin-replace': 2.4.2(rollup@2.79.2)
5125
4997
'@rollup/plugin-terser': 0.4.4(rollup@2.79.2)
···
5128
5000
common-tags: 1.8.2
5129
5001
fast-json-stable-stringify: 2.1.0
5130
5002
fs-extra: 9.1.0
5131
-
glob: 11.1.0
5003
+
glob: 7.2.3
5132
5004
lodash: 4.17.21
5133
5005
pretty-bytes: 5.6.0
5134
5006
rollup: 2.79.2
···
5137
5009
strip-comments: 2.0.1
5138
5010
tempy: 0.6.0
5139
5011
upath: 1.2.0
5140
-
workbox-background-sync: 7.4.0
5141
-
workbox-broadcast-update: 7.4.0
5142
-
workbox-cacheable-response: 7.4.0
5143
-
workbox-core: 7.4.0
5144
-
workbox-expiration: 7.4.0
5145
-
workbox-google-analytics: 7.4.0
5146
-
workbox-navigation-preload: 7.4.0
5147
-
workbox-precaching: 7.4.0(patch_hash=ffcec6cb23aa5ae1a2fe2de772c169a4f653a5ae7dc6b03415109f70d86ed35b)
5148
-
workbox-range-requests: 7.4.0
5149
-
workbox-recipes: 7.4.0
5150
-
workbox-routing: 7.4.0
5151
-
workbox-strategies: 7.4.0
5152
-
workbox-streams: 7.4.0
5153
-
workbox-sw: 7.4.0
5154
-
workbox-window: 7.4.0
5012
+
workbox-background-sync: 7.3.0
5013
+
workbox-broadcast-update: 7.3.0
5014
+
workbox-cacheable-response: 7.3.0
5015
+
workbox-core: 7.3.0
5016
+
workbox-expiration: 7.3.0
5017
+
workbox-google-analytics: 7.3.0
5018
+
workbox-navigation-preload: 7.3.0
5019
+
workbox-precaching: 7.3.0(patch_hash=ffcec6cb23aa5ae1a2fe2de772c169a4f653a5ae7dc6b03415109f70d86ed35b)
5020
+
workbox-range-requests: 7.3.0
5021
+
workbox-recipes: 7.3.0
5022
+
workbox-routing: 7.3.0
5023
+
workbox-strategies: 7.3.0
5024
+
workbox-streams: 7.3.0
5025
+
workbox-sw: 7.3.0
5026
+
workbox-window: 7.3.0
5155
5027
transitivePeerDependencies:
5156
5028
- '@types/babel__core'
5157
5029
- supports-color
5158
5030
5159
-
workbox-cacheable-response@7.4.0:
5031
+
workbox-cacheable-response@7.3.0:
5160
5032
dependencies:
5161
-
workbox-core: 7.4.0
5033
+
workbox-core: 7.3.0
5162
5034
5163
-
workbox-core@7.4.0: {}
5035
+
workbox-core@7.3.0: {}
5164
5036
5165
-
workbox-expiration@7.4.0:
5037
+
workbox-expiration@7.3.0:
5166
5038
dependencies:
5167
5039
idb: 7.1.1
5168
-
workbox-core: 7.4.0
5040
+
workbox-core: 7.3.0
5169
5041
5170
-
workbox-google-analytics@7.4.0:
5042
+
workbox-google-analytics@7.3.0:
5171
5043
dependencies:
5172
-
workbox-background-sync: 7.4.0
5173
-
workbox-core: 7.4.0
5174
-
workbox-routing: 7.4.0
5175
-
workbox-strategies: 7.4.0
5044
+
workbox-background-sync: 7.3.0
5045
+
workbox-core: 7.3.0
5046
+
workbox-routing: 7.3.0
5047
+
workbox-strategies: 7.3.0
5176
5048
5177
-
workbox-navigation-preload@7.4.0:
5049
+
workbox-navigation-preload@7.3.0:
5178
5050
dependencies:
5179
-
workbox-core: 7.4.0
5051
+
workbox-core: 7.3.0
5180
5052
5181
-
workbox-precaching@7.4.0(patch_hash=ffcec6cb23aa5ae1a2fe2de772c169a4f653a5ae7dc6b03415109f70d86ed35b):
5053
+
workbox-precaching@7.3.0(patch_hash=ffcec6cb23aa5ae1a2fe2de772c169a4f653a5ae7dc6b03415109f70d86ed35b):
5182
5054
dependencies:
5183
-
workbox-core: 7.4.0
5184
-
workbox-routing: 7.4.0
5185
-
workbox-strategies: 7.4.0
5055
+
workbox-core: 7.3.0
5056
+
workbox-routing: 7.3.0
5057
+
workbox-strategies: 7.3.0
5186
5058
5187
-
workbox-range-requests@7.4.0:
5059
+
workbox-range-requests@7.3.0:
5188
5060
dependencies:
5189
-
workbox-core: 7.4.0
5061
+
workbox-core: 7.3.0
5190
5062
5191
-
workbox-recipes@7.4.0:
5063
+
workbox-recipes@7.3.0:
5192
5064
dependencies:
5193
-
workbox-cacheable-response: 7.4.0
5194
-
workbox-core: 7.4.0
5195
-
workbox-expiration: 7.4.0
5196
-
workbox-precaching: 7.4.0(patch_hash=ffcec6cb23aa5ae1a2fe2de772c169a4f653a5ae7dc6b03415109f70d86ed35b)
5197
-
workbox-routing: 7.4.0
5198
-
workbox-strategies: 7.4.0
5065
+
workbox-cacheable-response: 7.3.0
5066
+
workbox-core: 7.3.0
5067
+
workbox-expiration: 7.3.0
5068
+
workbox-precaching: 7.3.0(patch_hash=ffcec6cb23aa5ae1a2fe2de772c169a4f653a5ae7dc6b03415109f70d86ed35b)
5069
+
workbox-routing: 7.3.0
5070
+
workbox-strategies: 7.3.0
5199
5071
5200
-
workbox-routing@7.4.0:
5072
+
workbox-routing@7.3.0:
5201
5073
dependencies:
5202
-
workbox-core: 7.4.0
5074
+
workbox-core: 7.3.0
5203
5075
5204
-
workbox-strategies@7.4.0:
5076
+
workbox-strategies@7.3.0:
5205
5077
dependencies:
5206
-
workbox-core: 7.4.0
5078
+
workbox-core: 7.3.0
5207
5079
5208
-
workbox-streams@7.4.0:
5080
+
workbox-streams@7.3.0:
5209
5081
dependencies:
5210
-
workbox-core: 7.4.0
5211
-
workbox-routing: 7.4.0
5082
+
workbox-core: 7.3.0
5083
+
workbox-routing: 7.3.0
5212
5084
5213
-
workbox-sw@7.4.0: {}
5085
+
workbox-sw@7.3.0: {}
5214
5086
5215
-
workbox-window@7.4.0:
5087
+
workbox-window@7.3.0:
5216
5088
dependencies:
5217
5089
'@types/trusted-types': 2.0.7
5218
-
workbox-core: 7.4.0
5090
+
workbox-core: 7.3.0
5219
5091
5220
-
workerd@1.20251202.0:
5092
+
workerd@1.20250321.0:
5221
5093
optionalDependencies:
5222
-
'@cloudflare/workerd-darwin-64': 1.20251202.0
5223
-
'@cloudflare/workerd-darwin-arm64': 1.20251202.0
5224
-
'@cloudflare/workerd-linux-64': 1.20251202.0
5225
-
'@cloudflare/workerd-linux-arm64': 1.20251202.0
5226
-
'@cloudflare/workerd-windows-64': 1.20251202.0
5094
+
'@cloudflare/workerd-darwin-64': 1.20250321.0
5095
+
'@cloudflare/workerd-darwin-arm64': 1.20250321.0
5096
+
'@cloudflare/workerd-linux-64': 1.20250321.0
5097
+
'@cloudflare/workerd-linux-arm64': 1.20250321.0
5098
+
'@cloudflare/workerd-windows-64': 1.20250321.0
5227
5099
5228
-
wrangler@4.52.1:
5100
+
wrangler@4.6.0:
5229
5101
dependencies:
5230
-
'@cloudflare/kv-asset-handler': 0.4.1
5231
-
'@cloudflare/unenv-preset': 2.7.12(unenv@2.0.0-rc.24)(workerd@1.20251202.0)
5102
+
'@cloudflare/kv-asset-handler': 0.4.0
5103
+
'@cloudflare/unenv-preset': 2.3.1(unenv@2.0.0-rc.15)(workerd@1.20250321.0)
5232
5104
blake3-wasm: 2.1.5
5233
-
esbuild: 0.27.0
5234
-
miniflare: 4.20251202.0
5105
+
esbuild: 0.24.2
5106
+
miniflare: 4.20250321.1
5235
5107
path-to-regexp: 6.3.0
5236
-
unenv: 2.0.0-rc.24
5237
-
workerd: 1.20251202.0
5108
+
unenv: 2.0.0-rc.15
5109
+
workerd: 1.20250321.0
5238
5110
optionalDependencies:
5239
5111
fsevents: 2.3.3
5112
+
sharp: 0.33.5
5240
5113
transitivePeerDependencies:
5241
5114
- bufferutil
5242
5115
- utf-8-validate
···
5249
5122
5250
5123
wrap-ansi@8.1.0:
5251
5124
dependencies:
5252
-
ansi-styles: 6.2.3
5125
+
ansi-styles: 6.2.1
5253
5126
string-width: 5.1.2
5254
-
strip-ansi: 7.1.2
5127
+
strip-ansi: 7.1.0
5128
+
5129
+
wrappy@1.0.2: {}
5255
5130
5256
5131
ws@8.18.0: {}
5257
5132
5258
5133
yallist@3.1.1: {}
5259
5134
5260
-
youch-core@0.3.3:
5261
-
dependencies:
5262
-
'@poppinss/exception': 1.2.2
5263
-
error-stack-parser-es: 1.0.5
5135
+
yaml@2.7.0: {}
5264
5136
5265
-
youch@4.1.0-beta.10:
5137
+
youch@3.2.3:
5266
5138
dependencies:
5267
-
'@poppinss/colors': 4.1.5
5268
-
'@poppinss/dumper': 0.6.5
5269
-
'@speed-highlight/core': 1.2.12
5270
-
cookie: 1.1.1
5271
-
youch-core: 0.3.3
5139
+
cookie: 0.5.0
5140
+
mustache: 4.2.0
5141
+
stacktracey: 2.1.8
5272
5142
5273
5143
zod@3.22.3: {}
+12
public/oauth/client-metadata.json
+12
public/oauth/client-metadata.json
···
1
+
{
2
+
"client_id": "https://aglais.pages.dev/oauth/client-metadata.json",
3
+
"client_uri": "https://aglais.pages.dev",
4
+
"client_name": "Aglais",
5
+
"application_type": "web",
6
+
"scope": "atproto transition:generic transition:chat.bsky",
7
+
"grant_types": ["authorization_code", "refresh_token"],
8
+
"redirect_uris": ["https://aglais.pages.dev/oauth/callback"],
9
+
"response_types": ["code"],
10
+
"token_endpoint_auth_method": "none",
11
+
"dpop_bound_access_tokens": true
12
+
}
-67
scripts/generate-oauth-keys.js
-67
scripts/generate-oauth-keys.js
···
1
-
import * as fs from 'node:fs/promises';
2
-
3
-
import * as v from '@badrap/valita';
4
-
5
-
import * as TID from '@atcute/tid';
6
-
7
-
const jwksSchema = v.object({
8
-
keys: v.array(
9
-
v.object({
10
-
privateKey: v.unknown(),
11
-
publicKey: v.unknown(),
12
-
}),
13
-
),
14
-
});
15
-
16
-
/** @type {v.Infer<typeof jwksSchema> | undefined} */
17
-
let jwks;
18
-
try {
19
-
const raw = await fs.readFile('./oauth-credentials.local.json', 'utf-8');
20
-
const json = JSON.parse(raw);
21
-
22
-
jwks = jwksSchema.parse(json, { mode: 'passthrough' });
23
-
} catch (err) {
24
-
if (err.code !== 'ENOENT') {
25
-
throw err;
26
-
}
27
-
28
-
jwks = {
29
-
keys: [],
30
-
};
31
-
}
32
-
33
-
const { publicKey, privateKey } = await crypto.subtle.generateKey(
34
-
{
35
-
name: 'ECDSA',
36
-
namedCurve: 'P-256',
37
-
},
38
-
true,
39
-
['sign', 'verify'],
40
-
);
41
-
42
-
const kid = `aglais-${TID.now()}`;
43
-
const privateJWK = await crypto.subtle.exportKey('jwk', privateKey);
44
-
const publicJWK = await crypto.subtle.exportKey('jwk', publicKey);
45
-
46
-
jwks = {
47
-
keys: [
48
-
{
49
-
privateKey: {
50
-
...privateJWK,
51
-
kid: kid,
52
-
},
53
-
publicKey: {
54
-
kty: publicJWK.kty,
55
-
crv: publicJWK.crv,
56
-
x: publicJWK.x,
57
-
y: publicJWK.y,
58
-
use: 'sig',
59
-
alg: 'ES256',
60
-
kid: kid,
61
-
},
62
-
},
63
-
...jwks.keys,
64
-
],
65
-
};
66
-
67
-
await fs.writeFile('./oauth-credentials.local.json', JSON.stringify(jwks, null, '\t') + '\n');
-213
server/index.ts
-213
server/index.ts
···
1
-
import { type DidDocument, getAtprotoHandle, getPdsEndpoint } from '@atcute/identity';
2
-
import {
3
-
AmbiguousHandleError,
4
-
CompositeDidDocumentResolver,
5
-
CompositeHandleResolver,
6
-
DidNotFoundError,
7
-
DocumentNotFoundError,
8
-
DohJsonHandleResolver,
9
-
ImproperDidError,
10
-
InvalidResolvedHandleError,
11
-
PlcDidDocumentResolver,
12
-
UnsupportedDidMethodError,
13
-
WebDidDocumentResolver,
14
-
WellKnownHandleResolver,
15
-
} from '@atcute/identity-resolver';
16
-
import { type Did, type Handle, type ResourceUri, isDid } from '@atcute/lexicons/syntax';
17
-
import { AuthRequiredError, InvalidRequestError, XRPCRouter, json } from '@atcute/xrpc-server';
18
-
19
-
import * as jwks from '../oauth-credentials.local.json' with { type: 'json' };
20
-
21
-
import { InvalidDPoPError, createClientAssertion, verifyDPoP } from './jwt';
22
-
import { requestAssertionSchema, resolveIdentitySchema } from './lexicons';
23
-
24
-
const privateKeyId = jwks.keys[0].privateKey.kid;
25
-
const privateKey = await crypto.subtle.importKey(
26
-
'jwk',
27
-
jwks.keys[0].privateKey,
28
-
{ name: 'ECDSA', namedCurve: 'P-256' },
29
-
false,
30
-
['sign'],
31
-
);
32
-
33
-
const handleResolver = new CompositeHandleResolver({
34
-
methods: {
35
-
dns: new DohJsonHandleResolver({ dohUrl: 'https://mozilla.cloudflare-dns.com/dns-query' }),
36
-
http: new WellKnownHandleResolver(),
37
-
},
38
-
});
39
-
40
-
const didDocumentResolver = new CompositeDidDocumentResolver<string>({
41
-
methods: {
42
-
plc: new PlcDidDocumentResolver(),
43
-
web: new WebDidDocumentResolver(),
44
-
},
45
-
});
46
-
47
-
const cache = caches.default;
48
-
const contexts = new WeakMap<Request, ExecutionContext>();
49
-
50
-
const router = new XRPCRouter({
51
-
middlewares: [
52
-
async (request, next) => {
53
-
if (request.method !== 'GET') {
54
-
return await next(request);
55
-
}
56
-
57
-
let response = await cache.match(request);
58
-
if (response === undefined) {
59
-
response = await next(request);
60
-
61
-
if (response.status === 200 && response.headers.has('cache-control')) {
62
-
const ctx = contexts.get(request);
63
-
if (ctx) {
64
-
ctx.waitUntil(cache.put(request, response.clone()));
65
-
} else {
66
-
await cache.put(request, response.clone());
67
-
}
68
-
}
69
-
}
70
-
71
-
return response;
72
-
},
73
-
],
74
-
});
75
-
76
-
router.addProcedure(requestAssertionSchema, {
77
-
async handler({ input: { jkt, aud }, request }) {
78
-
if (request.headers.get('sec-fetch-site') !== 'same-origin') {
79
-
throw new AuthRequiredError({ description: 'invalid origin' });
80
-
}
81
-
82
-
const dpop = request.headers.get('dpop');
83
-
try {
84
-
await verifyDPoP(dpop, jkt);
85
-
} catch (err) {
86
-
if (err instanceof InvalidDPoPError) {
87
-
throw new AuthRequiredError({ description: err.message });
88
-
}
89
-
90
-
throw err;
91
-
}
92
-
93
-
const url = new URL(request.url);
94
-
const assertion = await createClientAssertion({
95
-
privateKey: privateKey,
96
-
97
-
client_id: `https://${url.host}/oauth-client-metadata.json`,
98
-
kid: privateKeyId,
99
-
aud: aud,
100
-
});
101
-
102
-
return json({
103
-
assertion: assertion,
104
-
});
105
-
},
106
-
});
107
-
108
-
router.addQuery(resolveIdentitySchema, {
109
-
async handler({ params: { identifier } }) {
110
-
const identifierIsDid = isDid(identifier);
111
-
112
-
let did: Did;
113
-
if (identifierIsDid) {
114
-
did = identifier;
115
-
} else {
116
-
try {
117
-
did = await handleResolver.resolve(identifier);
118
-
} catch (err) {
119
-
if (err instanceof DidNotFoundError) {
120
-
throw new InvalidRequestError({ description: `no did found under that handle` });
121
-
}
122
-
123
-
if (err instanceof InvalidResolvedHandleError) {
124
-
throw new InvalidRequestError({ description: `did found but is invalid atproto did` });
125
-
}
126
-
127
-
if (err instanceof AmbiguousHandleError) {
128
-
throw new InvalidRequestError({ description: `multiple did found under that handle` });
129
-
}
130
-
131
-
throw err;
132
-
}
133
-
}
134
-
135
-
let doc: DidDocument;
136
-
try {
137
-
doc = await didDocumentResolver.resolve(did);
138
-
} catch (err) {
139
-
if (err instanceof DocumentNotFoundError) {
140
-
throw new InvalidRequestError({ description: `no document found under that did` });
141
-
}
142
-
143
-
if (err instanceof UnsupportedDidMethodError) {
144
-
throw new InvalidRequestError({ description: `unsupported did method` });
145
-
}
146
-
147
-
if (err instanceof ImproperDidError) {
148
-
throw new InvalidRequestError({ description: `invalid did` });
149
-
}
150
-
151
-
throw err;
152
-
}
153
-
154
-
const pds = getPdsEndpoint(doc);
155
-
if (!pds) {
156
-
throw new InvalidRequestError({ description: `missing pds endpoint` });
157
-
}
158
-
159
-
let handle: Handle = 'handle.invalid';
160
-
if (identifierIsDid) {
161
-
const writtenHandle = getAtprotoHandle(doc);
162
-
if (writtenHandle) {
163
-
try {
164
-
const resolved = await handleResolver.resolve(writtenHandle);
165
-
166
-
if (resolved === did) {
167
-
handle = writtenHandle;
168
-
}
169
-
} catch {}
170
-
}
171
-
} else if (getAtprotoHandle(doc) === identifier) {
172
-
handle = identifier;
173
-
}
174
-
175
-
return json({
176
-
did: did,
177
-
handle: handle,
178
-
pds: new URL(pds).href as ResourceUri,
179
-
});
180
-
},
181
-
});
182
-
183
-
export default {
184
-
fetch(request, _env, ctx) {
185
-
const url = new URL(request.url);
186
-
187
-
if (url.pathname === '/oauth-client-metadata.json') {
188
-
return Response.json({
189
-
client_id: `https://${url.host}/oauth-client-metadata.json`,
190
-
client_uri: `https://${url.host}`,
191
-
client_name: import.meta.env.VITE_APP_NAME,
192
-
application_type: 'web',
193
-
scope: 'atproto transition:generic transition:chat.bsky',
194
-
grant_types: ['authorization_code', 'refresh_token'],
195
-
redirect_uris: [`https://${url.host}/oauth/callback`],
196
-
response_types: ['code'],
197
-
token_endpoint_auth_method: 'private_key_jwt',
198
-
token_endpoint_auth_signing_alg: 'ES256',
199
-
jwks_uri: `https://${url.host}/oauth-jwks.json`,
200
-
dpop_bound_access_tokens: true,
201
-
});
202
-
}
203
-
204
-
if (url.pathname === '/oauth-jwks.json') {
205
-
return Response.json({
206
-
keys: jwks.keys.map((key) => key.publicKey),
207
-
});
208
-
}
209
-
210
-
contexts.set(request, ctx);
211
-
return router.fetch(request);
212
-
},
213
-
} satisfies ExportedHandler<Env>;
-206
server/jwt.ts
-206
server/jwt.ts
···
1
-
import * as v from '@badrap/valita';
2
-
3
-
import { fromBase64Url, toBase64Url } from '@atcute/multibase';
4
-
import { decodeUtf8From, encodeUtf8 } from '@atcute/uint8array';
5
-
6
-
export class MalformedJwtError extends Error {
7
-
name = 'MalformedJwtError';
8
-
9
-
constructor(options?: ErrorOptions) {
10
-
super(`malformed JWT`, options);
11
-
}
12
-
}
13
-
14
-
export interface DecodedJwt<THeader, TPayload> {
15
-
header: THeader;
16
-
payload: TPayload;
17
-
message: Uint8Array<ArrayBuffer>;
18
-
signature: Uint8Array<ArrayBuffer>;
19
-
}
20
-
21
-
const decodeJwt = <THeader, TPayload>(
22
-
input: string,
23
-
schemas: { header: v.Type<THeader>; payload: v.Type<TPayload> },
24
-
): DecodedJwt<THeader, TPayload> => {
25
-
const parts = input.split('.');
26
-
if (parts.length !== 3) {
27
-
throw new MalformedJwtError();
28
-
}
29
-
30
-
const [headerString, payloadString, signatureString] = parts;
31
-
32
-
const header = decodeJwtPortion(schemas.header, headerString);
33
-
const payload = decodeJwtPortion(schemas.payload, payloadString);
34
-
const signature = decodeJwtSignature(signatureString);
35
-
36
-
return {
37
-
header: header,
38
-
payload: payload,
39
-
message: encodeUtf8(`${headerString}.${payloadString}`),
40
-
signature: signature,
41
-
};
42
-
};
43
-
44
-
const decodeJwtPortion = <T>(schema: v.Type<T>, input: string): T => {
45
-
try {
46
-
const raw = decodeUtf8From(fromBase64Url(input));
47
-
const json = JSON.parse(raw);
48
-
49
-
return schema.parse(json, { mode: 'passthrough' });
50
-
} catch (err) {
51
-
throw new MalformedJwtError({ cause: err });
52
-
}
53
-
};
54
-
55
-
const decodeJwtSignature = (input: string): Uint8Array<ArrayBuffer> => {
56
-
try {
57
-
return fromBase64Url(input);
58
-
} catch (err) {
59
-
throw new MalformedJwtError({ cause: err });
60
-
}
61
-
};
62
-
63
-
const encodeJwtPortion = (data: unknown): string => {
64
-
return toBase64Url(encodeUtf8(JSON.stringify(data)));
65
-
};
66
-
67
-
const encodeJwtSignature = (data: Uint8Array): string => {
68
-
return toBase64Url(data);
69
-
};
70
-
71
-
// #region DPoP
72
-
export class InvalidDPoPError extends Error {
73
-
name = 'InvalidDPoPError';
74
-
}
75
-
76
-
const dpopHeaderSchema = v.object({
77
-
typ: v.literal('dpop+jwt'),
78
-
alg: v.literal('ES256'),
79
-
jwk: v.object({
80
-
kty: v.literal('EC'),
81
-
crv: v.literal('P-256'),
82
-
x: v.string(),
83
-
y: v.string(),
84
-
}),
85
-
});
86
-
87
-
const dpopPayloadSchema = v.object({
88
-
htm: v.string(),
89
-
htu: v.string(),
90
-
iat: v.number(),
91
-
jti: v.string(),
92
-
});
93
-
94
-
const calculateJwkThumbprint = async (jwk: JsonWebKey): Promise<string> => {
95
-
// For EC keys, thumbprint is SHA-256 of canonical JSON
96
-
// Members must be in lexicographic order
97
-
const canonical = JSON.stringify({
98
-
crv: jwk.crv,
99
-
kty: jwk.kty,
100
-
x: jwk.x,
101
-
y: jwk.y,
102
-
});
103
-
104
-
const hash = await crypto.subtle.digest('SHA-256', encodeUtf8(canonical));
105
-
return toBase64Url(new Uint8Array(hash));
106
-
};
107
-
108
-
export const verifyDPoP = async (dpop: string | null, jkt: string): Promise<void> => {
109
-
if (!dpop) {
110
-
throw new InvalidDPoPError(`missing DPoP header`);
111
-
}
112
-
113
-
// Decode the DPoP JWT
114
-
let decoded;
115
-
try {
116
-
decoded = decodeJwt(dpop, {
117
-
header: dpopHeaderSchema,
118
-
payload: dpopPayloadSchema,
119
-
});
120
-
} catch (err) {
121
-
throw new InvalidDPoPError(`malformed JWT`, { cause: err });
122
-
}
123
-
124
-
const { header, message, signature } = decoded;
125
-
126
-
// Verify JWK thumbprint matches jkt
127
-
const thumbprint = await calculateJwkThumbprint(header.jwk);
128
-
if (thumbprint !== jkt) {
129
-
throw new InvalidDPoPError(`JWK thumbprint mismatch`);
130
-
}
131
-
132
-
// Import the public key for signature verification
133
-
let publicKey: CryptoKey;
134
-
try {
135
-
publicKey = await crypto.subtle.importKey(
136
-
'jwk',
137
-
header.jwk,
138
-
{ name: 'ECDSA', namedCurve: 'P-256' },
139
-
false,
140
-
['verify'],
141
-
);
142
-
} catch (err) {
143
-
throw new InvalidDPoPError(`failed to import JWK`, { cause: err });
144
-
}
145
-
146
-
// Verify the signature
147
-
const isValid = await crypto.subtle.verify(
148
-
{ name: 'ECDSA', hash: 'SHA-256' },
149
-
publicKey,
150
-
signature,
151
-
message,
152
-
);
153
-
154
-
if (!isValid) {
155
-
throw new InvalidDPoPError(`invalid DPoP signature`);
156
-
}
157
-
};
158
-
159
-
// #endregion
160
-
161
-
// #region Client assertions
162
-
163
-
export const createClientAssertion = async (options: {
164
-
kid: string;
165
-
client_id: string;
166
-
aud: string;
167
-
privateKey: CryptoKey;
168
-
}): Promise<string> => {
169
-
const { kid, client_id, aud, privateKey } = options;
170
-
171
-
const now = Math.floor(Date.now() / 1000);
172
-
173
-
const header = {
174
-
alg: 'ES256',
175
-
typ: 'JWT',
176
-
kid: kid,
177
-
};
178
-
179
-
const payload = {
180
-
iss: client_id,
181
-
sub: client_id,
182
-
aud: aud,
183
-
jti: crypto.randomUUID(),
184
-
iat: now,
185
-
exp: now + 60,
186
-
};
187
-
188
-
const message = `${encodeJwtPortion(header)}.${encodeJwtPortion(payload)}`;
189
-
190
-
const signature = encodeJwtSignature(
191
-
new Uint8Array(
192
-
await crypto.subtle.sign(
193
-
{
194
-
name: 'ECDSA',
195
-
hash: 'SHA-256',
196
-
},
197
-
privateKey,
198
-
encodeUtf8(message),
199
-
),
200
-
),
201
-
);
202
-
203
-
return `${message}.${signature}`;
204
-
};
205
-
206
-
// #endregion
-43
server/lexicons.ts
-43
server/lexicons.ts
···
1
-
import type {} from '@atcute/lexicons/ambient';
2
-
import * as v from '@atcute/lexicons/validations';
3
-
4
-
export const requestAssertionSchema = v.procedure('x.aglais.requestAssertion', {
5
-
params: null,
6
-
input: {
7
-
type: 'lex',
8
-
schema: v.object({
9
-
jkt: v.string(),
10
-
aud: v.string(),
11
-
}),
12
-
},
13
-
output: {
14
-
type: 'lex',
15
-
schema: v.object({
16
-
assertion: v.string(),
17
-
}),
18
-
},
19
-
});
20
-
21
-
export const resolveIdentitySchema = v.query('x.aglais.resolveIdentity', {
22
-
params: v.object({
23
-
identifier: v.actorIdentifierString(),
24
-
}),
25
-
output: {
26
-
type: 'lex',
27
-
schema: v.object({
28
-
did: v.didString(),
29
-
handle: v.handleString(),
30
-
pds: v.genericUriString(),
31
-
}),
32
-
},
33
-
});
34
-
35
-
declare module '@atcute/lexicons/ambient' {
36
-
interface XRPCProcedures {
37
-
'x.aglais.requestAssertion': typeof requestAssertionSchema;
38
-
}
39
-
40
-
interface XRPCQueries {
41
-
'x.aglais.resolveIdentity': typeof resolveIdentitySchema;
42
-
}
43
-
}
-9
server/vite-env.d.ts
-9
server/vite-env.d.ts
+1
-1
src/api/cache/post-shadow.ts
+1
-1
src/api/cache/post-shadow.ts
···
1
1
import { type Accessor, batch, createRenderEffect, createSignal, onCleanup } from 'solid-js';
2
2
3
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
3
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
4
4
import { EventEmitter } from '@mary/events';
5
5
import type { QueryClient } from '@mary/solid-query';
6
6
+4
-5
src/api/cache/profile-shadow.ts
+4
-5
src/api/cache/profile-shadow.ts
···
1
1
import { type Accessor, batch, createRenderEffect, createSignal, onCleanup } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import type { Did } from '@atcute/lexicons';
3
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
5
4
import { EventEmitter } from '@mary/events';
6
5
import type { QueryClient } from '@mary/solid-query';
7
6
···
34
33
| AppBskyActorDefs.ProfileViewBasic
35
34
| AppBskyActorDefs.ProfileViewDetailed;
36
35
37
-
const emitter = new EventEmitter<{ [uri: Did]: [] }>();
36
+
const emitter = new EventEmitter<{ [uri: At.DID]: [] }>();
38
37
const shadows = new WeakMap<AllProfileView, ProfileShadow>();
39
38
40
39
export const useProfileShadow = (profile: AccessorMaybe<AllProfileView>): Accessor<ProfileShadowView> => {
···
67
66
};
68
67
};
69
68
70
-
export const updateProfileShadow = (queryClient: QueryClient, did: Did, value: Partial<ProfileShadow>) => {
69
+
export const updateProfileShadow = (queryClient: QueryClient, did: At.DID, value: Partial<ProfileShadow>) => {
71
70
for (const profile of findProfilesInCache(queryClient, did)) {
72
71
shadows.set(profile, { ...shadows.get(profile), ...value });
73
72
}
···
75
74
batch(() => emitter.emit(did));
76
75
};
77
76
78
-
export function findProfilesInCache(queryClient: QueryClient, did: Did): Generator<AllProfileView> {
77
+
export function findProfilesInCache(queryClient: QueryClient, did: At.DID): Generator<AllProfileView> {
79
78
return iterateQueryCache<AllProfileView>(queryClient, [
80
79
findAllProfilesInBookmarkFeed(did),
81
80
findAllProfilesInNotificationFeed(did),
+14
-7
src/api/models/post-thread.tsx
+14
-7
src/api/models/post-thread.tsx
···
1
-
import type { AppBskyFeedDefs, AppBskyFeedGetPostThread, AppBskyFeedPost } from '@atcute/bluesky';
2
-
import type { $type, Did } from '@atcute/lexicons';
1
+
import type {
2
+
AppBskyFeedDefs,
3
+
AppBskyFeedGetPostThread,
4
+
AppBskyFeedPost,
5
+
At,
6
+
Brand,
7
+
} from '@atcute/client/lexicons';
3
8
4
9
import type { ThreadViewPreferences } from '~/lib/preferences/account';
5
10
···
64
69
export interface PostDescendantItem extends BaseDescendant {
65
70
type: 'post';
66
71
post: AppBskyFeedDefs.PostView;
72
+
context: AppBskyFeedDefs.ThreadContext | undefined;
67
73
prev: boolean;
68
74
next: boolean;
69
75
}
···
82
88
83
89
export const fillModerationCache = (
84
90
cache: ThreadModerationCache,
85
-
thread: AppBskyFeedGetPostThread.$output['thread'],
91
+
thread: AppBskyFeedGetPostThread.Output['thread'],
86
92
options: ModerationOptions,
87
93
) => {
88
94
if (thread.$type === 'app.bsky.feed.defs#threadViewPost') {
···
111
117
moderationOptions,
112
118
selfDid,
113
119
}: {
114
-
thread: $type.enforce<AppBskyFeedDefs.ThreadViewPost>;
120
+
thread: Brand.Union<AppBskyFeedDefs.ThreadViewPost>;
115
121
preferences: ThreadViewPreferences;
116
122
moderationOptions: ModerationOptions;
117
-
selfDid?: Did;
123
+
selfDid?: At.DID;
118
124
}): ThreadData => {
119
125
const { followsFirst, sort, treeView } = preferences;
120
126
···
161
167
162
168
if (last && last.type === 'post') {
163
169
const post = last.post;
164
-
const reply = (post.record as AppBskyFeedPost.Main).reply;
170
+
const reply = (post.record as AppBskyFeedPost.Record).reply;
165
171
166
172
if (reply) {
167
173
const uri = reply.parent.uri;
···
200
206
201
207
// Filter the replies to only what we want
202
208
const items = replies.filter(
203
-
(x): x is $type.enforce<AppBskyFeedDefs.ThreadViewPost | AppBskyFeedDefs.BlockedPost> => {
209
+
(x): x is Brand.Union<AppBskyFeedDefs.ThreadViewPost | AppBskyFeedDefs.BlockedPost> => {
204
210
return (
205
211
x.$type === 'app.bsky.feed.defs#threadViewPost' ||
206
212
(x.$type === 'app.bsky.feed.defs#blockedPost' && !x.author.viewer?.blockedBy)
···
324
330
id: post.uri,
325
331
type: 'post',
326
332
post: post,
333
+
context: reply.threadContext,
327
334
prev: depth !== 0,
328
335
next: children.length !== 0,
329
336
lines: nlines,
+1
-1
src/api/models/timeline.ts
+1
-1
src/api/models/timeline.ts
+2
-3
src/api/moderation/entities/generic.ts
+2
-3
src/api/moderation/entities/generic.ts
···
1
-
import type { ComAtprotoLabelDefs } from '@atcute/atproto';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { At, ComAtprotoLabelDefs } from '@atcute/client/lexicons';
3
2
4
3
import { type ModerationCause, type ModerationOptions, decideLabelModeration } from '..';
5
4
import { TargetContent } from '../constants';
6
5
7
6
export const moderateGeneric = (
8
7
item: { labels?: ComAtprotoLabelDefs.Label[] },
9
-
userDid: Did,
8
+
userDid: At.DID,
10
9
opts: ModerationOptions,
11
10
) => {
12
11
const accu: ModerationCause[] = [];
+2
-2
src/api/moderation/entities/post.ts
+2
-2
src/api/moderation/entities/post.ts
···
1
-
import type { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/client/lexicons';
2
2
3
3
import { unwrapPostEmbedText } from '~/api/utils/post';
4
4
···
14
14
15
15
export const moderatePost = (post: AppBskyFeedDefs.PostView, opts: ModerationOptions) => {
16
16
const author = post.author;
17
-
const record = post.record as AppBskyFeedPost.Main;
17
+
const record = post.record as AppBskyFeedPost.Record;
18
18
const text = record.text + unwrapPostEmbedText(record.embed);
19
19
20
20
const accu: ModerationCause[] = moderateProfile(author, opts);
+1
-1
src/api/moderation/entities/profile.ts
+1
-1
src/api/moderation/entities/profile.ts
+2
-2
src/api/moderation/entities/quote.ts
+2
-2
src/api/moderation/entities/quote.ts
···
1
-
import type { AppBskyEmbedRecord, AppBskyFeedPost } from '@atcute/bluesky';
1
+
import type { AppBskyEmbedRecord, AppBskyFeedPost } from '@atcute/client/lexicons';
2
2
3
3
import { unwrapPostEmbedText } from '~/api/utils/post';
4
4
···
14
14
15
15
export const moderateQuote = (quote: AppBskyEmbedRecord.ViewRecord, opts: ModerationOptions) => {
16
16
const author = quote.author;
17
-
const record = quote.value as AppBskyFeedPost.Main;
17
+
const record = quote.value as AppBskyFeedPost.Record;
18
18
const text = record.text + unwrapPostEmbedText(record.embed);
19
19
20
20
const accu: ModerationCause[] = moderateProfile(author, opts);
+6
-7
src/api/moderation/index.ts
+6
-7
src/api/moderation/index.ts
···
1
-
import type { ComAtprotoLabelDefs } from '@atcute/atproto';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { At, ComAtprotoLabelDefs } from '@atcute/client/lexicons';
3
2
4
3
import {
5
4
BlurContent,
···
281
280
282
281
export interface ModerationLabeler {
283
282
/** DID of the labeler */
284
-
did: Did;
283
+
did: At.DID;
285
284
/** Profile details of the labeler */
286
285
profile: {
287
286
avatar?: string;
···
310
309
/** Preferences for global-defined labels */
311
310
labels: LabelPreferenceMapping;
312
311
/** Preferences for labels from subscribed labelers */
313
-
labelers: Record<Did, ModerationLabelerPreferences>;
312
+
labelers: Record<At.DID, ModerationLabelerPreferences>;
314
313
/** Keyword filters */
315
314
keywords: KeywordFilter[];
316
315
317
316
/** List of users to hide reposts from */
318
-
hideReposts: Did[];
317
+
hideReposts: At.DID[];
319
318
}
320
319
321
320
export interface ModerationOptions {
322
321
_filtersCache?: [raw: string, match: RegExp][];
323
322
324
323
preferences: ModerationPreferences;
325
-
labelerDefinitions: Record<Did, ModerationLabeler>;
324
+
labelerDefinitions: Record<At.DID, ModerationLabeler>;
326
325
}
327
326
328
327
export const decideLabelModeration = (
329
328
accu: ModerationCause[],
330
329
target: LabelTarget,
331
330
labels: Label[] | undefined,
332
-
userDid: Did,
331
+
userDid: At.DID,
333
332
opts: ModerationOptions,
334
333
) => {
335
334
if (labels /* && labels.length > 0 */) {
+1
-1
src/api/moderation/labeler.ts
+1
-1
src/api/moderation/labeler.ts
+10
-10
src/api/mutations/post.ts
+10
-10
src/api/mutations/post.ts
···
1
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
2
2
import { useQueryClient } from '@mary/solid-query';
3
3
4
4
import { useAgent } from '~/lib/states/agent';
5
5
import { useSession } from '~/lib/states/session';
6
6
7
7
import { type PostShadowView, updatePostShadow } from '../cache/post-shadow';
8
-
import { assertCanonicalResourceUri } from '../types/at-uri';
8
+
import { parseAtUri } from '../types/at-uri';
9
9
import { getCurrentDate } from '../utils/misc';
10
10
import { createRecord, deleteRecord } from '../utils/records';
11
11
import { createToggleMutationQueue } from '../utils/toggle-mutation';
···
15
15
shadow: () => PostShadowView,
16
16
) => {
17
17
const queryClient = useQueryClient();
18
-
const { client } = useAgent();
18
+
const { rpc } = useAgent();
19
19
const { currentAccount } = useSession();
20
20
21
21
const postUri = post().uri;
···
30
30
return prevLikeUri;
31
31
}
32
32
33
-
const result = await createRecord(client, {
33
+
const result = await createRecord(rpc, {
34
34
repo: currentAccount!.did,
35
35
collection: 'app.bsky.feed.like',
36
36
record: {
···
45
45
46
46
return result.uri;
47
47
} else if (prevLikeUri) {
48
-
const uri = assertCanonicalResourceUri(prevLikeUri);
48
+
const uri = parseAtUri(prevLikeUri);
49
49
50
-
await deleteRecord(client, {
50
+
await deleteRecord(rpc, {
51
51
repo: currentAccount!.did,
52
52
collection: 'app.bsky.feed.like',
53
53
rkey: uri.rkey,
···
74
74
shadow: () => PostShadowView,
75
75
) => {
76
76
const queryClient = useQueryClient();
77
-
const { client } = useAgent();
77
+
const { rpc } = useAgent();
78
78
const { currentAccount } = useSession();
79
79
80
80
const postUri = post().uri;
···
89
89
return prevRepostUri;
90
90
}
91
91
92
-
const result = await createRecord(client, {
92
+
const result = await createRecord(rpc, {
93
93
repo: currentAccount!.did,
94
94
collection: 'app.bsky.feed.repost',
95
95
record: {
···
104
104
105
105
return result.uri;
106
106
} else if (prevRepostUri) {
107
-
const uri = assertCanonicalResourceUri(prevRepostUri);
107
+
const uri = parseAtUri(prevRepostUri);
108
108
109
-
await deleteRecord(client, {
109
+
await deleteRecord(rpc, {
110
110
repo: currentAccount!.did,
111
111
collection: 'app.bsky.feed.repost',
112
112
rkey: uri.rkey,
+6
-6
src/api/mutations/profile.ts
+6
-6
src/api/mutations/profile.ts
···
1
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
1
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
2
2
import { useQueryClient } from '@mary/solid-query';
3
3
4
4
import { useAgent } from '~/lib/states/agent';
5
5
import { useSession } from '~/lib/states/session';
6
6
7
7
import { type ProfileShadowView, updateProfileShadow } from '../cache/profile-shadow';
8
-
import { assertCanonicalResourceUri } from '../types/at-uri';
8
+
import { parseAtUri } from '../types/at-uri';
9
9
import { getCurrentDate } from '../utils/misc';
10
10
import { createRecord, deleteRecord } from '../utils/records';
11
11
import { createToggleMutationQueue } from '../utils/toggle-mutation';
···
15
15
shadow: () => ProfileShadowView,
16
16
) => {
17
17
const queryClient = useQueryClient();
18
-
const { client } = useAgent();
18
+
const { rpc } = useAgent();
19
19
const { currentAccount } = useSession();
20
20
21
21
const did = profile().did;
···
30
30
return prevFollowUri;
31
31
}
32
32
33
-
const result = await createRecord(client, {
33
+
const result = await createRecord(rpc, {
34
34
repo: currentAccount!.did,
35
35
collection: 'app.bsky.graph.follow',
36
36
record: {
···
42
42
43
43
return result.uri;
44
44
} else if (prevFollowUri) {
45
-
const uri = assertCanonicalResourceUri(prevFollowUri);
45
+
const uri = parseAtUri(prevFollowUri);
46
46
47
-
await deleteRecord(client, {
47
+
await deleteRecord(rpc, {
48
48
repo: currentAccount!.did,
49
49
collection: 'app.bsky.graph.follow',
50
50
rkey: uri.rkey,
+4
-9
src/api/queries/blob.ts
+4
-9
src/api/queries/blob.ts
···
1
-
import { type Client, ok } from '@atcute/client';
2
-
import type { Blob as AtpBlob } from '@atcute/lexicons';
1
+
import type { XRPC } from '@atcute/client';
2
+
import type { At } from '@atcute/client/lexicons';
3
3
4
-
export const uploadBlob = async (client: Client, blob: Blob): Promise<AtpBlob<any>> => {
5
-
const data = await ok(
6
-
client.post('com.atproto.repo.uploadBlob', {
7
-
input: blob,
8
-
}),
9
-
);
10
-
4
+
export const uploadBlob = async (rpc: XRPC, blob: Blob): Promise<At.Blob<any>> => {
5
+
const { data } = await rpc.call('com.atproto.repo.uploadBlob', { data: blob });
11
6
return data.blob;
12
7
};
+8
-11
src/api/queries/bookmark-feed.ts
+8
-11
src/api/queries/bookmark-feed.ts
···
1
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
2
1
import { tokenize } from '@atcute/bluesky-search-parser';
3
-
import { ok } from '@atcute/client';
2
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
4
3
import { mapDefined } from '@mary/array-fns';
5
4
import { filter, map, take, toArray } from '@mary/async-iterator-fns';
6
5
import { createInfiniteQuery, createQuery } from '@mary/solid-query';
···
42
41
43
42
export const createBookmarkFeedQuery = (tagId: () => string, search: () => string) => {
44
43
const bookmarks = inject(BookmarksService);
45
-
const { client } = useAgent();
44
+
const { rpc } = useAgent();
46
45
47
46
const listing = createInfiniteQuery(() => {
48
47
const $tagId = tagId();
···
96
95
let map: Map<string, AppBskyFeedDefs.PostView>;
97
96
98
97
try {
99
-
const data = await ok(
100
-
client.get('app.bsky.feed.getPosts', {
101
-
signal: ctx.signal,
102
-
params: {
103
-
uris: raws.map((item) => item.view.uri),
104
-
},
105
-
}),
106
-
);
98
+
const { data } = await rpc.get('app.bsky.feed.getPosts', {
99
+
signal: ctx.signal,
100
+
params: {
101
+
uris: raws.map((item) => item.view.uri),
102
+
},
103
+
});
107
104
108
105
map = new Map(data.posts.map((view) => [view.uri, view]));
109
106
} catch {}
+2
-3
src/api/queries/composer.ts
+2
-3
src/api/queries/composer.ts
···
1
-
import type { GenericUri } from '@atcute/lexicons';
2
1
import { createQuery } from '@mary/solid-query';
3
2
4
3
const LINK_PROXY_ENDPOINT = 'https://cardyb.bsky.app/v1/extract';
···
13
12
}
14
13
15
14
export interface LinkMeta {
16
-
uri: GenericUri;
15
+
uri: string;
17
16
title: string;
18
17
description: string;
19
18
thumb: Blob | undefined;
···
57
56
}
58
57
59
58
const meta: LinkMeta = {
60
-
uri: $uri as GenericUri,
59
+
uri: $uri,
61
60
title: data.title,
62
61
description: data.description,
63
62
thumb: thumb,
+13
-17
src/api/queries/feed.ts
+13
-17
src/api/queries/feed.ts
···
1
1
import { modifyMutable, reconcile } from 'solid-js/store';
2
2
3
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
4
-
import { ok } from '@atcute/client';
5
-
import { type Did } from '@atcute/lexicons';
6
-
import { isDid } from '@atcute/lexicons/syntax';
3
+
import type { AppBskyFeedDefs, At } from '@atcute/client/lexicons';
7
4
import { createQuery } from '@mary/solid-query';
8
5
9
6
import type { SavedGeneratorFeed } from '~/lib/preferences/account';
···
11
8
import { useSession } from '~/lib/states/session';
12
9
import { omit } from '~/lib/utils/misc';
13
10
14
-
import { assertCanonicalResourceUri, makeAtUri } from '../types/at-uri';
11
+
import { makeAtUri, parseAtUri } from '../types/at-uri';
12
+
import { isDid } from '../types/identity';
15
13
16
14
import { resolveHandle } from './handle';
17
15
18
16
export const createFeedMetaQuery = (feedUri: () => string) => {
19
-
const { client } = useAgent();
17
+
const { rpc } = useAgent();
20
18
const { currentAccount } = useSession();
21
19
22
20
return createQuery((queryClient) => {
···
25
23
return {
26
24
queryKey: ['feed-meta', $feedUri],
27
25
async queryFn(ctx): Promise<AppBskyFeedDefs.GeneratorView> {
28
-
const uri = assertCanonicalResourceUri($feedUri);
26
+
const uri = parseAtUri($feedUri);
29
27
30
-
let did: Did;
28
+
let did: At.DID;
31
29
if (isDid(uri.repo)) {
32
30
did = uri.repo;
33
31
} else {
34
-
did = await resolveHandle(client, uri.repo, ctx.signal);
32
+
did = await resolveHandle(rpc, uri.repo, ctx.signal);
35
33
}
36
34
37
-
const data = await ok(
38
-
client.get('app.bsky.feed.getFeedGenerator', {
39
-
signal: ctx.signal,
40
-
params: {
41
-
feed: makeAtUri(did, uri.collection, uri.rkey),
42
-
},
43
-
}),
44
-
);
35
+
const { data } = await rpc.get('app.bsky.feed.getFeedGenerator', {
36
+
signal: ctx.signal,
37
+
params: {
38
+
feed: makeAtUri(did, uri.collection, uri.rkey),
39
+
},
40
+
});
45
41
46
42
if (currentAccount) {
47
43
const found = currentAccount.preferences.feeds.find((item): item is SavedGeneratorFeed => {
+11
-14
src/api/queries/handle.ts
+11
-14
src/api/queries/handle.ts
···
1
-
import { type Client, ok } from '@atcute/client';
2
-
import type { Handle } from '@atcute/lexicons';
1
+
import { XRPC } from '@atcute/client';
3
2
import { createQuery } from '@mary/solid-query';
4
3
5
4
import { useAgent } from '~/lib/states/agent';
6
5
7
-
export const useResolveHandleQuery = (handle: () => Handle) => {
8
-
const { client } = useAgent();
6
+
export const useResolveHandleQuery = (handle: () => string) => {
7
+
const { rpc } = useAgent();
9
8
10
9
return createQuery(() => {
11
10
const $handle = handle();
···
13
12
return {
14
13
queryKey: ['resolve-handle', $handle],
15
14
async queryFn(ctx) {
16
-
return resolveHandle(client, $handle, ctx.signal);
15
+
return resolveHandle(rpc, $handle, ctx.signal);
17
16
},
18
17
};
19
18
});
20
19
};
21
20
22
-
export const resolveHandle = async (client: Client, handle: Handle, signal?: AbortSignal) => {
23
-
const data = await ok(
24
-
client.get('com.atproto.identity.resolveHandle', {
25
-
signal: signal,
26
-
params: {
27
-
handle: handle,
28
-
},
29
-
}),
30
-
);
21
+
export const resolveHandle = async (rpc: XRPC, handle: string, signal?: AbortSignal) => {
22
+
const { data } = await rpc.get('com.atproto.identity.resolveHandle', {
23
+
signal: signal,
24
+
params: {
25
+
handle: handle,
26
+
},
27
+
});
31
28
32
29
return data.did;
33
30
};
+14
-17
src/api/queries/labeler.ts
+14
-17
src/api/queries/labeler.ts
···
1
-
import type { AppBskyLabelerDefs } from '@atcute/bluesky';
2
-
import { ClientResponseError, ok } from '@atcute/client';
3
-
import type { Did } from '@atcute/lexicons';
1
+
import { XRPCError } from '@atcute/client';
2
+
import type { AppBskyLabelerDefs, At } from '@atcute/client/lexicons';
4
3
import { createQuery } from '@mary/solid-query';
5
4
6
5
import { useAgent } from '~/lib/states/agent';
7
6
8
7
import { interpretLabelerDefinition } from '../moderation/labeler';
9
8
10
-
export const createLabelerMetaQuery = (did: () => Did) => {
11
-
const { client } = useAgent();
9
+
export const createLabelerMetaQuery = (did: () => At.DID) => {
10
+
const { rpc } = useAgent();
12
11
13
12
const query = createQuery(() => {
14
13
const $did = did();
···
16
15
return {
17
16
queryKey: ['labeler-definition', $did],
18
17
async queryFn(ctx) {
19
-
const data = await ok(
20
-
client.get('app.bsky.labeler.getServices', {
21
-
signal: ctx.signal,
22
-
params: {
23
-
dids: [$did],
24
-
detailed: true,
25
-
},
26
-
}),
27
-
);
18
+
const { data } = await rpc.get('app.bsky.labeler.getServices', {
19
+
signal: ctx.signal,
20
+
params: {
21
+
dids: [$did],
22
+
detailed: true,
23
+
},
24
+
});
28
25
29
26
const service = data.views[0] as AppBskyLabelerDefs.LabelerViewDetailed;
30
27
31
28
if (!service) {
32
-
throw new ClientResponseError({
33
-
status: 400,
34
-
data: { error: `NotFound`, message: `Labeler not found: ${$did}` },
29
+
throw new XRPCError(400, {
30
+
kind: 'NotFound',
31
+
description: `Labeler not found: ${$did}`,
35
32
});
36
33
}
37
34
+10
-14
src/api/queries/list-members.ts
+10
-14
src/api/queries/list-members.ts
···
1
-
import { ok } from '@atcute/client';
2
-
import type { ResourceUri } from '@atcute/lexicons';
3
1
import { type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
4
2
5
3
import { useAgent } from '~/lib/states/agent';
6
4
7
-
export const createListMembersQuery = (listUri: () => ResourceUri) => {
8
-
const { client } = useAgent();
5
+
export const createListMembersQuery = (listUri: () => string) => {
6
+
const { rpc } = useAgent();
9
7
10
8
return createInfiniteQuery(() => {
11
9
const $listUri = listUri();
···
13
11
return {
14
12
queryKey: ['list-members', $listUri],
15
13
async queryFn(ctx: QC<never, string | undefined>) {
16
-
const data = await ok(
17
-
client.get('app.bsky.graph.getList', {
18
-
signal: ctx.signal,
19
-
params: {
20
-
list: $listUri,
21
-
limit: 50,
22
-
cursor: ctx.pageParam,
23
-
},
24
-
}),
25
-
);
14
+
const { data } = await rpc.get('app.bsky.graph.getList', {
15
+
signal: ctx.signal,
16
+
params: {
17
+
list: $listUri,
18
+
limit: 50,
19
+
cursor: ctx.pageParam,
20
+
},
21
+
});
26
22
27
23
return {
28
24
cursor: data.cursor,
+14
-18
src/api/queries/list.ts
+14
-18
src/api/queries/list.ts
···
1
1
import { modifyMutable, reconcile } from 'solid-js/store';
2
2
3
-
import type { AppBskyGraphDefs } from '@atcute/bluesky';
4
-
import { ok } from '@atcute/client';
5
-
import { type Did } from '@atcute/lexicons';
6
-
import { isDid } from '@atcute/lexicons/syntax';
3
+
import type { AppBskyGraphDefs, At } from '@atcute/client/lexicons';
7
4
import { createQuery } from '@mary/solid-query';
8
5
9
6
import type { SavedListFeed } from '~/lib/preferences/account';
···
11
8
import { useSession } from '~/lib/states/session';
12
9
import { omit } from '~/lib/utils/misc';
13
10
14
-
import { assertCanonicalResourceUri, makeAtUri } from '../types/at-uri';
11
+
import { makeAtUri, parseAtUri } from '../types/at-uri';
12
+
import { isDid } from '../types/identity';
15
13
16
14
import { resolveHandle } from './handle';
17
15
18
16
export const createListMetaQuery = (listUri: () => string) => {
19
-
const { client } = useAgent();
17
+
const { rpc } = useAgent();
20
18
const { currentAccount } = useSession();
21
19
22
20
return createQuery((queryClient) => {
···
25
23
return {
26
24
queryKey: ['list-meta', $listUri],
27
25
async queryFn(ctx) {
28
-
const uri = assertCanonicalResourceUri($listUri);
26
+
const uri = parseAtUri($listUri);
29
27
30
-
let did: Did;
28
+
let did: At.DID;
31
29
if (isDid(uri.repo)) {
32
30
did = uri.repo;
33
31
} else {
34
-
did = await resolveHandle(client, uri.repo, ctx.signal);
32
+
did = await resolveHandle(rpc, uri.repo, ctx.signal);
35
33
}
36
34
37
-
const data = await ok(
38
-
client.get('app.bsky.graph.getList', {
39
-
signal: ctx.signal,
40
-
params: {
41
-
list: makeAtUri(did, uri.collection, uri.rkey),
42
-
limit: 1,
43
-
},
44
-
}),
45
-
);
35
+
const { data } = await rpc.get('app.bsky.graph.getList', {
36
+
signal: ctx.signal,
37
+
params: {
38
+
list: makeAtUri(did, uri.collection, uri.rkey),
39
+
limit: 1,
40
+
},
41
+
});
46
42
47
43
if (currentAccount) {
48
44
const found = currentAccount.preferences.feeds.find((item): item is SavedListFeed => {
+24
-31
src/api/queries/my-lists.ts
+24
-31
src/api/queries/my-lists.ts
···
1
-
import type { AppBskyGraphDefs } from '@atcute/bluesky';
2
-
import { ok } from '@atcute/client';
1
+
import type { AppBskyGraphDefs } from '@atcute/client/lexicons';
3
2
import { createQuery } from '@mary/solid-query';
4
3
5
4
import { useAgent } from '~/lib/states/agent';
···
8
7
export type MyListsFilter = 'all' | 'curation' | 'moderation' | 'all-including-subscribed';
9
8
10
9
export const createMyListsQuery = (filter: MyListsFilter) => {
11
-
const { client } = useAgent();
10
+
const { rpc } = useAgent();
12
11
const { currentAccount } = useSession();
13
12
14
13
return createQuery(() => ({
···
16
15
async queryFn({ signal }) {
17
16
const promises = [
18
17
accumulate(async (cursor) => {
19
-
const data = await ok(
20
-
client.get('app.bsky.graph.getLists', {
21
-
signal,
22
-
params: {
23
-
actor: currentAccount!.did,
24
-
cursor,
25
-
limit: 100,
26
-
},
27
-
}),
28
-
);
18
+
const { data } = await rpc.get('app.bsky.graph.getLists', {
19
+
signal,
20
+
params: {
21
+
actor: currentAccount!.did,
22
+
cursor,
23
+
limit: 100,
24
+
},
25
+
});
29
26
30
27
return {
31
28
cursor: data.cursor,
···
37
34
if (filter === 'all-including-subscribed' || filter === 'moderation') {
38
35
promises.push(
39
36
accumulate(async (cursor) => {
40
-
const data = await ok(
41
-
client.get('app.bsky.graph.getListMutes', {
42
-
signal,
43
-
params: {
44
-
cursor,
45
-
limit: 100,
46
-
},
47
-
}),
48
-
);
37
+
const { data } = await rpc.get('app.bsky.graph.getListMutes', {
38
+
signal,
39
+
params: {
40
+
cursor,
41
+
limit: 100,
42
+
},
43
+
});
49
44
50
45
return {
51
46
cursor: data.cursor,
···
56
51
57
52
promises.push(
58
53
accumulate(async (cursor) => {
59
-
const data = await ok(
60
-
client.get('app.bsky.graph.getListBlocks', {
61
-
signal,
62
-
params: {
63
-
cursor,
64
-
limit: 100,
65
-
},
66
-
}),
67
-
);
54
+
const { data } = await rpc.get('app.bsky.graph.getListBlocks', {
55
+
signal,
56
+
params: {
57
+
cursor,
58
+
limit: 100,
59
+
},
60
+
});
68
61
69
62
return {
70
63
cursor: data.cursor,
+4
-7
src/api/queries/notification-count.tsx
+4
-7
src/api/queries/notification-count.tsx
···
1
-
import { ok } from '@atcute/client';
2
1
import { createQuery } from '@mary/solid-query';
3
2
4
3
import { useAgent } from '~/lib/states/agent';
···
6
5
7
6
export const createNotificationCountQuery = (options?: { readonly disabled?: boolean }) => {
8
7
const { currentAccount } = useSession();
9
-
const { client } = useAgent();
8
+
const { rpc } = useAgent();
10
9
11
10
const query = createQuery(() => ({
12
11
queryKey: ['notification', 'count'],
13
12
enabled: currentAccount !== undefined && !options?.disabled,
14
13
async queryFn() {
15
-
const data = await ok(
16
-
client.get('app.bsky.notification.getUnreadCount', {
17
-
params: {},
18
-
}),
19
-
);
14
+
const { data } = await rpc.get('app.bsky.notification.getUnreadCount', {
15
+
params: {},
16
+
});
20
17
21
18
return data;
22
19
},
+22
-33
src/api/queries/notification-feed.tsx
+22
-33
src/api/queries/notification-feed.tsx
···
1
1
import { createSignal } from 'solid-js';
2
2
3
-
import type { AppBskyFeedDefs, AppBskyNotificationListNotifications } from '@atcute/bluesky';
4
-
import { ok } from '@atcute/client';
3
+
import type { AppBskyFeedDefs, AppBskyNotificationListNotifications } from '@atcute/client/lexicons';
5
4
import { chunked, mapDefined } from '@mary/array-fns';
6
5
import { type QueryFunctionContext as QC, createInfiniteQuery, useQueryClient } from '@mary/solid-query';
7
6
8
7
import { useAgent } from '~/lib/states/agent';
9
8
10
-
import { assertCanonicalResourceUri } from '../types/at-uri';
9
+
import { parseAtUri } from '../types/at-uri';
11
10
import { dequal } from '../utils/dequal';
12
11
import { resetInfiniteData } from '../utils/query';
13
12
···
85
84
export type NotificationsFilter = 'all' | 'mentions';
86
85
87
86
export const createNotificationFeedQuery = (filter: () => NotificationsFilter) => {
88
-
const { client } = useAgent();
87
+
const { rpc } = useAgent();
89
88
const queryClient = useQueryClient();
90
89
91
90
const [firstFetchedAt, setFirstFetchedAt] = createSignal(0);
···
105
104
reasons = ['mention', 'reply', 'quote'];
106
105
}
107
106
108
-
const data = await ok(
109
-
client.get('app.bsky.notification.listNotifications', {
110
-
signal: signal,
111
-
params: {
112
-
limit: 40,
113
-
reasons: reasons,
114
-
cursor: pageParam?.cursor,
115
-
},
116
-
}),
117
-
);
107
+
const { data } = await rpc.get('app.bsky.notification.listNotifications', {
108
+
signal: signal,
109
+
params: {
110
+
limit: 40,
111
+
reasons: reasons,
112
+
cursor: pageParam?.cursor,
113
+
},
114
+
});
118
115
119
116
const notifs = data.notifications;
120
117
const firstSeenAt = pageParam?.seenAt;
···
132
129
const subjectUri = item.reasonSubject;
133
130
134
131
// skip if they're not related to posts.
135
-
if (
136
-
!subjectUri ||
137
-
assertCanonicalResourceUri(subjectUri).collection !== 'app.bsky.feed.post'
138
-
) {
132
+
if (!subjectUri || parseAtUri(subjectUri).collection !== 'app.bsky.feed.post') {
139
133
return;
140
134
}
141
135
···
148
142
149
143
const chunkedPosts = await Promise.all(
150
144
chunked(Array.from(postUris), 25).map(async (uris) => {
151
-
const data = await ok(
152
-
client.get('app.bsky.feed.getPosts', {
153
-
params: {
154
-
uris: uris,
155
-
},
156
-
}),
157
-
);
145
+
const { data } = await rpc.get('app.bsky.feed.getPosts', {
146
+
params: {
147
+
uris: uris,
148
+
},
149
+
});
158
150
159
151
return data.posts;
160
152
}),
···
246
238
const indexedAt = new Date(notifs[0]?.indexedAt ?? 0).getTime();
247
239
const seenAt = Math.max(now, indexedAt);
248
240
249
-
const promise = ok(
250
-
client.post('app.bsky.notification.updateSeen', {
251
-
as: null,
252
-
input: {
253
-
seenAt: new Date(seenAt).toISOString(),
254
-
},
255
-
}),
256
-
);
241
+
const promise = rpc.call('app.bsky.notification.updateSeen', {
242
+
data: {
243
+
seenAt: new Date(seenAt).toISOString(),
244
+
},
245
+
});
257
246
258
247
queryClient.cancelQueries({
259
248
exact: true,
+12
-16
src/api/queries/post-quotes.ts
+12
-16
src/api/queries/post-quotes.ts
···
1
-
import type { AppBskyFeedGetQuotes } from '@atcute/bluesky';
2
-
import { ok } from '@atcute/client';
3
-
import type { ResourceUri } from '@atcute/lexicons';
1
+
import type { AppBskyFeedGetQuotes } from '@atcute/client/lexicons';
4
2
import { type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
5
3
6
4
import { useAgent } from '~/lib/states/agent';
7
5
8
-
export const createPostQuotesQuery = (uri: () => ResourceUri) => {
9
-
const { client } = useAgent();
6
+
export const createPostQuotesQuery = (uri: () => string) => {
7
+
const { rpc } = useAgent();
10
8
11
9
return createInfiniteQuery(() => {
12
10
const $uri = uri();
···
14
12
return {
15
13
queryKey: ['post-quotes', $uri],
16
14
structuralSharing: false,
17
-
async queryFn(ctx: QC<never, string | undefined>): Promise<AppBskyFeedGetQuotes.$output> {
18
-
const data = await ok(
19
-
client.get('app.bsky.feed.getQuotes', {
20
-
signal: ctx.signal,
21
-
params: {
22
-
uri: $uri,
23
-
limit: 50,
24
-
cursor: ctx.pageParam,
25
-
},
26
-
}),
27
-
);
15
+
async queryFn(ctx: QC<never, string | undefined>): Promise<AppBskyFeedGetQuotes.Output> {
16
+
const { data } = await rpc.get('app.bsky.feed.getQuotes', {
17
+
signal: ctx.signal,
18
+
params: {
19
+
uri: $uri,
20
+
limit: 50,
21
+
cursor: ctx.pageParam,
22
+
},
23
+
});
28
24
29
25
return data;
30
26
},
+17
-23
src/api/queries/post-thread.ts
+17
-23
src/api/queries/post-thread.ts
···
1
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
2
-
import { ClientResponseError, ok } from '@atcute/client';
3
-
import type { $type, ResourceUri } from '@atcute/lexicons';
1
+
import { XRPCError } from '@atcute/client';
2
+
import type { AppBskyFeedDefs, Brand } from '@atcute/client/lexicons';
4
3
import { createQuery } from '@mary/solid-query';
5
4
6
5
import { useAgent } from '~/lib/states/agent';
···
10
9
const MAX_HEIGHT = 10;
11
10
const MAX_DEPTH = 4;
12
11
13
-
type ThreadReturn = $type.enforce<AppBskyFeedDefs.ThreadViewPost | AppBskyFeedDefs.BlockedPost>;
12
+
type ThreadReturn = Brand.Union<AppBskyFeedDefs.ThreadViewPost | AppBskyFeedDefs.BlockedPost>;
14
13
15
-
export const usePostThreadQuery = (uri: () => ResourceUri) => {
16
-
const { client } = useAgent();
14
+
export const usePostThreadQuery = (uri: () => string) => {
15
+
const { rpc } = useAgent();
17
16
18
17
return createQuery((queryClient) => {
19
18
const $uri = uri();
···
22
21
queryKey: ['post-thread', $uri],
23
22
structuralSharing: false,
24
23
async queryFn(ctx): Promise<ThreadReturn> {
25
-
const data = await ok(
26
-
client.get('app.bsky.feed.getPostThread', {
27
-
signal: ctx.signal,
28
-
params: {
29
-
uri: $uri,
30
-
depth: MAX_DEPTH,
31
-
parentHeight: MAX_HEIGHT,
32
-
},
33
-
}),
34
-
);
24
+
const { data } = await rpc.get('app.bsky.feed.getPostThread', {
25
+
signal: ctx.signal,
26
+
params: {
27
+
uri: $uri,
28
+
depth: MAX_DEPTH,
29
+
parentHeight: MAX_HEIGHT,
30
+
},
31
+
});
35
32
36
33
const thread = data.thread;
37
34
38
35
if (thread.$type === 'app.bsky.feed.defs#notFoundPost') {
39
-
throw new ClientResponseError({
40
-
status: 400,
41
-
data: {
42
-
error: `NotFound`,
43
-
message: `Post not found: ${$uri}`,
44
-
},
36
+
throw new XRPCError(400, {
37
+
kind: 'NotFound',
38
+
description: `Post not found: ${$uri}`,
45
39
});
46
40
}
47
41
···
57
51
// Break if either:
58
52
// - This isn't a quote embed transformed into a post view
59
53
// - We've went through 10 post views
60
-
if (!('$transform' in post) || ++step >= 10) {
54
+
if (!('$transform' in found) || ++step >= 10) {
61
55
break;
62
56
}
63
57
}
+13
-16
src/api/queries/post.ts
+13
-16
src/api/queries/post.ts
···
1
-
import { ok } from '@atcute/client';
2
-
import { type Did } from '@atcute/lexicons';
3
-
import { isDid } from '@atcute/lexicons/syntax';
1
+
import type { At } from '@atcute/client/lexicons';
4
2
import { createQuery } from '@mary/solid-query';
5
3
6
4
import { useAgent } from '~/lib/states/agent';
7
5
8
6
import { findPostsInCache } from '../cache/post-shadow';
9
-
import { assertCanonicalResourceUri, makeAtUri } from '../types/at-uri';
7
+
import { makeAtUri, parseAtUri } from '../types/at-uri';
8
+
import { isDid } from '../types/identity';
10
9
11
10
import { resolveHandle } from './handle';
12
11
13
12
export const createPostQuery = (postUri: () => string) => {
14
-
const { client } = useAgent();
13
+
const { rpc } = useAgent();
15
14
16
15
return createQuery((queryClient) => {
17
16
const $postUri = postUri();
···
19
18
return {
20
19
queryKey: ['post', $postUri],
21
20
async queryFn(ctx) {
22
-
const uri = assertCanonicalResourceUri($postUri);
21
+
const uri = parseAtUri($postUri);
23
22
24
-
let did: Did;
23
+
let did: At.DID;
25
24
if (isDid(uri.repo)) {
26
25
did = uri.repo;
27
26
} else {
28
-
did = await resolveHandle(client, uri.repo, ctx.signal);
27
+
did = await resolveHandle(rpc, uri.repo, ctx.signal);
29
28
}
30
29
31
-
const data = await ok(
32
-
client.get('app.bsky.feed.getPosts', {
33
-
signal: ctx.signal,
34
-
params: {
35
-
uris: [makeAtUri(did, uri.collection, uri.rkey)],
36
-
},
37
-
}),
38
-
);
30
+
const { data } = await rpc.get('app.bsky.feed.getPosts', {
31
+
signal: ctx.signal,
32
+
params: {
33
+
uris: [makeAtUri(did, uri.collection, uri.rkey)],
34
+
},
35
+
});
39
36
40
37
const post = data.posts[0];
41
38
+8
-11
src/api/queries/profile-autocomplete.ts
+8
-11
src/api/queries/profile-autocomplete.ts
···
1
-
import { ok } from '@atcute/client';
2
1
import { createQuery, keepPreviousData } from '@mary/solid-query';
3
2
4
3
import { useAgent } from '~/lib/states/agent';
···
11
10
query: () => string,
12
11
opts?: ProfileAutocompleteQueryOptions,
13
12
) => {
14
-
const { client } = useAgent();
13
+
const { rpc } = useAgent();
15
14
16
15
return createQuery(() => {
17
16
const $query = query();
···
27
26
enabled: isEnabled,
28
27
placeholderData: isEnabled ? keepPreviousData : undefined,
29
28
async queryFn({ signal }) {
30
-
const data = await ok(
31
-
client.get('app.bsky.actor.searchActorsTypeahead', {
32
-
signal,
33
-
params: {
34
-
q: trimmed,
35
-
limit: 10,
36
-
},
37
-
}),
38
-
);
29
+
const { data } = await rpc.get('app.bsky.actor.searchActorsTypeahead', {
30
+
signal,
31
+
params: {
32
+
q: trimmed,
33
+
limit: 10,
34
+
},
35
+
});
39
36
40
37
return data;
41
38
},
+10
-14
src/api/queries/profile-feeds.ts
+10
-14
src/api/queries/profile-feeds.ts
···
1
-
import { ok } from '@atcute/client';
2
-
import type { ActorIdentifier } from '@atcute/lexicons';
3
1
import { type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
4
2
5
3
import { useAgent } from '~/lib/states/agent';
6
4
7
-
export const createProfileFeedsQuery = (didOrHandle: () => ActorIdentifier) => {
8
-
const { client } = useAgent();
5
+
export const createProfileFeedsQuery = (didOrHandle: () => string) => {
6
+
const { rpc } = useAgent();
9
7
10
8
return createInfiniteQuery(() => {
11
9
const $didOrHandle = didOrHandle();
···
13
11
return {
14
12
queryKey: ['profile-feeds', $didOrHandle],
15
13
async queryFn(ctx: QC<never, string | undefined>) {
16
-
const data = await ok(
17
-
client.get('app.bsky.feed.getActorFeeds', {
18
-
signal: ctx.signal,
19
-
params: {
20
-
actor: $didOrHandle,
21
-
limit: 100,
22
-
cursor: ctx.pageParam,
23
-
},
24
-
}),
25
-
);
14
+
const { data } = await rpc.get('app.bsky.feed.getActorFeeds', {
15
+
signal: ctx.signal,
16
+
params: {
17
+
actor: $didOrHandle,
18
+
limit: 100,
19
+
cursor: ctx.pageParam,
20
+
},
21
+
});
26
22
27
23
data.feeds.sort((a, b) => (b.likeCount ?? 0) - (a.likeCount ?? 0));
28
24
return data;
+11
-15
src/api/queries/profile-followers.ts
+11
-15
src/api/queries/profile-followers.ts
···
1
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
2
-
import { ok } from '@atcute/client';
3
-
import type { ActorIdentifier } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
4
2
import { type InfiniteData, type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
5
3
6
4
import { useAgent } from '~/lib/states/agent';
7
5
8
6
import { type ProfilesListWithSubjectPage, toProfilesListWithSubjectPage } from '../types/profile-response';
9
7
10
-
export const createProfileFollowersQuery = (didOrHandle: () => ActorIdentifier) => {
11
-
const { client } = useAgent();
8
+
export const createProfileFollowersQuery = (didOrHandle: () => string) => {
9
+
const { rpc } = useAgent();
12
10
13
11
return createInfiniteQuery((queryClient) => {
14
12
const $didOrHandle = didOrHandle();
···
16
14
return {
17
15
queryKey: ['profile-followers', $didOrHandle],
18
16
async queryFn(ctx: QC<never, string | undefined>): Promise<ProfilesListWithSubjectPage> {
19
-
const data = await ok(
20
-
client.get('app.bsky.graph.getFollowers', {
21
-
signal: ctx.signal,
22
-
params: {
23
-
actor: $didOrHandle,
24
-
limit: 50,
25
-
cursor: ctx.pageParam,
26
-
},
27
-
}),
28
-
);
17
+
const { data } = await rpc.get('app.bsky.graph.getFollowers', {
18
+
signal: ctx.signal,
19
+
params: {
20
+
actor: $didOrHandle,
21
+
limit: 50,
22
+
cursor: ctx.pageParam,
23
+
},
24
+
});
29
25
30
26
return toProfilesListWithSubjectPage(data, 'followers');
31
27
},
+11
-15
src/api/queries/profile-following.ts
+11
-15
src/api/queries/profile-following.ts
···
1
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
2
-
import { ok } from '@atcute/client';
3
-
import type { ActorIdentifier } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
4
2
import { type InfiniteData, type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
5
3
6
4
import { useAgent } from '~/lib/states/agent';
7
5
8
6
import { type ProfilesListWithSubjectPage, toProfilesListWithSubjectPage } from '../types/profile-response';
9
7
10
-
export const createProfileFollowingQuery = (didOrHandle: () => ActorIdentifier) => {
11
-
const { client } = useAgent();
8
+
export const createProfileFollowingQuery = (didOrHandle: () => string) => {
9
+
const { rpc } = useAgent();
12
10
13
11
return createInfiniteQuery((queryClient) => {
14
12
const $didOrHandle = didOrHandle();
···
16
14
return {
17
15
queryKey: ['profile-following', $didOrHandle],
18
16
async queryFn(ctx: QC<never, string | undefined>): Promise<ProfilesListWithSubjectPage> {
19
-
const data = await ok(
20
-
client.get('app.bsky.graph.getFollows', {
21
-
signal: ctx.signal,
22
-
params: {
23
-
actor: $didOrHandle,
24
-
limit: 50,
25
-
cursor: ctx.pageParam,
26
-
},
27
-
}),
28
-
);
17
+
const { data } = await rpc.get('app.bsky.graph.getFollows', {
18
+
signal: ctx.signal,
19
+
params: {
20
+
actor: $didOrHandle,
21
+
limit: 50,
22
+
cursor: ctx.pageParam,
23
+
},
24
+
});
29
25
30
26
return toProfilesListWithSubjectPage(data, 'follows');
31
27
},
+11
-15
src/api/queries/profile-known-followers.ts
+11
-15
src/api/queries/profile-known-followers.ts
···
1
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
2
-
import { ok } from '@atcute/client';
3
-
import type { ActorIdentifier } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
4
2
import { type InfiniteData, type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
5
3
6
4
import { useAgent } from '~/lib/states/agent';
7
5
8
6
import { type ProfilesListWithSubjectPage, toProfilesListWithSubjectPage } from '../types/profile-response';
9
7
10
-
export const createProfileKnownFollowersQuery = (didOrHandle: () => ActorIdentifier) => {
11
-
const { client } = useAgent();
8
+
export const createProfileKnownFollowersQuery = (didOrHandle: () => string) => {
9
+
const { rpc } = useAgent();
12
10
13
11
return createInfiniteQuery((queryClient) => {
14
12
const $didOrHandle = didOrHandle();
···
16
14
return {
17
15
queryKey: ['profile-known-followers', $didOrHandle],
18
16
async queryFn(ctx: QC<never, string | undefined>): Promise<ProfilesListWithSubjectPage> {
19
-
const data = await ok(
20
-
client.get('app.bsky.graph.getKnownFollowers', {
21
-
signal: ctx.signal,
22
-
params: {
23
-
actor: $didOrHandle,
24
-
limit: 50,
25
-
cursor: ctx.pageParam,
26
-
},
27
-
}),
28
-
);
17
+
const { data } = await rpc.get('app.bsky.graph.getKnownFollowers', {
18
+
signal: ctx.signal,
19
+
params: {
20
+
actor: $didOrHandle,
21
+
limit: 50,
22
+
cursor: ctx.pageParam,
23
+
},
24
+
});
29
25
30
26
return toProfilesListWithSubjectPage(data, 'followers');
31
27
},
+10
-14
src/api/queries/profile-lists.ts
+10
-14
src/api/queries/profile-lists.ts
···
1
-
import { ok } from '@atcute/client';
2
-
import type { ActorIdentifier } from '@atcute/lexicons';
3
1
import { type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
4
2
5
3
import { useAgent } from '~/lib/states/agent';
6
4
7
-
export const createProfileListsQuery = (didOrHandle: () => ActorIdentifier) => {
8
-
const { client } = useAgent();
5
+
export const createProfileListsQuery = (didOrHandle: () => string) => {
6
+
const { rpc } = useAgent();
9
7
10
8
const collator = new Intl.Collator('en-US');
11
9
···
15
13
return {
16
14
queryKey: ['profile-lists', $didOrHandle],
17
15
async queryFn(ctx: QC<never, string | undefined>) {
18
-
const data = await ok(
19
-
client.get('app.bsky.graph.getLists', {
20
-
signal: ctx.signal,
21
-
params: {
22
-
actor: $didOrHandle,
23
-
limit: 100,
24
-
cursor: ctx.pageParam,
25
-
},
26
-
}),
27
-
);
16
+
const { data } = await rpc.get('app.bsky.graph.getLists', {
17
+
signal: ctx.signal,
18
+
params: {
19
+
actor: $didOrHandle,
20
+
limit: 100,
21
+
cursor: ctx.pageParam,
22
+
},
23
+
});
28
24
29
25
data.lists.sort((a, b) => collator.compare(a.name, b.name));
30
26
return data;
+19
-50
src/api/queries/profile.ts
+19
-50
src/api/queries/profile.ts
···
1
1
import { modifyMutable, reconcile } from 'solid-js/store';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import { ok } from '@atcute/client';
5
-
import type { ActorIdentifier, Did } from '@atcute/lexicons';
6
-
import { isDid } from '@atcute/lexicons/syntax';
7
-
import { createBatchedFetch } from '@mary/batch-fetch';
3
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
8
4
import { createQuery } from '@mary/solid-query';
9
5
10
6
import { useAgent } from '~/lib/states/agent';
11
7
import { useSession } from '~/lib/states/session';
12
-
import { define, inject } from '~/lib/states/singleton';
13
8
9
+
import { findProfilesInCache } from '../cache/profile-shadow';
14
10
import { dequal } from '../utils/dequal';
15
11
16
12
export interface ProfileQueryOptions {
17
-
batched?: boolean;
18
13
staleTime?: number;
19
14
gcTime?: number;
20
15
}
21
16
22
-
const BatchedProfileService = define('batched-profile', () => {
23
-
const { client } = useAgent();
24
-
25
-
const fetch = createBatchedFetch<Did, AppBskyActorDefs.ProfileViewDetailed>({
26
-
limit: 25,
27
-
idFromResource: (profile) => profile.did,
28
-
async fetch(queries, signal) {
29
-
const data = await ok(
30
-
client.get('app.bsky.actor.getProfiles', {
31
-
signal,
32
-
params: {
33
-
actors: queries,
34
-
},
35
-
}),
36
-
);
37
-
38
-
return data.profiles;
39
-
},
40
-
});
41
-
42
-
return { fetch };
43
-
});
44
-
45
-
export const createProfileQuery = (didOrHandle: () => ActorIdentifier, opts: ProfileQueryOptions = {}) => {
46
-
const { client } = useAgent();
17
+
export const createProfileQuery = (didOrHandle: () => string, opts: ProfileQueryOptions = {}) => {
18
+
const { rpc } = useAgent();
47
19
const { currentAccount } = useSession();
48
-
49
-
const batched = inject(BatchedProfileService);
50
20
51
21
return createQuery((queryClient) => {
52
22
const $didOrHandle = didOrHandle();
···
55
25
queryKey: ['profile', $didOrHandle],
56
26
staleTime: opts.staleTime,
57
27
gcTime: opts.gcTime,
58
-
async queryFn({ signal }): Promise<AppBskyActorDefs.ProfileViewDetailed> {
59
-
let data: AppBskyActorDefs.ProfileViewDetailed;
60
-
61
-
if (opts.batched && isDid($didOrHandle)) {
62
-
data = await batched.fetch($didOrHandle, signal);
63
-
} else {
64
-
data = await ok(
65
-
client.get('app.bsky.actor.getProfile', {
66
-
signal,
67
-
params: {
68
-
actor: $didOrHandle!,
69
-
},
70
-
}),
71
-
);
72
-
}
28
+
async queryFn(ctx): Promise<AppBskyActorDefs.ProfileViewDetailed> {
29
+
const { data } = await rpc.get('app.bsky.actor.getProfile', {
30
+
signal: ctx.signal,
31
+
params: {
32
+
actor: $didOrHandle!,
33
+
},
34
+
});
73
35
74
36
if (currentAccount !== undefined && currentAccount.did === data.did) {
75
37
// Unset `knownFollowers` as we don't need that on our own profile.
···
89
51
return data;
90
52
},
91
53
placeholderData(): AppBskyActorDefs.ProfileViewDetailed | undefined {
92
-
return queryClient.getQueryData(['profile-precache', $didOrHandle]);
54
+
const precache = queryClient.getQueryData(['profile-precache', $didOrHandle]);
55
+
if (precache) {
56
+
return precache as any;
57
+
}
58
+
59
+
for (const profile of findProfilesInCache(queryClient, $didOrHandle as At.DID)) {
60
+
return profile as any;
61
+
}
93
62
},
94
63
initialData(): AppBskyActorDefs.ProfileViewDetailed | undefined {
95
64
if (currentAccount !== undefined && currentAccount.did === $didOrHandle) {
+11
-14
src/api/queries/search-feeds.ts
+11
-14
src/api/queries/search-feeds.ts
···
1
-
import type { AppBskyUnspeccedGetPopularFeedGenerators } from '@atcute/bluesky';
2
-
import { ok } from '@atcute/client';
1
+
import type { AppBskyUnspeccedGetPopularFeedGenerators } from '@atcute/client/lexicons';
3
2
import { type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
4
3
5
4
import { useAgent } from '~/lib/states/agent';
6
5
7
6
export const createSearchFeedsQuery = (query: () => string) => {
8
-
const { client } = useAgent();
7
+
const { rpc } = useAgent();
9
8
10
9
return createInfiniteQuery(() => {
11
10
const q = query();
···
14
13
queryKey: ['search-feeds', q],
15
14
async queryFn(
16
15
ctx: QC<never, string | undefined>,
17
-
): Promise<AppBskyUnspeccedGetPopularFeedGenerators.$output> {
18
-
const data = await ok(
19
-
client.get('app.bsky.unspecced.getPopularFeedGenerators', {
20
-
signal: ctx.signal,
21
-
params: {
22
-
query: q,
23
-
limit: 50,
24
-
cursor: ctx.pageParam,
25
-
},
26
-
}),
27
-
);
16
+
): Promise<AppBskyUnspeccedGetPopularFeedGenerators.Output> {
17
+
const { data } = await rpc.get('app.bsky.unspecced.getPopularFeedGenerators', {
18
+
signal: ctx.signal,
19
+
params: {
20
+
query: q,
21
+
limit: 50,
22
+
cursor: ctx.pageParam,
23
+
},
24
+
});
28
25
29
26
return data;
30
27
},
+9
-12
src/api/queries/search-profiles.ts
+9
-12
src/api/queries/search-profiles.ts
···
1
-
import { ok } from '@atcute/client';
2
1
import { type QueryFunctionContext as QC, createInfiniteQuery } from '@mary/solid-query';
3
2
4
3
import { useAgent } from '~/lib/states/agent';
···
6
5
import { type ProfilesListPage, toProfilesListPage } from '../types/profile-response';
7
6
8
7
export const createSearchProfilesQuery = (query: () => string) => {
9
-
const { client } = useAgent();
8
+
const { rpc } = useAgent();
10
9
11
10
return createInfiniteQuery(() => {
12
11
const q = query();
···
14
13
return {
15
14
queryKey: ['search-profiles', q],
16
15
async queryFn(ctx: QC<never, string | undefined>): Promise<ProfilesListPage> {
17
-
const data = await ok(
18
-
client.get('app.bsky.actor.searchActors', {
19
-
signal: ctx.signal,
20
-
params: {
21
-
q: q,
22
-
limit: 50,
23
-
cursor: ctx.pageParam,
24
-
},
25
-
}),
26
-
);
16
+
const { data } = await rpc.get('app.bsky.actor.searchActors', {
17
+
signal: ctx.signal,
18
+
params: {
19
+
q: q,
20
+
limit: 50,
21
+
cursor: ctx.pageParam,
22
+
},
23
+
});
27
24
28
25
return toProfilesListPage(data, 'actors');
29
26
},
+10
-14
src/api/queries/subject-likers.ts
+10
-14
src/api/queries/subject-likers.ts
···
1
-
import { ok } from '@atcute/client';
2
-
import type { ResourceUri } from '@atcute/lexicons';
3
1
import type { QueryFunctionContext as QC } from '@mary/solid-query';
4
2
import { createInfiniteQuery } from '@mary/solid-query';
5
3
···
7
5
8
6
import type { ProfilesListPage } from '../types/profile-response';
9
7
10
-
export const createSubjectLikersQuery = (uri: () => ResourceUri) => {
11
-
const { client } = useAgent();
8
+
export const createSubjectLikersQuery = (uri: () => string) => {
9
+
const { rpc } = useAgent();
12
10
13
11
return createInfiniteQuery(() => {
14
12
const $uri = uri();
···
17
15
queryKey: ['subject-likers', $uri],
18
16
structuralSharing: false,
19
17
async queryFn(ctx: QC<never, string | undefined>): Promise<ProfilesListPage> {
20
-
const data = await ok(
21
-
client.get('app.bsky.feed.getLikes', {
22
-
signal: ctx.signal,
23
-
params: {
24
-
uri: $uri,
25
-
limit: 50,
26
-
cursor: ctx.pageParam,
27
-
},
28
-
}),
29
-
);
18
+
const { data } = await rpc.get('app.bsky.feed.getLikes', {
19
+
signal: ctx.signal,
20
+
params: {
21
+
uri: $uri,
22
+
limit: 50,
23
+
cursor: ctx.pageParam,
24
+
},
25
+
});
30
26
31
27
return {
32
28
cursor: data.cursor,
+10
-14
src/api/queries/subject-reposters.ts
+10
-14
src/api/queries/subject-reposters.ts
···
1
-
import { ok } from '@atcute/client';
2
-
import type { ResourceUri } from '@atcute/lexicons';
3
1
import type { QueryFunctionContext as QC } from '@mary/solid-query';
4
2
import { createInfiniteQuery } from '@mary/solid-query';
5
3
···
7
5
8
6
import { type ProfilesListPage, toProfilesListPage } from '../types/profile-response';
9
7
10
-
export const createSubjectRepostersQuery = (uri: () => ResourceUri) => {
11
-
const { client } = useAgent();
8
+
export const createSubjectRepostersQuery = (uri: () => string) => {
9
+
const { rpc } = useAgent();
12
10
13
11
return createInfiniteQuery(() => {
14
12
const $uri = uri();
···
17
15
queryKey: ['subject-reposters', $uri],
18
16
structuralSharing: false,
19
17
async queryFn(ctx: QC<never, string | undefined>): Promise<ProfilesListPage> {
20
-
const data = await ok(
21
-
client.get('app.bsky.feed.getRepostedBy', {
22
-
signal: ctx.signal,
23
-
params: {
24
-
uri: $uri,
25
-
limit: 50,
26
-
cursor: ctx.pageParam,
27
-
},
28
-
}),
29
-
);
18
+
const { data } = await rpc.get('app.bsky.feed.getRepostedBy', {
19
+
signal: ctx.signal,
20
+
params: {
21
+
uri: $uri,
22
+
limit: 50,
23
+
cursor: ctx.pageParam,
24
+
},
25
+
});
30
26
31
27
return toProfilesListPage(data, 'repostedBy');
32
28
},
+82
-98
src/api/queries/timeline.ts
+82
-98
src/api/queries/timeline.ts
···
1
1
import { createEffect, createMemo, createRenderEffect, onCleanup, untrack } from 'solid-js';
2
2
3
-
import {
4
-
type AppBskyFeedDefs,
5
-
type AppBskyFeedGetTimeline,
6
-
type AppBskyFeedPost,
7
-
unwrapRawRecordEmbed,
8
-
unwrapRecordEmbed,
9
-
} from '@atcute/bluesky';
10
-
import { type Client, ok } from '@atcute/client';
11
-
import { type Did, type ResourceUri } from '@atcute/lexicons';
3
+
import type { XRPC } from '@atcute/client';
4
+
import type { AppBskyFeedDefs, AppBskyFeedGetTimeline, AppBskyFeedPost, At } from '@atcute/client/lexicons';
12
5
import { type FalsyValue, definite } from '@mary/array-fns';
13
6
import { type InfiniteData, createInfiniteQuery, createQuery, useQueryClient } from '@mary/solid-query';
14
7
···
38
31
getModerationUI,
39
32
} from '../moderation';
40
33
import { ContextContentList, PreferenceHide, TargetContent } from '../moderation/constants';
41
-
import { assertCanonicalResourceUri } from '../types/at-uri';
34
+
import { parseAtUri } from '../types/at-uri';
35
+
import { unwrapRecordEmbed } from '../utils/bluesky/embed';
36
+
import { unwrapRecordEmbedView } from '../utils/bluesky/embed-view';
42
37
import { EQUALS_DEQUAL } from '../utils/dequal';
43
38
import { unwrapPostEmbedText } from '../utils/post';
44
39
import { resetInfiniteData, wrapQuery } from '../utils/query';
45
40
46
-
type PostRecord = AppBskyFeedPost.Main;
41
+
type PostRecord = AppBskyFeedPost.Record;
47
42
48
43
export interface FollowingTimelineParams {
49
44
type: 'following';
···
54
49
55
50
export interface FeedTimelineParams {
56
51
type: 'feed';
57
-
uri: ResourceUri;
52
+
uri: string;
58
53
showReplies: boolean;
59
54
showReposts: boolean;
60
55
showQuotes: boolean;
···
62
57
63
58
export interface ListTimelineParams {
64
59
type: 'list';
65
-
uri: ResourceUri;
60
+
uri: string;
66
61
showReplies: boolean;
67
62
showQuotes: boolean;
68
63
}
69
64
70
65
export interface ProfileTimelineParams {
71
66
type: 'profile';
72
-
actor: Did;
67
+
actor: At.DID;
73
68
tab: 'posts' | 'replies' | 'likes' | 'media';
74
69
}
75
70
···
131
126
export const useTimelineQuery = (_params: () => TimelineParams) => {
132
127
const getParams = createMemo(() => _params(), EQUALS_DEQUAL);
133
128
134
-
const { client } = useAgent();
129
+
const { rpc } = useAgent();
135
130
const { currentAccount } = useSession();
136
131
const queryClient = useQueryClient();
137
132
···
200
195
postFilter = createLabelPostFilter(moderation);
201
196
}
202
197
203
-
const timeline = await fetchPage(client, params, limit, cursor, ctx.signal);
198
+
const timeline = await fetchPage(rpc, params, limit, cursor, ctx.signal);
204
199
205
200
const feed = timeline.feed;
206
201
const newCursor = timeline.cursor;
···
243
238
// const offset = params.type !== 'profile' ? timelineData!.pages[0].pinAmount : 0;
244
239
const offset = timelineData!.pages[0].pinAmount;
245
240
246
-
const timeline = await fetchPage(client, params, offset + 1, undefined, ctx.signal);
241
+
const timeline = await fetchPage(rpc, params, offset + 1, undefined, ctx.signal);
247
242
const feed = timeline.feed;
248
243
249
244
return { hash: getTimelineHash(feed) };
···
313
308
314
309
//// Raw fetch
315
310
const fetchPage = async (
316
-
client: Client,
311
+
rpc: XRPC,
317
312
params: TimelineParams,
318
313
limit: number,
319
314
cursor: string | undefined,
320
315
signal: AbortSignal,
321
-
): Promise<AppBskyFeedGetTimeline.$output> => {
316
+
): Promise<AppBskyFeedGetTimeline.Output> => {
322
317
const type = params.type;
323
318
324
319
if (type === 'following') {
325
-
const data = await ok(
326
-
client.get('app.bsky.feed.getTimeline', {
327
-
signal: signal,
328
-
params: {
329
-
algorithm: 'reverse-chronological',
330
-
cursor: cursor,
331
-
limit: limit,
332
-
},
333
-
}),
334
-
);
320
+
const response = await rpc.get('app.bsky.feed.getTimeline', {
321
+
signal: signal,
322
+
params: {
323
+
algorithm: 'reverse-chronological',
324
+
cursor: cursor,
325
+
limit: limit,
326
+
},
327
+
});
335
328
336
-
return data;
329
+
return response.data;
337
330
} else if (type === 'feed') {
338
-
const data = await ok(
339
-
client.get('app.bsky.feed.getFeed', {
340
-
signal: signal,
341
-
headers: {
342
-
'accent-language': navigator.languages.join(','),
343
-
},
344
-
params: {
345
-
feed: params.uri,
346
-
cursor: cursor,
347
-
limit: limit,
348
-
},
349
-
}),
350
-
);
331
+
const response = await rpc.get('app.bsky.feed.getFeed', {
332
+
signal: signal,
333
+
headers: {
334
+
'accent-language': navigator.languages.join(','),
335
+
},
336
+
params: {
337
+
feed: params.uri,
338
+
cursor: cursor,
339
+
limit: limit,
340
+
},
341
+
});
342
+
343
+
const data = response.data;
351
344
352
345
return {
353
346
// Discover feed, wooo.
···
355
348
feed: data.feed,
356
349
};
357
350
} else if (type === 'list') {
358
-
const data = await ok(
359
-
client.get('app.bsky.feed.getListFeed', {
351
+
const response = await rpc.get('app.bsky.feed.getListFeed', {
352
+
signal: signal,
353
+
params: {
354
+
list: params.uri,
355
+
cursor: cursor,
356
+
limit: limit,
357
+
},
358
+
});
359
+
360
+
return response.data;
361
+
} else if (type === 'profile') {
362
+
if (params.tab === 'likes') {
363
+
const response = await rpc.get('app.bsky.feed.getActorLikes', {
360
364
signal: signal,
361
365
params: {
362
-
list: params.uri,
366
+
actor: params.actor,
363
367
cursor: cursor,
364
368
limit: limit,
365
369
},
366
-
}),
367
-
);
370
+
});
368
371
369
-
return data;
370
-
} else if (type === 'profile') {
371
-
if (params.tab === 'likes') {
372
-
const data = await ok(
373
-
client.get('app.bsky.feed.getActorLikes', {
374
-
signal: signal,
375
-
params: {
376
-
actor: params.actor,
377
-
cursor: cursor,
378
-
limit: limit,
379
-
},
380
-
}),
381
-
);
382
-
383
-
return data;
372
+
return response.data;
384
373
} else {
385
-
const data = await ok(
386
-
client.get('app.bsky.feed.getAuthorFeed', {
387
-
signal: signal,
388
-
params: {
389
-
actor: params.actor,
390
-
cursor: cursor,
391
-
limit: limit,
392
-
includePins: params.tab !== 'media',
393
-
filter:
394
-
params.tab === 'media'
395
-
? 'posts_with_media'
396
-
: params.tab === 'replies'
397
-
? 'posts_with_replies'
398
-
: 'posts_and_author_threads',
399
-
},
400
-
}),
401
-
);
402
-
403
-
return data;
404
-
}
405
-
} else if (type === 'search') {
406
-
const data = await ok(
407
-
client.get('app.bsky.feed.searchPosts', {
374
+
const response = await rpc.get('app.bsky.feed.getAuthorFeed', {
408
375
signal: signal,
409
376
params: {
410
-
sort: params.sort,
411
-
q: params.query,
377
+
actor: params.actor,
412
378
cursor: cursor,
413
379
limit: limit,
380
+
includePins: params.tab !== 'media',
381
+
filter:
382
+
params.tab === 'media'
383
+
? 'posts_with_media'
384
+
: params.tab === 'replies'
385
+
? 'posts_with_replies'
386
+
: 'posts_and_author_threads',
414
387
},
415
-
}),
416
-
);
388
+
});
389
+
390
+
return response.data;
391
+
}
392
+
} else if (type === 'search') {
393
+
const response = await rpc.get('app.bsky.feed.searchPosts', {
394
+
signal: signal,
395
+
params: {
396
+
sort: params.sort,
397
+
q: params.query,
398
+
cursor: cursor,
399
+
limit: limit,
400
+
},
401
+
});
402
+
403
+
const data = response.data;
417
404
418
405
return { cursor: data.cursor, feed: data.posts.map((view) => ({ post: view })) };
419
406
} else {
···
537
524
const createHideQuotesFilter = (): PostFilter => {
538
525
return (item) => {
539
526
const post = item.post.record as PostRecord;
540
-
const record = unwrapRawRecordEmbed(post.embed);
527
+
const record = unwrapRecordEmbed(post.embed);
541
528
542
-
return (
543
-
record === undefined ||
544
-
assertCanonicalResourceUri(record.record.uri).collection === 'app.bsky.feed.post'
545
-
);
529
+
return record === undefined || parseAtUri(record.record.uri).collection === 'app.bsky.feed.post';
546
530
};
547
531
};
548
532
549
533
const createHideQuotesFromMutedFilter = (): PostFilter => {
550
534
return (item) => {
551
535
const post = item.post;
552
-
const record = unwrapRecordEmbed(post.embed);
536
+
const record = unwrapRecordEmbedView(post.embed);
553
537
554
538
return (
555
539
record === undefined ||
···
591
575
};
592
576
};
593
577
594
-
const createHomeSliceFilter = (uid: Did, followsOnly: boolean): SliceFilter | undefined => {
578
+
const createHomeSliceFilter = (uid: At.DID, followsOnly: boolean): SliceFilter | undefined => {
595
579
return (slice) => {
596
580
const items = slice.items;
597
581
const first = items[0];
···
623
607
};
624
608
};
625
609
626
-
const createProfileSliceFilter = (did: Did): SliceFilter | undefined => {
610
+
const createProfileSliceFilter = (did: At.DID): SliceFilter | undefined => {
627
611
return (slice) => {
628
612
const items = slice.items;
629
613
const first = items[0];
+2
-3
src/api/queries-cache/bookmark-feed.ts
+2
-3
src/api/queries-cache/bookmark-feed.ts
···
1
-
import type { AppBskyActorDefs, AppBskyFeedDefs } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, AppBskyFeedDefs, At } from '@atcute/client/lexicons';
3
2
import type { InfiniteData } from '@mary/solid-query';
4
3
5
4
import type { CacheMatcher } from '../cache/utils';
···
36
35
};
37
36
};
38
37
39
-
export const findAllProfiles = (did: Did): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
38
+
export const findAllProfiles = (did: At.DID): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
40
39
return {
41
40
filter: {
42
41
queryKey: ['bookmarks-feed'],
+1
-1
src/api/queries-cache/feed-precache.ts
+1
-1
src/api/queries-cache/feed-precache.ts
+1
-1
src/api/queries-cache/list-precache.ts
+1
-1
src/api/queries-cache/list-precache.ts
+2
-3
src/api/queries-cache/notification-feed.ts
+2
-3
src/api/queries-cache/notification-feed.ts
···
1
-
import type { AppBskyActorDefs, AppBskyFeedDefs } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, AppBskyFeedDefs, At } from '@atcute/client/lexicons';
3
2
import type { InfiniteData } from '@mary/solid-query';
4
3
5
4
import type { CacheMatcher } from '../cache/utils';
···
39
38
};
40
39
41
40
export const findAllProfiles = (
42
-
did: Did,
41
+
did: At.DID,
43
42
): CacheMatcher<AppBskyActorDefs.ProfileViewBasic | AppBskyActorDefs.ProfileView> => {
44
43
return {
45
44
filter: {
+2
-2
src/api/queries-cache/post-quotes.ts
+2
-2
src/api/queries-cache/post-quotes.ts
···
1
-
import type { AppBskyFeedDefs, AppBskyFeedGetQuotes } from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs, AppBskyFeedGetQuotes } from '@atcute/client/lexicons';
2
2
import type { InfiniteData } from '@mary/solid-query';
3
3
4
4
import type { CacheMatcher } from '../cache/utils';
···
9
9
filter: {
10
10
queryKey: ['post-quotes'],
11
11
},
12
-
*iterate(data: InfiniteData<AppBskyFeedGetQuotes.$output>) {
12
+
*iterate(data: InfiniteData<AppBskyFeedGetQuotes.Output>) {
13
13
for (const page of data.pages) {
14
14
for (const post of page.posts) {
15
15
if (post.uri === uri) {
+12
-8
src/api/queries-cache/post-thread.ts
+12
-8
src/api/queries-cache/post-thread.ts
···
1
-
import type { AppBskyActorDefs, AppBskyFeedDefs, AppBskyFeedGetPostThread } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type {
2
+
AppBskyActorDefs,
3
+
AppBskyFeedDefs,
4
+
AppBskyFeedGetPostThread,
5
+
At,
6
+
} from '@atcute/client/lexicons';
3
7
4
8
import type { CacheMatcher } from '../cache/utils';
5
9
import { embedViewRecordToPostView, getEmbeddedPost } from '../utils/post';
6
10
7
-
type Thread = AppBskyFeedGetPostThread.$output['thread'];
8
-
9
-
function* traverseThread(node: Thread): Generator<AppBskyFeedDefs.ThreadViewPost> {
11
+
function* traverseThread(
12
+
node: AppBskyFeedGetPostThread.Output['thread'],
13
+
): Generator<AppBskyFeedDefs.ThreadViewPost> {
10
14
if (node.$type === 'app.bsky.feed.defs#threadViewPost') {
11
15
const parent = node.parent;
12
16
const replies = node.replies;
···
31
35
filter: {
32
36
queryKey: ['post-thread'],
33
37
},
34
-
*iterate(data: Thread) {
38
+
*iterate(data: AppBskyFeedGetPostThread.Output['thread']) {
35
39
for (const thread of traverseThread(data)) {
36
40
const post = thread.post;
37
41
···
50
54
};
51
55
};
52
56
53
-
export const findAllProfiles = (did: Did): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
57
+
export const findAllProfiles = (did: At.DID): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
54
58
return {
55
59
filter: {
56
60
queryKey: ['post-thread'],
57
61
},
58
-
*iterate(data: Thread) {
62
+
*iterate(data: AppBskyFeedGetPostThread.Output['thread']) {
59
63
for (const thread of traverseThread(data)) {
60
64
const post = thread.post;
61
65
+3
-4
src/api/queries-cache/profile-autocomplete.ts
+3
-4
src/api/queries-cache/profile-autocomplete.ts
···
1
-
import type { AppBskyActorDefs, AppBskyActorSearchActorsTypeahead } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, AppBskyActorSearchActorsTypeahead, At } from '@atcute/client/lexicons';
3
2
4
3
import type { CacheMatcher } from '../cache/utils';
5
4
6
-
export const findAllProfiles = (did: Did): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
5
+
export const findAllProfiles = (did: At.DID): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
7
6
return {
8
7
filter: {
9
8
queryKey: ['profile-autocomplete'],
10
9
},
11
-
*iterate(data: AppBskyActorSearchActorsTypeahead.$output) {
10
+
*iterate(data: AppBskyActorSearchActorsTypeahead.Output) {
12
11
for (const profile of data.actors) {
13
12
if (profile.did === did) {
14
13
yield profile;
+2
-3
src/api/queries-cache/profile-list.ts
+2
-3
src/api/queries-cache/profile-list.ts
···
1
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
3
2
import type { InfiniteData } from '@mary/solid-query';
4
3
5
4
import type { CacheMatcher } from '../cache/utils';
6
5
import type { ProfilesListPage, ProfilesListWithSubjectPage } from '../types/profile-response';
7
6
8
-
export const findAllProfiles = (did: Did): CacheMatcher<AppBskyActorDefs.ProfileView> => {
7
+
export const findAllProfiles = (did: At.DID): CacheMatcher<AppBskyActorDefs.ProfileView> => {
9
8
return {
10
9
filter: [
11
10
{ queryKey: ['profile-followers'] },
+1
-1
src/api/queries-cache/profile-precache.ts
+1
-1
src/api/queries-cache/profile-precache.ts
+2
-3
src/api/queries-cache/profile.ts
+2
-3
src/api/queries-cache/profile.ts
···
1
-
import { AppBskyActorDefs } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
3
2
4
3
import type { CacheMatcher } from '../cache/utils';
5
4
6
-
export const findAllProfiles = (did: Did): CacheMatcher<AppBskyActorDefs.ProfileViewDetailed> => {
5
+
export const findAllProfiles = (did: At.DID): CacheMatcher<AppBskyActorDefs.ProfileViewDetailed> => {
7
6
return {
8
7
filter: {
9
8
queryKey: ['profile', did],
+2
-3
src/api/queries-cache/timeline.ts
+2
-3
src/api/queries-cache/timeline.ts
···
1
-
import type { AppBskyActorDefs, AppBskyFeedDefs } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, AppBskyFeedDefs, At } from '@atcute/client/lexicons';
3
2
import type { InfiniteData } from '@mary/solid-query';
4
3
5
4
import type { CacheMatcher } from '../cache/utils';
···
64
63
};
65
64
};
66
65
67
-
export const findAllProfiles = (did: Did): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
66
+
export const findAllProfiles = (did: At.DID): CacheMatcher<AppBskyActorDefs.ProfileViewBasic> => {
68
67
return {
69
68
filter: {
70
69
queryKey: ['timeline'],
+21
-21
src/api/types/at-uri.ts
+21
-21
src/api/types/at-uri.ts
···
1
-
import {
2
-
type ActorIdentifier,
3
-
type Nsid,
4
-
type ParsedCanonicalResourceUri,
5
-
type RecordKey,
6
-
type ResourceUri,
7
-
parseCanonicalResourceUri,
8
-
} from '@atcute/lexicons';
9
-
import type { Records } from '@atcute/lexicons/ambient';
1
+
import type { At, Records } from '@atcute/client/lexicons';
10
2
11
3
import { assert } from '~/lib/utils/invariant';
12
4
13
-
// #__NO_SIDE_EFFECTS__
14
-
export const assertCanonicalResourceUri = (input: string): ParsedCanonicalResourceUri => {
15
-
const result = parseCanonicalResourceUri(input);
16
-
if (!result.ok) {
17
-
assert(false, result.error);
18
-
}
5
+
export const ATURI_RE =
6
+
/^at:\/\/(did:[a-z]+:[a-zA-Z0-9._:%\-]*[a-zA-Z0-9._\-]|(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])\/([a-zA-Z0-9-.]+)\/((?!\.{1,2}$)[a-zA-Z0-9_~.:-]{1,512})(?:#(\/[a-zA-Z0-9._~:@!$&%')(*+,;=\-[\]/\\]*))?$/;
19
7
20
-
return result.value;
8
+
export interface ParsedAtUri {
9
+
repo: string;
10
+
collection: string;
11
+
rkey: string;
12
+
fragment: string | undefined;
13
+
}
14
+
15
+
export const parseAtUri = (str: string): ParsedAtUri => {
16
+
const match = ATURI_RE.exec(str);
17
+
assert(match !== null, `failed to parse at-uri for ${str}`);
18
+
19
+
return {
20
+
repo: match[1] as At.DID,
21
+
collection: match[2],
22
+
rkey: match[3],
23
+
fragment: match[4],
24
+
};
21
25
};
22
26
23
-
export const makeAtUri = (
24
-
repo: ActorIdentifier,
25
-
collection: keyof Records | (Nsid & {}),
26
-
rkey: RecordKey,
27
-
): ResourceUri => {
27
+
export const makeAtUri = (repo: string, collection: keyof Records | (string & {}), rkey: string) => {
28
28
return `at://${repo}/${collection}/${rkey}`;
29
29
};
+34
src/api/types/identity.ts
+34
src/api/types/identity.ts
···
1
+
export type Handle = `${string}.${string}`;
2
+
3
+
export const HANDLE_RE =
4
+
/^(?=.{4,253}$)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+([a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/;
5
+
6
+
export const isHandle = (input: string): input is Handle => {
7
+
return input.length >= 3 && input.length <= 253 && HANDLE_RE.test(input);
8
+
};
9
+
10
+
export type Did<TMethod extends string = string> = `did:${TMethod}:${string}`;
11
+
export type AtprotoDid = Did<'plc' | 'web'>;
12
+
13
+
export const DID_RE = /^(?=.{7,2048}$)did:([a-z]+):([a-zA-Z0-9._:%\-]*[a-zA-Z0-9._\-])$/;
14
+
15
+
export const isDid = (input: string): input is Did => {
16
+
return input.length >= 7 && input.length <= 2048 && DID_RE.test(input);
17
+
};
18
+
19
+
export const ATPROTO_WEB_DID_RE =
20
+
/^did:web:([a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*(?:\.[a-zA-Z]{2,})|localhost(?:%3[aA]\d+)?)$/;
21
+
22
+
export const isAtprotoWebDid = (input: string): input is Did<'web'> => {
23
+
return input.length >= 12 && ATPROTO_WEB_DID_RE.test(input);
24
+
};
25
+
26
+
export const PLC_DID_RE = /^did:plc:([a-z2-7]{24})$/;
27
+
28
+
export const isPlcDid = (input: string): input is Did<'plc'> => {
29
+
return input.length === 32 && PLC_DID_RE.test(input);
30
+
};
31
+
32
+
export const isAtprotoDid = (input: string): input is AtprotoDid => {
33
+
return isPlcDid(input) || isAtprotoWebDid(input);
34
+
};
+1
-1
src/api/types/profile-response.ts
+1
-1
src/api/types/profile-response.ts
+11
src/api/types/rkey.ts
+11
src/api/types/rkey.ts
···
1
+
export const RECORD_KEY_RE = /(?!\.{1,2}$)[a-zA-Z0-9_~.:-]{1,512}/;
2
+
3
+
export const isRecordKey = (input: string) => {
4
+
return input.length >= 1 && input.length <= 512 && RECORD_KEY_RE.test(input);
5
+
};
6
+
7
+
export const TID_RE = /^[234567abcdefghij][234567abcdefghijklmnopqrstuvwxyz]{12}$/;
8
+
9
+
export const isTid = (input: string) => {
10
+
return input.length === 13 && TID_RE.test(input);
11
+
};
+56
src/api/utils/bluesky/embed-view.ts
+56
src/api/utils/bluesky/embed-view.ts
···
1
+
import type { AppBskyEmbedRecordWithMedia, AppBskyFeedDefs } from '@atcute/client/lexicons';
2
+
3
+
import { parseAtUri } from '~/api/types/at-uri';
4
+
5
+
export interface EmbedsView {
6
+
media?: AppBskyEmbedRecordWithMedia.View['media'];
7
+
record?: AppBskyEmbedRecordWithMedia.View['record']['record'];
8
+
}
9
+
10
+
export type MediaEmbedView = NonNullable<EmbedsView['media']>;
11
+
export type RecordEmbedView = NonNullable<EmbedsView['record']>;
12
+
13
+
export const unwrapMediaEmbedView = (embed: AppBskyFeedDefs.PostView['embed']): EmbedsView['media'] => {
14
+
switch (embed?.$type) {
15
+
case 'app.bsky.embed.recordWithMedia#view':
16
+
return embed.media;
17
+
case 'app.bsky.embed.record#view':
18
+
return;
19
+
}
20
+
21
+
return embed;
22
+
};
23
+
24
+
export const unwrapRecordEmbedView = (embed: AppBskyFeedDefs.PostView['embed']): EmbedsView['record'] => {
25
+
switch (embed?.$type) {
26
+
case 'app.bsky.embed.recordWithMedia#view':
27
+
return embed.record.record;
28
+
29
+
case 'app.bsky.embed.record#view':
30
+
return embed.record;
31
+
}
32
+
};
33
+
34
+
export const unwrapEmbedView = (embed: AppBskyFeedDefs.PostView['embed']): EmbedsView => {
35
+
return {
36
+
media: unwrapMediaEmbedView(embed),
37
+
record: unwrapRecordEmbedView(embed),
38
+
};
39
+
};
40
+
41
+
export const getQuoteEmbedView = (embed: RecordEmbedView | undefined) => {
42
+
switch (embed?.$type) {
43
+
case 'app.bsky.embed.record#viewRecord': {
44
+
return embed;
45
+
}
46
+
47
+
case 'app.bsky.embed.record#viewNotFound':
48
+
case 'app.bsky.embed.record#viewDetached':
49
+
case 'app.bsky.embed.record#viewBlocked': {
50
+
const uri = parseAtUri(embed.uri);
51
+
if (uri.collection === 'app.bsky.feed.post') {
52
+
return embed;
53
+
}
54
+
}
55
+
}
56
+
};
+37
src/api/utils/bluesky/embed.ts
+37
src/api/utils/bluesky/embed.ts
···
1
+
import type { AppBskyEmbedRecordWithMedia, AppBskyFeedPost } from '@atcute/client/lexicons';
2
+
3
+
export interface Embeds {
4
+
media?: AppBskyEmbedRecordWithMedia.Main['media'];
5
+
record?: AppBskyEmbedRecordWithMedia.Main['record'];
6
+
}
7
+
8
+
export type MediaEmbed = NonNullable<Embeds['media']>;
9
+
export type RecordEmbed = NonNullable<Embeds['record']>;
10
+
11
+
export const unwrapMediaEmbed = (embed: AppBskyFeedPost.Record['embed']): Embeds['media'] => {
12
+
switch (embed?.$type) {
13
+
case 'app.bsky.embed.recordWithMedia':
14
+
return embed.media;
15
+
case 'app.bsky.embed.record':
16
+
return;
17
+
}
18
+
19
+
return embed;
20
+
};
21
+
22
+
export const unwrapRecordEmbed = (embed: AppBskyFeedPost.Record['embed']): Embeds['record'] => {
23
+
switch (embed?.$type) {
24
+
case 'app.bsky.embed.recordWithMedia':
25
+
return embed.record;
26
+
27
+
case 'app.bsky.embed.record':
28
+
return embed;
29
+
}
30
+
};
31
+
32
+
export const unwrapEmbed = (embed: AppBskyFeedPost.Record['embed']): Embeds => {
33
+
return {
34
+
media: unwrapMediaEmbed(embed),
35
+
record: unwrapRecordEmbed(embed),
36
+
};
37
+
};
+11
-12
src/api/utils/did.ts
+11
-12
src/api/utils/did.ts
···
1
-
import { type Client, ok } from '@atcute/client';
2
-
import type { Did, Handle } from '@atcute/lexicons';
3
-
import { isDid } from '@atcute/lexicons/syntax';
1
+
import type { XRPC } from '@atcute/client';
2
+
import type { At } from '@atcute/client/lexicons';
4
3
5
-
const getDid = async (client: Client, actor: Handle, signal?: AbortSignal) => {
6
-
let did: Did;
4
+
import { isDid } from '../types/identity';
5
+
6
+
const getDid = async (rpc: XRPC, actor: string, signal?: AbortSignal) => {
7
+
let did: At.DID;
7
8
if (isDid(actor)) {
8
9
did = actor;
9
10
} else {
10
-
const data = await ok(
11
-
client.get('com.atproto.identity.resolveHandle', {
12
-
signal: signal,
13
-
params: { handle: actor },
14
-
}),
15
-
);
11
+
const response = await rpc.get('com.atproto.identity.resolveHandle', {
12
+
signal: signal,
13
+
params: { handle: actor },
14
+
});
16
15
17
-
did = data.did;
16
+
did = response.data.did;
18
17
}
19
18
20
19
return did;
+5
-5
src/api/utils/error.ts
+5
-5
src/api/utils/error.ts
···
1
-
import { ClientResponseError } from '@atcute/client';
1
+
import { XRPCError } from '@atcute/client';
2
2
import { TokenRefreshError } from '@atcute/oauth-browser-client';
3
3
4
-
export const formatXRPCError = (err: ClientResponseError): string => {
5
-
const name = err.error;
4
+
export const formatXRPCError = (err: XRPCError): string => {
5
+
const name = err.kind;
6
6
return (name ? name + ': ' : '') + err.description;
7
7
};
8
8
···
11
11
return `Account session is no longer valid`;
12
12
}
13
13
14
-
if (err instanceof ClientResponseError) {
15
-
const kind = err.error;
14
+
if (err instanceof XRPCError) {
15
+
const kind = err.kind;
16
16
17
17
if (kind === 'invalid_token') {
18
18
return `Account session is no longer valid`;
+4
-6
src/api/utils/post.ts
+4
-6
src/api/utils/post.ts
···
4
4
AppBskyEmbedRecord,
5
5
AppBskyFeedDefs,
6
6
AppBskyFeedPost,
7
-
} from '@atcute/bluesky';
8
-
import type { $type } from '@atcute/lexicons';
7
+
Brand,
8
+
} from '@atcute/client/lexicons';
9
9
10
-
type RecordEmbed = AppBskyFeedPost.Main['embed'];
10
+
type RecordEmbed = AppBskyFeedPost.Record['embed'];
11
11
type ViewEmbed = AppBskyFeedDefs.PostView['embed'];
12
12
13
13
export const unwrapPostEmbedText = (embed: RecordEmbed | ViewEmbed): string => {
···
35
35
type RecordMedia = AppBskyEmbedExternal.Main | AppBskyEmbedImages.Main;
36
36
type ViewMedia = AppBskyEmbedExternal.View | AppBskyEmbedImages.View;
37
37
38
-
const getMediaEmbed = (
39
-
embed: RecordEmbed | ViewEmbed,
40
-
): $type.enforce<RecordMedia | ViewMedia> | undefined => {
38
+
const getMediaEmbed = (embed: RecordEmbed | ViewEmbed): Brand.Union<RecordMedia | ViewMedia> | undefined => {
41
39
if (embed) {
42
40
const type = embed.$type;
43
41
+44
-62
src/api/utils/records.ts
+44
-62
src/api/utils/records.ts
···
1
-
import type { ComAtprotoRepoGetRecord, ComAtprotoRepoListRecords } from '@atcute/atproto';
2
-
import { type Client, ok } from '@atcute/client';
3
-
import type { Cid, Did, InferInput, ResourceUri } from '@atcute/lexicons';
4
-
import type { Records } from '@atcute/lexicons/ambient';
1
+
import type { XRPC } from '@atcute/client';
2
+
import type {
3
+
At,
4
+
ComAtprotoRepoGetRecord,
5
+
ComAtprotoRepoListRecords,
6
+
Records,
7
+
} from '@atcute/client/lexicons';
5
8
6
9
type RecordType = keyof Records;
7
10
8
11
export interface CreateRecordOptions<K extends RecordType> {
9
-
repo: Did;
12
+
repo: At.DID;
10
13
collection: K;
11
14
rkey?: string;
12
-
record: InferInput<Records[K]>;
15
+
record: Records[K];
13
16
swapCommit?: string;
14
17
validate?: boolean;
15
18
}
16
19
17
-
export const createRecord = async <K extends RecordType>(client: Client, options: CreateRecordOptions<K>) => {
18
-
const data = await ok(
19
-
client.post('com.atproto.repo.createRecord', {
20
-
input: options as any,
21
-
}),
22
-
);
20
+
export const createRecord = async <K extends RecordType>(rpc: XRPC, options: CreateRecordOptions<K>) => {
21
+
const { data } = await rpc.call('com.atproto.repo.createRecord', { data: options });
23
22
24
23
return data;
25
24
};
26
25
27
26
export interface PutRecordOptions<K extends RecordType> {
28
-
repo: Did;
27
+
repo: At.DID;
29
28
collection: K;
30
29
rkey: string;
31
-
record: InferInput<Records[K]>;
30
+
record: Records[K];
32
31
swapCommit?: string;
33
-
swapRecord?: Cid | null;
32
+
swapRecord?: At.CID | null;
34
33
validate?: boolean;
35
34
}
36
35
37
-
export const putRecord = async <K extends RecordType>(client: Client, options: PutRecordOptions<K>) => {
38
-
const data = await ok(
39
-
client.post('com.atproto.repo.putRecord', {
40
-
input: options as any,
41
-
}),
42
-
);
36
+
export const putRecord = async <K extends RecordType>(rpc: XRPC, options: PutRecordOptions<K>) => {
37
+
const { data } = await rpc.call('com.atproto.repo.putRecord', { data: options });
43
38
44
39
return data;
45
40
};
46
41
47
42
export interface DeleteRecordOptions<K extends RecordType> {
48
-
repo: Did;
43
+
repo: At.DID;
49
44
collection: K;
50
45
rkey: string;
51
46
swapCommit?: string;
52
47
swapRecord?: string;
53
48
}
54
49
55
-
export const deleteRecord = async <K extends RecordType>(client: Client, options: DeleteRecordOptions<K>) => {
56
-
await ok(
57
-
client.post('com.atproto.repo.deleteRecord', {
58
-
input: options,
59
-
}),
60
-
);
50
+
export const deleteRecord = async <K extends RecordType>(rpc: XRPC, options: DeleteRecordOptions<K>) => {
51
+
await rpc.call('com.atproto.repo.deleteRecord', {
52
+
data: options,
53
+
});
61
54
};
62
55
63
56
export interface GetRecordOptions<K extends RecordType> {
64
-
signal?: AbortSignal;
65
-
repo: Did;
57
+
repo: At.DID;
66
58
collection: K;
67
59
rkey: string;
68
60
cid?: string;
69
61
}
70
62
71
-
export type GetRecordOutput<T> = ComAtprotoRepoGetRecord.$output & {
63
+
export interface GetRecordOutput<T> extends ComAtprotoRepoGetRecord.Output {
72
64
value: T;
73
-
};
65
+
}
74
66
75
67
export const getRecord = async <K extends RecordType>(
76
-
client: Client,
68
+
rpc: XRPC,
77
69
options: GetRecordOptions<K>,
78
-
): Promise<GetRecordOutput<InferInput<Records[K]>>> => {
79
-
const data = await ok(
80
-
client.get('com.atproto.repo.getRecord', {
81
-
signal: options.signal,
82
-
params: {
83
-
repo: options.repo,
84
-
collection: options.collection,
85
-
rkey: options.rkey,
86
-
cid: options.cid,
87
-
},
88
-
}),
89
-
);
70
+
): Promise<GetRecordOutput<Records[K]>> => {
71
+
const { data } = await rpc.get('com.atproto.repo.getRecord', {
72
+
params: options,
73
+
});
90
74
91
75
return data as any;
92
76
};
93
77
94
78
export interface ListRecordsOptions<K extends RecordType> {
95
79
signal?: AbortSignal;
96
-
repo: Did;
80
+
repo: At.DID;
97
81
collection: K;
98
82
cursor?: string;
99
83
limit?: number;
100
84
}
101
85
102
-
export type ListRecordsOutput<T> = ComAtprotoRepoListRecords.$output & {
86
+
export interface ListRecordsOutput<T> extends ComAtprotoRepoListRecords.Output {
103
87
cursor?: string;
104
-
records: { cid: Cid; uri: ResourceUri; value: T }[];
105
-
};
88
+
records: { cid: At.CID; uri: At.Uri; value: T }[];
89
+
}
106
90
107
91
export const listRecords = async <K extends RecordType>(
108
-
client: Client,
92
+
rpc: XRPC,
109
93
options: ListRecordsOptions<K>,
110
-
): Promise<ListRecordsOutput<InferInput<Records[K]>>> => {
111
-
const data = await ok(
112
-
client.get('com.atproto.repo.listRecords', {
113
-
signal: options.signal,
114
-
params: {
115
-
repo: options.repo,
116
-
collection: options.collection,
117
-
limit: options.limit,
118
-
cursor: options.cursor,
119
-
},
120
-
}),
121
-
);
94
+
): Promise<ListRecordsOutput<Records[K]>> => {
95
+
const { data } = await rpc.get('com.atproto.repo.listRecords', {
96
+
signal: options.signal,
97
+
params: {
98
+
repo: options.repo,
99
+
collection: options.collection,
100
+
limit: options.limit,
101
+
cursor: options.cursor,
102
+
},
103
+
});
122
104
123
105
return data as any;
124
106
};
+1
-1
src/api/utils/richtext-stringify.ts
+1
-1
src/api/utils/richtext-stringify.ts
+17
src/atcute-env.d.ts
+17
src/atcute-env.d.ts
···
1
+
import type { AppBskyRichtextFacet } from '@atcute/client/lexicons';
2
+
3
+
declare module '@atcute/client/lexicons' {
4
+
namespace AppBskyRichtextFacet {
5
+
type FacetFeature = Brand.Union<Link | Mention | Tag | BlueMojiRichtextFacet.Main>;
6
+
7
+
interface Main {
8
+
features: FacetFeature[];
9
+
}
10
+
}
11
+
}
12
+
13
+
declare module '@atcute/bluesky-richtext-segmenter' {
14
+
export interface RichtextSegment {
15
+
features: AppBskyRichtextFacet.FacetFeature[] | undefined;
16
+
}
17
+
}
+69
src/basa-env.d.ts
+69
src/basa-env.d.ts
···
1
+
/* eslint-disable */
2
+
// This file is automatically generated, do not edit!
3
+
import '@atcute/client/lexicons';
4
+
5
+
declare module '@atcute/client/lexicons' {
6
+
/** Describes the translation proxy instance */
7
+
namespace XBasaDescribeServer {
8
+
interface Params {}
9
+
type Input = undefined;
10
+
interface Output {
11
+
engines: Engines;
12
+
}
13
+
interface Engine {
14
+
[Brand.Type]?: 'x.basa.describeServer#engine';
15
+
/** Supported language codes */
16
+
languages: string[];
17
+
}
18
+
interface Engines {
19
+
[Brand.Type]?: 'x.basa.describeServer#engines';
20
+
deepl?: Engine;
21
+
google?: Engine;
22
+
}
23
+
}
24
+
25
+
/** Translates a given text into another language */
26
+
namespace XBasaTranslate {
27
+
interface Params {
28
+
/** Text needing translation */
29
+
text: string;
30
+
/** Target language */
31
+
to: string;
32
+
/**
33
+
* Which translation service to use
34
+
* @default "google"
35
+
*/
36
+
engine?: 'google' | 'deepl';
37
+
/**
38
+
* Source language
39
+
* @default "auto"
40
+
*/
41
+
from?: string;
42
+
}
43
+
type Input = undefined;
44
+
interface Output {
45
+
/** Translated text */
46
+
result: string;
47
+
/** Deteced language from source text */
48
+
sourceLanguage?: string;
49
+
/** Transliteration of source text */
50
+
sourceTransliteration?: string;
51
+
/** Transliteration of translated text */
52
+
targetTransliteration?: string;
53
+
}
54
+
}
55
+
56
+
interface Records {}
57
+
58
+
interface Queries {
59
+
'x.basa.describeServer': {
60
+
output: XBasaDescribeServer.Output;
61
+
};
62
+
'x.basa.translate': {
63
+
params: XBasaTranslate.Params;
64
+
output: XBasaTranslate.Output;
65
+
};
66
+
}
67
+
68
+
interface Procedures {}
69
+
}
+1
-1
src/components/avatar.tsx
+1
-1
src/components/avatar.tsx
···
1
1
import { Match, Switch } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
3
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
4
4
5
5
import { type ModerationCause, getModerationUI } from '~/api/moderation';
6
6
import { ContextProfileMedia, type ModerationContext } from '~/api/moderation/constants';
+1
-1
src/components/bookmarks/add-post-to-folder-dialog.tsx
+1
-1
src/components/bookmarks/add-post-to-folder-dialog.tsx
+4
-5
src/components/bookmarks/bookmark-feed-item.tsx
+4
-5
src/components/bookmarks/bookmark-feed-item.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyFeedPost } from '@atcute/bluesky';
3
+
import type { AppBskyFeedPost } from '@atcute/client/lexicons';
4
4
5
5
import { usePostShadow } from '~/api/cache/post-shadow';
6
6
import { getModerationUI } from '~/api/moderation';
7
7
import { ContextContentList } from '~/api/moderation/constants';
8
8
import { moderatePost } from '~/api/moderation/entities/post';
9
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
9
+
import { parseAtUri } from '~/api/types/at-uri';
10
10
11
11
import { history } from '~/globals/navigation';
12
12
···
35
35
const { post, stale } = item;
36
36
37
37
const author = post.author;
38
-
const record = post.record as AppBskyFeedPost.Main;
38
+
const record = post.record as AppBskyFeedPost.Record;
39
39
const embed = post.embed;
40
40
41
41
const shadow = usePostShadow(post);
42
42
43
-
const uri = assertCanonicalResourceUri(post.uri);
44
-
43
+
const uri = parseAtUri(post.uri);
45
44
const authorHref = `/${author.did}`;
46
45
const href = `/${author.did}/${uri.rkey}`;
47
46
+1
-1
src/components/composer/composer-dialog.tsx
+1
-1
src/components/composer/composer-dialog.tsx
···
13
13
} from 'solid-js';
14
14
import { createMutable, unwrap } from 'solid-js/store';
15
15
16
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
16
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
17
17
import { type CreateQueryResult, useQueryClient } from '@mary/solid-query';
18
18
19
19
import { GLOBAL_LABELS, getLocalizedLabel } from '~/api/moderation';
+9
-12
src/components/composer/composer-input.tsx
+9
-12
src/components/composer/composer-input.tsx
···
12
12
createSignal,
13
13
} from 'solid-js';
14
14
15
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
16
-
import { ok } from '@atcute/client';
15
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
17
16
18
17
import { safeUrlParse } from '~/api/utils/strings';
19
18
···
63
62
const onChange = props.onChange;
64
63
const onSubmit = props.onSubmit;
65
64
66
-
const { client } = useAgent();
65
+
const { rpc } = useAgent();
67
66
68
67
const [inputCursor, setInputCursor] = createSignal<number>();
69
68
const [menuSelection, setMenuSelection] = createSignal<number>();
···
136
135
const MATCH_LIMIT = 5;
137
136
138
137
if (type === Suggestion.MENTION) {
139
-
const data = await ok(
140
-
client.get('app.bsky.actor.searchActorsTypeahead', {
141
-
params: {
142
-
q: match.query,
143
-
limit: MATCH_LIMIT,
144
-
},
145
-
}),
146
-
);
138
+
const response = await rpc.get('app.bsky.actor.searchActorsTypeahead', {
139
+
params: {
140
+
q: match.query,
141
+
limit: MATCH_LIMIT,
142
+
},
143
+
});
147
144
148
-
return data.actors.map((item) => ({ type: Suggestion.MENTION, data: item }));
145
+
return response.data.actors.map((item) => ({ type: Suggestion.MENTION, data: item }));
149
146
}
150
147
151
148
assert(false, `expected match`);
+4
-3
src/components/composer/composer-reply-context.tsx
+4
-3
src/components/composer/composer-reply-context.tsx
···
1
1
import { Match, Switch, createMemo } from 'solid-js';
2
2
3
-
import { type AppBskyFeedPost, unwrapMediaEmbed } from '@atcute/bluesky';
3
+
import type { AppBskyFeedPost } from '@atcute/client/lexicons';
4
4
5
5
import { getModerationUI } from '~/api/moderation';
6
6
import { ContextContentMedia } from '~/api/moderation/constants';
7
7
import { moderatePost } from '~/api/moderation/entities/post';
8
8
import { createPostQuery } from '~/api/queries/post';
9
+
import { unwrapMediaEmbedView } from '~/api/utils/bluesky/embed-view';
9
10
import { formatQueryError } from '~/api/utils/error';
10
11
11
12
import { inject } from '~/lib/states/singleton';
···
33
34
<Match when={query.data} keyed>
34
35
{(post) => {
35
36
const author = post.author;
36
-
const record = post.record as AppBskyFeedPost.Main;
37
+
const record = post.record as AppBskyFeedPost.Record;
37
38
38
39
const moderation = createMemo(() => moderatePost(post, moderationOptions()));
39
40
const shouldBlurImage = () => getModerationUI(moderation(), ContextContentMedia).b.length !== 0;
40
41
41
-
const media = unwrapMediaEmbed(post.embed);
42
+
const media = unwrapMediaEmbedView(post.embed);
42
43
43
44
return (
44
45
<div class="relative flex gap-3 px-4 pt-3">
+2
-3
src/components/composer/dialogs/composed-interaction-dialog.tsx
+2
-3
src/components/composer/dialogs/composed-interaction-dialog.tsx
···
1
1
import { For, Match, Switch, batch, createEffect, createMemo, createSignal, untrack } from 'solid-js';
2
2
3
-
import type { AppBskyFeedThreadgate } from '@atcute/bluesky';
4
-
import type { $type } from '@atcute/lexicons';
3
+
import type { AppBskyFeedThreadgate, Brand } from '@atcute/client/lexicons';
5
4
6
5
import { createMyListsQuery } from '~/api/queries/my-lists';
7
6
import { dequal } from '~/api/utils/dequal';
···
240
239
<Boxed.List>
241
240
<For each={lists.data}>
242
241
{(list) => {
243
-
const rule: $type.enforce<AppBskyFeedThreadgate.ListRule> = {
242
+
const rule: Brand.Union<AppBskyFeedThreadgate.ListRule> = {
244
243
$type: 'app.bsky.feed.threadgate#listRule',
245
244
list: list.uri,
246
245
};
+4
-5
src/components/composer/embeds/link-embed.tsx
+4
-5
src/components/composer/embeds/link-embed.tsx
···
1
1
import { Match, Switch, onCleanup } from 'solid-js';
2
2
3
-
import type { AppBskyEmbedExternal } from '@atcute/bluesky';
4
-
import type { GenericUri } from '@atcute/lexicons';
3
+
import type { AppBskyEmbedExternal } from '@atcute/client/lexicons';
5
4
6
5
import { createLinkMetaQuery } from '~/api/queries/composer';
7
6
···
39
38
{(state) => {
40
39
const meta = state.external;
41
40
42
-
let thumbUrl: GenericUri | undefined;
43
-
if (meta.thumb && '$type' in meta.thumb) {
41
+
let thumbUrl: string | undefined;
42
+
if (meta.thumb) {
44
43
const did = currentAccount!.did;
45
44
const cid = meta.thumb.ref.$link;
46
45
···
86
85
title: data.title,
87
86
description: data.description,
88
87
uri: data.uri,
89
-
thumb: thumbUrl as GenericUri,
88
+
thumb: thumbUrl,
90
89
},
91
90
};
92
91
+1
-1
src/components/composer/embeds/quote-embed.tsx
+1
-1
src/components/composer/embeds/quote-embed.tsx
+2
-3
src/components/composer/gifs/gif-search-dialog.tsx
+2
-3
src/components/composer/gifs/gif-search-dialog.tsx
···
1
1
import { For, Match, Switch, createSignal } from 'solid-js';
2
2
3
-
import type { GenericUri } from '@atcute/lexicons';
4
3
import { chunked } from '@mary/array-fns';
5
4
6
5
import { type Gif, createGifSearchQuery } from '~/api/queries/composer-gif';
···
111
110
export default GifSearchDialog;
112
111
113
112
export interface GifMedia {
114
-
embedUrl: GenericUri;
113
+
embedUrl: string;
115
114
alt: string;
116
115
ratio: { width: number; height: number };
117
116
···
129
128
const [, id, file] = /\/([^/]+?AAAAC)\/([^/]+?)\.gif\/?$/.exec(url)!;
130
129
131
130
return {
132
-
embedUrl: (url + `?hh=${dimensions[1]}&ww=${dimensions[0]}`) as GenericUri,
131
+
embedUrl: url + `?hh=${dimensions[1]}&ww=${dimensions[0]}`,
133
132
alt: gif.content_description,
134
133
ratio: { width: dimensions[0], height: dimensions[1] },
135
134
+84
-102
src/components/composer/lib/api.ts
+84
-102
src/components/composer/lib/api.ts
···
1
1
import { nanoid } from 'nanoid/non-secure';
2
2
3
-
import type {
4
-
ComAtprotoLabelDefs,
5
-
ComAtprotoRepoApplyWrites,
6
-
ComAtprotoRepoStrongRef,
7
-
} from '@atcute/atproto';
8
-
import type { BlueMojiRichtextFacet } from '@atcute/bluemoji';
3
+
import { XRPC, XRPCError, simpleFetchHandler } from '@atcute/client';
9
4
import type {
10
5
AppBskyEmbedImages,
11
6
AppBskyEmbedRecord,
···
17
12
AppBskyGraphDefs,
18
13
AppBskyRichtextFacet,
19
14
AppBskyVideoDefs,
20
-
} from '@atcute/bluesky';
21
-
import { Client, ClientResponseError, ok, simpleFetchHandler } from '@atcute/client';
22
-
import { type $type, type Blob as AtpBlob, type Did, type GenericUri, type Handle } from '@atcute/lexicons';
23
-
import { isDid } from '@atcute/lexicons/syntax';
15
+
At,
16
+
BlueMojiRichtextFacet,
17
+
Brand,
18
+
ComAtprotoLabelDefs,
19
+
ComAtprotoRepoApplyWrites,
20
+
ComAtprotoRepoStrongRef,
21
+
} from '@atcute/client/lexicons';
24
22
import * as TID from '@atcute/tid';
25
23
import type { QueryClient } from '@mary/solid-query';
26
24
···
28
26
import { uploadBlob } from '~/api/queries/blob';
29
27
import type { LinkMeta } from '~/api/queries/composer';
30
28
import { resolveHandle } from '~/api/queries/handle';
31
-
import { assertCanonicalResourceUri, makeAtUri } from '~/api/types/at-uri';
29
+
import { makeAtUri, parseAtUri } from '~/api/types/at-uri';
30
+
import { isDid } from '~/api/types/identity';
32
31
import { getRecord } from '~/api/utils/records';
33
32
import { trimRichText } from '~/api/utils/richtext';
34
33
import { getUtf8Length } from '~/api/utils/unicode';
···
58
57
let cidPromise: Promise<typeof import('./cid')>;
59
58
60
59
export const publish = async ({ agent, queryClient, state, onLog: log }: PublishOptions) => {
61
-
const client = agent.client;
60
+
const rpc = agent.rpc;
62
61
const did = agent.did!;
63
62
64
63
const now = new Date();
65
-
const writes: ComAtprotoRepoApplyWrites.$input['writes'] = [];
64
+
const writes: ComAtprotoRepoApplyWrites.Input['writes'] = [];
66
65
67
66
let reply: AppBskyFeedPost.ReplyRef | undefined;
68
67
let rkey: string | undefined;
···
75
74
queryKey: ['post', replyUri],
76
75
staleTime: 30_000,
77
76
async queryFn(ctx) {
78
-
const uri = assertCanonicalResourceUri(replyUri);
77
+
const uri = parseAtUri(replyUri);
79
78
80
-
let did: Did;
79
+
let did: At.DID;
81
80
if (isDid(uri.repo)) {
82
81
did = uri.repo;
83
82
} else {
84
-
did = await resolveHandle(client, uri.repo, ctx.signal);
83
+
did = await resolveHandle(rpc, uri.repo, ctx.signal);
85
84
}
86
85
87
-
const data = await ok(
88
-
client.get('app.bsky.feed.getPosts', {
89
-
signal: ctx.signal,
90
-
params: {
91
-
uris: [makeAtUri(did, uri.collection, uri.rkey)],
92
-
},
93
-
}),
94
-
);
86
+
const { data } = await rpc.get('app.bsky.feed.getPosts', {
87
+
signal: ctx.signal,
88
+
params: {
89
+
uris: [makeAtUri(did, uri.collection, uri.rkey)],
90
+
},
91
+
});
95
92
96
93
const post = data.posts[0];
97
94
···
103
100
},
104
101
});
105
102
106
-
const root = (post.record as AppBskyFeedPost.Main).reply?.root;
103
+
const root = (post.record as AppBskyFeedPost.Record).reply?.root;
107
104
const ref: ComAtprotoRepoStrongRef.Main = {
108
105
uri: post.uri,
109
106
cid: post.cid,
···
116
113
}
117
114
118
115
if (state.redraftUri) {
119
-
const uri = assertCanonicalResourceUri(state.redraftUri);
116
+
const uri = parseAtUri(state.redraftUri);
120
117
121
118
writes.push({
122
119
$type: 'com.atproto.repo.applyWrites#delete',
···
142
139
143
140
// Get the self-labels
144
141
const labels = getEmbedLabels(post.embed);
145
-
let selfLabels: $type.enforce<ComAtprotoLabelDefs.SelfLabels> | undefined;
142
+
let selfLabels: Brand.Union<ComAtprotoLabelDefs.SelfLabels> | undefined;
146
143
147
144
if (labels?.length) {
148
145
selfLabels = {
···
152
149
}
153
150
154
151
// Now form the record
155
-
const record: AppBskyFeedPost.Main = {
152
+
const record: AppBskyFeedPost.Record = {
156
153
$type: 'app.bsky.feed.post',
157
154
createdAt: now.toISOString(),
158
155
text: rt.text,
···
172
169
173
170
// If this is the first post, and we have a threadgate set, create one now.
174
171
if (idx === 0 && !reply && state.threadgate.allow) {
175
-
const threadgateRecord: AppBskyFeedThreadgate.Main = {
172
+
const threadgateRecord: AppBskyFeedThreadgate.Record = {
176
173
$type: 'app.bsky.feed.threadgate',
177
174
createdAt: now.toISOString(),
178
175
post: uri,
···
189
186
190
187
// If we have a postgate set, create one for this post.
191
188
if (state.postgate.embeddingRules?.length) {
192
-
const postgateRecord: AppBskyFeedPostgate.Main = {
189
+
const postgateRecord: AppBskyFeedPostgate.Record = {
193
190
$type: 'app.bsky.feed.postgate',
194
191
createdAt: now.toISOString(),
195
192
post: uri,
···
229
226
230
227
log?.(`Posting`);
231
228
232
-
await ok(
233
-
client.post('com.atproto.repo.applyWrites', {
234
-
input: {
235
-
repo: did,
236
-
writes: writes,
237
-
},
238
-
}),
239
-
);
229
+
await rpc.call('com.atproto.repo.applyWrites', {
230
+
data: {
231
+
repo: did,
232
+
writes: writes,
233
+
},
234
+
});
240
235
241
236
if (state.redraftUri) {
242
237
updatePostShadow(queryClient, state.redraftUri, { deleted: true });
···
244
239
245
240
return writes;
246
241
247
-
async function resolveEmbed(root: PostEmbed): Promise<AppBskyFeedPost.Main['embed']> {
242
+
async function resolveEmbed(root: PostEmbed): Promise<AppBskyFeedPost.Record['embed']> {
248
243
let pMedia: Promise<AppBskyEmbedRecordWithMedia.Main['media']> | undefined;
249
-
let pRecord: Promise<$type.enforce<AppBskyEmbedRecord.Main>> | undefined;
244
+
let pRecord: Promise<Brand.Union<AppBskyEmbedRecord.Main>> | undefined;
250
245
251
246
if (root.media) {
252
247
pMedia = resolveMediaEmbed(root.media);
···
303
298
304
299
switch (source.type) {
305
300
case 'local': {
306
-
const uploaded = await uploadBlob(client, source.blob);
301
+
const uploaded = await uploadBlob(rpc, source.blob);
307
302
308
303
return {
309
304
image: uploaded,
···
344
339
345
340
const blob = source.blob;
346
341
347
-
const videoClient = new Client({
348
-
handler: simpleFetchHandler({ service: 'https://video.bsky.app' }),
349
-
});
342
+
const videoRpc = new XRPC({ handler: simpleFetchHandler({ service: 'https://video.bsky.app' }) });
350
343
351
344
// Get upload limit status
352
345
{
···
367
360
// GET https://porcini.us-east.host.bsky.network/xrpc/chat.bsky.convo.getLog
368
361
// atproto-proxy: did:web:api.bsky.chat#bsky_chat
369
362
//
370
-
const tokenData = await ok(
371
-
client.get('com.atproto.server.getServiceAuth', {
372
-
params: {
373
-
aud: 'did:web:video.bsky.app',
374
-
lxm: 'app.bsky.video.getUploadLimits',
375
-
},
376
-
}),
377
-
);
363
+
const { data: tokenData } = await rpc.get('com.atproto.server.getServiceAuth', {
364
+
params: {
365
+
aud: 'did:web:video.bsky.app',
366
+
lxm: 'app.bsky.video.getUploadLimits',
367
+
},
368
+
});
378
369
379
-
const data = await ok(
380
-
videoClient.get('app.bsky.video.getUploadLimits', {
381
-
headers: {
382
-
authorization: `Bearer ${tokenData.token}`,
383
-
},
384
-
}),
385
-
);
370
+
const { data } = await videoRpc.get('app.bsky.video.getUploadLimits', {
371
+
headers: {
372
+
authorization: `Bearer ${tokenData.token}`,
373
+
},
374
+
});
386
375
387
376
if (!data.canUpload) {
388
377
let message = data.message || `You've reached the limit on video uploads`;
···
419
408
420
409
// Create an access token *to the PDS*, allowing the video service to
421
410
// upload the final blobs to our repository on our behalf.
422
-
const tokenData = await ok(
423
-
client.get('com.atproto.server.getServiceAuth', {
424
-
params: {
425
-
// `did:web:porcini.us-east.host.bsky.network`
426
-
aud: `did:web:${new URL(session.info.aud).host}`,
427
-
lxm: 'com.atproto.repo.uploadBlob',
428
-
exp: Date.now() / 1000 + 60 * 30, // 30 minutes
429
-
},
430
-
}),
431
-
);
411
+
const { data: tokenData } = await rpc.get('com.atproto.server.getServiceAuth', {
412
+
params: {
413
+
// `did:web:porcini.us-east.host.bsky.network`
414
+
aud: `did:web:${new URL(session.info.aud).host}`,
415
+
lxm: 'com.atproto.repo.uploadBlob',
416
+
exp: Date.now() / 1000 + 60 * 30, // 30 minutes
417
+
},
418
+
});
432
419
433
420
jobId = await new Promise((resolve, reject) => {
434
421
const xhr = new XMLHttpRequest();
···
460
447
}
461
448
462
449
if (!json.jobId) {
463
-
reject(new PublishError(`Failed to upload video` + (json.error ? `: ${json.error}` : '')));
464
-
return;
450
+
throw new PublishError(`Failed to upload video` + (json.error ? `: ${json.error}` : ''));
465
451
}
466
452
467
453
resolve(json.jobId);
···
479
465
}
480
466
481
467
// Check the upload status
482
-
let result: AtpBlob<any>;
468
+
let result: At.Blob<any>;
483
469
{
484
470
let pollFailures = 0;
485
471
···
489
475
let status: AppBskyVideoDefs.JobStatus;
490
476
491
477
try {
492
-
const data = await ok(
493
-
videoClient.get('app.bsky.video.getJobStatus', {
494
-
params: {
495
-
jobId: jobId,
496
-
},
497
-
}),
498
-
);
478
+
const { data } = await videoRpc.get('app.bsky.video.getJobStatus', {
479
+
params: {
480
+
jobId: jobId,
481
+
},
482
+
});
499
483
500
484
status = data.jobStatus;
501
485
pollFailures = 0;
···
511
495
const state = status.state;
512
496
513
497
if (state === 'JOB_STATE_COMPLETED') {
514
-
if (!status.blob || !('$type' in status.blob)) {
498
+
if (!status.blob) {
515
499
throw new PublishError(`Unexpected error when processing video`);
516
500
}
517
501
···
549
533
const gif = embed.gif;
550
534
const alt = embed.alt;
551
535
552
-
let thumbBlob: AtpBlob<any> | undefined;
536
+
let thumbBlob: At.Blob<any> | undefined;
553
537
554
538
{
555
539
log?.(`Retrieving GIF thumbnail`);
···
562
546
563
547
log?.(`Uploading GIF thumbnail`);
564
548
const compressed = await compressPostImage(gifBlob);
565
-
const blob = await uploadBlob(client, compressed.blob);
549
+
const blob = await uploadBlob(rpc, compressed.blob);
566
550
567
551
thumbBlob = blob;
568
552
}
···
594
578
595
579
// compress... upload...
596
580
const thumb = meta.thumb;
597
-
let thumbBlob: AtpBlob<any> | undefined;
581
+
let thumbBlob: At.Blob<any> | undefined;
598
582
599
583
if (thumb !== undefined) {
600
584
log?.(`Uploading link thumbnail`);
601
585
602
586
const compressed = await compressPostImage(thumb);
603
-
const blob = await uploadBlob(client, compressed.blob);
587
+
const blob = await uploadBlob(rpc, compressed.blob);
604
588
605
589
thumbBlob = blob;
606
590
}
···
618
602
619
603
async function resolveRecordEmbed(
620
604
record: PostRecordEmbed,
621
-
): Promise<$type.enforce<AppBskyEmbedRecord.Main>> {
605
+
): Promise<Brand.Union<AppBskyEmbedRecord.Main>> {
622
606
const type = record.type;
623
607
624
608
if (type === 'feed') {
···
685
669
if (type === 'link' || type === 'autolink') {
686
670
facets.push({
687
671
index: index,
688
-
features: [{ $type: 'app.bsky.richtext.facet#link', uri: token.url as GenericUri }],
672
+
features: [{ $type: 'app.bsky.richtext.facet#link', uri: token.url }],
689
673
});
690
674
} else if (type === 'mention') {
691
-
const handle = token.handle as Handle;
675
+
const handle = token.handle;
692
676
693
677
if (handle === 'handle.invalid') {
694
678
throw new InvalidHandleError(handle);
695
679
}
696
680
697
681
try {
698
-
const data = await ok(
699
-
client.get('com.atproto.identity.resolveHandle', {
700
-
params: {
701
-
handle: handle,
702
-
},
703
-
}),
704
-
);
682
+
const response = await rpc.get('com.atproto.identity.resolveHandle', {
683
+
params: {
684
+
handle: handle,
685
+
},
686
+
});
705
687
706
-
const did = data.did;
688
+
const did = response.data.did;
707
689
708
690
if (!hasSilent) {
709
691
facets.push({
···
717
699
});
718
700
}
719
701
} catch (err) {
720
-
if (err instanceof ClientResponseError && err.error === 'InvalidRequest') {
702
+
if (err instanceof XRPCError && err.kind === 'InvalidRequest') {
721
703
throw new InvalidHandleError(handle);
722
704
}
723
705
···
729
711
features: [{ $type: 'app.bsky.richtext.facet#tag', tag: token.name }],
730
712
});
731
713
} else if (type === 'emote') {
732
-
const { value } = await getRecord(client, {
714
+
const { value } = await getRecord(rpc, {
733
715
repo: did,
734
716
collection: 'blue.moji.collection.item',
735
717
rkey: token.name,
···
737
719
738
720
const raws = value.formats;
739
721
740
-
const cids: $type.enforce<BlueMojiRichtextFacet.Formats_v0> = {
722
+
const cids: Brand.Union<BlueMojiRichtextFacet.Formats_v0> = {
741
723
$type: 'blue.moji.richtext.facet#formats_v0',
742
724
};
743
725
···
750
732
cids.lottie = true;
751
733
}
752
734
753
-
if (raws.gif_128 && '$type' in raws.gif_128) {
735
+
if (raws.gif_128) {
754
736
cids.gif_128 = raws.gif_128.ref.$link;
755
737
}
756
738
757
-
if (raws.png_128 && '$type' in raws.png_128) {
739
+
if (raws.png_128) {
758
740
cids.png_128 = raws.png_128.ref.$link;
759
741
}
760
742
761
-
if (raws.webp_128 && '$type' in raws.webp_128) {
743
+
if (raws.webp_128) {
762
744
cids.webp_128 = raws.webp_128.ref.$link;
763
745
}
764
746
}
765
747
766
-
const facet: $type.enforce<BlueMojiRichtextFacet.Main> = {
748
+
const facet: Brand.Union<BlueMojiRichtextFacet.Main> = {
767
749
$type: 'blue.moji.richtext.facet',
768
750
did: did,
769
751
name: value.name,
+6
-8
src/components/composer/lib/link-detection.ts
+6
-8
src/components/composer/lib/link-detection.ts
···
1
-
import type { ActorIdentifier } from '@atcute/lexicons';
2
-
3
1
import { makeAtUri } from '~/api/types/at-uri';
4
2
import { safeUrlParse } from '~/api/utils/strings';
5
3
···
17
15
18
16
if (host === 'bsky.app') {
19
17
if ((match = BSKY_POST_LINK_RE.exec(path))) {
20
-
const didOrHandle = match[1] as ActorIdentifier;
18
+
const handleOrDid = match[1];
21
19
const rkey = match[2];
22
20
23
21
return {
24
22
type: 'quote',
25
-
uri: makeAtUri(didOrHandle, 'app.bsky.feed.post', rkey),
23
+
uri: makeAtUri(handleOrDid, 'app.bsky.feed.post', rkey),
26
24
origin: false,
27
25
};
28
26
}
29
27
30
28
if ((match = BSKY_FEED_LINK_RE.exec(path))) {
31
-
const didOrHandle = match[1] as ActorIdentifier;
29
+
const handleOrDid = match[1];
32
30
const rkey = match[2];
33
31
34
32
return {
35
33
type: 'feed',
36
-
uri: makeAtUri(didOrHandle, 'app.bsky.feed.generator', rkey),
34
+
uri: makeAtUri(handleOrDid, 'app.bsky.feed.generator', rkey),
37
35
};
38
36
}
39
37
40
38
if ((match = BSKY_LIST_LINK_RE.exec(path))) {
41
-
const didOrHandle = match[1] as ActorIdentifier;
39
+
const handleOrDid = match[1];
42
40
const rkey = match[2];
43
41
44
42
return {
45
43
type: 'list',
46
-
uri: makeAtUri(didOrHandle, 'app.bsky.graph.list', rkey),
44
+
uri: makeAtUri(handleOrDid, 'app.bsky.graph.list', rkey),
47
45
};
48
46
}
49
47
}
+9
-4
src/components/composer/lib/state.tsx
+9
-4
src/components/composer/lib/state.tsx
···
1
1
import { unwrap } from 'solid-js/store';
2
2
3
-
import type { AppBskyEmbedDefs, AppBskyEmbedExternal, AppBskyFeedDefs } from '@atcute/bluesky';
4
-
import type { $type, Blob as AtpBlob } from '@atcute/lexicons';
3
+
import type {
4
+
AppBskyEmbedDefs,
5
+
AppBskyEmbedExternal,
6
+
AppBskyFeedDefs,
7
+
At,
8
+
Brand,
9
+
} from '@atcute/client/lexicons';
5
10
6
11
import { primarySystemLanguage } from '~/globals/locales';
7
12
···
33
38
34
39
export interface RemoteMediaSource {
35
40
type: 'remote';
36
-
blob: AtpBlob;
41
+
blob: At.Blob;
37
42
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
38
43
}
39
44
···
84
89
85
90
export interface RemoteLinkSource {
86
91
type: 'remote';
87
-
state: $type.enforce<AppBskyEmbedExternal.Main>;
92
+
state: Brand.Union<AppBskyEmbedExternal.Main>;
88
93
}
89
94
90
95
export type LinkSource = UriLinkSource | RemoteLinkSource;
+7
-6
src/components/embeds/embed.tsx
+7
-6
src/components/embeds/embed.tsx
···
1
-
import { type AppBskyFeedDefs, type MediaEmbed, type RecordEmbed, unwrapEmbed } from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
2
2
3
3
import { type ModerationCause, getModerationUI } from '~/api/moderation';
4
4
import { ContextContentMedia } from '~/api/moderation/constants';
5
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
5
+
import { parseAtUri } from '~/api/types/at-uri';
6
+
import { type MediaEmbedView, type RecordEmbedView, unwrapEmbedView } from '~/api/utils/bluesky/embed-view';
6
7
7
8
import ContentHider from '../moderation/content-hider';
8
9
···
25
26
}
26
27
27
28
const Embed = (props: EmbedProps) => {
28
-
const { media, record } = unwrapEmbed(props.embed);
29
+
const { media, record } = unwrapEmbedView(props.embed);
29
30
30
31
const gutterTop = props.gutterTop;
31
32
const large = props.large;
···
42
43
43
44
interface MediaEmbedProps {
44
45
/** Expected to be static */
45
-
embed: MediaEmbed;
46
+
embed: MediaEmbedView;
46
47
moderation?: ModerationCause[];
47
48
}
48
49
···
75
76
76
77
interface RecordEmbedProps {
77
78
/** Expected to be static */
78
-
embed: RecordEmbed;
79
+
embed: RecordEmbedView;
79
80
/** Expected to be static */
80
81
large?: boolean;
81
82
}
···
99
100
}
100
101
101
102
if (type === 'app.bsky.embed.record#viewNotFound' || type === 'app.bsky.embed.record#viewBlocked') {
102
-
const uri = assertCanonicalResourceUri(embed.uri);
103
+
const uri = parseAtUri(embed.uri);
103
104
104
105
if (type === 'app.bsky.embed.record#viewBlocked' && uri.collection === 'app.bsky.feed.post') {
105
106
return <QuoteBlockedEmbed embed={embed} uri={uri} />;
+1
-1
src/components/embeds/external-embed.tsx
+1
-1
src/components/embeds/external-embed.tsx
+3
-3
src/components/embeds/feed-embed.tsx
+3
-3
src/components/embeds/feed-embed.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
3
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
4
4
import { useQueryClient } from '@mary/solid-query';
5
5
6
6
import { moderateGeneric } from '~/api/moderation/entities/generic';
7
7
import { precacheFeed } from '~/api/queries-cache/feed-precache';
8
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
8
+
import { parseAtUri } from '~/api/types/at-uri';
9
9
10
10
import { inject } from '~/lib/states/singleton';
11
11
import ModerationService from '~/lib/states/singletons/moderation';
···
26
26
27
27
const moderation = createMemo(() => moderateGeneric(feed, feed.creator.did, moderationOptions()));
28
28
29
-
const href = `/${feed.creator.did}/feeds/${assertCanonicalResourceUri(feed.uri).rkey}`;
29
+
const href = `/${feed.creator.did}/feeds/${parseAtUri(feed.uri).rkey}`;
30
30
31
31
return (
32
32
<a
+1
-1
src/components/embeds/image-grid-embed.tsx
+1
-1
src/components/embeds/image-grid-embed.tsx
+1
-1
src/components/embeds/image-standalone-embed.tsx
+1
-1
src/components/embeds/image-standalone-embed.tsx
+1
-1
src/components/embeds/lib/image-utils.ts
+1
-1
src/components/embeds/lib/image-utils.ts
+1
-1
src/components/embeds/lib/snippet.tsx
+1
-1
src/components/embeds/lib/snippet.tsx
+1
-1
src/components/embeds/list-embed.tsx
+1
-1
src/components/embeds/list-embed.tsx
+4
-1
src/components/embeds/players/gif-player.tsx
+4
-1
src/components/embeds/players/gif-player.tsx
···
1
+
import { nanoid } from 'nanoid/non-secure';
1
2
import { createEffect, createSignal, onCleanup } from 'solid-js';
2
3
3
4
import { globalEvents } from '~/globals/events';
···
13
14
}
14
15
15
16
const GifPlayer = ({ snippet }: GifPlayerProps) => {
17
+
const playerId = nanoid();
18
+
16
19
const [playing, setPlaying] = createSignal(false);
17
20
const [stalling, setStalling] = createSignal(false);
18
21
···
64
67
}
65
68
}}
66
69
onPlay={() => {
67
-
globalEvents.emit('mediaplay');
70
+
globalEvents.emit('mediaplay', playerId);
68
71
setPlaying(true);
69
72
}}
70
73
onPause={() => {
+17
-8
src/components/embeds/players/video-player.tsx
+17
-8
src/components/embeds/players/video-player.tsx
···
1
1
import type * as h from 'hls.js';
2
2
import Hls from 'hls.js/dist/hls.light.js';
3
+
import { nanoid } from 'nanoid/non-secure';
3
4
import { createEffect, createSignal, onCleanup } from 'solid-js';
4
5
5
-
import type { AppBskyEmbedVideo } from '@atcute/bluesky';
6
+
import type { AppBskyEmbedVideo } from '@atcute/client/lexicons';
6
7
7
8
import { globalEvents } from '~/globals/events';
8
9
···
20
21
const { currentAccount } = useSession();
21
22
22
23
const [playing, setPlaying] = createSignal(false);
24
+
const playerId = nanoid();
23
25
24
26
const hls = new Hls({
25
27
capLevelToPlayerSize: true,
···
61
63
node.volume = currentAccount.preferences.ui.mediaVolume;
62
64
}
63
65
64
-
hls.on(Hls.Events.LEVEL_LOADED, (_event, data) => {
65
-
const hasAudio = data.levelInfo.audioCodec !== undefined;
66
-
const duration = data.details.totalduration;
67
-
68
-
node.loop = !hasAudio || duration <= 6;
69
-
});
70
-
71
66
createEffect(() => {
72
67
if (!playing()) {
73
68
return;
···
95
90
playsinline
96
91
autoplay
97
92
onPlay={() => {
93
+
globalEvents.emit('mediaplay', playerId);
98
94
setPlaying(true);
99
95
}}
100
96
onPause={() => {
···
104
100
if (!isMobile && currentAccount) {
105
101
currentAccount.preferences.ui.mediaVolume = ev.currentTarget.volume;
106
102
}
103
+
}}
104
+
onLoadedMetadata={(ev) => {
105
+
const video = ev.currentTarget;
106
+
107
+
const hasAudio =
108
+
// @ts-expect-error: Mozilla-specific
109
+
video.mozHasAudio ||
110
+
// @ts-expect-error: WebKit/Blink-specific
111
+
!!video.webkitAudioDecodedByteCount ||
112
+
// @ts-expect-error: WebKit-specific
113
+
!!(video.audioTracks && video.audioTracks.length);
114
+
115
+
video.loop = !hasAudio || video.duration <= 6;
107
116
}}
108
117
class="h-full w-full"
109
118
/>
+4
-3
src/components/embeds/quote-blocked-embed.tsx
+4
-3
src/components/embeds/quote-blocked-embed.tsx
···
1
-
import type { AppBskyEmbedRecord } from '@atcute/bluesky';
2
-
import type { ParsedCanonicalResourceUri } from '@atcute/lexicons';
1
+
import type { AppBskyEmbedRecord } from '@atcute/client/lexicons';
2
+
3
+
import type { ParsedAtUri } from '~/api/types/at-uri';
3
4
4
5
import BlockOutlinedIcon from '../icons-central/block-outline';
5
6
6
7
export interface QuoteBlockedEmbedProps {
7
8
embed: AppBskyEmbedRecord.ViewBlocked;
8
-
uri: ParsedCanonicalResourceUri;
9
+
uri: ParsedAtUri;
9
10
}
10
11
11
12
const QuoteBlockedEmbed = ({ embed, uri }: QuoteBlockedEmbedProps) => {
+6
-5
src/components/embeds/quote-embed.tsx
+6
-5
src/components/embeds/quote-embed.tsx
···
1
1
import { type JSX, createMemo } from 'solid-js';
2
2
3
-
import { AppBskyEmbedRecord, AppBskyFeedPost, unwrapMediaEmbed } from '@atcute/bluesky';
3
+
import type { AppBskyEmbedRecord, AppBskyFeedPost } from '@atcute/client/lexicons';
4
4
5
5
import { getModerationUI } from '~/api/moderation';
6
6
import { ContextContentMedia } from '~/api/moderation/constants';
7
7
import { moderateQuote } from '~/api/moderation/entities/quote';
8
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
8
+
import { parseAtUri } from '~/api/types/at-uri';
9
+
import { unwrapMediaEmbedView } from '~/api/utils/bluesky/embed-view';
9
10
10
11
import { inject } from '~/lib/states/singleton';
11
12
import ModerationService from '~/lib/states/singletons/moderation';
···
28
29
const QuoteEmbed = ({ quote, interactive, large }: QuoteEmbedProps) => {
29
30
const moderationOptions = inject(ModerationService);
30
31
31
-
const record = quote.value as AppBskyFeedPost.Main;
32
+
const record = quote.value as AppBskyFeedPost.Record;
32
33
const author = quote.author;
33
34
34
-
const uri = assertCanonicalResourceUri(quote.uri);
35
+
const uri = parseAtUri(quote.uri);
35
36
const href = `/${author.did}/${uri.rkey}`;
36
37
37
38
const text = record.text.trim();
38
-
const media = unwrapMediaEmbed(quote.embeds?.[0]);
39
+
const media = unwrapMediaEmbedView(quote.embeds?.[0]);
39
40
40
41
const moderation = createMemo(() => moderateQuote(quote, moderationOptions()));
41
42
+1
-1
src/components/embeds/video-embed.tsx
+1
-1
src/components/embeds/video-embed.tsx
···
1
1
import { Show, Suspense, createSignal, lazy } from 'solid-js';
2
2
3
-
import { AppBskyEmbedDefs, AppBskyEmbedVideo } from '@atcute/bluesky';
3
+
import type { AppBskyEmbedDefs, AppBskyEmbedVideo } from '@atcute/client/lexicons';
4
4
5
5
import { replaceVideoCdnUrl } from '~/lib/bsky/video';
6
6
+3
-5
src/components/error-view.tsx
+3
-5
src/components/error-view.tsx
···
1
1
import { Match, Switch } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import { ClientResponseError } from '@atcute/client';
3
+
import { XRPCError } from '@atcute/client';
4
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
5
5
import { TokenRefreshError } from '@atcute/oauth-browser-client';
6
6
import { useQueryClient } from '@mary/solid-query';
7
7
···
65
65
export default ErrorView;
66
66
67
67
const isInvalidTokenError = (err: unknown): boolean => {
68
-
return (
69
-
err instanceof TokenRefreshError || (err instanceof ClientResponseError && err.error === 'invalid_token')
70
-
);
68
+
return err instanceof TokenRefreshError || (err instanceof XRPCError && err.kind === 'invalid_token');
71
69
};
+3
-3
src/components/explore/my-feeds-section.tsx
+3
-3
src/components/explore/my-feeds-section.tsx
···
1
1
import { For, createMemo } from 'solid-js';
2
2
3
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
3
+
import { parseAtUri } from '~/api/types/at-uri';
4
4
5
5
import type { SavedFeed } from '~/lib/preferences/account';
6
6
import { useSession } from '~/lib/states/session';
···
55
55
let href: string;
56
56
switch (type) {
57
57
case 'generator': {
58
-
const uri = assertCanonicalResourceUri(feed.info.uri);
58
+
const uri = parseAtUri(feed.info.uri);
59
59
href = `/${uri.repo}/feeds/${uri.rkey}`;
60
60
break;
61
61
}
62
62
case 'list': {
63
-
const uri = assertCanonicalResourceUri(feed.info.uri);
63
+
const uri = parseAtUri(feed.info.uri);
64
64
href = `/${uri.repo}/lists/${uri.rkey}`;
65
65
break;
66
66
}
+7
-3
src/components/feeds/feed-info-prompt.tsx
+7
-3
src/components/feeds/feed-info-prompt.tsx
···
1
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
2
2
3
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
3
+
import { parseAtUri } from '~/api/types/at-uri';
4
4
5
5
import { useModalContext } from '~/globals/modals';
6
6
7
7
import { formatLong } from '~/lib/intl/number';
8
8
9
9
import Avatar from '~/components/avatar';
10
+
import Button from '~/components/button';
11
+
import Divider from '~/components/divider';
10
12
import * as Prompt from '~/components/prompt';
13
+
14
+
import HeartOutlinedIcon from '../icons-central/heart-outline';
11
15
12
16
export interface FeedInfoPromptProps {
13
17
/** Expected to be static */
···
20
24
const feed = props.feed;
21
25
22
26
const authorUrl = `/${feed.creator.did}`;
23
-
const feedUrl = `${authorUrl}/feeds/${assertCanonicalResourceUri(feed.uri).rkey}`;
27
+
const feedUrl = `${authorUrl}/feeds/${parseAtUri(feed.uri).rkey}`;
24
28
25
29
return (
26
30
<Prompt.Container maxWidth="md">
+3
-3
src/components/feeds/feed-item.tsx
+3
-3
src/components/feeds/feed-item.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
3
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
4
4
import { useQueryClient } from '@mary/solid-query';
5
5
6
6
import { moderateGeneric } from '~/api/moderation/entities/generic';
7
7
import { precacheFeed } from '~/api/queries-cache/feed-precache';
8
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
8
+
import { parseAtUri } from '~/api/types/at-uri';
9
9
10
10
import { history } from '~/globals/navigation';
11
11
···
27
27
const moderationOptions = inject(ModerationService);
28
28
29
29
const creator = item.creator;
30
-
const href = `/${creator.did}/feeds/${assertCanonicalResourceUri(item.uri).rkey}`;
30
+
const href = `/${creator.did}/feeds/${parseAtUri(item.uri).rkey}`;
31
31
32
32
const moderation = createMemo(() => moderateGeneric(item, creator.did, moderationOptions()));
33
33
+7
-18
src/components/list.tsx
+7
-18
src/components/list.tsx
···
3
3
import { getQueryErrorInfo } from '~/api/utils/query';
4
4
5
5
import { ifIntersect } from '~/lib/element-refs';
6
-
import { useIsFocused } from '~/lib/navigation/router';
7
6
8
7
import CircularProgress from './circular-progress';
8
+
import EndOfListView from './end-of-list-view';
9
9
import ErrorView from './error-view';
10
10
11
11
export interface ListProps<T> {
···
93
93
<div
94
94
ref={(node) => {
95
95
if (onEndReached) {
96
-
const isFocused = useIsFocused();
97
-
98
-
ifIntersect(
99
-
node,
100
-
() => !props.isFetchingNextPage && !props.isRefreshing && props.hasNextPage && isFocused(),
101
-
onEndReached,
102
-
{ rootMargin: '200% 0%' },
103
-
);
96
+
ifIntersect(node, () => !props.isFetchingNextPage && props.hasNextPage, onEndReached, {
97
+
rootMargin: `150% 0%`,
98
+
});
104
99
}
105
100
}}
106
-
class="h-[50svh] shrink-0"
101
+
class="grid h-13 shrink-0 place-items-center"
107
102
>
108
-
<div class="grid place-items-center py-8">
109
-
<CircularProgress />
110
-
</div>
103
+
<CircularProgress />
111
104
</div>
112
105
</Match>
113
106
114
107
<Match when={props.data}>
115
-
<div class="h-[50svh] shrink-0">
116
-
<div class="grid place-items-center py-8">
117
-
<div class="h-1 w-1 rounded-full bg-contrast-muted"></div>
118
-
</div>
119
-
</div>
108
+
<EndOfListView />
120
109
</Match>
121
110
</Switch>
122
111
</div>
+3
-3
src/components/lists/lib/utils.ts
+3
-3
src/components/lists/lib/utils.ts
···
1
-
import type { AppBskyGraphDefs } from '@atcute/bluesky';
1
+
import type { AppBskyGraphDefs } from '@atcute/client/lexicons';
2
2
3
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
3
+
import { parseAtUri } from '~/api/types/at-uri';
4
4
5
5
export const getListPurposeLabel = (purpose: AppBskyGraphDefs.ListPurpose) => {
6
6
switch (purpose) {
···
15
15
16
16
export const getListUrl = (list: AppBskyGraphDefs.ListView) => {
17
17
const did = list.creator.did;
18
-
const { rkey } = assertCanonicalResourceUri(list.uri);
18
+
const { rkey } = parseAtUri(list.uri);
19
19
20
20
switch (list.purpose) {
21
21
case 'app.bsky.graph.defs#curatelist':
+1
-1
src/components/lists/list-item.tsx
+1
-1
src/components/lists/list-item.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyGraphDefs } from '@atcute/bluesky';
3
+
import type { AppBskyGraphDefs } from '@atcute/client/lexicons';
4
4
import { useQueryClient } from '@mary/solid-query';
5
5
6
6
import { moderateGeneric } from '~/api/moderation/entities/generic';
+14
-9
src/components/main/sign-in-dialog.tsx
+14
-9
src/components/main/sign-in-dialog.tsx
···
1
1
import { Match, Switch, createSignal, onMount } from 'solid-js';
2
2
3
-
import type { ActorIdentifier, Did } from '@atcute/lexicons';
3
+
import type { At } from '@atcute/client/lexicons';
4
4
import {
5
-
type AuthorizeTargetOptions,
5
+
type AuthorizationServerMetadata,
6
+
type IdentityMetadata,
6
7
OAuthResponseError,
7
8
ResolverError,
8
9
createAuthorizationUrl,
10
+
resolveFromIdentity,
11
+
resolveFromService,
9
12
} from '@atcute/oauth-browser-client';
10
13
import { createMutation } from '@mary/solid-query';
11
14
···
24
27
}
25
28
26
29
export interface SignInDialogProps {
27
-
relogin?: { did: Did; handle?: string };
30
+
relogin?: { did: At.DID; handle?: string };
28
31
}
29
32
30
33
const SignInDialog = (props: SignInDialogProps) => {
···
39
42
async mutationFn({ identifier, pds }: { identifier?: string; pds?: string }) {
40
43
setPending(`Resolving your identity`);
41
44
42
-
let target: AuthorizeTargetOptions;
45
+
let metadata: AuthorizationServerMetadata;
46
+
let identity: IdentityMetadata | undefined;
43
47
44
48
if (identifier) {
45
-
target = { type: 'account', identifier: identifier as ActorIdentifier };
49
+
({ metadata, identity } = await resolveFromIdentity(identifier));
46
50
} else if (pds) {
47
-
target = { type: 'pds', serviceUrl: pds };
51
+
({ metadata } = await resolveFromService(pds));
48
52
} else {
49
53
assert(false);
50
54
}
···
52
56
setPending(`Contacting your data server`);
53
57
54
58
const authUrl = await createAuthorizationUrl({
55
-
target: target,
56
-
scope: 'atproto transition:generic transition:chat.bsky',
59
+
metadata: metadata,
60
+
identity: identity,
61
+
scope: import.meta.env.VITE_OAUTH_SCOPE,
57
62
});
58
63
59
64
setPending(`Redirecting to authorization page`);
60
65
61
66
// Wait for a moment to let the browser persist the local storage
62
-
await new Promise((resolve) => setTimeout(resolve, 1_000));
67
+
await new Promise((resolve) => setTimeout(resolve, 200));
63
68
64
69
window.location.assign(authUrl);
65
70
+31
-35
src/components/moderation/block-account-prompt.tsx
+31
-35
src/components/moderation/block-account-prompt.tsx
···
1
1
import { Match, Switch } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import { type Did } from '@atcute/lexicons';
3
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
5
4
import { QueryClient, createMutation } from '@mary/solid-query';
6
5
7
-
import { type ProfileShadowView, updateProfileShadow, useProfileShadow } from '~/api/cache/profile-shadow';
6
+
import { updateProfileShadow, useProfileShadow } from '~/api/cache/profile-shadow';
8
7
import { createListMetaQuery } from '~/api/queries/list';
9
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
8
+
import { parseAtUri } from '~/api/types/at-uri';
10
9
import { getCurrentDate } from '~/api/utils/misc';
11
10
import { createRecord, deleteRecord } from '~/api/utils/records';
12
11
···
23
22
import * as Prompt from '../prompt';
24
23
25
24
export interface BlockAccountPrompt {
25
+
/** Expected to be static */
26
26
profile: AppBskyActorDefs.ProfileViewDetailed;
27
27
}
28
28
29
29
const BlockAccountPrompt = (props: BlockAccountPrompt) => {
30
-
const profile = () => props.profile;
31
-
const shadow = useProfileShadow(profile);
30
+
const profile = props.profile;
31
+
const shadow = useProfileShadow(props.profile);
32
32
33
33
return (
34
34
<Switch>
35
-
<Match when={profile().viewer?.blockingByList}>
36
-
<BlockedByList profile={profile()} shadow={shadow()} />
35
+
<Match when={/* @once */ profile.viewer?.blockingByList}>
36
+
<BlockedByList {...props} />
37
37
</Match>
38
38
39
39
<Match when={shadow().blockUri}>
40
-
<UnblockPrompt profile={profile()} shadow={shadow()} />
40
+
<UnblockPrompt {...props} />
41
41
</Match>
42
42
43
43
<Match when>
44
-
<BlockPrompt profile={profile()} shadow={shadow()} />
44
+
<BlockPrompt {...props} />
45
45
</Match>
46
46
</Switch>
47
47
);
···
49
49
50
50
export default BlockAccountPrompt;
51
51
52
-
interface BlockAccountPromptInnerProps extends BlockAccountPrompt {
53
-
shadow: ProfileShadowView;
54
-
}
55
-
56
-
const BlockPrompt = (props: BlockAccountPromptInnerProps) => {
52
+
const BlockPrompt = ({ profile }: BlockAccountPrompt) => {
57
53
const { close } = useModalContext();
58
54
59
55
const { currentAccount } = useSession();
60
-
const { client } = useAgent();
56
+
const { rpc } = useAgent();
61
57
62
58
const mutation = createMutation((queryClient) => ({
63
59
async mutationFn() {
64
-
return await createRecord(client, {
60
+
return await createRecord(rpc, {
65
61
repo: currentAccount!.did,
66
62
collection: 'app.bsky.graph.block',
67
63
record: {
68
64
$type: 'app.bsky.graph.block',
69
65
createdAt: getCurrentDate(),
70
-
subject: props.profile.did,
66
+
subject: profile.did,
71
67
},
72
68
});
73
69
},
74
70
onSuccess(ret) {
75
71
close();
76
-
updateProfileShadow(queryClient, props.profile.did, { blockUri: ret.uri });
72
+
updateProfileShadow(queryClient, profile.did, { blockUri: ret.uri });
77
73
78
74
setTimeout(() => {
79
-
resetThreadQueries(queryClient, props.profile.did);
75
+
resetThreadQueries(queryClient, profile.did);
80
76
}, 1_500);
81
77
},
82
78
onError() {
···
86
82
87
83
return (
88
84
<Prompt.Container maxWidth="md" disabled={mutation.isPending}>
89
-
<Prompt.Title>{/* @once */ `Block @${props.profile.handle.toLowerCase()}?`}</Prompt.Title>
85
+
<Prompt.Title>{/* @once */ `Block @${profile.handle.toLowerCase()}?`}</Prompt.Title>
90
86
91
87
<Prompt.Description>Here's what happens if you do:</Prompt.Description>
92
88
···
126
122
);
127
123
};
128
124
129
-
const UnblockPrompt = (props: BlockAccountPromptInnerProps) => {
125
+
const UnblockPrompt = ({ profile }: BlockAccountPrompt) => {
130
126
const { close } = useModalContext();
131
127
132
-
const { client } = useAgent();
128
+
const { rpc } = useAgent();
129
+
const { repo, rkey } = parseAtUri(profile.viewer!.blocking!);
133
130
134
131
const mutation = createMutation((queryClient) => ({
135
132
async mutationFn() {
136
-
const uri = assertCanonicalResourceUri(props.shadow.blockUri!);
137
-
138
-
return await deleteRecord(client, {
139
-
repo: uri.repo,
133
+
return await deleteRecord(rpc, {
134
+
repo: repo as At.DID,
140
135
collection: 'app.bsky.graph.block',
141
-
rkey: uri.rkey,
136
+
rkey: rkey,
142
137
});
143
138
},
144
139
onSuccess() {
145
140
close();
146
-
updateProfileShadow(queryClient, props.profile.did, { blockUri: undefined });
141
+
updateProfileShadow(queryClient, profile.did, { blockUri: undefined });
147
142
148
143
setTimeout(() => {
149
-
resetThreadQueries(queryClient, props.profile.did);
144
+
resetThreadQueries(queryClient, profile.did);
150
145
}, 1_500);
151
146
},
152
147
onError() {
···
156
151
157
152
return (
158
153
<Prompt.Container maxWidth="md" disabled={mutation.isPending}>
159
-
<Prompt.Title>{/* @once */ `Unblock @${props.profile.handle.toLowerCase()}?`}</Prompt.Title>
154
+
<Prompt.Title>{/* @once */ `Unblock @${profile.handle.toLowerCase()}?`}</Prompt.Title>
160
155
161
156
<Prompt.Description>Here's what happens if you do:</Prompt.Description>
162
157
···
196
191
);
197
192
};
198
193
199
-
const BlockedByList = (props: BlockAccountPromptInnerProps) => {
194
+
const BlockedByList = ({ profile }: BlockAccountPrompt) => {
200
195
const { close } = useModalContext();
201
196
202
-
const query = createListMetaQuery(() => props.profile.viewer!.blockingByList!.uri);
197
+
const listBasic = profile.viewer!.blockingByList!;
198
+
const query = createListMetaQuery(() => listBasic.uri);
203
199
204
200
return (
205
201
<Prompt.Container>
206
-
<Prompt.Title>{/* @once */ `Can't unblock @${props.profile.handle.toLowerCase()}`}</Prompt.Title>
202
+
<Prompt.Title>{/* @once */ `Can't unblock @${profile.handle.toLowerCase()}`}</Prompt.Title>
207
203
<Prompt.Description>
208
204
You've currently opted to block all accounts that are in this moderation list:
209
205
</Prompt.Description>
···
229
225
);
230
226
};
231
227
232
-
const resetThreadQueries = (queryClient: QueryClient, did: Did) => {
228
+
const resetThreadQueries = (queryClient: QueryClient, did: At.DID) => {
233
229
const substring = `at://${did}/`;
234
230
235
231
queryClient.resetQueries({
+1
-1
src/components/moderation/labels-on-me.tsx
+1
-1
src/components/moderation/labels-on-me.tsx
+13
-20
src/components/moderation/mute-account-prompt.tsx
+13
-20
src/components/moderation/mute-account-prompt.tsx
···
1
1
import { Match, Switch, onMount } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import { ok } from '@atcute/client';
3
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
5
4
import { createMutation } from '@mary/solid-query';
6
5
7
6
import { updateProfileShadow, useProfileShadow } from '~/api/cache/profile-shadow';
···
50
49
const MutePrompt = ({ profile }: MuteAccountPromptProps) => {
51
50
const { close } = useModalContext();
52
51
53
-
const { client } = useAgent();
52
+
const { rpc } = useAgent();
54
53
55
54
const mutation = createMutation((queryClient) => ({
56
55
async mutationFn() {
57
-
await ok(
58
-
client.post('app.bsky.graph.muteActor', {
59
-
as: null,
60
-
input: {
61
-
actor: profile.did,
62
-
},
63
-
}),
64
-
);
56
+
await rpc.call('app.bsky.graph.muteActor', {
57
+
data: {
58
+
actor: profile.did,
59
+
},
60
+
});
65
61
},
66
62
onSuccess() {
67
63
close();
···
119
115
const UnmutePrompt = ({ profile }: MuteAccountPromptProps) => {
120
116
const { close } = useModalContext();
121
117
122
-
const { client } = useAgent();
118
+
const { rpc } = useAgent();
123
119
124
120
const mutation = createMutation((queryClient) => ({
125
121
async mutationFn() {
126
-
await ok(
127
-
client.post('app.bsky.graph.unmuteActor', {
128
-
as: null,
129
-
input: {
130
-
actor: profile.did,
131
-
},
132
-
}),
133
-
);
122
+
await rpc.call('app.bsky.graph.unmuteActor', {
123
+
data: {
124
+
actor: profile.did,
125
+
},
126
+
});
134
127
},
135
128
onSuccess() {
136
129
close();
+13
-15
src/components/notifications/notification-item.tsx
+13
-15
src/components/notifications/notification-item.tsx
···
1
1
import { type Component, type ComponentProps, type JSX, createMemo } from 'solid-js';
2
2
3
-
import {
4
-
type AppBskyEmbedImages,
5
-
type AppBskyFeedDefs,
6
-
type AppBskyFeedPost,
7
-
type AppBskyNotificationListNotifications,
8
-
type MediaEmbed,
9
-
unwrapMediaEmbed,
10
-
} from '@atcute/bluesky';
3
+
import type {
4
+
AppBskyEmbedImages,
5
+
AppBskyFeedDefs,
6
+
AppBskyFeedPost,
7
+
AppBskyNotificationListNotifications,
8
+
} from '@atcute/client/lexicons';
11
9
import { useQueryClient } from '@mary/solid-query';
12
10
13
11
import { getModerationUI } from '~/api/moderation';
···
21
19
NotificationSlice,
22
20
RepostNotificationSlice,
23
21
} from '~/api/queries/notification-feed';
24
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
22
+
import { parseAtUri } from '~/api/types/at-uri';
23
+
import { type MediaEmbedView, unwrapMediaEmbedView } from '~/api/utils/bluesky/embed-view';
25
24
26
25
import { history } from '~/globals/navigation';
27
26
···
96
95
}
97
96
} else {
98
97
const post = item.view;
99
-
const { repo, rkey } = assertCanonicalResourceUri(post.uri);
100
-
101
-
href = `/${repo}/${rkey}`;
98
+
const uri = parseAtUri(post.uri);
99
+
href = `/${uri.repo}/${uri.rkey}`;
102
100
}
103
101
104
102
if (isElementAltClicked(ev)) {
···
236
234
237
235
if (type === 'like' || type === 'repost') {
238
236
const post = data.view;
239
-
const record = post.record as AppBskyFeedPost.Main;
237
+
const record = post.record as AppBskyFeedPost.Record;
240
238
241
-
const media = unwrapMediaEmbed(post.embed);
239
+
const media = unwrapMediaEmbedView(post.embed);
242
240
const gif = maybeUnwrapGifEmbed(media);
243
241
244
242
return (
···
302
300
);
303
301
};
304
302
305
-
const maybeUnwrapGifEmbed = (embed: MediaEmbed | undefined): BlueskyGifSnippet | undefined => {
303
+
const maybeUnwrapGifEmbed = (embed: MediaEmbedView | undefined): BlueskyGifSnippet | undefined => {
306
304
if (embed?.$type === 'app.bsky.embed.external#view') {
307
305
const snippet = detectSnippet(embed.external);
308
306
if (snippet.type !== SnippetType.BLUESKY_GIF) {
+5
-10
src/components/paged-list.tsx
+5
-10
src/components/paged-list.tsx
···
6
6
import { useIsFocused } from '~/lib/navigation/router';
7
7
8
8
import CircularProgress from './circular-progress';
9
+
import EndOfListView from './end-of-list-view';
9
10
import ErrorView from './error-view';
10
11
11
12
export interface PagedListProps<T> {
···
99
100
node,
100
101
() => !props.isFetchingNextPage && !props.isRefreshing && props.hasNextPage && isFocused(),
101
102
onEndReached,
102
-
{ rootMargin: '200% 0%' },
103
+
{ rootMargin: '150% 0%' },
103
104
);
104
105
}
105
106
}}
106
-
class="h-[50svh] shrink-0"
107
+
class="grid h-13 shrink-0 place-items-center"
107
108
>
108
-
<div class="grid place-items-center py-8">
109
-
<CircularProgress />
110
-
</div>
109
+
<CircularProgress />
111
110
</div>
112
111
</Match>
113
112
114
113
<Match when={hasFallback && isEmpty()}>{props.fallback}</Match>
115
114
116
115
<Match when={props.data}>
117
-
<div class="h-[50svh] shrink-0">
118
-
<div class="grid place-items-center py-8">
119
-
<div class="h-1 w-1 rounded-full bg-contrast-muted"></div>
120
-
</div>
121
-
</div>
116
+
<EndOfListView />
122
117
</Match>
123
118
</Switch>
124
119
</div>
+10
-11
src/components/profiles/edit-profile-dialog.tsx
+10
-11
src/components/profiles/edit-profile-dialog.tsx
···
1
1
import { Show, createMemo, createSignal } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import { ClientResponseError } from '@atcute/client';
5
-
import type { Blob as AtpBlob } from '@atcute/lexicons';
3
+
import { XRPCError } from '@atcute/client';
4
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
6
5
import { createMutation } from '@mary/solid-query';
7
6
8
7
import { uploadBlob } from '~/api/queries/blob';
···
35
34
const EditProfileDialog = ({ profile }: EditProfileDialogProps) => {
36
35
const { close } = useModalContext();
37
36
38
-
const { client } = useAgent();
37
+
const { rpc } = useAgent();
39
38
const { currentAccount } = useSession();
40
39
41
40
const snapshot = {
···
75
74
const $avatar = avatar();
76
75
const $banner = banner();
77
76
78
-
let avatarPromise: Promise<AtpBlob<any>> | undefined;
79
-
let bannerPromise: Promise<AtpBlob<any>> | undefined;
77
+
let avatarPromise: Promise<At.Blob<any>> | undefined;
78
+
let bannerPromise: Promise<At.Blob<any>> | undefined;
80
79
81
80
if ($avatar instanceof Blob) {
82
-
avatarPromise = compressProfileImage($avatar, 1000, 1000).then((res) => uploadBlob(client, res.blob));
81
+
avatarPromise = compressProfileImage($avatar, 1000, 1000).then((res) => uploadBlob(rpc, res.blob));
83
82
}
84
83
if ($banner instanceof Blob) {
85
-
bannerPromise = compressProfileImage($banner, 3000, 1000).then((res) => uploadBlob(client, res.blob));
84
+
bannerPromise = compressProfileImage($banner, 3000, 1000).then((res) => uploadBlob(rpc, res.blob));
86
85
}
87
86
88
87
let retriesRemaining = 3;
89
88
while (true) {
90
-
const existing = await getRecord(client, {
89
+
const existing = await getRecord(rpc, {
91
90
repo,
92
91
collection: 'app.bsky.actor.profile',
93
92
rkey: 'self',
···
115
114
}
116
115
117
116
try {
118
-
await putRecord(client, {
117
+
await putRecord(rpc, {
119
118
repo,
120
119
collection: 'app.bsky.actor.profile',
121
120
rkey: 'self',
···
123
122
swapRecord: existing?.cid ?? null,
124
123
});
125
124
} catch (err) {
126
-
if (err instanceof ClientResponseError && err.error === 'InvalidSwapError') {
125
+
if (err instanceof XRPCError && err.kind === 'InvalidSwapError') {
127
126
if (retriesRemaining--) {
128
127
continue;
129
128
}
+1
-1
src/components/profiles/profile-item-pressable.tsx
+1
-1
src/components/profiles/profile-item-pressable.tsx
+1
-1
src/components/profiles/profile-item.tsx
+1
-1
src/components/profiles/profile-item.tsx
···
1
1
import { type JSX, createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
3
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
4
4
import { useQueryClient } from '@mary/solid-query';
5
5
6
6
import { moderateProfile } from '~/api/moderation/entities/profile';
+4
-4
src/components/profiles/profile-view-header.tsx
+4
-4
src/components/profiles/profile-view-header.tsx
···
1
1
import { type Component, type ComponentProps, type JSX, Match, Show, Switch, createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
3
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
4
4
5
5
import { useProfileShadow } from '~/api/cache/profile-shadow';
6
6
import { getModerationUI } from '~/api/moderation';
7
7
import { ContextProfileMedia, ContextProfileView } from '~/api/moderation/constants';
8
8
import { moderateProfile } from '~/api/moderation/entities/profile';
9
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
9
+
import { parseAtUri } from '~/api/types/at-uri';
10
10
11
11
import { openModal } from '~/globals/modals';
12
12
···
259
259
<Match when={viewer()?.mutedByList}>
260
260
{(list) => {
261
261
const href = () => {
262
-
const { repo, rkey } = assertCanonicalResourceUri(list().uri);
263
-
return `/${repo}/lists/${rkey}`;
262
+
const uri = parseAtUri(list().uri);
263
+
return `/${uri.repo}/lists/${uri.rkey}`;
264
264
};
265
265
266
266
return (
+6
-1
src/components/prompt.tsx
+6
-1
src/components/prompt.tsx
···
74
74
}
75
75
76
76
const PromptTitle = (props: PromptTitleProps) => {
77
-
return <h1 class="mb-1 break-words text-lg font-bold">{props.children}</h1>;
77
+
const isDesktop = useMediaQuery('(width >= 688px) and (height >= 500px)');
78
+
return (
79
+
<h1 class={`mb-1 break-words font-bold` + (!isDesktop() ? ` text-base` : ` text-xl`)}>
80
+
{props.children}
81
+
</h1>
82
+
);
78
83
};
79
84
80
85
export { PromptTitle as Title };
+4
-6
src/components/rich-text.tsx
+4
-6
src/components/rich-text.tsx
···
1
1
import type { JSX } from 'solid-js';
2
2
3
-
import type { BlueMojiRichtextFacet } from '@atcute/bluemoji';
4
-
import type { AppBskyRichtextFacet } from '@atcute/bluesky';
5
3
import { segmentize } from '@atcute/bluesky-richtext-segmenter';
4
+
import type { AppBskyRichtextFacet } from '@atcute/client/lexicons';
6
5
7
6
import { isLinkValid } from '~/api/utils/strings';
8
7
···
65
64
66
65
break;
67
66
} else if (type === 'blue.moji.richtext.facet') {
68
-
const feat = feature as BlueMojiRichtextFacet.Main;
69
-
const formats = feat.formats;
67
+
const formats = feature.formats;
70
68
if (formats.$type !== 'blue.moji.richtext.facet#formats_v0' || !formats.png_128) {
71
69
continue;
72
70
}
73
71
74
72
node = (
75
73
<img
76
-
src={/* @once */ getCdnUrl(feat.did, formats.png_128)}
77
-
title={/* @once */ feat.name}
74
+
src={/* @once */ getCdnUrl(feature.did, formats.png_128)}
75
+
title={/* @once */ feature.name}
78
76
class={`mx-px inline-block align-top text-[0]` + (!large ? ` h-5 w-5` : ` h-6 w-6`)}
79
77
/>
80
78
);
+8
-11
src/components/search/suggestions/from-actor-autocompletion-view.tsx
+8
-11
src/components/search/suggestions/from-actor-autocompletion-view.tsx
···
1
1
import { For, Show, createMemo } from 'solid-js';
2
2
3
-
import { ok } from '@atcute/client';
4
3
import { createQuery, keepPreviousData } from '@mary/solid-query';
5
4
6
5
import { createProfileQuery } from '~/api/queries/profile';
···
18
17
}) => {
19
18
const { currentAccount } = useSession();
20
19
21
-
const { client } = useAgent();
20
+
const { rpc } = useAgent();
22
21
const isFocused = useIsFocused();
23
22
24
23
const match = createMemo(() => {
···
33
32
enabled: $match !== '' && isFocused(),
34
33
placeholderData: keepPreviousData,
35
34
async queryFn({ signal }) {
36
-
const data = await ok(
37
-
client.get('app.bsky.actor.searchActorsTypeahead', {
38
-
signal,
39
-
params: {
40
-
q: $match,
41
-
limit: 10,
42
-
},
43
-
}),
44
-
);
35
+
const { data } = await rpc.get('app.bsky.actor.searchActorsTypeahead', {
36
+
signal,
37
+
params: {
38
+
q: $match,
39
+
limit: 10,
40
+
},
41
+
});
45
42
46
43
return data;
47
44
},
+7
-10
src/components/settings/app-passwords/add-app-password-prompt.tsx
+7
-10
src/components/settings/app-passwords/add-app-password-prompt.tsx
···
1
1
import { Match, Switch, createSignal } from 'solid-js';
2
2
3
-
import { ok } from '@atcute/client';
4
3
import { createMutation } from '@mary/solid-query';
5
4
6
5
import { autofocusNode, modelChecked, modelText } from '~/lib/input-refs';
···
14
13
export interface AddAppPasswordPromptProps {}
15
14
16
15
const AddAppPasswordPrompt = ({}: AddAppPasswordPromptProps) => {
17
-
const { client } = useAgent();
16
+
const { rpc } = useAgent();
18
17
19
18
const [name, setName] = createSignal('');
20
19
const [privileged, setPrivileged] = createSignal(false);
···
23
22
const mutation = createMutation((queryClient) => {
24
23
return {
25
24
async mutationFn() {
26
-
const data = await ok(
27
-
client.post('com.atproto.server.createAppPassword', {
28
-
input: {
29
-
name: name().replace(/^\s+|\s+$|(?<=\s)\s+/g, ''),
30
-
privileged: privileged(),
31
-
},
32
-
}),
33
-
);
25
+
const { data } = await rpc.call('com.atproto.server.createAppPassword', {
26
+
data: {
27
+
name: name().replace(/^\s+|\s+$|(?<=\s)\s+/g, ''),
28
+
privileged: privileged(),
29
+
},
30
+
});
34
31
35
32
return data;
36
33
},
+5
-5
src/components/settings/bluemoji/add-emote-prompt.tsx
+5
-5
src/components/settings/bluemoji/add-emote-prompt.tsx
···
42
42
const AddEmotePrompt = ({ blob, onAdd }: AddEmotePromptProps) => {
43
43
const { close } = useModalContext();
44
44
45
-
const { client } = useAgent();
45
+
const { rpc } = useAgent();
46
46
const { currentAccount } = useSession();
47
47
48
48
const blobUrl = URL.createObjectURL(blob);
···
71
71
72
72
const { png_128, webp_128 } = await getCompressedEmotes(blob, cover() ? 'cover' : 'contain');
73
73
74
-
const orig_prom = uploadBlob(client, blob);
75
-
const png_prom = png_128 !== blob ? uploadBlob(client, png_128) : orig_prom;
76
-
const webp_prom = webp_128 !== blob ? uploadBlob(client, webp_128) : orig_prom;
74
+
const orig_prom = uploadBlob(rpc, blob);
75
+
const png_prom = png_128 !== blob ? uploadBlob(rpc, png_128) : orig_prom;
76
+
const webp_prom = webp_128 !== blob ? uploadBlob(rpc, webp_128) : orig_prom;
77
77
78
78
const [orig_blob, png_blob, webp_blob] = await Promise.all([orig_prom, png_prom, webp_prom]);
79
79
80
-
await createRecord(client, {
80
+
await createRecord(rpc, {
81
81
repo: currentAccount!.did,
82
82
collection: 'blue.moji.collection.item',
83
83
rkey: $name,
+3
-3
src/components/settings/content-translation/add-basa-instance-prompt.tsx
+3
-3
src/components/settings/content-translation/add-basa-instance-prompt.tsx
···
1
1
import { createMemo, createSignal } from 'solid-js';
2
2
3
-
import { Client, ok, simpleFetchHandler } from '@atcute/client';
3
+
import { XRPC, simpleFetchHandler } from '@atcute/client';
4
4
import { createMutation } from '@mary/solid-query';
5
5
6
6
import { formatQueryError } from '~/api/utils/error';
···
47
47
48
48
const mutation = createMutation(() => ({
49
49
async mutationFn({ url }: { url: URL }) {
50
-
const client = new Client({ handler: simpleFetchHandler({ service: url }) });
51
-
await ok(client.get('x.basa.describeServer'));
50
+
const rpc = new XRPC({ handler: simpleFetchHandler({ service: url }) });
51
+
await rpc.get('x.basa.describeServer', {});
52
52
},
53
53
onSuccess(_data, { url }) {
54
54
const href = url.toString();
+7
-7
src/components/threads/highlighted-post.tsx
+7
-7
src/components/threads/highlighted-post.tsx
···
1
1
import { Show, createMemo } from 'solid-js';
2
2
3
-
import { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
3
+
import type { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/client/lexicons';
4
4
5
5
import { usePostShadow } from '~/api/cache/post-shadow';
6
6
import { getModerationUI } from '~/api/moderation';
7
7
import { ContextContentView } from '~/api/moderation/constants';
8
8
import { moderatePost } from '~/api/moderation/entities/post';
9
9
import { createPostLikeMutation, createPostRepostMutation } from '~/api/mutations/post';
10
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
10
+
import { parseAtUri } from '~/api/types/at-uri';
11
11
12
12
import { primarySystemLanguage } from '~/globals/locales';
13
13
import { openModal } from '~/globals/modals';
···
58
58
const moderationOptions = inject(ModerationService);
59
59
60
60
const author = () => post().author;
61
-
const record = () => post().record as AppBskyFeedPost.Main;
61
+
const record = () => post().record as AppBskyFeedPost.Record;
62
62
const embed = () => post().embed;
63
63
64
64
const shadow = usePostShadow(post);
65
65
66
-
const { rkey } = assertCanonicalResourceUri(post().uri);
66
+
const uri = parseAtUri(post().uri);
67
67
const authorDid = author().did;
68
68
69
69
const isOurPost = currentAccount && authorDid === currentAccount.did;
70
70
71
71
const authorHref = `/${authorDid}`;
72
-
const href = `/${authorDid}/${rkey}`;
72
+
const href = `/${authorDid}/${uri.rkey}`;
73
73
74
74
const moderation = createMemo(() => moderatePost(post(), moderationOptions()));
75
75
const ui = createMemo(() => getModerationUI(moderation(), ContextContentView));
···
151
151
}
152
152
153
153
if (props.translate) {
154
-
return <PostTranslation text={(post().record as AppBskyFeedPost.Main).text} />;
154
+
return <PostTranslation text={(post().record as AppBskyFeedPost.Record).text} />;
155
155
}
156
156
157
157
if (needTranslation(post(), currentAccount.preferences.translation)) {
···
274
274
return false;
275
275
}
276
276
277
-
const record = post.record as AppBskyFeedPost.Main;
277
+
const record = post.record as AppBskyFeedPost.Record;
278
278
const langs = record.langs;
279
279
280
280
if (!langs || langs.length < 1 || !record.text) {
+2
-2
src/components/threads/overflow-thread-item.tsx
+2
-2
src/components/threads/overflow-thread-item.tsx
···
1
1
import type { OverflowAncestorItem, OverflowDescendantItem } from '~/api/models/post-thread';
2
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
2
+
import { parseAtUri } from '~/api/types/at-uri';
3
3
4
4
import MoreHorizOutlinedIcon from '../icons-central/more-horiz-outline';
5
5
···
20
20
return (
21
21
<a
22
22
href={(() => {
23
-
const uri = assertCanonicalResourceUri(props.item.uri);
23
+
const uri = parseAtUri(props.item.uri);
24
24
return `/${uri.repo}/${uri.rkey}`;
25
25
})()}
26
26
class={
+6
-4
src/components/threads/post-thread-item.tsx
+6
-4
src/components/threads/post-thread-item.tsx
···
1
1
import { type JSX, Show, createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyFeedPost } from '@atcute/bluesky';
3
+
import type { AppBskyFeedPost } from '@atcute/client/lexicons';
4
4
import { useQueryClient } from '@mary/solid-query';
5
5
6
6
import { usePostShadow } from '~/api/cache/post-shadow';
···
9
9
import { ContextContentList } from '~/api/moderation/constants';
10
10
import { moderatePost } from '~/api/moderation/entities/post';
11
11
import { precacheProfile } from '~/api/queries-cache/profile-precache';
12
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
12
+
import { parseAtUri } from '~/api/types/at-uri';
13
13
14
14
import { history } from '~/globals/navigation';
15
15
···
49
49
const post = () => item().post;
50
50
51
51
const author = () => post().author;
52
-
const record = post().record as AppBskyFeedPost.Main;
52
+
const record = post().record as AppBskyFeedPost.Record;
53
53
const embed = post().embed;
54
54
55
55
const shadow = usePostShadow(post);
56
56
57
+
const uri = parseAtUri(post().uri);
57
58
const authorHref = `/${author().did}`;
58
-
const href = `/${author().did}/${assertCanonicalResourceUri(post().uri).rkey}`;
59
+
const href = `/${author().did}/${uri.rkey}`;
59
60
60
61
const isOurPost = currentAccount && currentAccount.did === author().did;
61
62
···
112
113
<div class="min-w-0 grow py-3">
113
114
<PostMeta
114
115
post={/* @once */ post()}
116
+
context={(item() as PostDescendantItem).context}
115
117
href={href}
116
118
authorHref={authorHref}
117
119
gutterBottom
+12
-12
src/components/threads/post-translation.tsx
+12
-12
src/components/threads/post-translation.tsx
···
1
1
import { Match, Switch, createMemo, createSignal } from 'solid-js';
2
2
3
-
import { Client, ok, simpleFetchHandler } from '@atcute/client';
3
+
import { XRPC, simpleFetchHandler } from '@atcute/client';
4
4
import { sampleOne } from '@mary/array-fns';
5
5
import { createQuery } from '@mary/solid-query';
6
6
···
66
66
targetLang = found;
67
67
}
68
68
69
-
const client = new Client({ handler: simpleFetchHandler({ service: $instanceUrl! }) });
70
-
const data = await ok(
71
-
client.get('x.basa.translate', {
72
-
params: {
73
-
engine: 'google',
74
-
text: $text,
75
-
from: $source,
76
-
to: targetLang,
77
-
},
78
-
}),
79
-
);
69
+
console.log(targetLang);
70
+
71
+
const rpc = new XRPC({ handler: simpleFetchHandler({ service: $instanceUrl! }) });
72
+
const { data } = await rpc.get('x.basa.translate', {
73
+
params: {
74
+
engine: 'google',
75
+
text: $text,
76
+
from: $source,
77
+
to: targetLang,
78
+
},
79
+
});
80
80
81
81
return data;
82
82
},
+13
-54
src/components/timeline/delete-post-prompt.tsx
+13
-54
src/components/timeline/delete-post-prompt.tsx
···
1
-
import { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
2
-
import { ClientResponseError, ok } from '@atcute/client';
1
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
3
2
import { useQueryClient } from '@mary/solid-query';
4
3
5
4
import { updatePostShadow } from '~/api/cache/post-shadow';
6
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
5
+
import { parseAtUri } from '~/api/types/at-uri';
6
+
import { deleteRecord } from '~/api/utils/records';
7
7
8
8
import { useAgent } from '~/lib/states/agent';
9
9
import { useSession } from '~/lib/states/session';
···
19
19
20
20
const DeletePostPrompt = ({ post, onPostDelete }: DeletePostPromptProps) => {
21
21
const { currentAccount } = useSession();
22
-
const { client } = useAgent();
22
+
const { rpc } = useAgent();
23
23
24
24
const queryClient = useQueryClient();
25
25
26
-
const onDelete = async () => {
27
-
const { rkey } = assertCanonicalResourceUri(post.uri);
28
-
29
-
const write = await client.post('com.atproto.repo.applyWrites', {
30
-
input: {
31
-
repo: currentAccount!.did,
32
-
writes: [
33
-
{
34
-
$type: 'com.atproto.repo.applyWrites#delete',
35
-
collection: 'app.bsky.feed.post',
36
-
rkey: rkey,
37
-
},
38
-
],
39
-
},
26
+
const onDelete = () => {
27
+
const uri = parseAtUri(post.uri);
28
+
const promise = deleteRecord(rpc, {
29
+
repo: currentAccount!.did,
30
+
collection: 'app.bsky.feed.post',
31
+
rkey: uri.rkey,
40
32
});
41
33
42
-
if (write.ok) {
43
-
updatePostShadow(queryClient, post.uri, { deleted: true });
44
-
onPostDelete?.();
45
-
return;
46
-
}
34
+
updatePostShadow(queryClient, post.uri, { deleted: true });
47
35
48
-
if (write.data.error !== 'InternalServerError') {
49
-
throw new ClientResponseError(write);
36
+
if (onPostDelete) {
37
+
promise.then(onPostDelete);
50
38
}
51
-
52
-
await ok(
53
-
client.post('com.atproto.repo.putRecord', {
54
-
input: {
55
-
repo: currentAccount!.did,
56
-
collection: 'app.bsky.feed.post',
57
-
rkey: rkey,
58
-
validate: false,
59
-
record: {
60
-
$type: 'app.bsky.feed.post',
61
-
text: '',
62
-
createdAt: '1970-01-01T00:00:00.000Z',
63
-
} satisfies AppBskyFeedPost.Main,
64
-
},
65
-
}),
66
-
);
67
-
68
-
await ok(
69
-
client.post('com.atproto.repo.deleteRecord', {
70
-
input: {
71
-
repo: currentAccount!.did,
72
-
collection: 'app.bsky.feed.post',
73
-
rkey: rkey,
74
-
},
75
-
}),
76
-
);
77
-
78
-
updatePostShadow(queryClient, post.uri, { deleted: true });
79
-
onPostDelete?.();
80
39
};
81
40
82
41
return (
+6
-6
src/components/timeline/pin-post-prompt.tsx
+6
-6
src/components/timeline/pin-post-prompt.tsx
···
1
1
import { Match, Show, Switch, batch } from 'solid-js';
2
2
3
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
4
-
import { ClientResponseError } from '@atcute/client';
3
+
import { XRPCError } from '@atcute/client';
4
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
5
5
import { createMutation } from '@mary/solid-query';
6
6
7
7
import { updatePostShadow, usePostShadow } from '~/api/cache/post-shadow';
···
23
23
24
24
const PinPostPrompt = ({ post }: PinPostPromptProps) => {
25
25
const { currentAccount } = useSession();
26
-
const { client } = useAgent();
26
+
const { rpc } = useAgent();
27
27
28
28
const { close } = useModalContext();
29
29
···
40
40
updatePostShadow(queryClient, post.uri, { pinned: next });
41
41
42
42
while (true) {
43
-
const existing = await getRecord(client, {
43
+
const existing = await getRecord(rpc, {
44
44
repo,
45
45
collection: 'app.bsky.actor.profile',
46
46
rkey: 'self',
···
63
63
record.pinnedPost = next ? { uri: post.uri, cid: post.cid } : undefined;
64
64
65
65
try {
66
-
await putRecord(client, {
66
+
await putRecord(rpc, {
67
67
repo,
68
68
collection: 'app.bsky.actor.profile',
69
69
rkey: 'self',
···
71
71
swapRecord: existing?.cid ?? null,
72
72
});
73
73
} catch (err) {
74
-
if (err instanceof ClientResponseError && err.error === 'InvalidSwapError') {
74
+
if (err instanceof XRPCError && err.kind === 'InvalidSwapError') {
75
75
if (retriesRemaining--) {
76
76
continue;
77
77
}
+1
-1
src/components/timeline/post-actions.tsx
+1
-1
src/components/timeline/post-actions.tsx
+6
-8
src/components/timeline/post-feed-item.tsx
+6
-8
src/components/timeline/post-feed-item.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyFeedPost } from '@atcute/bluesky';
4
-
import { type Did } from '@atcute/lexicons';
3
+
import type { AppBskyFeedPost, At } from '@atcute/client/lexicons';
5
4
import { useQueryClient } from '@mary/solid-query';
6
5
7
6
import { usePostShadow } from '~/api/cache/post-shadow';
···
10
9
import { ContextContentList } from '~/api/moderation/constants';
11
10
import { moderatePost } from '~/api/moderation/entities/post';
12
11
import { precacheProfile } from '~/api/queries-cache/profile-precache';
13
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
12
+
import { parseAtUri } from '~/api/types/at-uri';
14
13
15
14
import { history } from '~/globals/navigation';
16
15
···
37
36
/** Expected to be static */
38
37
item: UiTimelineItem;
39
38
highlighted?: boolean;
40
-
timelineDid?: Did;
39
+
timelineDid?: At.DID;
41
40
}
42
41
43
42
const PostFeedItem = ({ item, highlighted, timelineDid }: PostFeedItemProps) => {
···
51
50
const author = post.author;
52
51
const authorDid = author.did;
53
52
54
-
const record = post.record as AppBskyFeedPost.Main;
53
+
const record = post.record as AppBskyFeedPost.Record;
55
54
const embed = post.embed;
56
55
57
56
const shadow = usePostShadow(post);
58
57
59
-
const { rkey } = assertCanonicalResourceUri(post.uri);
60
-
58
+
const uri = parseAtUri(post.uri);
61
59
const authorHref = `/${authorDid}`;
62
-
const href = `/${authorDid}/${rkey}`;
60
+
const href = `/${authorDid}/${uri.rkey}`;
63
61
64
62
const isOurPost = currentAccount && authorDid === currentAccount.did;
65
63
+24
-4
src/components/timeline/post-meta.tsx
+24
-4
src/components/timeline/post-meta.tsx
···
1
-
import type { AppBskyFeedDefs } from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs } from '@atcute/client/lexicons';
2
2
import { useQueryClient } from '@mary/solid-query';
3
3
4
4
import { precacheProfile } from '~/api/queries-cache/profile-precache';
5
5
6
6
import { openModal } from '~/globals/modals';
7
7
8
+
import Avatar from '../avatar';
9
+
import HeartSolidIcon from '../icons-central/heart-solid';
8
10
import MoreHorizOutlinedIcon from '../icons-central/more-horiz-outline';
9
11
import TimeAgo from '../time-ago';
10
12
···
13
15
export interface PostMetaProps {
14
16
/** Expected to be static */
15
17
post: AppBskyFeedDefs.PostView;
18
+
context?: AppBskyFeedDefs.ThreadContext;
19
+
/** Expected to be static */
16
20
authorHref: string;
21
+
/** Expected to be static */
17
22
href: string;
18
-
compact?: boolean;
23
+
/** Expected to be static */
19
24
gutterBottom?: boolean;
20
25
onPostDelete?: () => void;
21
26
onPostRedraft?: () => void;
22
27
}
23
28
24
-
const PostMeta = ({ post, authorHref, href, gutterBottom, onPostDelete, onPostRedraft }: PostMetaProps) => {
29
+
const PostMeta = (props: PostMetaProps) => {
25
30
const queryClient = useQueryClient();
26
31
32
+
const post = props.post;
33
+
const href = props.href;
34
+
const authorHref = props.authorHref;
35
+
const gutterBottom = props.gutterBottom;
36
+
37
+
const onPostDelete = props.onPostDelete;
38
+
const onPostRedraft = props.onPostRedraft;
39
+
27
40
const author = post.author;
28
41
const indexedAt = post.indexedAt;
29
42
···
53
66
</TimeAgo>
54
67
</div>
55
68
56
-
<div class="shrink-0">
69
+
<div class="flex shrink-0 items-center gap-4">
70
+
{props.context?.rootAuthorLike && (
71
+
<div class="relative">
72
+
<Avatar type="user" size={null} class="h-[18px] w-[18px]" />
73
+
<HeartSolidIcon class="absolute -bottom-1 -left-1.5 h-[14px] w-[14px] stroke-background stroke-[3] text-p-red-600" />
74
+
</div>
75
+
)}
76
+
57
77
<button
58
78
onClick={(ev) => {
59
79
const anchor = ev.currentTarget;
+4
-21
src/components/timeline/post-reply-context.tsx
+4
-21
src/components/timeline/post-reply-context.tsx
···
1
-
import type { AppBskyFeedPost } from '@atcute/bluesky';
1
+
import type { AppBskyFeedPost } from '@atcute/client/lexicons';
2
2
3
3
import type { UiTimelineItem } from '~/api/models/timeline';
4
4
import { createProfileQuery } from '~/api/queries/profile';
5
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
5
+
import { parseAtUri } from '~/api/types/at-uri';
6
6
7
7
import { useSession } from '~/lib/states/session';
8
8
···
41
41
);
42
42
}
43
43
44
-
const raw = (post.record as AppBskyFeedPost.Main).reply?.parent;
44
+
const raw = (post.record as AppBskyFeedPost.Record).reply?.parent;
45
45
if (raw) {
46
-
const { repo: did } = assertCanonicalResourceUri(raw.uri);
47
-
46
+
const did = parseAtUri(raw.uri).repo;
48
47
if (did === currentAccount?.did) {
49
48
return <div class="mb-0.5 flex text-de text-contrast-muted">Replying to you</div>;
50
49
}
51
50
52
-
if (did === post.author.did) {
53
-
return (
54
-
<div class="mb-0.5 flex text-de text-contrast-muted">
55
-
<span class="shrink-0 whitespace-pre">Replying to </span>
56
-
<a
57
-
dir="auto"
58
-
href={`/${did}`}
59
-
class="overflow-hidden text-ellipsis whitespace-nowrap font-semibold hover:underline"
60
-
>
61
-
{/* @once */ post.author.handle.toLowerCase()}
62
-
</a>
63
-
</div>
64
-
);
65
-
}
66
-
67
51
const profile = createProfileQuery(() => did, {
68
-
batched: true,
69
52
staleTime: Infinity,
70
53
gcTime: 60_000 * 5,
71
54
});
+24
-37
src/components/timeline/revise-post-prompt.tsx
+24
-37
src/components/timeline/revise-post-prompt.tsx
···
1
-
import {
2
-
type AppBskyFeedDefs,
3
-
type AppBskyFeedPost,
4
-
type AppBskyFeedThreadgate,
5
-
type RawMediaEmbed,
6
-
type RawRecordEmbed,
7
-
unwrapRawEmbed,
8
-
} from '@atcute/bluesky';
1
+
import type { AppBskyFeedDefs, AppBskyFeedPost, AppBskyFeedThreadgate } from '@atcute/client/lexicons';
9
2
10
-
import { assertCanonicalResourceUri } from '~/api/types/at-uri';
3
+
import { parseAtUri } from '~/api/types/at-uri';
4
+
import { type MediaEmbed, type RecordEmbed, unwrapEmbed } from '~/api/utils/bluesky/embed';
11
5
import { serializeRichText } from '~/api/utils/richtext-stringify';
12
6
13
7
import { openModal, useModalContext } from '~/globals/modals';
···
21
15
import {
22
16
type ComposerState,
23
17
type PostEmbed,
24
-
type PostImage,
25
18
type PostLinkEmbed,
26
19
type PostMediaEmbed,
27
20
type PostRecordEmbed,
···
39
32
const { close } = useModalContext();
40
33
41
34
(async () => {
42
-
const record = post.record as AppBskyFeedPost.Main;
43
-
const threadgate = post.threadgate?.record as AppBskyFeedThreadgate.Main | undefined;
35
+
const record = post.record as AppBskyFeedPost.Record;
36
+
const threadgate = post.threadgate?.record as AppBskyFeedThreadgate.Record | undefined;
44
37
const embeddingDisabled = post.viewer?.embeddingDisabled;
45
38
46
-
const embeds = unwrapRawEmbed(record.embed);
39
+
const embeds = unwrapEmbed(record.embed);
47
40
const draftEmbeds: PostEmbed = {
48
41
link: embeds.media ? toLinkEmbed(post, embeds.media) : undefined,
49
42
media: embeds.media ? toMediaEmbed(post, embeds.media) : undefined,
···
83
76
84
77
export default RevisePostPrompt;
85
78
86
-
const toMediaEmbed = (post: AppBskyFeedDefs.PostView, embed: RawMediaEmbed): PostMediaEmbed | undefined => {
79
+
const toMediaEmbed = (post: AppBskyFeedDefs.PostView, embed: MediaEmbed): PostMediaEmbed | undefined => {
87
80
const authorDid = post.author.did;
88
81
89
82
switch (embed.$type) {
90
83
case 'app.bsky.embed.images': {
91
84
return {
92
85
type: 'image',
93
-
images: embed.images.map((item): PostImage => {
94
-
assert('$type' in item.image);
95
-
96
-
return {
97
-
source: {
98
-
type: 'remote',
99
-
blob: item.image,
100
-
aspectRatio: item.aspectRatio,
101
-
},
102
-
alt: item.alt,
103
-
};
104
-
}),
86
+
images: embed.images.map((item) => ({
87
+
source: {
88
+
type: 'remote',
89
+
blob: item.image,
90
+
aspectRatio: item.aspectRatio,
91
+
},
92
+
alt: item.alt,
93
+
})),
105
94
labels: post.labels?.filter((label) => label.src === authorDid).map((label) => label.val) ?? [],
106
95
};
107
96
}
108
97
case 'app.bsky.embed.video': {
109
-
assert('$type' in embed.video);
110
-
111
98
return {
112
99
type: 'video',
113
100
source: {
···
122
109
}
123
110
};
124
111
125
-
const toLinkEmbed = (post: AppBskyFeedDefs.PostView, embed: RawMediaEmbed): PostLinkEmbed | undefined => {
112
+
const toLinkEmbed = (post: AppBskyFeedDefs.PostView, embed: MediaEmbed): PostLinkEmbed | undefined => {
126
113
const authorDid = post.author.did;
127
114
128
115
switch (embed.$type) {
···
142
129
}
143
130
};
144
131
145
-
const toRecordEmbed = (embed: RawRecordEmbed): PostRecordEmbed | undefined => {
132
+
const toRecordEmbed = (embed: RecordEmbed): PostRecordEmbed | undefined => {
146
133
const ref = embed.record;
147
134
148
-
const refUri = ref.uri;
149
-
const uri = assertCanonicalResourceUri(refUri);
135
+
const uri = ref.uri;
136
+
const { collection } = parseAtUri(uri);
150
137
151
-
switch (uri.collection) {
138
+
switch (collection) {
152
139
case 'app.bsky.feed.post': {
153
-
return { type: 'quote', uri: refUri, origin: false };
140
+
return { type: 'quote', uri, origin: false };
154
141
}
155
142
case 'app.bsky.graph.list': {
156
-
return { type: 'list', uri: refUri };
143
+
return { type: 'list', uri };
157
144
}
158
145
case 'app.bsky.feed.generator': {
159
-
return { type: 'feed', uri: refUri };
146
+
return { type: 'feed', uri };
160
147
}
161
148
}
162
149
163
-
assert(false, `unknown "${uri.collection}" record type`);
150
+
assert(false, `unknown "${collection}" record type`);
164
151
};
+2
-2
src/components/timeline/timeline-list.tsx
+2
-2
src/components/timeline/timeline-list.tsx
···
1
-
import type { Did } from '@atcute/lexicons';
1
+
import type { At } from '@atcute/client/lexicons';
2
2
3
3
import { type TimelineParams, useTimelineQuery } from '~/api/queries/timeline';
4
4
···
9
9
10
10
export interface TimelineListProps {
11
11
params: TimelineParams;
12
-
timelineDid?: Did;
12
+
timelineDid?: At.DID;
13
13
}
14
14
15
15
const TimelineList = (props: TimelineListProps) => {
+1
-1
src/globals/events.ts
+1
-1
src/globals/events.ts
+1
-1
src/lib/aglais-bookmarks/db.ts
+1
-1
src/lib/aglais-bookmarks/db.ts
+6
-5
src/lib/aglais-bookmarks/search.ts
+6
-5
src/lib/aglais-bookmarks/search.ts
···
1
-
import type { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
2
1
import type { Token } from '@atcute/bluesky-search-parser';
3
-
import { isDid, isHandle } from '@atcute/lexicons/syntax';
2
+
import type { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/client/lexicons';
4
3
import { mapDefined } from '@mary/array-fns';
4
+
5
+
import { DID_RE, HANDLE_RE } from '~/api/types/identity';
5
6
6
7
import { parseEndDate, parseStartDate, splitFilters } from '../bsky/search';
7
8
import { escapeRegex } from '../utils/regex';
···
43
44
44
45
{
45
46
const raw = filters.get('from');
46
-
if (isHandle(raw)) {
47
+
if (raw && HANDLE_RE.test(raw)) {
47
48
from = raw;
48
49
}
49
50
}
50
51
51
52
{
52
53
const raw = filters.get('did');
53
-
if (isDid(raw)) {
54
+
if (raw && DID_RE.test(raw)) {
54
55
from = raw;
55
56
}
56
57
}
···
83
84
});
84
85
85
86
const re = new RegExp('\\b' + values.join('|') + '\\b', 'i');
86
-
predicates.push((post) => re.test((post.record as AppBskyFeedPost.Main).text));
87
+
predicates.push((post) => re.test((post.record as AppBskyFeedPost.Record).text));
87
88
}
88
89
89
90
return (post: AppBskyFeedDefs.PostView) => predicates.every((fn) => fn(post));
+3
-23
src/lib/atproto/labeler.ts
+3
-23
src/lib/atproto/labeler.ts
···
1
1
import { type FetchHandler, type FetchHandlerObject, buildFetchHandler } from '@atcute/client';
2
-
import type { Did } from '@atcute/lexicons';
2
+
import type { At } from '@atcute/client/lexicons';
3
+
import { mergeHeaders } from '@atcute/client/utils/http';
3
4
4
5
export interface Labeler {
5
-
did: Did;
6
+
did: At.DID;
6
7
redact: boolean;
7
8
}
8
9
···
23
24
});
24
25
};
25
26
};
26
-
27
-
const mergeHeaders = (
28
-
init: HeadersInit | undefined,
29
-
defaults: Record<string, string | null>,
30
-
): HeadersInit | undefined => {
31
-
let headers: Headers | undefined;
32
-
33
-
for (const name in defaults) {
34
-
const value = defaults[name];
35
-
36
-
if (value !== null) {
37
-
headers ??= new Headers(init);
38
-
39
-
if (!headers.has(name)) {
40
-
headers.set(name, value);
41
-
}
42
-
}
43
-
}
44
-
45
-
return headers ?? init;
46
-
};
+3
-3
src/lib/bsky/image.ts
+3
-3
src/lib/bsky/image.ts
···
1
-
import type { AppBskyEmbedDefs } from '@atcute/bluesky';
1
+
import type { AppBskyEmbedDefs } from '@atcute/client/lexicons';
2
2
import { remove as removeExif } from '@mary/exif-rm';
3
3
4
4
const MAX_SIZE = 1_000_000; // 1 MB
···
16
16
{
17
17
const exifRemoved = removeExif(new Uint8Array(await blob.arrayBuffer()));
18
18
if (exifRemoved !== null) {
19
-
blob = new Blob([exifRemoved as Uint8Array<ArrayBuffer>], { type: blob.type });
19
+
blob = new Blob([exifRemoved], { type: blob.type });
20
20
}
21
21
}
22
22
···
80
80
const exifRemoved = removeExif(new Uint8Array(await blob.arrayBuffer()));
81
81
82
82
if (exifRemoved !== null) {
83
-
blob = new Blob([exifRemoved as Uint8Array<ArrayBuffer>], { type: blob.type });
83
+
blob = new Blob([exifRemoved], { type: blob.type });
84
84
}
85
85
}
86
86
-4
src/lib/intl/time.ts
-4
src/lib/intl/time.ts
+3
-6
src/lib/preferences/account.ts
+3
-6
src/lib/preferences/account.ts
···
1
-
import type { AppBskyFeedDefs, AppBskyGraphDefs } from '@atcute/bluesky';
2
-
import type { Did, ResourceUri } from '@atcute/lexicons';
1
+
import type { AppBskyFeedDefs, AppBskyGraphDefs, At } from '@atcute/client/lexicons';
3
2
4
3
import type { ModerationLabeler, ModerationPreferences } from '~/api/moderation';
5
4
···
29
28
30
29
export interface ModerationLabelerPreferences {
31
30
updated: number;
32
-
definitions: Record<Did, ModerationLabeler>;
31
+
definitions: Record<At.DID, ModerationLabeler>;
33
32
}
34
33
35
34
export type SavedFeed = SavedGeneratorFeed | SavedListFeed | SavedSearchFeed;
···
54
53
}
55
54
56
55
export interface PersistedThreadgate {
57
-
allow?: Array<
58
-
{ type: 'following' } | { type: 'follower' } | { type: 'mention' } | { type: 'list'; uri: ResourceUri }
59
-
>;
56
+
allow?: Array<{ type: 'following' } | { type: 'mention' } | { type: 'list'; uri: At.Uri }>;
60
57
}
61
58
62
59
export interface PersistedPostgate {
+3
-4
src/lib/preferences/sessions.ts
+3
-4
src/lib/preferences/sessions.ts
···
1
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
2
-
import type { Did } from '@atcute/lexicons';
1
+
import type { AppBskyActorDefs, At } from '@atcute/client/lexicons';
3
2
4
3
export interface SessionPreferenceSchema {
5
4
$version: 1;
6
-
active: Did | undefined;
5
+
active: At.DID | undefined;
7
6
accounts: AccountData[];
8
7
}
9
8
10
9
export interface AccountData {
11
10
/** Account DID */
12
-
readonly did: Did;
11
+
readonly did: At.DID;
13
12
profile: AppBskyActorDefs.ProfileViewDetailed;
14
13
}
+3
-7
src/lib/preferences/snippets/composer.ts
+3
-7
src/lib/preferences/snippets/composer.ts
···
1
-
import type { AppBskyFeedPostgate, AppBskyFeedThreadgate } from '@atcute/bluesky';
1
+
import type { AppBskyFeedPostgate, AppBskyFeedThreadgate } from '@atcute/client/lexicons';
2
2
3
3
import type { PersistedPostgate, PersistedThreadgate } from '../account';
4
4
5
-
export type ThreadgateState = Pick<AppBskyFeedThreadgate.Main, 'allow' | 'hiddenReplies'>;
6
-
export type PostgateState = Pick<AppBskyFeedPostgate.Main, 'detachedEmbeddingUris' | 'embeddingRules'>;
5
+
export type ThreadgateState = Pick<AppBskyFeedThreadgate.Record, 'allow' | 'hiddenReplies'>;
6
+
export type PostgateState = Pick<AppBskyFeedPostgate.Record, 'detachedEmbeddingUris' | 'embeddingRules'>;
7
7
8
8
export const toPersistedThreadgate = (gate: ThreadgateState): PersistedThreadgate => {
9
9
return {
···
11
11
switch (rule.$type) {
12
12
case 'app.bsky.feed.threadgate#followingRule':
13
13
return { type: 'following' };
14
-
case 'app.bsky.feed.threadgate#followerRule':
15
-
return { type: 'follower' };
16
14
case 'app.bsky.feed.threadgate#mentionRule':
17
15
return { type: 'mention' };
18
16
case 'app.bsky.feed.threadgate#listRule':
···
28
26
switch (rule.type) {
29
27
case 'following':
30
28
return { $type: 'app.bsky.feed.threadgate#followingRule' };
31
-
case 'follower':
32
-
return { $type: 'app.bsky.feed.threadgate#followerRule' };
33
29
case 'mention':
34
30
return { $type: 'app.bsky.feed.threadgate#mentionRule' };
35
31
case 'list':
+2
-2
src/lib/redirector.ts
+2
-2
src/lib/redirector.ts
+6
-6
src/lib/states/agent.tsx
+6
-6
src/lib/states/agent.tsx
···
1
1
import { type JSX, type ParentProps, createContext, createMemo, useContext } from 'solid-js';
2
2
3
-
import { Client, simpleFetchHandler } from '@atcute/client';
4
-
import type { Did } from '@atcute/lexicons';
3
+
import { XRPC, simpleFetchHandler } from '@atcute/client';
4
+
import type { At } from '@atcute/client/lexicons';
5
5
import type { OAuthUserAgent } from '@atcute/oauth-browser-client';
6
6
import { QueryClient, QueryClientProvider } from '@mary/solid-query';
7
7
···
14
14
import { useSession } from './session';
15
15
16
16
export interface AgentContext {
17
-
did: Did | null;
18
-
client: Client;
17
+
did: At.DID | null;
18
+
rpc: XRPC;
19
19
handler: OAuthUserAgent | null;
20
20
persister: ReturnType<typeof createQueryPersister>;
21
21
}
···
32
32
return {
33
33
did: currentAccount.did,
34
34
handler: currentAccount.agent ?? null,
35
-
client: currentAccount.client,
35
+
rpc: currentAccount.rpc,
36
36
persister: createQueryPersister({ name: `queryCache-${currentAccount.did}` }),
37
37
};
38
38
}
···
40
40
return {
41
41
did: null,
42
42
handler: null,
43
-
client: new Client({ handler: simpleFetchHandler({ service: DEFAULT_APPVIEW_URL }) }),
43
+
rpc: new XRPC({ handler: simpleFetchHandler({ service: DEFAULT_APPVIEW_URL }) }),
44
44
persister: createQueryPersister({ name: `queryCache-public` }),
45
45
};
46
46
});
+17
-17
src/lib/states/session.tsx
+17
-17
src/lib/states/session.tsx
···
10
10
useContext,
11
11
} from 'solid-js';
12
12
13
-
import { Client, ClientResponseError, type FetchHandler, type FetchHandlerObject } from '@atcute/client';
14
-
import type { Did, GenericUri } from '@atcute/lexicons';
13
+
import { type FetchHandler, type FetchHandlerObject, XRPC, XRPCError } from '@atcute/client';
14
+
import type { At } from '@atcute/client/lexicons';
15
15
import { OAuthUserAgent, deleteStoredSession, getSession } from '@atcute/oauth-browser-client';
16
16
import { mapDefined } from '@mary/array-fns';
17
17
···
27
27
import { assert } from '../utils/invariant';
28
28
29
29
export interface CurrentAccountState {
30
-
readonly did: Did;
30
+
readonly did: At.DID;
31
31
readonly data: AccountData;
32
32
readonly preferences: PerAccountPreferenceSchema;
33
33
34
-
readonly client: Client;
34
+
readonly rpc: XRPC;
35
35
readonly agent: OAuthUserAgent | undefined;
36
36
readonly _cleanup: () => void;
37
37
}
···
40
40
readonly currentAccount: CurrentAccountState | undefined;
41
41
42
42
getAccounts(): AccountData[];
43
-
resumeSession(did: Did): Promise<void>;
44
-
removeAccount(did: Did): Promise<void>;
43
+
resumeSession(did: At.DID): Promise<void>;
44
+
removeAccount(did: At.DID): Promise<void>;
45
45
46
46
logout(): Promise<void>;
47
47
}
···
60
60
};
61
61
62
62
const createAccountState = (
63
-
did: Did,
63
+
did: At.DID,
64
64
session: OAuthUserAgent | undefined,
65
-
client: Client,
65
+
rpc: XRPC,
66
66
): CurrentAccountState => {
67
67
return createRoot((cleanup): CurrentAccountState => {
68
68
const preferences = createAccountPreferences(did);
···
75
75
76
76
const labelers = createMemo((): Labeler[] => {
77
77
return Object.entries(preferences.moderation.labelers).map(([did, info]): Labeler => {
78
-
return { did: did as Did, redact: info.redact };
78
+
return { did: did as At.DID, redact: info.redact };
79
79
});
80
80
});
81
81
82
82
// A bit of a hack, but works right now.
83
-
client.handler = attachLabelerHeaders(client.handler, labelers);
83
+
rpc.handle = attachLabelerHeaders(rpc.handle, labelers);
84
84
85
85
createEffect(() => {
86
86
const signal = abortable();
···
129
129
return $data;
130
130
},
131
131
132
-
client: client,
132
+
rpc: rpc,
133
133
agent: session,
134
134
_cleanup: cleanup,
135
135
};
···
144
144
getAccounts(): AccountData[] {
145
145
return sessions.accounts;
146
146
},
147
-
async resumeSession(did: Did): Promise<void> {
147
+
async resumeSession(did: At.DID): Promise<void> {
148
148
const account = sessions.accounts.find((acc) => acc.did === did);
149
149
if (!account) {
150
150
return;
···
181
181
// Dirty hack to account for the fact that we aren't dumping the user
182
182
// directly to the login modal.
183
183
handler = () => {
184
-
throw new ClientResponseError({ status: 400, data: { error: 'invalid_token' } });
184
+
throw new XRPCError(400, { kind: 'invalid_token' });
185
185
};
186
186
}
187
187
188
-
const rpc = new Client({ handler });
188
+
const rpc = new XRPC({ handler });
189
189
190
190
signal.throwIfAborted();
191
191
···
197
197
});
198
198
},
199
199
200
-
async removeAccount(did: Did): Promise<void> {
200
+
async removeAccount(did: At.DID): Promise<void> {
201
201
const $state = untrack(state);
202
202
const isLoggedIn = $state !== undefined && $state.did === did;
203
203
···
246
246
return session;
247
247
};
248
248
249
-
const createAccountPreferences = (did: Did) => {
249
+
const createAccountPreferences = (did: At.DID) => {
250
250
const key = `account-${did}`;
251
251
return createReactiveLocalStorage<PerAccountPreferenceSchema>(key, (version, prev) => {
252
252
if (version === 0) {
···
282
282
},
283
283
displayName: 'Popular With Friends',
284
284
description: '',
285
-
avatar: '' as GenericUri,
285
+
avatar: '',
286
286
indexedAt: '0000-00-00T00:00:00.000Z',
287
287
},
288
288
},
+11
-30
src/lib/states/singleton.tsx
+11
-30
src/lib/states/singleton.tsx
···
1
-
import { type ParentProps, createContext, createRoot, getOwner, useContext } from 'solid-js';
1
+
import { type ParentProps, createContext, getOwner, runWithOwner, useContext } from 'solid-js';
2
2
3
3
import { assert } from '../utils/invariant';
4
4
5
-
interface Singleton<T> {
6
-
n: string;
7
-
c: () => T;
8
-
}
9
-
10
-
interface SingletonContext {
11
-
inject<T>(singleton: Singleton<T>): T;
5
+
export interface SingletonContext {
6
+
inject<T>(construct: () => T): T;
12
7
}
13
8
14
9
const Context = createContext<SingletonContext>();
15
10
16
11
export const SingletonProvider = (props: ParentProps) => {
17
12
const owner = getOwner();
18
-
const registry = new Map<
19
-
string,
20
-
{
21
-
c: any;
22
-
v: any;
23
-
d: () => void;
24
-
}
25
-
>();
13
+
const instances = new Map<() => any, any>();
26
14
27
15
const context: SingletonContext = {
28
-
inject({ n: name, c: construct }) {
29
-
let registered = registry.get(name);
30
-
if (registered === undefined || registered.c !== construct) {
31
-
registered?.d();
32
-
registered = createRoot((dispose) => ({ c: construct, d: dispose, v: construct() }), owner);
33
-
34
-
registry.set(name, registered);
16
+
inject(construct) {
17
+
let instance = instances.get(construct);
18
+
if (instance === undefined) {
19
+
instances.set(construct, (instance = runWithOwner(owner, construct)));
35
20
}
36
21
37
-
return registered.v;
22
+
return instance;
38
23
},
39
24
};
40
25
41
26
return <Context.Provider value={context}>{props.children}</Context.Provider>;
42
27
};
43
28
44
-
export const define = <T,>(name: string, construct: () => T): Singleton<T> => {
45
-
return { n: name, c: construct };
46
-
};
47
-
48
-
export const inject = <T,>(singleton: Singleton<T>): T => {
29
+
export const inject = <T,>(construct: () => T): T => {
49
30
const context = useContext(Context);
50
31
assert(context !== undefined, `Expected inject to be called under <SingletonProvider>`);
51
32
52
-
return context.inject(singleton);
33
+
return context.inject(construct);
53
34
};
+2
-3
src/lib/states/singletons/bookmarks.ts
+2
-3
src/lib/states/singletons/bookmarks.ts
···
5
5
import { assert } from '~/lib/utils/invariant';
6
6
7
7
import { useSession } from '../session';
8
-
import { define } from '../singleton';
9
8
10
-
const BookmarksService = define('bookmarks', () => {
9
+
const BookmarksService = () => {
11
10
const { currentAccount } = useSession();
12
11
13
12
let promise: Promise<IDBPDatabase<BookmarkDBSchema>> | undefined;
···
52
51
})());
53
52
},
54
53
};
55
-
});
54
+
};
56
55
57
56
export default BookmarksService;
+24
-24
src/lib/states/singletons/moderation.ts
+24
-24
src/lib/states/singletons/moderation.ts
···
1
1
import { createMemo } from 'solid-js';
2
2
import { unwrap } from 'solid-js/store';
3
3
4
-
import { ok } from '@atcute/client';
5
-
import type { Did } from '@atcute/lexicons';
4
+
import type { AppBskyLabelerDefs, At } from '@atcute/client/lexicons';
6
5
import { mapDefined } from '@mary/array-fns';
7
-
import { createBatchedFetch } from '@mary/batch-fetch';
8
-
import { type QueryFunctionContext as QC, createQueries } from '@mary/solid-query';
6
+
import { createQueries } from '@mary/solid-query';
9
7
10
8
import { BLUESKY_MODERATION_DID } from '~/api/defaults';
11
9
import type { ModerationLabeler, ModerationOptions, ModerationPreferences } from '~/api/moderation';
12
10
import { interpretLabelerDefinition } from '~/api/moderation/labeler';
13
11
12
+
import { createBatchedFetch } from '~/lib/utils/batch-fetch';
13
+
14
14
import { useAgent } from '../agent';
15
15
import { useSession } from '../session';
16
-
import { define } from '../singleton';
17
16
18
-
const ModerationService = define('moderation', () => {
19
-
const { client, persister } = useAgent();
17
+
type Labeler = AppBskyLabelerDefs.LabelerViewDetailed;
18
+
19
+
const ModerationService = () => {
20
+
const { rpc, persister } = useAgent();
20
21
const { currentAccount } = useSession();
21
22
22
23
const modPreferences = createMemo((): ModerationPreferences => {
···
38
39
return currentAccount.preferences.moderation;
39
40
});
40
41
41
-
const fetchLabeler = createBatchedFetch<Did, ModerationLabeler>({
42
+
const fetchLabeler = createBatchedFetch<At.DID, At.DID, ModerationLabeler>({
42
43
limit: 20,
43
44
timeout: 1,
44
-
idFromResource: (labeler) => labeler.did,
45
-
async fetch(dids, signal) {
46
-
const data = await ok(
47
-
client.get('app.bsky.labeler.getServices', {
48
-
signal,
49
-
params: {
50
-
dids: dids,
51
-
detailed: true,
52
-
},
53
-
}),
54
-
);
45
+
idFromQuery: (query) => query,
46
+
idFromData: (data) => data.did,
47
+
async fetch(dids) {
48
+
const { data } = await rpc.get('app.bsky.labeler.getServices', {
49
+
params: {
50
+
dids: dids,
51
+
detailed: true,
52
+
},
53
+
});
55
54
56
-
const views = data.views.filter((view) => view.$type === 'app.bsky.labeler.defs#labelerViewDetailed');
55
+
const views = data.views as Labeler[];
56
+
57
57
return views.map((view) => interpretLabelerDefinition(view));
58
58
},
59
59
});
···
61
61
const labelerDefs = createQueries(() => {
62
62
return {
63
63
queries: Object.keys(modPreferences().labelers).map((_did) => {
64
-
const did = _did as Did;
64
+
const did = _did as At.DID;
65
65
66
66
return {
67
67
queryKey: ['labeler-definition', did],
68
-
queryFn: ({ signal }: QC) => fetchLabeler(did, signal),
68
+
queryFn: () => fetchLabeler(did),
69
69
staleTime: 21600000, // 6 hours
70
70
gcTime: 86400000, // 24 hours
71
71
refetchOnWindowFocus: true,
···
76
76
const defs = mapDefined(results, (result) => result.data);
77
77
const fields = Object.fromEntries(defs.map((def) => [def.did, def]));
78
78
79
-
return fields as Record<Did, ModerationLabeler>;
79
+
return fields as Record<At.DID, ModerationLabeler>;
80
80
},
81
81
};
82
82
});
···
90
90
});
91
91
92
92
return modOptions;
93
-
});
93
+
};
94
94
95
95
export default ModerationService;
+106
src/lib/utils/batch-fetch.ts
+106
src/lib/utils/batch-fetch.ts
···
1
+
// we would sometimes rely on fetching multiple individual posts, and it would
2
+
// be preferrable if it can be batched.
3
+
4
+
type Promisable<T> = T | Promise<T>;
5
+
6
+
export type QueryId = string | number;
7
+
8
+
export interface BatchedFetchOptions<Query, Id extends QueryId, Data> {
9
+
limit: number;
10
+
timeout: number;
11
+
fetch: (queries: Query[]) => Promisable<Data[]>;
12
+
key?: (query: Query) => string | number;
13
+
idFromQuery: (query: Query) => Id;
14
+
idFromData: (data: Data) => Id;
15
+
}
16
+
17
+
interface BatchedFetchMap<Query, Id, Data> {
18
+
key: string | number | undefined;
19
+
timeout: any;
20
+
queries: Query[];
21
+
pending: Map<Id, PromiseWithResolvers<Data>>;
22
+
}
23
+
24
+
export class ResourceMissingError extends Error {
25
+
name = 'ResourceMissingError';
26
+
}
27
+
28
+
/*#__NO_SIDE_EFFECTS__*/
29
+
export const createBatchedFetch = <Query, Id extends QueryId, Data>(
30
+
options: BatchedFetchOptions<Query, Id, Data>,
31
+
) => {
32
+
const { limit, timeout, fetch, key: _key, idFromData, idFromQuery } = options;
33
+
34
+
let curr: BatchedFetchMap<Query, Id, Data> | undefined;
35
+
36
+
return (query: Query): Promise<Data> => {
37
+
const id = idFromQuery(query);
38
+
const key = _key?.(query);
39
+
40
+
let map = curr;
41
+
42
+
if (!map || map.queries.length >= limit || map.key !== key) {
43
+
map = curr = {
44
+
key,
45
+
timeout: undefined,
46
+
queries: [],
47
+
pending: new Map(),
48
+
};
49
+
}
50
+
51
+
let deferred = map.pending.get(id);
52
+
53
+
if (!deferred) {
54
+
deferred = Promise.withResolvers<Data>();
55
+
56
+
map.queries.push(query);
57
+
map.pending.set(id, deferred);
58
+
}
59
+
60
+
clearTimeout(map.timeout);
61
+
62
+
map.timeout = setTimeout(() => {
63
+
if (curr === map) {
64
+
curr = undefined;
65
+
}
66
+
67
+
perform(map!, fetch, idFromData);
68
+
}, timeout);
69
+
70
+
return deferred.promise;
71
+
};
72
+
};
73
+
74
+
const perform = async <Query, Id extends QueryId, Data>(
75
+
map: BatchedFetchMap<Query, Id, Data>,
76
+
fetch: (queries: Query[]) => Promisable<Data[]>,
77
+
idFromData: (data: Data) => Id,
78
+
) => {
79
+
const queries = map.queries;
80
+
const pending = map.pending;
81
+
82
+
let errored = false;
83
+
84
+
try {
85
+
const dataset = await fetch(queries);
86
+
87
+
for (const data of dataset) {
88
+
const id = idFromData(data);
89
+
const deferred = pending.get(id);
90
+
91
+
deferred?.resolve(data);
92
+
}
93
+
} catch (error) {
94
+
errored = true;
95
+
96
+
for (const deferred of pending.values()) {
97
+
deferred.reject(error);
98
+
}
99
+
} finally {
100
+
if (!errored) {
101
+
for (const deferred of pending.values()) {
102
+
deferred.reject(new ResourceMissingError());
103
+
}
104
+
}
105
+
}
106
+
};
+6
-12
src/lib/utils/invariant.ts
+6
-12
src/lib/utils/invariant.ts
···
1
-
export const assert: {
2
-
(condition: any, message?: string): asserts condition;
3
-
} = (condition, message): asserts condition => {
1
+
export function assert(condition: any, message?: string): asserts condition {
4
2
if (import.meta.env.DEV && !condition) {
5
3
throw new Error(`Assertion failed` + (message ? `: ${message}` : ``));
6
4
}
7
-
};
5
+
}
8
6
9
-
export const assertStrong: {
10
-
(condition: any, message?: string): asserts condition;
11
-
} = (condition, message): asserts condition => {
7
+
export function assertStrong(condition: any, message?: string): asserts condition {
12
8
if (!condition) {
13
9
if (import.meta.env.DEV) {
14
10
throw new Error(`Assertion failed` + (message ? `: ${message}` : ``));
···
16
12
17
13
throw new Error(`Assertion failed`);
18
14
}
19
-
};
15
+
}
20
16
21
-
export const assertUnreachable: {
22
-
(_: never, message?: string): never;
23
-
} = (_, message) => {
17
+
export function assertUnreachable(_: never, message?: string): never {
24
18
assertStrong(false, message);
25
-
};
19
+
}
+11
-50
src/main.tsx
+11
-50
src/main.tsx
···
2
2
import { type JSX, createSignal, onMount } from 'solid-js';
3
3
import { render } from 'solid-js/web';
4
4
5
-
import { Client, ok, simpleFetchHandler } from '@atcute/client';
6
-
import type { Did } from '@atcute/lexicons';
5
+
import type { At } from '@atcute/client/lexicons';
7
6
import { configureOAuth } from '@atcute/oauth-browser-client';
8
7
9
8
import * as navigation from '~/globals/navigation';
···
19
18
import CircularProgress from '~/components/circular-progress';
20
19
import ModalRenderer from '~/components/main/modal-renderer';
21
20
22
-
import type {} from '../server/lexicons';
23
-
24
21
import routes from './routes';
25
22
import './service-worker';
26
23
import Shell from './shell';
···
35
32
});
36
33
37
34
// Configure OAuth
38
-
{
39
-
const host = new Client({
40
-
handler: simpleFetchHandler({ service: location.origin }),
41
-
});
35
+
configureOAuth({
36
+
metadata: {
37
+
client_id: import.meta.env.VITE_OAUTH_CLIENT_ID,
38
+
redirect_uri: import.meta.env.VITE_OAUTH_REDIRECT_URL,
39
+
},
40
+
});
42
41
43
-
configureOAuth({
44
-
metadata: {
45
-
client_id: `${location.origin}/oauth-client-metadata.json`,
46
-
redirect_uri: `${location.origin}/oauth/callback`,
47
-
},
48
-
49
-
identityResolver: {
50
-
async resolve(actor) {
51
-
const data = await ok(
52
-
host.get('x.aglais.resolveIdentity', {
53
-
params: {
54
-
identifier: actor,
55
-
},
56
-
}),
57
-
);
58
-
59
-
return data;
60
-
},
61
-
},
62
-
async fetchClientAssertion({ aud, jkt, createDpopProof }) {
63
-
const dpop = await createDpopProof(`${location.origin}/xrpc/x.aglais.requestAssertion`);
64
-
65
-
const data = await ok(
66
-
host.post('x.aglais.requestAssertion', {
67
-
input: {
68
-
aud: aud,
69
-
jkt: jkt,
70
-
},
71
-
headers: {
72
-
dpop: dpop,
73
-
},
74
-
}),
75
-
);
76
-
77
-
return {
78
-
client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
79
-
client_assertion: data.assertion,
80
-
};
81
-
},
82
-
});
83
-
}
42
+
localStorage.removeItem('oauth-dpopNonces');
43
+
localStorage.removeItem('oauth-sessions');
44
+
localStorage.removeItem('oauth-states');
84
45
85
46
const InnerApp = () => {
86
47
const [ready, setReady] = createSignal(false);
87
48
const session = useSession();
88
49
89
50
onMount(() => {
90
-
const resumeAccount = async (did: Did | undefined) => {
51
+
const resumeAccount = async (did: At.DID | undefined) => {
91
52
try {
92
53
if (did) {
93
54
await session.resumeSession(did);
+2
-2
src/shell.tsx
+2
-2
src/shell.tsx
···
8
8
lazy,
9
9
} from 'solid-js';
10
10
11
-
import type { AppBskyNotificationGetUnreadCount } from '@atcute/bluesky';
11
+
import type { AppBskyNotificationGetUnreadCount } from '@atcute/client/lexicons';
12
12
import type { DefinedCreateQueryResult } from '@mary/solid-query';
13
13
14
14
import { createNotificationCountQuery } from '~/api/queries/notification-count';
···
99
99
unread,
100
100
}: {
101
101
route: Accessor<MatchedRouteState>;
102
-
unread: DefinedCreateQueryResult<AppBskyNotificationGetUnreadCount.$output>;
102
+
unread: DefinedCreateQueryResult<AppBskyNotificationGetUnreadCount.Output>;
103
103
}) => {
104
104
const active = () => route().def.meta?.name;
105
105
+1
-1
src/views/_error/index.tsx
+1
-1
src/views/_error/index.tsx
+4
-5
src/views/bluemoji-emotes.tsx
+4
-5
src/views/bluemoji-emotes.tsx
···
1
1
import { type JSX, createEffect, createSignal } from 'solid-js';
2
2
3
-
import type { Blob as AtpBlob } from '@atcute/lexicons';
4
3
import { remove as removeExif } from '@mary/exif-rm';
5
4
import { createInfiniteQuery } from '@mary/solid-query';
6
5
···
27
26
const handleBlob = async (blob: Blob) => {
28
27
const exifRemoved = removeExif(new Uint8Array(await blob.arrayBuffer()));
29
28
if (exifRemoved !== null) {
30
-
blob = new Blob([exifRemoved as Uint8Array<ArrayBuffer>], { type: blob.type });
29
+
blob = new Blob([exifRemoved], { type: blob.type });
31
30
}
32
31
33
32
if (blob.size > MAX_ORIGINAL_SIZE) {
···
46
45
openModal(() => <AddEmotePrompt blob={blob} onAdd={() => {}} />);
47
46
};
48
47
49
-
const { client } = useAgent();
48
+
const { rpc } = useAgent();
50
49
const { currentAccount } = useSession();
51
50
52
51
const query = createInfiniteQuery(() => ({
53
52
queryKey: ['bluemoji', 'emotes'],
54
53
async queryFn(ctx) {
55
-
return listRecords(client, {
54
+
return listRecords(rpc, {
56
55
repo: currentAccount!.did,
57
56
collection: 'blue.moji.collection.item',
58
57
limit: 100,
···
114
113
return (
115
114
<div class="flex items-center gap-4 px-4 py-4">
116
115
<img
117
-
src={/* @once */ getCdnUrl(currentAccount!.did, (blob! as AtpBlob).ref.$link)}
116
+
src={/* @once */ getCdnUrl(currentAccount!.did, blob!.ref.$link)}
118
117
class="h-8 w-8 object-cover"
119
118
/>
120
119
+8
-10
src/views/oauth-callback.tsx
+8
-10
src/views/oauth-callback.tsx
···
1
1
import { Match, Switch, createResource } from 'solid-js';
2
2
3
-
import { Client, ok } from '@atcute/client';
3
+
import { XRPC } from '@atcute/client';
4
4
import {
5
5
AuthorizationError,
6
6
OAuthResponseError,
···
23
23
// Do this on global history instance so it doesn't affect this page rendering.
24
24
history.replaceState(null, '', '/');
25
25
26
-
const { session } = await finalizeAuthorization(params);
26
+
const session = await finalizeAuthorization(params);
27
27
const did = session.info.sub;
28
28
29
29
const agent = new OAuthUserAgent(session);
30
-
const client = new Client({ handler: agent });
30
+
const rpc = new XRPC({ handler: agent });
31
31
32
-
const profile = await ok(
33
-
client.get('app.bsky.actor.getProfile', {
34
-
params: {
35
-
actor: did,
36
-
},
37
-
}),
38
-
);
32
+
const { data: profile } = await rpc.get('app.bsky.actor.getProfile', {
33
+
params: {
34
+
actor: did,
35
+
},
36
+
});
39
37
40
38
{
41
39
// Update UI preferences
+1
-6
src/views/post-likes.tsx
+1
-6
src/views/post-likes.tsx
···
1
-
import type { Did, RecordKey } from '@atcute/lexicons';
2
-
3
1
import { createSubjectLikersQuery } from '~/api/queries/subject-likers';
4
2
import { makeAtUri } from '~/api/types/at-uri';
5
3
···
12
10
import VirtualItem from '~/components/virtual-item';
13
11
14
12
const PostLikesPage = () => {
15
-
const { did, rkey } = useParams<{
16
-
did: Did;
17
-
rkey: RecordKey;
18
-
}>();
13
+
const { did, rkey } = useParams();
19
14
20
15
const uri = makeAtUri(did, 'app.bsky.feed.post', rkey);
21
16
const likers = createSubjectLikersQuery(() => uri);
+1
-6
src/views/post-quotes.tsx
+1
-6
src/views/post-quotes.tsx
···
1
-
import type { Did, RecordKey } from '@atcute/lexicons';
2
-
3
1
import { createPostQuotesQuery } from '~/api/queries/post-quotes';
4
2
import { makeAtUri } from '~/api/types/at-uri';
5
3
···
11
9
import VirtualItem from '~/components/virtual-item';
12
10
13
11
const PostQuotesPage = () => {
14
-
const { did, rkey } = useParams<{
15
-
did: Did;
16
-
rkey: RecordKey;
17
-
}>();
12
+
const { did, rkey } = useParams();
18
13
19
14
const uri = makeAtUri(did, 'app.bsky.feed.post', rkey);
20
15
const quotes = createPostQuotesQuery(() => uri);
+1
-6
src/views/post-reposts.tsx
+1
-6
src/views/post-reposts.tsx
···
1
-
import type { Did, RecordKey } from '@atcute/lexicons';
2
-
3
1
import { createSubjectRepostersQuery } from '~/api/queries/subject-reposters';
4
2
import { makeAtUri } from '~/api/types/at-uri';
5
3
···
12
10
import VirtualItem from '~/components/virtual-item';
13
11
14
12
const PostLikesPage = () => {
15
-
const { did, rkey } = useParams<{
16
-
did: Did;
17
-
rkey: RecordKey;
18
-
}>();
13
+
const { did, rkey } = useParams();
19
14
20
15
const uri = makeAtUri(did, 'app.bsky.feed.post', rkey);
21
16
const reposters = createSubjectRepostersQuery(() => uri);
+12
-16
src/views/post-thread.tsx
+12
-16
src/views/post-thread.tsx
···
1
1
import { For, Match, Switch, createEffect, createMemo, createSignal } from 'solid-js';
2
2
3
-
import type { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
4
-
import { ClientResponseError } from '@atcute/client';
5
-
import type { $type, ActorIdentifier, Did, RecordKey } from '@atcute/lexicons';
6
-
import { isDid } from '@atcute/lexicons/syntax';
3
+
import { XRPCError } from '@atcute/client';
4
+
import type { AppBskyFeedDefs, AppBskyFeedPost, At, Brand } from '@atcute/client/lexicons';
7
5
import { useQueryClient } from '@mary/solid-query';
8
6
9
7
import {
···
14
12
import { usePostThreadQuery } from '~/api/queries/post-thread';
15
13
import { createProfileQuery } from '~/api/queries/profile';
16
14
import { makeAtUri } from '~/api/types/at-uri';
15
+
import { isDid } from '~/api/types/identity';
17
16
18
17
import { history } from '~/globals/navigation';
19
18
···
39
38
import VirtualItem from '~/components/virtual-item';
40
39
41
40
const PostThreadPage = () => {
42
-
const { didOrHandle, rkey } = useParams<{
43
-
didOrHandle: ActorIdentifier;
44
-
rkey: RecordKey;
45
-
}>();
41
+
const { didOrHandle, rkey } = useParams();
46
42
47
43
const queryClient = useQueryClient();
48
44
···
54
50
if (data && data.$type === 'app.bsky.feed.defs#threadViewPost') {
55
51
const post = data.post;
56
52
const author = post.author;
57
-
const record = post.record as AppBskyFeedPost.Main;
53
+
const record = post.record as AppBskyFeedPost.Record;
58
54
59
55
const authorTitle = `@${truncateMiddle(author.handle, 29).toLowerCase()}`;
60
56
const postContent = record.text?.trim();
···
79
75
80
76
<Switch>
81
77
<Match when={query.error} keyed>
82
-
{(err) => {
83
-
if (err instanceof ClientResponseError) {
84
-
if (err.error === 'NotFound') {
78
+
{(error) => {
79
+
if (error instanceof XRPCError) {
80
+
if (error.kind === 'NotFound') {
85
81
return (
86
82
<div class="px-4 py-3">
87
83
<div class="rounded-md border border-outline p-3">
···
92
88
}
93
89
}
94
90
95
-
return <ErrorView error={err} onRetry={() => query.refetch()} />;
91
+
return <ErrorView error={error} onRetry={() => query.refetch()} />;
96
92
}}
97
93
</Match>
98
94
···
106
102
const data = accessor();
107
103
const type = data.$type;
108
104
109
-
let did: Did | undefined;
105
+
let did: At.DID | undefined;
110
106
111
107
if (type === 'app.bsky.feed.defs#threadViewPost') {
112
108
did = data.post.author.did;
···
221
217
export default PostThreadPage;
222
218
223
219
const ThreadView = (props: {
224
-
data: $type.enforce<AppBskyFeedDefs.ThreadViewPost>;
220
+
data: Brand.Union<AppBskyFeedDefs.ThreadViewPost>;
225
221
isPlaceholderData: boolean;
226
222
onReplyPublish?: () => void;
227
223
onMainPostDelete?: () => void;
···
261
257
}
262
258
}
263
259
264
-
return (post.record as AppBskyFeedPost.Main).reply !== undefined;
260
+
return (post.record as AppBskyFeedPost.Record).reply !== undefined;
265
261
};
266
262
267
263
return (
+1
-6
src/views/profile-curation-list.tsx
+1
-6
src/views/profile-curation-list.tsx
···
1
1
import { Match, Switch } from 'solid-js';
2
2
3
-
import type { Did, RecordKey } from '@atcute/lexicons';
4
-
5
3
import { createListMetaQuery } from '~/api/queries/list';
6
4
import { makeAtUri } from '~/api/types/at-uri';
7
5
···
13
11
import TimelineList from '~/components/timeline/timeline-list';
14
12
15
13
const CurationListPage = () => {
16
-
const { did, rkey } = useParams<{
17
-
did: Did;
18
-
rkey: RecordKey;
19
-
}>();
14
+
const { did, rkey } = useParams();
20
15
21
16
const uri = makeAtUri(did, 'app.bsky.graph.list', rkey);
22
17
const meta = createListMetaQuery(() => uri);
+2
-6
src/views/profile-feed.tsx
+2
-6
src/views/profile-feed.tsx
···
1
1
import { Match, Show, Switch } from 'solid-js';
2
2
3
-
import type { ActorIdentifier, RecordKey } from '@atcute/lexicons';
4
-
import { isDid } from '@atcute/lexicons/syntax';
5
3
import { useQueryClient } from '@mary/solid-query';
6
4
7
5
import { createFeedMetaQuery } from '~/api/queries/feed';
8
6
import { makeAtUri } from '~/api/types/at-uri';
7
+
import { isDid } from '~/api/types/identity';
9
8
10
9
import { openModal } from '~/globals/modals';
11
10
import { history } from '~/globals/navigation';
···
24
23
import TimelineList from '~/components/timeline/timeline-list';
25
24
26
25
const FeedPage = () => {
27
-
const { didOrHandle, rkey } = useParams<{
28
-
didOrHandle: ActorIdentifier;
29
-
rkey: RecordKey;
30
-
}>();
26
+
const { didOrHandle, rkey } = useParams();
31
27
32
28
const queryClient = useQueryClient();
33
29
+1
-3
src/views/profile-feeds.tsx
+1
-3
src/views/profile-feeds.tsx
···
1
-
import type { Did } from '@atcute/lexicons';
2
-
3
1
import { createProfileQuery } from '~/api/queries/profile';
4
2
import { createProfileFeedsQuery } from '~/api/queries/profile-feeds';
5
3
···
11
9
import VirtualItem from '~/components/virtual-item';
12
10
13
11
const ProfileFeedsPage = () => {
14
-
const { did } = useParams<{ did: Did }>();
12
+
const { did } = useParams();
15
13
16
14
const feeds = createProfileFeedsQuery(() => did);
17
15
const profile = createProfileQuery(() => did);
+1
-3
src/views/profile-followers.tsx
+1
-3
src/views/profile-followers.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { Did } from '@atcute/lexicons';
4
-
5
3
import { createProfileFollowersQuery } from '~/api/queries/profile-followers';
6
4
7
5
import { useParams, useTitle } from '~/lib/navigation/router';
···
13
11
import VirtualItem from '~/components/virtual-item';
14
12
15
13
const ProfileFollowersPage = () => {
16
-
const { did } = useParams<{ did: Did }>();
14
+
const { did } = useParams();
17
15
18
16
const followers = createProfileFollowersQuery(() => did);
19
17
const subject = createMemo(() => followers.data?.pages[0].subject);
+1
-3
src/views/profile-following.tsx
+1
-3
src/views/profile-following.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { Did } from '@atcute/lexicons';
4
-
5
3
import { createProfileFollowingQuery } from '~/api/queries/profile-following';
6
4
7
5
import { useParams, useTitle } from '~/lib/navigation/router';
···
13
11
import VirtualItem from '~/components/virtual-item';
14
12
15
13
const ProfileFollowingPage = () => {
16
-
const { did } = useParams<{ did: Did }>();
14
+
const { did } = useParams();
17
15
18
16
const following = createProfileFollowingQuery(() => did);
19
17
const subject = createMemo(() => following.data?.pages[0].subject);
+1
-3
src/views/profile-known-followers.tsx
+1
-3
src/views/profile-known-followers.tsx
···
1
1
import { createMemo } from 'solid-js';
2
2
3
-
import type { Did } from '@atcute/lexicons';
4
-
5
3
import { createProfileKnownFollowersQuery } from '~/api/queries/profile-known-followers';
6
4
7
5
import { useParams, useTitle } from '~/lib/navigation/router';
···
13
11
import VirtualItem from '~/components/virtual-item';
14
12
15
13
const ProfileKnownFollowersPage = () => {
16
-
const { did } = useParams<{ did: Did }>();
14
+
const { did } = useParams();
17
15
18
16
const followers = createProfileKnownFollowersQuery(() => did);
19
17
const subject = createMemo(() => followers.data?.pages[0].subject);
+6
-6
src/views/profile-labels.tsx
+6
-6
src/views/profile-labels.tsx
···
1
1
import { Match, Show, Switch, createMemo } from 'solid-js';
2
2
3
-
import type { Did } from '@atcute/lexicons';
3
+
import type { At } from '@atcute/client/lexicons';
4
4
import { mapDefined } from '@mary/array-fns';
5
5
6
6
import {
···
46
46
import LabelerOverflowMenu from '~/components/settings/moderation/labeling/labeler-overflow-menu';
47
47
48
48
const ProfileLabelsPage = () => {
49
-
const { did } = useParams<{ did: Did }>();
49
+
const { did } = useParams();
50
50
const { currentAccount } = useSession();
51
51
52
-
const query = createLabelerMetaQuery(() => did);
52
+
const query = createLabelerMetaQuery(() => did as At.DID);
53
53
54
54
const config = createMemo(() => {
55
55
if (!currentAccount) {
···
57
57
}
58
58
59
59
const preferences = currentAccount.preferences;
60
-
return preferences.moderation.labelers[did];
60
+
return preferences.moderation.labelers[did as At.DID];
61
61
});
62
62
63
63
useTitle(() => {
···
98
98
const preferences = currentAccount!.preferences;
99
99
const labelers = preferences.moderation.labelers;
100
100
101
-
labelers[did] = {
101
+
labelers[did as At.DID] = {
102
102
labels: {},
103
103
privileged: false,
104
104
redact: false,
···
140
140
const preferences = currentAccount!.preferences;
141
141
const labelers = preferences.moderation.labelers;
142
142
143
-
delete labelers[did];
143
+
delete labelers[did as At.DID];
144
144
}}
145
145
/>
146
146
));
+2
-6
src/views/profile-list.tsx
+2
-6
src/views/profile-list.tsx
···
1
1
import { Match, Switch } from 'solid-js';
2
2
3
-
import type { ActorIdentifier, RecordKey } from '@atcute/lexicons';
4
-
import { isDid } from '@atcute/lexicons/syntax';
5
3
import { useQueryClient } from '@mary/solid-query';
6
4
7
5
import { createListMetaQuery } from '~/api/queries/list';
8
6
import { makeAtUri } from '~/api/types/at-uri';
7
+
import { isDid } from '~/api/types/identity';
9
8
10
9
import { history } from '~/globals/navigation';
11
10
···
16
15
import * as Page from '~/components/page';
17
16
18
17
const ListStubPage = () => {
19
-
const { didOrHandle, rkey } = useParams<{
20
-
didOrHandle: ActorIdentifier;
21
-
rkey: RecordKey;
22
-
}>();
18
+
const { didOrHandle, rkey } = useParams();
23
19
24
20
const queryClient = useQueryClient();
25
21
+1
-3
src/views/profile-lists.tsx
+1
-3
src/views/profile-lists.tsx
···
1
-
import type { Did } from '@atcute/lexicons';
2
-
3
1
import { createProfileQuery } from '~/api/queries/profile';
4
2
import { createProfileListsQuery } from '~/api/queries/profile-lists';
5
3
···
10
8
import PagedList from '~/components/paged-list';
11
9
12
10
const ProfileListsPage = () => {
13
-
const { did } = useParams<{ did: Did }>();
11
+
const { did } = useParams();
14
12
15
13
const lists = createProfileListsQuery(() => did);
16
14
const profile = createProfileQuery(() => did);
+3
-7
src/views/profile-moderation-list.tsx
+3
-7
src/views/profile-moderation-list.tsx
···
1
1
import { Match, Show, Switch, createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyGraphDefs } from '@atcute/bluesky';
4
-
import type { Did, RecordKey, ResourceUri } from '@atcute/lexicons';
3
+
import type { AppBskyGraphDefs } from '@atcute/client/lexicons';
5
4
import { useQueryClient } from '@mary/solid-query';
6
5
7
6
import { ContextContentMedia } from '~/api/moderation/constants';
···
30
29
import VirtualItem from '~/components/virtual-item';
31
30
32
31
const ProfileModerationListPage = () => {
33
-
const { did, rkey } = useParams<{
34
-
did: Did;
35
-
rkey: RecordKey;
36
-
}>();
32
+
const { did, rkey } = useParams();
37
33
38
34
const uri = makeAtUri(did, 'app.bsky.graph.list', rkey);
39
35
const query = createListMetaQuery(() => uri);
···
164
160
);
165
161
};
166
162
167
-
const MembersList = ({ uri }: { uri: ResourceUri }) => {
163
+
const MembersList = ({ uri }: { uri: string }) => {
168
164
const members = createListMembersQuery(() => uri);
169
165
170
166
return (
+2
-6
src/views/profile-search.tsx
+2
-6
src/views/profile-search.tsx
···
1
1
import { createSignal } from 'solid-js';
2
2
3
-
import type { ActorIdentifier } from '@atcute/lexicons';
4
-
import { isDid } from '@atcute/lexicons/syntax';
5
-
6
3
import { createProfileQuery } from '~/api/queries/profile';
4
+
import { isDid } from '~/api/types/identity';
7
5
8
6
import { history } from '~/globals/navigation';
9
7
···
16
14
import SearchSuggestionsView from '~/components/search/search-suggestions-view';
17
15
18
16
const ProfileSearchPage = () => {
19
-
const { didOrHandle } = useParams<{
20
-
didOrHandle: ActorIdentifier;
21
-
}>();
17
+
const { didOrHandle } = useParams();
22
18
23
19
const [query, setQuery] = createSignal('');
24
20
const profile = createProfileQuery(() => didOrHandle);
+10
-13
src/views/profile.tsx
+10
-13
src/views/profile.tsx
···
1
1
import { Match, Show, Switch, createMemo } from 'solid-js';
2
2
3
-
import type { AppBskyActorDefs } from '@atcute/bluesky';
4
-
import { ClientResponseError } from '@atcute/client';
5
-
import type { ActorIdentifier } from '@atcute/lexicons';
6
-
import { isDid } from '@atcute/lexicons/syntax';
3
+
import { XRPCError } from '@atcute/client';
4
+
import type { AppBskyActorDefs } from '@atcute/client/lexicons';
7
5
import { useQueryClient } from '@mary/solid-query';
8
6
9
7
import { useProfileShadow } from '~/api/cache/profile-shadow';
10
8
import { createProfileQuery } from '~/api/queries/profile';
9
+
import { isDid } from '~/api/types/identity';
11
10
12
11
import { openModal } from '~/globals/modals';
13
12
import { history } from '~/globals/navigation';
···
32
31
import VirtualItem from '~/components/virtual-item';
33
32
34
33
const ProfilePage = () => {
35
-
const { didOrHandle } = useParams<{
36
-
didOrHandle: ActorIdentifier;
37
-
}>();
34
+
const { didOrHandle } = useParams();
38
35
39
36
const queryClient = useQueryClient();
40
37
const profile = createProfileQuery(() => didOrHandle);
···
118
115
<Match when={profile.error} keyed>
119
116
{(err) => {
120
117
if (
121
-
err instanceof ClientResponseError &&
122
-
(err.error === 'InvalidRequest' ||
123
-
err.error === 'AccountTakedown' ||
124
-
err.error === 'AccountDeactivated')
118
+
err instanceof XRPCError &&
119
+
(err.kind === 'InvalidRequest' ||
120
+
err.kind === 'AccountTakedown' ||
121
+
err.kind === 'AccountDeactivated')
125
122
) {
126
123
const text =
127
-
err.error === 'AccountTakedown'
124
+
err.kind === 'AccountTakedown'
128
125
? `This account is taken down`
129
-
: err.error === 'AccountDeactivated'
126
+
: err.kind === 'AccountDeactivated'
130
127
? `This account has deactivated`
131
128
: `This account doesn't exist`;
132
129
+6
-7
src/views/settings-account.tsx
+6
-7
src/views/settings-account.tsx
···
1
-
import { ok } from '@atcute/client';
2
1
import { createQuery } from '@mary/solid-query';
3
2
4
3
import { useTitle } from '~/lib/navigation/router';
···
8
7
import * as Page from '~/components/page';
9
8
10
9
const AccountSettingsPage = () => {
11
-
const { client, persister } = useAgent();
10
+
const { did, rpc, persister } = useAgent();
12
11
13
12
const repo = createQuery(() => ({
14
13
queryKey: ['describe-repo'],
15
14
persister: persister as any,
16
15
async queryFn() {
17
-
const [session, server] = await Promise.all([
18
-
ok(client.get('com.atproto.server.getSession')),
19
-
ok(client.get('com.atproto.server.describeServer')),
16
+
const [repoResponse, serverResponse] = await Promise.all([
17
+
rpc.get('com.atproto.repo.describeRepo', { params: { repo: did! } }),
18
+
rpc.handle('/xrpc/com.atproto.server.describeServer', {}),
20
19
]);
21
20
22
21
return {
23
-
handle: session.handle,
24
-
pds: server.did.replace(/^did:web:/, ''),
22
+
handle: repoResponse.data.handle,
23
+
pds: new URL(serverResponse.url).host,
25
24
};
26
25
},
27
26
}));
+7
-11
src/views/settings-app-passwords.tsx
+7
-11
src/views/settings-app-passwords.tsx
···
1
1
import { For, Match, Show, Switch } from 'solid-js';
2
2
3
-
import type { ComAtprotoServerListAppPasswords } from '@atcute/atproto';
4
-
import { ok } from '@atcute/client';
3
+
import type { ComAtprotoServerListAppPasswords } from '@atcute/client/lexicons';
5
4
import { createMutation, createQuery } from '@mary/solid-query';
6
5
7
6
import { openModal } from '~/globals/modals';
···
23
22
import AddAppPasswordPrompt from '~/components/settings/app-passwords/add-app-password-prompt';
24
23
25
24
const AppPasswordsSettingsPage = () => {
26
-
const { client } = useAgent();
25
+
const { rpc } = useAgent();
27
26
28
27
const passwords = createQuery(() => {
29
28
return {
30
29
queryKey: ['app-passwords'],
31
30
async queryFn() {
32
-
const data = await ok(client.get('com.atproto.server.listAppPasswords'));
31
+
const { data } = await rpc.get('com.atproto.server.listAppPasswords', {});
33
32
34
33
return data.passwords;
35
34
},
···
106
105
}
107
106
108
107
const PasswordEntry = ({ item }: PasswordEntryProps) => {
109
-
const { client } = useAgent();
108
+
const { rpc } = useAgent();
110
109
111
110
const isPrivileged = item.privileged;
112
111
113
112
const mutation = createMutation((queryClient) => {
114
113
return {
115
114
async mutationFn() {
116
-
await ok(
117
-
client.post('com.atproto.server.revokeAppPassword', {
118
-
as: null,
119
-
input: { name: item.name },
120
-
}),
121
-
);
115
+
await rpc.call('com.atproto.server.revokeAppPassword', {
116
+
data: { name: item.name },
117
+
});
122
118
},
123
119
async onSuccess() {
124
120
await queryClient.invalidateQueries({ queryKey: ['app-passwords'] });
+6
src/vite-env.d.ts
+6
src/vite-env.d.ts
···
6
6
7
7
interface ImportMetaEnv {
8
8
readonly VITE_APP_NAME: string;
9
+
10
+
readonly VITE_DEV_SERVER_PORT?: string;
11
+
readonly VITE_CLIENT_URI: string;
12
+
readonly VITE_OAUTH_CLIENT_ID: string;
13
+
readonly VITE_OAUTH_REDIRECT_URL: string;
14
+
readonly VITE_OAUTH_SCOPE: string;
9
15
}
10
16
11
17
interface ImportMeta {
-40
tsconfig.app.json
-40
tsconfig.app.json
···
1
-
{
2
-
"compilerOptions": {
3
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
-
5
-
"target": "ESNext",
6
-
"lib": ["ESNext", "DOM", "DOM.Iterable"],
7
-
"types": [
8
-
"dom-close-watcher",
9
-
"dom-webcodecs",
10
-
"@atcute/atproto",
11
-
"@atcute/bluemoji",
12
-
"@atcute/bluesky",
13
-
"@kelinci/basa-lexicons"
14
-
],
15
-
"skipLibCheck": true,
16
-
17
-
"module": "ESNext",
18
-
"moduleResolution": "bundler",
19
-
"moduleDetection": "force",
20
-
"allowImportingTsExtensions": true,
21
-
"noEmit": true,
22
-
"jsx": "preserve",
23
-
"jsxImportSource": "solid-js",
24
-
25
-
"incremental": true,
26
-
"strict": true,
27
-
"verbatimModuleSyntax": true,
28
-
"noUnusedLocals": true,
29
-
"noUnusedParameters": true,
30
-
"noFallthroughCasesInSwitch": true,
31
-
"noUncheckedSideEffectImports": true,
32
-
33
-
"useDefineForClassFields": false,
34
-
35
-
"paths": {
36
-
"~/*": ["./src/*"]
37
-
}
38
-
},
39
-
"include": ["src"]
40
-
}
+28
-6
tsconfig.json
+28
-6
tsconfig.json
···
1
1
{
2
-
"files": [],
3
-
"references": [
4
-
{ "path": "./tsconfig.app.json" },
5
-
{ "path": "./tsconfig.worker.json" },
6
-
{ "path": "./tsconfig.node.json" },
7
-
],
2
+
"compilerOptions": {
3
+
"target": "ESNext",
4
+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
5
+
"types": ["dom-close-watcher", "dom-webcodecs"],
6
+
"skipLibCheck": true,
7
+
8
+
"module": "ESNext",
9
+
"moduleResolution": "Bundler",
10
+
"allowImportingTsExtensions": true,
11
+
"resolveJsonModule": true,
12
+
"noEmit": true,
13
+
"jsx": "preserve",
14
+
"jsxImportSource": "solid-js",
15
+
16
+
"incremental": true,
17
+
"strict": true,
18
+
"verbatimModuleSyntax": true,
19
+
"noUnusedLocals": true,
20
+
"noUnusedParameters": true,
21
+
"noFallthroughCasesInSwitch": true,
22
+
23
+
"useDefineForClassFields": false,
24
+
25
+
"paths": {
26
+
"~/*": ["./src/*"],
27
+
},
28
+
},
29
+
"include": ["src"],
8
30
}
-27
tsconfig.node.json
-27
tsconfig.node.json
···
1
-
{
2
-
"compilerOptions": {
3
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
-
5
-
"target": "ESNext",
6
-
"lib": ["ESNext"],
7
-
"types": ["node"],
8
-
"skipLibCheck": true,
9
-
10
-
"module": "ESNext",
11
-
"moduleResolution": "bundler",
12
-
"moduleDetection": "force",
13
-
"allowImportingTsExtensions": true,
14
-
"noEmit": true,
15
-
16
-
"incremental": true,
17
-
"strict": true,
18
-
"verbatimModuleSyntax": true,
19
-
"noUnusedLocals": true,
20
-
"noUnusedParameters": true,
21
-
"noFallthroughCasesInSwitch": true,
22
-
"noUncheckedSideEffectImports": true,
23
-
24
-
"useDefineForClassFields": false
25
-
},
26
-
"include": ["vite.config.ts"]
27
-
}
-27
tsconfig.worker.json
-27
tsconfig.worker.json
···
1
-
{
2
-
"compilerOptions": {
3
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
-
5
-
"target": "ESNext",
6
-
"lib": ["ESNext"],
7
-
"types": ["./worker-configuration.d.ts", "vite/client"],
8
-
"skipLibCheck": true,
9
-
10
-
"module": "ESNext",
11
-
"moduleResolution": "bundler",
12
-
"moduleDetection": "force",
13
-
"allowImportingTsExtensions": true,
14
-
"noEmit": true,
15
-
16
-
"incremental": true,
17
-
"strict": true,
18
-
"verbatimModuleSyntax": true,
19
-
"noUnusedLocals": true,
20
-
"noUnusedParameters": true,
21
-
"noFallthroughCasesInSwitch": true,
22
-
"noUncheckedSideEffectImports": true,
23
-
24
-
"useDefineForClassFields": false
25
-
},
26
-
"include": ["server"]
27
-
}
+144
vite.config.js
+144
vite.config.js
···
1
+
import * as path from 'node:path';
2
+
3
+
import { defineConfig } from 'vite';
4
+
import { VitePWA } from 'vite-plugin-pwa';
5
+
import solid from 'vite-plugin-solid';
6
+
7
+
import metadata from './public/oauth/client-metadata.json';
8
+
9
+
const SERVER_HOST = '127.0.0.1';
10
+
const SERVER_PORT = 52222;
11
+
12
+
export default defineConfig({
13
+
build: {
14
+
target: 'esnext',
15
+
modulePreload: false,
16
+
sourcemap: true,
17
+
assetsInlineLimit: 0,
18
+
minify: 'terser',
19
+
rollupOptions: {
20
+
output: {
21
+
chunkFileNames: 'assets/[hash].js',
22
+
manualChunks: {
23
+
common: [
24
+
'solid-js',
25
+
'solid-js/store',
26
+
'solid-js/web',
27
+
28
+
'@atcute/client',
29
+
'@atcute/oauth-browser-client',
30
+
'@mary/events',
31
+
'@mary/solid-query',
32
+
33
+
'src/service-worker.tsx',
34
+
35
+
'src/globals/events.ts',
36
+
'src/globals/locales.ts',
37
+
'src/globals/modals.tsx',
38
+
'src/globals/navigation.ts',
39
+
'src/globals/preferences.ts',
40
+
41
+
'src/lib/states/agent.tsx',
42
+
'src/lib/states/session.tsx',
43
+
'src/lib/states/theme.tsx',
44
+
],
45
+
shell: ['src/shell.tsx'],
46
+
},
47
+
},
48
+
},
49
+
terserOptions: {
50
+
compress: {
51
+
passes: 3,
52
+
},
53
+
},
54
+
},
55
+
resolve: {
56
+
alias: {
57
+
'~': path.join(__dirname, './src'),
58
+
},
59
+
},
60
+
server: {
61
+
host: SERVER_HOST,
62
+
port: SERVER_PORT,
63
+
},
64
+
optimizeDeps: {
65
+
esbuildOptions: {
66
+
target: 'esnext',
67
+
},
68
+
},
69
+
plugins: [
70
+
solid({
71
+
babel: {
72
+
plugins: [['babel-plugin-transform-typescript-const-enums']],
73
+
},
74
+
}),
75
+
VitePWA({
76
+
registerType: 'prompt',
77
+
injectRegister: null,
78
+
workbox: {
79
+
globPatterns: ['**/*.{js,css,html,svg,jpg,png}'],
80
+
cleanupOutdatedCaches: true,
81
+
},
82
+
manifest: {
83
+
id: '/',
84
+
start_url: '/',
85
+
scope: '/',
86
+
name: 'Aglais',
87
+
short_name: 'Aglais',
88
+
description: 'Alternative web client for Bluesky',
89
+
display: 'standalone',
90
+
background_color: '#000000',
91
+
icons: [
92
+
{
93
+
src: 'favicon.png',
94
+
type: 'image/png',
95
+
sizes: '150x150',
96
+
},
97
+
],
98
+
},
99
+
}),
100
+
101
+
// Transform the icon components to remove the `() => _tmpl$()` wrapper
102
+
{
103
+
transform(code, id) {
104
+
if (!id.includes('/icons-central/')) {
105
+
return;
106
+
}
107
+
108
+
const transformed = code.replace(
109
+
/(?<=createIcon\()\(\)\s*=>*.([\w$]+)\(\)(?=\))/g,
110
+
(match, id) => id,
111
+
);
112
+
113
+
return { code: transformed, map: null };
114
+
},
115
+
},
116
+
117
+
// Injects OAuth-related variables
118
+
{
119
+
config(_conf, { command }) {
120
+
if (command === 'build') {
121
+
process.env.VITE_OAUTH_CLIENT_ID = metadata.client_id;
122
+
process.env.VITE_OAUTH_REDIRECT_URL = metadata.redirect_uris[0];
123
+
} else {
124
+
const redirectUri = (() => {
125
+
const url = new URL(metadata.redirect_uris[0]);
126
+
return `http://${SERVER_HOST}:${SERVER_PORT}${url.pathname}`;
127
+
})();
128
+
129
+
const clientId =
130
+
`http://localhost` +
131
+
`?redirect_uri=${encodeURIComponent(redirectUri)}` +
132
+
`&scope=${encodeURIComponent(metadata.scope)}`;
133
+
134
+
process.env.VITE_DEV_SERVER_PORT = '' + SERVER_PORT;
135
+
process.env.VITE_OAUTH_CLIENT_ID = clientId;
136
+
process.env.VITE_OAUTH_REDIRECT_URL = redirectUri;
137
+
}
138
+
139
+
process.env.VITE_CLIENT_URI = metadata.client_uri;
140
+
process.env.VITE_OAUTH_SCOPE = metadata.scope;
141
+
},
142
+
},
143
+
],
144
+
});
-116
vite.config.ts
-116
vite.config.ts
···
1
-
import * as path from 'node:path';
2
-
3
-
import { cloudflare } from '@cloudflare/vite-plugin';
4
-
import { defineConfig } from 'vite';
5
-
import { VitePWA } from 'vite-plugin-pwa';
6
-
import solid from 'vite-plugin-solid';
7
-
8
-
export default defineConfig({
9
-
build: {
10
-
target: 'esnext',
11
-
modulePreload: false,
12
-
sourcemap: true,
13
-
assetsInlineLimit: 0,
14
-
minify: 'terser',
15
-
rollupOptions: {
16
-
output: {
17
-
chunkFileNames: 'assets/[hash].js',
18
-
manualChunks: {
19
-
common: [
20
-
'solid-js',
21
-
'solid-js/store',
22
-
'solid-js/web',
23
-
24
-
'@atcute/client',
25
-
'@atcute/oauth-browser-client',
26
-
'@mary/events',
27
-
'@mary/solid-query',
28
-
29
-
'src/service-worker.tsx',
30
-
31
-
'src/globals/events.ts',
32
-
'src/globals/locales.ts',
33
-
'src/globals/modals.tsx',
34
-
'src/globals/navigation.ts',
35
-
'src/globals/preferences.ts',
36
-
37
-
'src/lib/states/agent.tsx',
38
-
'src/lib/states/session.tsx',
39
-
'src/lib/states/theme.tsx',
40
-
],
41
-
shell: ['src/shell.tsx'],
42
-
},
43
-
},
44
-
},
45
-
terserOptions: {
46
-
compress: {
47
-
passes: 3,
48
-
},
49
-
},
50
-
},
51
-
resolve: {
52
-
alias: {
53
-
'~': path.join(__dirname, './src'),
54
-
},
55
-
},
56
-
server: {
57
-
allowedHosts: ['.trycloudflare.com'],
58
-
},
59
-
optimizeDeps: {
60
-
esbuildOptions: {
61
-
target: 'esnext',
62
-
},
63
-
},
64
-
plugins: [
65
-
solid({
66
-
babel: {
67
-
plugins: [['babel-plugin-transform-typescript-const-enums']],
68
-
},
69
-
}),
70
-
71
-
cloudflare(),
72
-
73
-
VitePWA({
74
-
registerType: 'prompt',
75
-
injectRegister: null,
76
-
workbox: {
77
-
globPatterns: ['**/*.{js,css,html,svg,jpg,png}'],
78
-
cleanupOutdatedCaches: true,
79
-
},
80
-
manifest: {
81
-
id: '/',
82
-
start_url: '/',
83
-
scope: '/',
84
-
name: 'Aglais',
85
-
short_name: 'Aglais',
86
-
description: 'Alternative web client for Bluesky',
87
-
display: 'standalone',
88
-
background_color: '#000000',
89
-
icons: [
90
-
{
91
-
src: 'favicon.png',
92
-
type: 'image/png',
93
-
sizes: '150x150',
94
-
},
95
-
],
96
-
},
97
-
}),
98
-
99
-
// Transform the icon components to remove the `() => _tmpl$()` wrapper
100
-
{
101
-
name: 'aglais-icon-transform',
102
-
transform(code, id) {
103
-
if (!id.includes('/icons-central/')) {
104
-
return;
105
-
}
106
-
107
-
const transformed = code.replace(
108
-
/(?<=createIcon\()\(\)\s*=>*.([\w$]+)\(\)(?=\))/g,
109
-
(_match, id) => id,
110
-
);
111
-
112
-
return { code: transformed, map: null };
113
-
},
114
-
},
115
-
],
116
-
});
-7331
worker-configuration.d.ts
-7331
worker-configuration.d.ts
···
1
-
/* eslint-disable */
2
-
// Generated by Wrangler by running `wrangler types` (hash: 869ac3b4ce0f52ba3b2e0bc70c49089e)
3
-
// Runtime types generated with workerd@1.20250617.0 2025-08-25
4
-
declare namespace Cloudflare {
5
-
interface Env {
6
-
}
7
-
}
8
-
interface Env extends Cloudflare.Env {}
9
-
10
-
// Begin runtime types
11
-
/*! *****************************************************************************
12
-
Copyright (c) Cloudflare. All rights reserved.
13
-
Copyright (c) Microsoft Corporation. All rights reserved.
14
-
15
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
16
-
this file except in compliance with the License. You may obtain a copy of the
17
-
License at http://www.apache.org/licenses/LICENSE-2.0
18
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
20
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
21
-
MERCHANTABLITY OR NON-INFRINGEMENT.
22
-
See the Apache Version 2.0 License for specific language governing permissions
23
-
and limitations under the License.
24
-
***************************************************************************** */
25
-
/* eslint-disable */
26
-
// noinspection JSUnusedGlobalSymbols
27
-
declare var onmessage: never;
28
-
/**
29
-
* An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
30
-
*
31
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
32
-
*/
33
-
declare class DOMException extends Error {
34
-
constructor(message?: string, name?: string);
35
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message) */
36
-
readonly message: string;
37
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name) */
38
-
readonly name: string;
39
-
/**
40
-
* @deprecated
41
-
*
42
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
43
-
*/
44
-
readonly code: number;
45
-
static readonly INDEX_SIZE_ERR: number;
46
-
static readonly DOMSTRING_SIZE_ERR: number;
47
-
static readonly HIERARCHY_REQUEST_ERR: number;
48
-
static readonly WRONG_DOCUMENT_ERR: number;
49
-
static readonly INVALID_CHARACTER_ERR: number;
50
-
static readonly NO_DATA_ALLOWED_ERR: number;
51
-
static readonly NO_MODIFICATION_ALLOWED_ERR: number;
52
-
static readonly NOT_FOUND_ERR: number;
53
-
static readonly NOT_SUPPORTED_ERR: number;
54
-
static readonly INUSE_ATTRIBUTE_ERR: number;
55
-
static readonly INVALID_STATE_ERR: number;
56
-
static readonly SYNTAX_ERR: number;
57
-
static readonly INVALID_MODIFICATION_ERR: number;
58
-
static readonly NAMESPACE_ERR: number;
59
-
static readonly INVALID_ACCESS_ERR: number;
60
-
static readonly VALIDATION_ERR: number;
61
-
static readonly TYPE_MISMATCH_ERR: number;
62
-
static readonly SECURITY_ERR: number;
63
-
static readonly NETWORK_ERR: number;
64
-
static readonly ABORT_ERR: number;
65
-
static readonly URL_MISMATCH_ERR: number;
66
-
static readonly QUOTA_EXCEEDED_ERR: number;
67
-
static readonly TIMEOUT_ERR: number;
68
-
static readonly INVALID_NODE_TYPE_ERR: number;
69
-
static readonly DATA_CLONE_ERR: number;
70
-
get stack(): any;
71
-
set stack(value: any);
72
-
}
73
-
type WorkerGlobalScopeEventMap = {
74
-
fetch: FetchEvent;
75
-
scheduled: ScheduledEvent;
76
-
queue: QueueEvent;
77
-
unhandledrejection: PromiseRejectionEvent;
78
-
rejectionhandled: PromiseRejectionEvent;
79
-
};
80
-
declare abstract class WorkerGlobalScope extends EventTarget<WorkerGlobalScopeEventMap> {
81
-
EventTarget: typeof EventTarget;
82
-
}
83
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console) */
84
-
interface Console {
85
-
"assert"(condition?: boolean, ...data: any[]): void;
86
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
87
-
clear(): void;
88
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
89
-
count(label?: string): void;
90
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
91
-
countReset(label?: string): void;
92
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
93
-
debug(...data: any[]): void;
94
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
95
-
dir(item?: any, options?: any): void;
96
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
97
-
dirxml(...data: any[]): void;
98
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
99
-
error(...data: any[]): void;
100
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
101
-
group(...data: any[]): void;
102
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
103
-
groupCollapsed(...data: any[]): void;
104
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
105
-
groupEnd(): void;
106
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
107
-
info(...data: any[]): void;
108
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
109
-
log(...data: any[]): void;
110
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
111
-
table(tabularData?: any, properties?: string[]): void;
112
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
113
-
time(label?: string): void;
114
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
115
-
timeEnd(label?: string): void;
116
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
117
-
timeLog(label?: string, ...data: any[]): void;
118
-
timeStamp(label?: string): void;
119
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
120
-
trace(...data: any[]): void;
121
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
122
-
warn(...data: any[]): void;
123
-
}
124
-
declare const console: Console;
125
-
type BufferSource = ArrayBufferView | ArrayBuffer;
126
-
type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array;
127
-
declare namespace WebAssembly {
128
-
class CompileError extends Error {
129
-
constructor(message?: string);
130
-
}
131
-
class RuntimeError extends Error {
132
-
constructor(message?: string);
133
-
}
134
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
135
-
interface GlobalDescriptor {
136
-
value: ValueType;
137
-
mutable?: boolean;
138
-
}
139
-
class Global {
140
-
constructor(descriptor: GlobalDescriptor, value?: any);
141
-
value: any;
142
-
valueOf(): any;
143
-
}
144
-
type ImportValue = ExportValue | number;
145
-
type ModuleImports = Record<string, ImportValue>;
146
-
type Imports = Record<string, ModuleImports>;
147
-
type ExportValue = Function | Global | Memory | Table;
148
-
type Exports = Record<string, ExportValue>;
149
-
class Instance {
150
-
constructor(module: Module, imports?: Imports);
151
-
readonly exports: Exports;
152
-
}
153
-
interface MemoryDescriptor {
154
-
initial: number;
155
-
maximum?: number;
156
-
shared?: boolean;
157
-
}
158
-
class Memory {
159
-
constructor(descriptor: MemoryDescriptor);
160
-
readonly buffer: ArrayBuffer;
161
-
grow(delta: number): number;
162
-
}
163
-
type ImportExportKind = "function" | "global" | "memory" | "table";
164
-
interface ModuleExportDescriptor {
165
-
kind: ImportExportKind;
166
-
name: string;
167
-
}
168
-
interface ModuleImportDescriptor {
169
-
kind: ImportExportKind;
170
-
module: string;
171
-
name: string;
172
-
}
173
-
abstract class Module {
174
-
static customSections(module: Module, sectionName: string): ArrayBuffer[];
175
-
static exports(module: Module): ModuleExportDescriptor[];
176
-
static imports(module: Module): ModuleImportDescriptor[];
177
-
}
178
-
type TableKind = "anyfunc" | "externref";
179
-
interface TableDescriptor {
180
-
element: TableKind;
181
-
initial: number;
182
-
maximum?: number;
183
-
}
184
-
class Table {
185
-
constructor(descriptor: TableDescriptor, value?: any);
186
-
readonly length: number;
187
-
get(index: number): any;
188
-
grow(delta: number, value?: any): number;
189
-
set(index: number, value?: any): void;
190
-
}
191
-
function instantiate(module: Module, imports?: Imports): Promise<Instance>;
192
-
function validate(bytes: BufferSource): boolean;
193
-
}
194
-
/**
195
-
* This ServiceWorker API interface represents the global execution context of a service worker.
196
-
* Available only in secure contexts.
197
-
*
198
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
199
-
*/
200
-
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
201
-
DOMException: typeof DOMException;
202
-
WorkerGlobalScope: typeof WorkerGlobalScope;
203
-
btoa(data: string): string;
204
-
atob(data: string): string;
205
-
setTimeout(callback: (...args: any[]) => void, msDelay?: number): number;
206
-
setTimeout<Args extends any[]>(callback: (...args: Args) => void, msDelay?: number, ...args: Args): number;
207
-
clearTimeout(timeoutId: number | null): void;
208
-
setInterval(callback: (...args: any[]) => void, msDelay?: number): number;
209
-
setInterval<Args extends any[]>(callback: (...args: Args) => void, msDelay?: number, ...args: Args): number;
210
-
clearInterval(timeoutId: number | null): void;
211
-
queueMicrotask(task: Function): void;
212
-
structuredClone<T>(value: T, options?: StructuredSerializeOptions): T;
213
-
reportError(error: any): void;
214
-
fetch(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>): Promise<Response>;
215
-
self: ServiceWorkerGlobalScope;
216
-
crypto: Crypto;
217
-
caches: CacheStorage;
218
-
scheduler: Scheduler;
219
-
performance: Performance;
220
-
Cloudflare: Cloudflare;
221
-
readonly origin: string;
222
-
Event: typeof Event;
223
-
ExtendableEvent: typeof ExtendableEvent;
224
-
CustomEvent: typeof CustomEvent;
225
-
PromiseRejectionEvent: typeof PromiseRejectionEvent;
226
-
FetchEvent: typeof FetchEvent;
227
-
TailEvent: typeof TailEvent;
228
-
TraceEvent: typeof TailEvent;
229
-
ScheduledEvent: typeof ScheduledEvent;
230
-
MessageEvent: typeof MessageEvent;
231
-
CloseEvent: typeof CloseEvent;
232
-
ReadableStreamDefaultReader: typeof ReadableStreamDefaultReader;
233
-
ReadableStreamBYOBReader: typeof ReadableStreamBYOBReader;
234
-
ReadableStream: typeof ReadableStream;
235
-
WritableStream: typeof WritableStream;
236
-
WritableStreamDefaultWriter: typeof WritableStreamDefaultWriter;
237
-
TransformStream: typeof TransformStream;
238
-
ByteLengthQueuingStrategy: typeof ByteLengthQueuingStrategy;
239
-
CountQueuingStrategy: typeof CountQueuingStrategy;
240
-
ErrorEvent: typeof ErrorEvent;
241
-
EventSource: typeof EventSource;
242
-
ReadableStreamBYOBRequest: typeof ReadableStreamBYOBRequest;
243
-
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
244
-
ReadableByteStreamController: typeof ReadableByteStreamController;
245
-
WritableStreamDefaultController: typeof WritableStreamDefaultController;
246
-
TransformStreamDefaultController: typeof TransformStreamDefaultController;
247
-
CompressionStream: typeof CompressionStream;
248
-
DecompressionStream: typeof DecompressionStream;
249
-
TextEncoderStream: typeof TextEncoderStream;
250
-
TextDecoderStream: typeof TextDecoderStream;
251
-
Headers: typeof Headers;
252
-
Body: typeof Body;
253
-
Request: typeof Request;
254
-
Response: typeof Response;
255
-
WebSocket: typeof WebSocket;
256
-
WebSocketPair: typeof WebSocketPair;
257
-
WebSocketRequestResponsePair: typeof WebSocketRequestResponsePair;
258
-
AbortController: typeof AbortController;
259
-
AbortSignal: typeof AbortSignal;
260
-
TextDecoder: typeof TextDecoder;
261
-
TextEncoder: typeof TextEncoder;
262
-
navigator: Navigator;
263
-
Navigator: typeof Navigator;
264
-
URL: typeof URL;
265
-
URLSearchParams: typeof URLSearchParams;
266
-
URLPattern: typeof URLPattern;
267
-
Blob: typeof Blob;
268
-
File: typeof File;
269
-
FormData: typeof FormData;
270
-
Crypto: typeof Crypto;
271
-
SubtleCrypto: typeof SubtleCrypto;
272
-
CryptoKey: typeof CryptoKey;
273
-
CacheStorage: typeof CacheStorage;
274
-
Cache: typeof Cache;
275
-
FixedLengthStream: typeof FixedLengthStream;
276
-
IdentityTransformStream: typeof IdentityTransformStream;
277
-
HTMLRewriter: typeof HTMLRewriter;
278
-
}
279
-
declare function addEventListener<Type extends keyof WorkerGlobalScopeEventMap>(type: Type, handler: EventListenerOrEventListenerObject<WorkerGlobalScopeEventMap[Type]>, options?: EventTargetAddEventListenerOptions | boolean): void;
280
-
declare function removeEventListener<Type extends keyof WorkerGlobalScopeEventMap>(type: Type, handler: EventListenerOrEventListenerObject<WorkerGlobalScopeEventMap[Type]>, options?: EventTargetEventListenerOptions | boolean): void;
281
-
/**
282
-
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
283
-
*
284
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
285
-
*/
286
-
declare function dispatchEvent(event: WorkerGlobalScopeEventMap[keyof WorkerGlobalScopeEventMap]): boolean;
287
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
288
-
declare function btoa(data: string): string;
289
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
290
-
declare function atob(data: string): string;
291
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
292
-
declare function setTimeout(callback: (...args: any[]) => void, msDelay?: number): number;
293
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
294
-
declare function setTimeout<Args extends any[]>(callback: (...args: Args) => void, msDelay?: number, ...args: Args): number;
295
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
296
-
declare function clearTimeout(timeoutId: number | null): void;
297
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
298
-
declare function setInterval(callback: (...args: any[]) => void, msDelay?: number): number;
299
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
300
-
declare function setInterval<Args extends any[]>(callback: (...args: Args) => void, msDelay?: number, ...args: Args): number;
301
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
302
-
declare function clearInterval(timeoutId: number | null): void;
303
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */
304
-
declare function queueMicrotask(task: Function): void;
305
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
306
-
declare function structuredClone<T>(value: T, options?: StructuredSerializeOptions): T;
307
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
308
-
declare function reportError(error: any): void;
309
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
310
-
declare function fetch(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>): Promise<Response>;
311
-
declare const self: ServiceWorkerGlobalScope;
312
-
/**
313
-
* The Web Crypto API provides a set of low-level functions for common cryptographic tasks.
314
-
* The Workers runtime implements the full surface of this API, but with some differences in
315
-
* the [supported algorithms](https://developers.cloudflare.com/workers/runtime-apis/web-crypto/#supported-algorithms)
316
-
* compared to those implemented in most browsers.
317
-
*
318
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/web-crypto/)
319
-
*/
320
-
declare const crypto: Crypto;
321
-
/**
322
-
* The Cache API allows fine grained control of reading and writing from the Cloudflare global network cache.
323
-
*
324
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/)
325
-
*/
326
-
declare const caches: CacheStorage;
327
-
declare const scheduler: Scheduler;
328
-
/**
329
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
330
-
* as well as timing of subrequests and other operations.
331
-
*
332
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
333
-
*/
334
-
declare const performance: Performance;
335
-
declare const Cloudflare: Cloudflare;
336
-
declare const origin: string;
337
-
declare const navigator: Navigator;
338
-
interface TestController {
339
-
}
340
-
interface ExecutionContext {
341
-
waitUntil(promise: Promise<any>): void;
342
-
passThroughOnException(): void;
343
-
props: any;
344
-
}
345
-
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>, env: Env, ctx: ExecutionContext) => Response | Promise<Response>;
346
-
type ExportedHandlerTailHandler<Env = unknown> = (events: TraceItem[], env: Env, ctx: ExecutionContext) => void | Promise<void>;
347
-
type ExportedHandlerTraceHandler<Env = unknown> = (traces: TraceItem[], env: Env, ctx: ExecutionContext) => void | Promise<void>;
348
-
type ExportedHandlerTailStreamHandler<Env = unknown> = (event: TailStream.TailEvent, env: Env, ctx: ExecutionContext) => TailStream.TailEventHandlerType | Promise<TailStream.TailEventHandlerType>;
349
-
type ExportedHandlerScheduledHandler<Env = unknown> = (controller: ScheduledController, env: Env, ctx: ExecutionContext) => void | Promise<void>;
350
-
type ExportedHandlerQueueHandler<Env = unknown, Message = unknown> = (batch: MessageBatch<Message>, env: Env, ctx: ExecutionContext) => void | Promise<void>;
351
-
type ExportedHandlerTestHandler<Env = unknown> = (controller: TestController, env: Env, ctx: ExecutionContext) => void | Promise<void>;
352
-
interface ExportedHandler<Env = unknown, QueueHandlerMessage = unknown, CfHostMetadata = unknown> {
353
-
fetch?: ExportedHandlerFetchHandler<Env, CfHostMetadata>;
354
-
tail?: ExportedHandlerTailHandler<Env>;
355
-
trace?: ExportedHandlerTraceHandler<Env>;
356
-
tailStream?: ExportedHandlerTailStreamHandler<Env>;
357
-
scheduled?: ExportedHandlerScheduledHandler<Env>;
358
-
test?: ExportedHandlerTestHandler<Env>;
359
-
email?: EmailExportedHandler<Env>;
360
-
queue?: ExportedHandlerQueueHandler<Env, QueueHandlerMessage>;
361
-
}
362
-
interface StructuredSerializeOptions {
363
-
transfer?: any[];
364
-
}
365
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
366
-
declare abstract class PromiseRejectionEvent extends Event {
367
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
368
-
readonly promise: Promise<any>;
369
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
370
-
readonly reason: any;
371
-
}
372
-
declare abstract class Navigator {
373
-
sendBeacon(url: string, body?: (ReadableStream | string | (ArrayBuffer | ArrayBufferView) | Blob | FormData | URLSearchParams | URLSearchParams)): boolean;
374
-
readonly userAgent: string;
375
-
readonly hardwareConcurrency: number;
376
-
readonly language: string;
377
-
readonly languages: string[];
378
-
}
379
-
/**
380
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
381
-
* as well as timing of subrequests and other operations.
382
-
*
383
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
384
-
*/
385
-
interface Performance {
386
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
387
-
readonly timeOrigin: number;
388
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
389
-
now(): number;
390
-
}
391
-
interface AlarmInvocationInfo {
392
-
readonly isRetry: boolean;
393
-
readonly retryCount: number;
394
-
}
395
-
interface Cloudflare {
396
-
readonly compatibilityFlags: Record<string, boolean>;
397
-
}
398
-
interface DurableObject {
399
-
fetch(request: Request): Response | Promise<Response>;
400
-
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
401
-
webSocketMessage?(ws: WebSocket, message: string | ArrayBuffer): void | Promise<void>;
402
-
webSocketClose?(ws: WebSocket, code: number, reason: string, wasClean: boolean): void | Promise<void>;
403
-
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
404
-
}
405
-
type DurableObjectStub<T extends Rpc.DurableObjectBranded | undefined = undefined> = Fetcher<T, "alarm" | "webSocketMessage" | "webSocketClose" | "webSocketError"> & {
406
-
readonly id: DurableObjectId;
407
-
readonly name?: string;
408
-
};
409
-
interface DurableObjectId {
410
-
toString(): string;
411
-
equals(other: DurableObjectId): boolean;
412
-
readonly name?: string;
413
-
}
414
-
interface DurableObjectNamespace<T extends Rpc.DurableObjectBranded | undefined = undefined> {
415
-
newUniqueId(options?: DurableObjectNamespaceNewUniqueIdOptions): DurableObjectId;
416
-
idFromName(name: string): DurableObjectId;
417
-
idFromString(id: string): DurableObjectId;
418
-
get(id: DurableObjectId, options?: DurableObjectNamespaceGetDurableObjectOptions): DurableObjectStub<T>;
419
-
jurisdiction(jurisdiction: DurableObjectJurisdiction): DurableObjectNamespace<T>;
420
-
}
421
-
type DurableObjectJurisdiction = "eu" | "fedramp" | "fedramp-high";
422
-
interface DurableObjectNamespaceNewUniqueIdOptions {
423
-
jurisdiction?: DurableObjectJurisdiction;
424
-
}
425
-
type DurableObjectLocationHint = "wnam" | "enam" | "sam" | "weur" | "eeur" | "apac" | "oc" | "afr" | "me";
426
-
interface DurableObjectNamespaceGetDurableObjectOptions {
427
-
locationHint?: DurableObjectLocationHint;
428
-
}
429
-
interface DurableObjectState {
430
-
waitUntil(promise: Promise<any>): void;
431
-
readonly id: DurableObjectId;
432
-
readonly storage: DurableObjectStorage;
433
-
container?: Container;
434
-
blockConcurrencyWhile<T>(callback: () => Promise<T>): Promise<T>;
435
-
acceptWebSocket(ws: WebSocket, tags?: string[]): void;
436
-
getWebSockets(tag?: string): WebSocket[];
437
-
setWebSocketAutoResponse(maybeReqResp?: WebSocketRequestResponsePair): void;
438
-
getWebSocketAutoResponse(): WebSocketRequestResponsePair | null;
439
-
getWebSocketAutoResponseTimestamp(ws: WebSocket): Date | null;
440
-
setHibernatableWebSocketEventTimeout(timeoutMs?: number): void;
441
-
getHibernatableWebSocketEventTimeout(): number | null;
442
-
getTags(ws: WebSocket): string[];
443
-
abort(reason?: string): void;
444
-
}
445
-
interface DurableObjectTransaction {
446
-
get<T = unknown>(key: string, options?: DurableObjectGetOptions): Promise<T | undefined>;
447
-
get<T = unknown>(keys: string[], options?: DurableObjectGetOptions): Promise<Map<string, T>>;
448
-
list<T = unknown>(options?: DurableObjectListOptions): Promise<Map<string, T>>;
449
-
put<T>(key: string, value: T, options?: DurableObjectPutOptions): Promise<void>;
450
-
put<T>(entries: Record<string, T>, options?: DurableObjectPutOptions): Promise<void>;
451
-
delete(key: string, options?: DurableObjectPutOptions): Promise<boolean>;
452
-
delete(keys: string[], options?: DurableObjectPutOptions): Promise<number>;
453
-
rollback(): void;
454
-
getAlarm(options?: DurableObjectGetAlarmOptions): Promise<number | null>;
455
-
setAlarm(scheduledTime: number | Date, options?: DurableObjectSetAlarmOptions): Promise<void>;
456
-
deleteAlarm(options?: DurableObjectSetAlarmOptions): Promise<void>;
457
-
}
458
-
interface DurableObjectStorage {
459
-
get<T = unknown>(key: string, options?: DurableObjectGetOptions): Promise<T | undefined>;
460
-
get<T = unknown>(keys: string[], options?: DurableObjectGetOptions): Promise<Map<string, T>>;
461
-
list<T = unknown>(options?: DurableObjectListOptions): Promise<Map<string, T>>;
462
-
put<T>(key: string, value: T, options?: DurableObjectPutOptions): Promise<void>;
463
-
put<T>(entries: Record<string, T>, options?: DurableObjectPutOptions): Promise<void>;
464
-
delete(key: string, options?: DurableObjectPutOptions): Promise<boolean>;
465
-
delete(keys: string[], options?: DurableObjectPutOptions): Promise<number>;
466
-
deleteAll(options?: DurableObjectPutOptions): Promise<void>;
467
-
transaction<T>(closure: (txn: DurableObjectTransaction) => Promise<T>): Promise<T>;
468
-
getAlarm(options?: DurableObjectGetAlarmOptions): Promise<number | null>;
469
-
setAlarm(scheduledTime: number | Date, options?: DurableObjectSetAlarmOptions): Promise<void>;
470
-
deleteAlarm(options?: DurableObjectSetAlarmOptions): Promise<void>;
471
-
sync(): Promise<void>;
472
-
sql: SqlStorage;
473
-
transactionSync<T>(closure: () => T): T;
474
-
getCurrentBookmark(): Promise<string>;
475
-
getBookmarkForTime(timestamp: number | Date): Promise<string>;
476
-
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
477
-
}
478
-
interface DurableObjectListOptions {
479
-
start?: string;
480
-
startAfter?: string;
481
-
end?: string;
482
-
prefix?: string;
483
-
reverse?: boolean;
484
-
limit?: number;
485
-
allowConcurrency?: boolean;
486
-
noCache?: boolean;
487
-
}
488
-
interface DurableObjectGetOptions {
489
-
allowConcurrency?: boolean;
490
-
noCache?: boolean;
491
-
}
492
-
interface DurableObjectGetAlarmOptions {
493
-
allowConcurrency?: boolean;
494
-
}
495
-
interface DurableObjectPutOptions {
496
-
allowConcurrency?: boolean;
497
-
allowUnconfirmed?: boolean;
498
-
noCache?: boolean;
499
-
}
500
-
interface DurableObjectSetAlarmOptions {
501
-
allowConcurrency?: boolean;
502
-
allowUnconfirmed?: boolean;
503
-
}
504
-
declare class WebSocketRequestResponsePair {
505
-
constructor(request: string, response: string);
506
-
get request(): string;
507
-
get response(): string;
508
-
}
509
-
interface AnalyticsEngineDataset {
510
-
writeDataPoint(event?: AnalyticsEngineDataPoint): void;
511
-
}
512
-
interface AnalyticsEngineDataPoint {
513
-
indexes?: ((ArrayBuffer | string) | null)[];
514
-
doubles?: number[];
515
-
blobs?: ((ArrayBuffer | string) | null)[];
516
-
}
517
-
/**
518
-
* An event which takes place in the DOM.
519
-
*
520
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
521
-
*/
522
-
declare class Event {
523
-
constructor(type: string, init?: EventInit);
524
-
/**
525
-
* Returns the type of event, e.g. "click", "hashchange", or "submit".
526
-
*
527
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)
528
-
*/
529
-
get type(): string;
530
-
/**
531
-
* Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
532
-
*
533
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
534
-
*/
535
-
get eventPhase(): number;
536
-
/**
537
-
* Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.
538
-
*
539
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
540
-
*/
541
-
get composed(): boolean;
542
-
/**
543
-
* Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.
544
-
*
545
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)
546
-
*/
547
-
get bubbles(): boolean;
548
-
/**
549
-
* Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
550
-
*
551
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)
552
-
*/
553
-
get cancelable(): boolean;
554
-
/**
555
-
* Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
556
-
*
557
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)
558
-
*/
559
-
get defaultPrevented(): boolean;
560
-
/**
561
-
* @deprecated
562
-
*
563
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/returnValue)
564
-
*/
565
-
get returnValue(): boolean;
566
-
/**
567
-
* Returns the object whose event listener's callback is currently being invoked.
568
-
*
569
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)
570
-
*/
571
-
get currentTarget(): EventTarget | undefined;
572
-
/**
573
-
* Returns the object to which event is dispatched (its target).
574
-
*
575
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
576
-
*/
577
-
get target(): EventTarget | undefined;
578
-
/**
579
-
* @deprecated
580
-
*
581
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)
582
-
*/
583
-
get srcElement(): EventTarget | undefined;
584
-
/**
585
-
* Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
586
-
*
587
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)
588
-
*/
589
-
get timeStamp(): number;
590
-
/**
591
-
* Returns true if event was dispatched by the user agent, and false otherwise.
592
-
*
593
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
594
-
*/
595
-
get isTrusted(): boolean;
596
-
/**
597
-
* @deprecated
598
-
*
599
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)
600
-
*/
601
-
get cancelBubble(): boolean;
602
-
/**
603
-
* @deprecated
604
-
*
605
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)
606
-
*/
607
-
set cancelBubble(value: boolean);
608
-
/**
609
-
* Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.
610
-
*
611
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
612
-
*/
613
-
stopImmediatePropagation(): void;
614
-
/**
615
-
* If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.
616
-
*
617
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
618
-
*/
619
-
preventDefault(): void;
620
-
/**
621
-
* When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
622
-
*
623
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)
624
-
*/
625
-
stopPropagation(): void;
626
-
/**
627
-
* Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.
628
-
*
629
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath)
630
-
*/
631
-
composedPath(): EventTarget[];
632
-
static readonly NONE: number;
633
-
static readonly CAPTURING_PHASE: number;
634
-
static readonly AT_TARGET: number;
635
-
static readonly BUBBLING_PHASE: number;
636
-
}
637
-
interface EventInit {
638
-
bubbles?: boolean;
639
-
cancelable?: boolean;
640
-
composed?: boolean;
641
-
}
642
-
type EventListener<EventType extends Event = Event> = (event: EventType) => void;
643
-
interface EventListenerObject<EventType extends Event = Event> {
644
-
handleEvent(event: EventType): void;
645
-
}
646
-
type EventListenerOrEventListenerObject<EventType extends Event = Event> = EventListener<EventType> | EventListenerObject<EventType>;
647
-
/**
648
-
* EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
649
-
*
650
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)
651
-
*/
652
-
declare class EventTarget<EventMap extends Record<string, Event> = Record<string, Event>> {
653
-
constructor();
654
-
/**
655
-
* Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
656
-
*
657
-
* The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
658
-
*
659
-
* When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
660
-
*
661
-
* When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in ยง 2.8 Observing event listeners.
662
-
*
663
-
* When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
664
-
*
665
-
* If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
666
-
*
667
-
* The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
668
-
*
669
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
670
-
*/
671
-
addEventListener<Type extends keyof EventMap>(type: Type, handler: EventListenerOrEventListenerObject<EventMap[Type]>, options?: EventTargetAddEventListenerOptions | boolean): void;
672
-
/**
673
-
* Removes the event listener in target's event listener list with the same type, callback, and options.
674
-
*
675
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
676
-
*/
677
-
removeEventListener<Type extends keyof EventMap>(type: Type, handler: EventListenerOrEventListenerObject<EventMap[Type]>, options?: EventTargetEventListenerOptions | boolean): void;
678
-
/**
679
-
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
680
-
*
681
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
682
-
*/
683
-
dispatchEvent(event: EventMap[keyof EventMap]): boolean;
684
-
}
685
-
interface EventTargetEventListenerOptions {
686
-
capture?: boolean;
687
-
}
688
-
interface EventTargetAddEventListenerOptions {
689
-
capture?: boolean;
690
-
passive?: boolean;
691
-
once?: boolean;
692
-
signal?: AbortSignal;
693
-
}
694
-
interface EventTargetHandlerObject {
695
-
handleEvent: (event: Event) => any | undefined;
696
-
}
697
-
/**
698
-
* A controller object that allows you to abort one or more DOM requests as and when desired.
699
-
*
700
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
701
-
*/
702
-
declare class AbortController {
703
-
constructor();
704
-
/**
705
-
* Returns the AbortSignal object associated with this object.
706
-
*
707
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
708
-
*/
709
-
get signal(): AbortSignal;
710
-
/**
711
-
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
712
-
*
713
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
714
-
*/
715
-
abort(reason?: any): void;
716
-
}
717
-
/**
718
-
* A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
719
-
*
720
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)
721
-
*/
722
-
declare abstract class AbortSignal extends EventTarget {
723
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
724
-
static abort(reason?: any): AbortSignal;
725
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
726
-
static timeout(delay: number): AbortSignal;
727
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
728
-
static any(signals: AbortSignal[]): AbortSignal;
729
-
/**
730
-
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
731
-
*
732
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)
733
-
*/
734
-
get aborted(): boolean;
735
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason) */
736
-
get reason(): any;
737
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
738
-
get onabort(): any | null;
739
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
740
-
set onabort(value: any | null);
741
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) */
742
-
throwIfAborted(): void;
743
-
}
744
-
interface Scheduler {
745
-
wait(delay: number, maybeOptions?: SchedulerWaitOptions): Promise<void>;
746
-
}
747
-
interface SchedulerWaitOptions {
748
-
signal?: AbortSignal;
749
-
}
750
-
/**
751
-
* Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
752
-
*
753
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent)
754
-
*/
755
-
declare abstract class ExtendableEvent extends Event {
756
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent/waitUntil) */
757
-
waitUntil(promise: Promise<any>): void;
758
-
}
759
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent) */
760
-
declare class CustomEvent<T = any> extends Event {
761
-
constructor(type: string, init?: CustomEventCustomEventInit);
762
-
/**
763
-
* Returns any custom data event was created with. Typically used for synthetic events.
764
-
*
765
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)
766
-
*/
767
-
get detail(): T;
768
-
}
769
-
interface CustomEventCustomEventInit {
770
-
bubbles?: boolean;
771
-
cancelable?: boolean;
772
-
composed?: boolean;
773
-
detail?: any;
774
-
}
775
-
/**
776
-
* A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
777
-
*
778
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
779
-
*/
780
-
declare class Blob {
781
-
constructor(type?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[], options?: BlobOptions);
782
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
783
-
get size(): number;
784
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
785
-
get type(): string;
786
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
787
-
slice(start?: number, end?: number, type?: string): Blob;
788
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
789
-
arrayBuffer(): Promise<ArrayBuffer>;
790
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
791
-
bytes(): Promise<Uint8Array>;
792
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
793
-
text(): Promise<string>;
794
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
795
-
stream(): ReadableStream;
796
-
}
797
-
interface BlobOptions {
798
-
type?: string;
799
-
}
800
-
/**
801
-
* Provides information about files and allows JavaScript in a web page to access their content.
802
-
*
803
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
804
-
*/
805
-
declare class File extends Blob {
806
-
constructor(bits: ((ArrayBuffer | ArrayBufferView) | string | Blob)[] | undefined, name: string, options?: FileOptions);
807
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
808
-
get name(): string;
809
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
810
-
get lastModified(): number;
811
-
}
812
-
interface FileOptions {
813
-
type?: string;
814
-
lastModified?: number;
815
-
}
816
-
/**
817
-
* The Cache API allows fine grained control of reading and writing from the Cloudflare global network cache.
818
-
*
819
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/)
820
-
*/
821
-
declare abstract class CacheStorage {
822
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open) */
823
-
open(cacheName: string): Promise<Cache>;
824
-
readonly default: Cache;
825
-
}
826
-
/**
827
-
* The Cache API allows fine grained control of reading and writing from the Cloudflare global network cache.
828
-
*
829
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/)
830
-
*/
831
-
declare abstract class Cache {
832
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/#delete) */
833
-
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
834
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/#match) */
835
-
match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;
836
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/#put) */
837
-
put(request: RequestInfo | URL, response: Response): Promise<void>;
838
-
}
839
-
interface CacheQueryOptions {
840
-
ignoreMethod?: boolean;
841
-
}
842
-
/**
843
-
* The Web Crypto API provides a set of low-level functions for common cryptographic tasks.
844
-
* The Workers runtime implements the full surface of this API, but with some differences in
845
-
* the [supported algorithms](https://developers.cloudflare.com/workers/runtime-apis/web-crypto/#supported-algorithms)
846
-
* compared to those implemented in most browsers.
847
-
*
848
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/web-crypto/)
849
-
*/
850
-
declare abstract class Crypto {
851
-
/**
852
-
* Available only in secure contexts.
853
-
*
854
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
855
-
*/
856
-
get subtle(): SubtleCrypto;
857
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
858
-
getRandomValues<T extends Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | BigInt64Array | BigUint64Array>(buffer: T): T;
859
-
/**
860
-
* Available only in secure contexts.
861
-
*
862
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)
863
-
*/
864
-
randomUUID(): string;
865
-
DigestStream: typeof DigestStream;
866
-
}
867
-
/**
868
-
* This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).
869
-
* Available only in secure contexts.
870
-
*
871
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)
872
-
*/
873
-
declare abstract class SubtleCrypto {
874
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/encrypt) */
875
-
encrypt(algorithm: string | SubtleCryptoEncryptAlgorithm, key: CryptoKey, plainText: ArrayBuffer | ArrayBufferView): Promise<ArrayBuffer>;
876
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */
877
-
decrypt(algorithm: string | SubtleCryptoEncryptAlgorithm, key: CryptoKey, cipherText: ArrayBuffer | ArrayBufferView): Promise<ArrayBuffer>;
878
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign) */
879
-
sign(algorithm: string | SubtleCryptoSignAlgorithm, key: CryptoKey, data: ArrayBuffer | ArrayBufferView): Promise<ArrayBuffer>;
880
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify) */
881
-
verify(algorithm: string | SubtleCryptoSignAlgorithm, key: CryptoKey, signature: ArrayBuffer | ArrayBufferView, data: ArrayBuffer | ArrayBufferView): Promise<boolean>;
882
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */
883
-
digest(algorithm: string | SubtleCryptoHashAlgorithm, data: ArrayBuffer | ArrayBufferView): Promise<ArrayBuffer>;
884
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
885
-
generateKey(algorithm: string | SubtleCryptoGenerateKeyAlgorithm, extractable: boolean, keyUsages: string[]): Promise<CryptoKey | CryptoKeyPair>;
886
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
887
-
deriveKey(algorithm: string | SubtleCryptoDeriveKeyAlgorithm, baseKey: CryptoKey, derivedKeyAlgorithm: string | SubtleCryptoImportKeyAlgorithm, extractable: boolean, keyUsages: string[]): Promise<CryptoKey>;
888
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */
889
-
deriveBits(algorithm: string | SubtleCryptoDeriveKeyAlgorithm, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;
890
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
891
-
importKey(format: string, keyData: (ArrayBuffer | ArrayBufferView) | JsonWebKey, algorithm: string | SubtleCryptoImportKeyAlgorithm, extractable: boolean, keyUsages: string[]): Promise<CryptoKey>;
892
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/exportKey) */
893
-
exportKey(format: string, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
894
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/wrapKey) */
895
-
wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: string | SubtleCryptoEncryptAlgorithm): Promise<ArrayBuffer>;
896
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
897
-
unwrapKey(format: string, wrappedKey: ArrayBuffer | ArrayBufferView, unwrappingKey: CryptoKey, unwrapAlgorithm: string | SubtleCryptoEncryptAlgorithm, unwrappedKeyAlgorithm: string | SubtleCryptoImportKeyAlgorithm, extractable: boolean, keyUsages: string[]): Promise<CryptoKey>;
898
-
timingSafeEqual(a: ArrayBuffer | ArrayBufferView, b: ArrayBuffer | ArrayBufferView): boolean;
899
-
}
900
-
/**
901
-
* The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.
902
-
* Available only in secure contexts.
903
-
*
904
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)
905
-
*/
906
-
declare abstract class CryptoKey {
907
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/type) */
908
-
readonly type: string;
909
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/extractable) */
910
-
readonly extractable: boolean;
911
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/algorithm) */
912
-
readonly algorithm: CryptoKeyKeyAlgorithm | CryptoKeyAesKeyAlgorithm | CryptoKeyHmacKeyAlgorithm | CryptoKeyRsaKeyAlgorithm | CryptoKeyEllipticKeyAlgorithm | CryptoKeyArbitraryKeyAlgorithm;
913
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages) */
914
-
readonly usages: string[];
915
-
}
916
-
interface CryptoKeyPair {
917
-
publicKey: CryptoKey;
918
-
privateKey: CryptoKey;
919
-
}
920
-
interface JsonWebKey {
921
-
kty: string;
922
-
use?: string;
923
-
key_ops?: string[];
924
-
alg?: string;
925
-
ext?: boolean;
926
-
crv?: string;
927
-
x?: string;
928
-
y?: string;
929
-
d?: string;
930
-
n?: string;
931
-
e?: string;
932
-
p?: string;
933
-
q?: string;
934
-
dp?: string;
935
-
dq?: string;
936
-
qi?: string;
937
-
oth?: RsaOtherPrimesInfo[];
938
-
k?: string;
939
-
}
940
-
interface RsaOtherPrimesInfo {
941
-
r?: string;
942
-
d?: string;
943
-
t?: string;
944
-
}
945
-
interface SubtleCryptoDeriveKeyAlgorithm {
946
-
name: string;
947
-
salt?: (ArrayBuffer | ArrayBufferView);
948
-
iterations?: number;
949
-
hash?: (string | SubtleCryptoHashAlgorithm);
950
-
$public?: CryptoKey;
951
-
info?: (ArrayBuffer | ArrayBufferView);
952
-
}
953
-
interface SubtleCryptoEncryptAlgorithm {
954
-
name: string;
955
-
iv?: (ArrayBuffer | ArrayBufferView);
956
-
additionalData?: (ArrayBuffer | ArrayBufferView);
957
-
tagLength?: number;
958
-
counter?: (ArrayBuffer | ArrayBufferView);
959
-
length?: number;
960
-
label?: (ArrayBuffer | ArrayBufferView);
961
-
}
962
-
interface SubtleCryptoGenerateKeyAlgorithm {
963
-
name: string;
964
-
hash?: (string | SubtleCryptoHashAlgorithm);
965
-
modulusLength?: number;
966
-
publicExponent?: (ArrayBuffer | ArrayBufferView);
967
-
length?: number;
968
-
namedCurve?: string;
969
-
}
970
-
interface SubtleCryptoHashAlgorithm {
971
-
name: string;
972
-
}
973
-
interface SubtleCryptoImportKeyAlgorithm {
974
-
name: string;
975
-
hash?: (string | SubtleCryptoHashAlgorithm);
976
-
length?: number;
977
-
namedCurve?: string;
978
-
compressed?: boolean;
979
-
}
980
-
interface SubtleCryptoSignAlgorithm {
981
-
name: string;
982
-
hash?: (string | SubtleCryptoHashAlgorithm);
983
-
dataLength?: number;
984
-
saltLength?: number;
985
-
}
986
-
interface CryptoKeyKeyAlgorithm {
987
-
name: string;
988
-
}
989
-
interface CryptoKeyAesKeyAlgorithm {
990
-
name: string;
991
-
length: number;
992
-
}
993
-
interface CryptoKeyHmacKeyAlgorithm {
994
-
name: string;
995
-
hash: CryptoKeyKeyAlgorithm;
996
-
length: number;
997
-
}
998
-
interface CryptoKeyRsaKeyAlgorithm {
999
-
name: string;
1000
-
modulusLength: number;
1001
-
publicExponent: ArrayBuffer | ArrayBufferView;
1002
-
hash?: CryptoKeyKeyAlgorithm;
1003
-
}
1004
-
interface CryptoKeyEllipticKeyAlgorithm {
1005
-
name: string;
1006
-
namedCurve: string;
1007
-
}
1008
-
interface CryptoKeyArbitraryKeyAlgorithm {
1009
-
name: string;
1010
-
hash?: CryptoKeyKeyAlgorithm;
1011
-
namedCurve?: string;
1012
-
length?: number;
1013
-
}
1014
-
declare class DigestStream extends WritableStream<ArrayBuffer | ArrayBufferView> {
1015
-
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
1016
-
readonly digest: Promise<ArrayBuffer>;
1017
-
get bytesWritten(): number | bigint;
1018
-
}
1019
-
/**
1020
-
* A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc.ย A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView โ a C-like representation of strings based on typed arrays.
1021
-
*
1022
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
1023
-
*/
1024
-
declare class TextDecoder {
1025
-
constructor(label?: string, options?: TextDecoderConstructorOptions);
1026
-
/**
1027
-
* Returns the result of running encoding's decoder. The method can be invoked zero or more times with options's stream set to true, and then once without options's stream (or set to false), to process a fragmented input. If the invocation without options's stream (or set to false) has no input, it's clearest to omit both arguments.
1028
-
*
1029
-
* ```
1030
-
* var string = "", decoder = new TextDecoder(encoding), buffer;
1031
-
* while(buffer = next_chunk()) {
1032
-
* string += decoder.decode(buffer, {stream:true});
1033
-
* }
1034
-
* string += decoder.decode(); // end-of-queue
1035
-
* ```
1036
-
*
1037
-
* If the error mode is "fatal" and encoding's decoder returns error, throws a TypeError.
1038
-
*
1039
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)
1040
-
*/
1041
-
decode(input?: (ArrayBuffer | ArrayBufferView), options?: TextDecoderDecodeOptions): string;
1042
-
get encoding(): string;
1043
-
get fatal(): boolean;
1044
-
get ignoreBOM(): boolean;
1045
-
}
1046
-
/**
1047
-
* TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView โ a C-like representation of strings based on typed arrays.
1048
-
*
1049
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
1050
-
*/
1051
-
declare class TextEncoder {
1052
-
constructor();
1053
-
/**
1054
-
* Returns the result of running UTF-8's encoder.
1055
-
*
1056
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
1057
-
*/
1058
-
encode(input?: string): Uint8Array;
1059
-
/**
1060
-
* Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.
1061
-
*
1062
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
1063
-
*/
1064
-
encodeInto(input: string, buffer: ArrayBuffer | ArrayBufferView): TextEncoderEncodeIntoResult;
1065
-
get encoding(): string;
1066
-
}
1067
-
interface TextDecoderConstructorOptions {
1068
-
fatal: boolean;
1069
-
ignoreBOM: boolean;
1070
-
}
1071
-
interface TextDecoderDecodeOptions {
1072
-
stream: boolean;
1073
-
}
1074
-
interface TextEncoderEncodeIntoResult {
1075
-
read: number;
1076
-
written: number;
1077
-
}
1078
-
/**
1079
-
* Events providing information related to errors in scripts or in files.
1080
-
*
1081
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
1082
-
*/
1083
-
declare class ErrorEvent extends Event {
1084
-
constructor(type: string, init?: ErrorEventErrorEventInit);
1085
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
1086
-
get filename(): string;
1087
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
1088
-
get message(): string;
1089
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
1090
-
get lineno(): number;
1091
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
1092
-
get colno(): number;
1093
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
1094
-
get error(): any;
1095
-
}
1096
-
interface ErrorEventErrorEventInit {
1097
-
message?: string;
1098
-
filename?: string;
1099
-
lineno?: number;
1100
-
colno?: number;
1101
-
error?: any;
1102
-
}
1103
-
/**
1104
-
* Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
1105
-
*
1106
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)
1107
-
*/
1108
-
declare class FormData {
1109
-
constructor();
1110
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append) */
1111
-
append(name: string, value: string): void;
1112
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append) */
1113
-
append(name: string, value: Blob, filename?: string): void;
1114
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/delete) */
1115
-
delete(name: string): void;
1116
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get) */
1117
-
get(name: string): (File | string) | null;
1118
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll) */
1119
-
getAll(name: string): (File | string)[];
1120
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has) */
1121
-
has(name: string): boolean;
1122
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set) */
1123
-
set(name: string, value: string): void;
1124
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set) */
1125
-
set(name: string, value: Blob, filename?: string): void;
1126
-
/* Returns an array of key, value pairs for every entry in the list. */
1127
-
entries(): IterableIterator<[
1128
-
key: string,
1129
-
value: File | string
1130
-
]>;
1131
-
/* Returns a list of keys in the list. */
1132
-
keys(): IterableIterator<string>;
1133
-
/* Returns a list of values in the list. */
1134
-
values(): IterableIterator<(File | string)>;
1135
-
forEach<This = unknown>(callback: (this: This, value: File | string, key: string, parent: FormData) => void, thisArg?: This): void;
1136
-
[Symbol.iterator](): IterableIterator<[
1137
-
key: string,
1138
-
value: File | string
1139
-
]>;
1140
-
}
1141
-
interface ContentOptions {
1142
-
html?: boolean;
1143
-
}
1144
-
declare class HTMLRewriter {
1145
-
constructor();
1146
-
on(selector: string, handlers: HTMLRewriterElementContentHandlers): HTMLRewriter;
1147
-
onDocument(handlers: HTMLRewriterDocumentContentHandlers): HTMLRewriter;
1148
-
transform(response: Response): Response;
1149
-
}
1150
-
interface HTMLRewriterElementContentHandlers {
1151
-
element?(element: Element): void | Promise<void>;
1152
-
comments?(comment: Comment): void | Promise<void>;
1153
-
text?(element: Text): void | Promise<void>;
1154
-
}
1155
-
interface HTMLRewriterDocumentContentHandlers {
1156
-
doctype?(doctype: Doctype): void | Promise<void>;
1157
-
comments?(comment: Comment): void | Promise<void>;
1158
-
text?(text: Text): void | Promise<void>;
1159
-
end?(end: DocumentEnd): void | Promise<void>;
1160
-
}
1161
-
interface Doctype {
1162
-
readonly name: string | null;
1163
-
readonly publicId: string | null;
1164
-
readonly systemId: string | null;
1165
-
}
1166
-
interface Element {
1167
-
tagName: string;
1168
-
readonly attributes: IterableIterator<string[]>;
1169
-
readonly removed: boolean;
1170
-
readonly namespaceURI: string;
1171
-
getAttribute(name: string): string | null;
1172
-
hasAttribute(name: string): boolean;
1173
-
setAttribute(name: string, value: string): Element;
1174
-
removeAttribute(name: string): Element;
1175
-
before(content: string | ReadableStream | Response, options?: ContentOptions): Element;
1176
-
after(content: string | ReadableStream | Response, options?: ContentOptions): Element;
1177
-
prepend(content: string | ReadableStream | Response, options?: ContentOptions): Element;
1178
-
append(content: string | ReadableStream | Response, options?: ContentOptions): Element;
1179
-
replace(content: string | ReadableStream | Response, options?: ContentOptions): Element;
1180
-
remove(): Element;
1181
-
removeAndKeepContent(): Element;
1182
-
setInnerContent(content: string | ReadableStream | Response, options?: ContentOptions): Element;
1183
-
onEndTag(handler: (tag: EndTag) => void | Promise<void>): void;
1184
-
}
1185
-
interface EndTag {
1186
-
name: string;
1187
-
before(content: string | ReadableStream | Response, options?: ContentOptions): EndTag;
1188
-
after(content: string | ReadableStream | Response, options?: ContentOptions): EndTag;
1189
-
remove(): EndTag;
1190
-
}
1191
-
interface Comment {
1192
-
text: string;
1193
-
readonly removed: boolean;
1194
-
before(content: string, options?: ContentOptions): Comment;
1195
-
after(content: string, options?: ContentOptions): Comment;
1196
-
replace(content: string, options?: ContentOptions): Comment;
1197
-
remove(): Comment;
1198
-
}
1199
-
interface Text {
1200
-
readonly text: string;
1201
-
readonly lastInTextNode: boolean;
1202
-
readonly removed: boolean;
1203
-
before(content: string | ReadableStream | Response, options?: ContentOptions): Text;
1204
-
after(content: string | ReadableStream | Response, options?: ContentOptions): Text;
1205
-
replace(content: string | ReadableStream | Response, options?: ContentOptions): Text;
1206
-
remove(): Text;
1207
-
}
1208
-
interface DocumentEnd {
1209
-
append(content: string, options?: ContentOptions): DocumentEnd;
1210
-
}
1211
-
/**
1212
-
* This is the event type for fetchย events dispatched on theย service worker global scope. It contains information about the fetch, including theย request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch.
1213
-
*
1214
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent)
1215
-
*/
1216
-
declare abstract class FetchEvent extends ExtendableEvent {
1217
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request) */
1218
-
readonly request: Request;
1219
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith) */
1220
-
respondWith(promise: Response | Promise<Response>): void;
1221
-
passThroughOnException(): void;
1222
-
}
1223
-
type HeadersInit = Headers | Iterable<Iterable<string>> | Record<string, string>;
1224
-
/**
1225
-
* This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consistsย of zero or more name and value pairs. ย You can add to this using methods like append() (see Examples.)ย In all methods of this interface, header names are matched by case-insensitive byte sequence.
1226
-
*
1227
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)
1228
-
*/
1229
-
declare class Headers {
1230
-
constructor(init?: HeadersInit);
1231
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/get) */
1232
-
get(name: string): string | null;
1233
-
getAll(name: string): string[];
1234
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie) */
1235
-
getSetCookie(): string[];
1236
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/has) */
1237
-
has(name: string): boolean;
1238
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/set) */
1239
-
set(name: string, value: string): void;
1240
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/append) */
1241
-
append(name: string, value: string): void;
1242
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/delete) */
1243
-
delete(name: string): void;
1244
-
forEach<This = unknown>(callback: (this: This, value: string, key: string, parent: Headers) => void, thisArg?: This): void;
1245
-
/* Returns an iterator allowing to go through all key/value pairs contained in this object. */
1246
-
entries(): IterableIterator<[
1247
-
key: string,
1248
-
value: string
1249
-
]>;
1250
-
/* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
1251
-
keys(): IterableIterator<string>;
1252
-
/* Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
1253
-
values(): IterableIterator<string>;
1254
-
[Symbol.iterator](): IterableIterator<[
1255
-
key: string,
1256
-
value: string
1257
-
]>;
1258
-
}
1259
-
type BodyInit = ReadableStream<Uint8Array> | string | ArrayBuffer | ArrayBufferView | Blob | URLSearchParams | FormData;
1260
-
declare abstract class Body {
1261
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body) */
1262
-
get body(): ReadableStream | null;
1263
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */
1264
-
get bodyUsed(): boolean;
1265
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */
1266
-
arrayBuffer(): Promise<ArrayBuffer>;
1267
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
1268
-
bytes(): Promise<Uint8Array>;
1269
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */
1270
-
text(): Promise<string>;
1271
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */
1272
-
json<T>(): Promise<T>;
1273
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */
1274
-
formData(): Promise<FormData>;
1275
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
1276
-
blob(): Promise<Blob>;
1277
-
}
1278
-
/**
1279
-
* This Fetch API interface represents the response to a request.
1280
-
*
1281
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
1282
-
*/
1283
-
declare var Response: {
1284
-
prototype: Response;
1285
-
new (body?: BodyInit | null, init?: ResponseInit): Response;
1286
-
error(): Response;
1287
-
redirect(url: string, status?: number): Response;
1288
-
json(any: any, maybeInit?: (ResponseInit | Response)): Response;
1289
-
};
1290
-
/**
1291
-
* This Fetch API interface represents the response to a request.
1292
-
*
1293
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
1294
-
*/
1295
-
interface Response extends Body {
1296
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/clone) */
1297
-
clone(): Response;
1298
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/status) */
1299
-
status: number;
1300
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/statusText) */
1301
-
statusText: string;
1302
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers) */
1303
-
headers: Headers;
1304
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/ok) */
1305
-
ok: boolean;
1306
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirected) */
1307
-
redirected: boolean;
1308
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/url) */
1309
-
url: string;
1310
-
webSocket: WebSocket | null;
1311
-
cf: any | undefined;
1312
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/type) */
1313
-
type: "default" | "error";
1314
-
}
1315
-
interface ResponseInit {
1316
-
status?: number;
1317
-
statusText?: string;
1318
-
headers?: HeadersInit;
1319
-
cf?: any;
1320
-
webSocket?: (WebSocket | null);
1321
-
encodeBody?: "automatic" | "manual";
1322
-
}
1323
-
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> = Request<CfHostMetadata, Cf> | string;
1324
-
/**
1325
-
* This Fetch API interface represents a resource request.
1326
-
*
1327
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
1328
-
*/
1329
-
declare var Request: {
1330
-
prototype: Request;
1331
-
new <CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>>(input: RequestInfo<CfProperties> | URL, init?: RequestInit<Cf>): Request<CfHostMetadata, Cf>;
1332
-
};
1333
-
/**
1334
-
* This Fetch API interface represents a resource request.
1335
-
*
1336
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
1337
-
*/
1338
-
interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> extends Body {
1339
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/clone) */
1340
-
clone(): Request<CfHostMetadata, Cf>;
1341
-
/**
1342
-
* Returns request's HTTP method, which is "GET" by default.
1343
-
*
1344
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
1345
-
*/
1346
-
method: string;
1347
-
/**
1348
-
* Returns the URL of request as a string.
1349
-
*
1350
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/url)
1351
-
*/
1352
-
url: string;
1353
-
/**
1354
-
* Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.
1355
-
*
1356
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
1357
-
*/
1358
-
headers: Headers;
1359
-
/**
1360
-
* Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.
1361
-
*
1362
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/redirect)
1363
-
*/
1364
-
redirect: string;
1365
-
fetcher: Fetcher | null;
1366
-
/**
1367
-
* Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.
1368
-
*
1369
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
1370
-
*/
1371
-
signal: AbortSignal;
1372
-
cf: Cf | undefined;
1373
-
/**
1374
-
* Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]
1375
-
*
1376
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
1377
-
*/
1378
-
integrity: string;
1379
-
/**
1380
-
* Returns a boolean indicating whether or not request can outlive the global in which it was created.
1381
-
*
1382
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
1383
-
*/
1384
-
keepalive: boolean;
1385
-
/**
1386
-
* Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching.
1387
-
*
1388
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/cache)
1389
-
*/
1390
-
cache?: "no-store";
1391
-
}
1392
-
interface RequestInit<Cf = CfProperties> {
1393
-
/* A string to set request's method. */
1394
-
method?: string;
1395
-
/* A Headers object, an object literal, or an array of two-item arrays to set request's headers. */
1396
-
headers?: HeadersInit;
1397
-
/* A BodyInit object or null to set request's body. */
1398
-
body?: BodyInit | null;
1399
-
/* A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
1400
-
redirect?: string;
1401
-
fetcher?: (Fetcher | null);
1402
-
cf?: Cf;
1403
-
/* A string indicating how the request will interact with the browser's cache to set request's cache. */
1404
-
cache?: "no-store";
1405
-
/* A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */
1406
-
integrity?: string;
1407
-
/* An AbortSignal to set request's signal. */
1408
-
signal?: (AbortSignal | null);
1409
-
encodeResponseBody?: "automatic" | "manual";
1410
-
}
1411
-
type Service<T extends Rpc.WorkerEntrypointBranded | undefined = undefined> = Fetcher<T>;
1412
-
type Fetcher<T extends Rpc.EntrypointBranded | undefined = undefined, Reserved extends string = never> = (T extends Rpc.EntrypointBranded ? Rpc.Provider<T, Reserved | "fetch" | "connect"> : unknown) & {
1413
-
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
1414
-
connect(address: SocketAddress | string, options?: SocketOptions): Socket;
1415
-
};
1416
-
interface KVNamespaceListKey<Metadata, Key extends string = string> {
1417
-
name: Key;
1418
-
expiration?: number;
1419
-
metadata?: Metadata;
1420
-
}
1421
-
type KVNamespaceListResult<Metadata, Key extends string = string> = {
1422
-
list_complete: false;
1423
-
keys: KVNamespaceListKey<Metadata, Key>[];
1424
-
cursor: string;
1425
-
cacheStatus: string | null;
1426
-
} | {
1427
-
list_complete: true;
1428
-
keys: KVNamespaceListKey<Metadata, Key>[];
1429
-
cacheStatus: string | null;
1430
-
};
1431
-
interface KVNamespace<Key extends string = string> {
1432
-
get(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<string | null>;
1433
-
get(key: Key, type: "text"): Promise<string | null>;
1434
-
get<ExpectedValue = unknown>(key: Key, type: "json"): Promise<ExpectedValue | null>;
1435
-
get(key: Key, type: "arrayBuffer"): Promise<ArrayBuffer | null>;
1436
-
get(key: Key, type: "stream"): Promise<ReadableStream | null>;
1437
-
get(key: Key, options?: KVNamespaceGetOptions<"text">): Promise<string | null>;
1438
-
get<ExpectedValue = unknown>(key: Key, options?: KVNamespaceGetOptions<"json">): Promise<ExpectedValue | null>;
1439
-
get(key: Key, options?: KVNamespaceGetOptions<"arrayBuffer">): Promise<ArrayBuffer | null>;
1440
-
get(key: Key, options?: KVNamespaceGetOptions<"stream">): Promise<ReadableStream | null>;
1441
-
get(key: Array<Key>, type: "text"): Promise<Map<string, string | null>>;
1442
-
get<ExpectedValue = unknown>(key: Array<Key>, type: "json"): Promise<Map<string, ExpectedValue | null>>;
1443
-
get(key: Array<Key>, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<Map<string, string | null>>;
1444
-
get(key: Array<Key>, options?: KVNamespaceGetOptions<"text">): Promise<Map<string, string | null>>;
1445
-
get<ExpectedValue = unknown>(key: Array<Key>, options?: KVNamespaceGetOptions<"json">): Promise<Map<string, ExpectedValue | null>>;
1446
-
list<Metadata = unknown>(options?: KVNamespaceListOptions): Promise<KVNamespaceListResult<Metadata, Key>>;
1447
-
put(key: Key, value: string | ArrayBuffer | ArrayBufferView | ReadableStream, options?: KVNamespacePutOptions): Promise<void>;
1448
-
getWithMetadata<Metadata = unknown>(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>;
1449
-
getWithMetadata<Metadata = unknown>(key: Key, type: "text"): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>;
1450
-
getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Key, type: "json"): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>;
1451
-
getWithMetadata<Metadata = unknown>(key: Key, type: "arrayBuffer"): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>;
1452
-
getWithMetadata<Metadata = unknown>(key: Key, type: "stream"): Promise<KVNamespaceGetWithMetadataResult<ReadableStream, Metadata>>;
1453
-
getWithMetadata<Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"text">): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>;
1454
-
getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"json">): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>;
1455
-
getWithMetadata<Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"arrayBuffer">): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>;
1456
-
getWithMetadata<Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"stream">): Promise<KVNamespaceGetWithMetadataResult<ReadableStream, Metadata>>;
1457
-
getWithMetadata<Metadata = unknown>(key: Array<Key>, type: "text"): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>;
1458
-
getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Array<Key>, type: "json"): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>;
1459
-
getWithMetadata<Metadata = unknown>(key: Array<Key>, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>;
1460
-
getWithMetadata<Metadata = unknown>(key: Array<Key>, options?: KVNamespaceGetOptions<"text">): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>;
1461
-
getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Array<Key>, options?: KVNamespaceGetOptions<"json">): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>;
1462
-
delete(key: Key): Promise<void>;
1463
-
}
1464
-
interface KVNamespaceListOptions {
1465
-
limit?: number;
1466
-
prefix?: (string | null);
1467
-
cursor?: (string | null);
1468
-
}
1469
-
interface KVNamespaceGetOptions<Type> {
1470
-
type: Type;
1471
-
cacheTtl?: number;
1472
-
}
1473
-
interface KVNamespacePutOptions {
1474
-
expiration?: number;
1475
-
expirationTtl?: number;
1476
-
metadata?: (any | null);
1477
-
}
1478
-
interface KVNamespaceGetWithMetadataResult<Value, Metadata> {
1479
-
value: Value | null;
1480
-
metadata: Metadata | null;
1481
-
cacheStatus: string | null;
1482
-
}
1483
-
type QueueContentType = "text" | "bytes" | "json" | "v8";
1484
-
interface Queue<Body = unknown> {
1485
-
send(message: Body, options?: QueueSendOptions): Promise<void>;
1486
-
sendBatch(messages: Iterable<MessageSendRequest<Body>>, options?: QueueSendBatchOptions): Promise<void>;
1487
-
}
1488
-
interface QueueSendOptions {
1489
-
contentType?: QueueContentType;
1490
-
delaySeconds?: number;
1491
-
}
1492
-
interface QueueSendBatchOptions {
1493
-
delaySeconds?: number;
1494
-
}
1495
-
interface MessageSendRequest<Body = unknown> {
1496
-
body: Body;
1497
-
contentType?: QueueContentType;
1498
-
delaySeconds?: number;
1499
-
}
1500
-
interface QueueRetryOptions {
1501
-
delaySeconds?: number;
1502
-
}
1503
-
interface Message<Body = unknown> {
1504
-
readonly id: string;
1505
-
readonly timestamp: Date;
1506
-
readonly body: Body;
1507
-
readonly attempts: number;
1508
-
retry(options?: QueueRetryOptions): void;
1509
-
ack(): void;
1510
-
}
1511
-
interface QueueEvent<Body = unknown> extends ExtendableEvent {
1512
-
readonly messages: readonly Message<Body>[];
1513
-
readonly queue: string;
1514
-
retryAll(options?: QueueRetryOptions): void;
1515
-
ackAll(): void;
1516
-
}
1517
-
interface MessageBatch<Body = unknown> {
1518
-
readonly messages: readonly Message<Body>[];
1519
-
readonly queue: string;
1520
-
retryAll(options?: QueueRetryOptions): void;
1521
-
ackAll(): void;
1522
-
}
1523
-
interface R2Error extends Error {
1524
-
readonly name: string;
1525
-
readonly code: number;
1526
-
readonly message: string;
1527
-
readonly action: string;
1528
-
readonly stack: any;
1529
-
}
1530
-
interface R2ListOptions {
1531
-
limit?: number;
1532
-
prefix?: string;
1533
-
cursor?: string;
1534
-
delimiter?: string;
1535
-
startAfter?: string;
1536
-
include?: ("httpMetadata" | "customMetadata")[];
1537
-
}
1538
-
declare abstract class R2Bucket {
1539
-
head(key: string): Promise<R2Object | null>;
1540
-
get(key: string, options: R2GetOptions & {
1541
-
onlyIf: R2Conditional | Headers;
1542
-
}): Promise<R2ObjectBody | R2Object | null>;
1543
-
get(key: string, options?: R2GetOptions): Promise<R2ObjectBody | null>;
1544
-
put(key: string, value: ReadableStream | ArrayBuffer | ArrayBufferView | string | null | Blob, options?: R2PutOptions & {
1545
-
onlyIf: R2Conditional | Headers;
1546
-
}): Promise<R2Object | null>;
1547
-
put(key: string, value: ReadableStream | ArrayBuffer | ArrayBufferView | string | null | Blob, options?: R2PutOptions): Promise<R2Object>;
1548
-
createMultipartUpload(key: string, options?: R2MultipartOptions): Promise<R2MultipartUpload>;
1549
-
resumeMultipartUpload(key: string, uploadId: string): R2MultipartUpload;
1550
-
delete(keys: string | string[]): Promise<void>;
1551
-
list(options?: R2ListOptions): Promise<R2Objects>;
1552
-
}
1553
-
interface R2MultipartUpload {
1554
-
readonly key: string;
1555
-
readonly uploadId: string;
1556
-
uploadPart(partNumber: number, value: ReadableStream | (ArrayBuffer | ArrayBufferView) | string | Blob, options?: R2UploadPartOptions): Promise<R2UploadedPart>;
1557
-
abort(): Promise<void>;
1558
-
complete(uploadedParts: R2UploadedPart[]): Promise<R2Object>;
1559
-
}
1560
-
interface R2UploadedPart {
1561
-
partNumber: number;
1562
-
etag: string;
1563
-
}
1564
-
declare abstract class R2Object {
1565
-
readonly key: string;
1566
-
readonly version: string;
1567
-
readonly size: number;
1568
-
readonly etag: string;
1569
-
readonly httpEtag: string;
1570
-
readonly checksums: R2Checksums;
1571
-
readonly uploaded: Date;
1572
-
readonly httpMetadata?: R2HTTPMetadata;
1573
-
readonly customMetadata?: Record<string, string>;
1574
-
readonly range?: R2Range;
1575
-
readonly storageClass: string;
1576
-
readonly ssecKeyMd5?: string;
1577
-
writeHttpMetadata(headers: Headers): void;
1578
-
}
1579
-
interface R2ObjectBody extends R2Object {
1580
-
get body(): ReadableStream;
1581
-
get bodyUsed(): boolean;
1582
-
arrayBuffer(): Promise<ArrayBuffer>;
1583
-
bytes(): Promise<Uint8Array>;
1584
-
text(): Promise<string>;
1585
-
json<T>(): Promise<T>;
1586
-
blob(): Promise<Blob>;
1587
-
}
1588
-
type R2Range = {
1589
-
offset: number;
1590
-
length?: number;
1591
-
} | {
1592
-
offset?: number;
1593
-
length: number;
1594
-
} | {
1595
-
suffix: number;
1596
-
};
1597
-
interface R2Conditional {
1598
-
etagMatches?: string;
1599
-
etagDoesNotMatch?: string;
1600
-
uploadedBefore?: Date;
1601
-
uploadedAfter?: Date;
1602
-
secondsGranularity?: boolean;
1603
-
}
1604
-
interface R2GetOptions {
1605
-
onlyIf?: (R2Conditional | Headers);
1606
-
range?: (R2Range | Headers);
1607
-
ssecKey?: (ArrayBuffer | string);
1608
-
}
1609
-
interface R2PutOptions {
1610
-
onlyIf?: (R2Conditional | Headers);
1611
-
httpMetadata?: (R2HTTPMetadata | Headers);
1612
-
customMetadata?: Record<string, string>;
1613
-
md5?: ((ArrayBuffer | ArrayBufferView) | string);
1614
-
sha1?: ((ArrayBuffer | ArrayBufferView) | string);
1615
-
sha256?: ((ArrayBuffer | ArrayBufferView) | string);
1616
-
sha384?: ((ArrayBuffer | ArrayBufferView) | string);
1617
-
sha512?: ((ArrayBuffer | ArrayBufferView) | string);
1618
-
storageClass?: string;
1619
-
ssecKey?: (ArrayBuffer | string);
1620
-
}
1621
-
interface R2MultipartOptions {
1622
-
httpMetadata?: (R2HTTPMetadata | Headers);
1623
-
customMetadata?: Record<string, string>;
1624
-
storageClass?: string;
1625
-
ssecKey?: (ArrayBuffer | string);
1626
-
}
1627
-
interface R2Checksums {
1628
-
readonly md5?: ArrayBuffer;
1629
-
readonly sha1?: ArrayBuffer;
1630
-
readonly sha256?: ArrayBuffer;
1631
-
readonly sha384?: ArrayBuffer;
1632
-
readonly sha512?: ArrayBuffer;
1633
-
toJSON(): R2StringChecksums;
1634
-
}
1635
-
interface R2StringChecksums {
1636
-
md5?: string;
1637
-
sha1?: string;
1638
-
sha256?: string;
1639
-
sha384?: string;
1640
-
sha512?: string;
1641
-
}
1642
-
interface R2HTTPMetadata {
1643
-
contentType?: string;
1644
-
contentLanguage?: string;
1645
-
contentDisposition?: string;
1646
-
contentEncoding?: string;
1647
-
cacheControl?: string;
1648
-
cacheExpiry?: Date;
1649
-
}
1650
-
type R2Objects = {
1651
-
objects: R2Object[];
1652
-
delimitedPrefixes: string[];
1653
-
} & ({
1654
-
truncated: true;
1655
-
cursor: string;
1656
-
} | {
1657
-
truncated: false;
1658
-
});
1659
-
interface R2UploadPartOptions {
1660
-
ssecKey?: (ArrayBuffer | string);
1661
-
}
1662
-
declare abstract class ScheduledEvent extends ExtendableEvent {
1663
-
readonly scheduledTime: number;
1664
-
readonly cron: string;
1665
-
noRetry(): void;
1666
-
}
1667
-
interface ScheduledController {
1668
-
readonly scheduledTime: number;
1669
-
readonly cron: string;
1670
-
noRetry(): void;
1671
-
}
1672
-
interface QueuingStrategy<T = any> {
1673
-
highWaterMark?: (number | bigint);
1674
-
size?: (chunk: T) => number | bigint;
1675
-
}
1676
-
interface UnderlyingSink<W = any> {
1677
-
type?: string;
1678
-
start?: (controller: WritableStreamDefaultController) => void | Promise<void>;
1679
-
write?: (chunk: W, controller: WritableStreamDefaultController) => void | Promise<void>;
1680
-
abort?: (reason: any) => void | Promise<void>;
1681
-
close?: () => void | Promise<void>;
1682
-
}
1683
-
interface UnderlyingByteSource {
1684
-
type: "bytes";
1685
-
autoAllocateChunkSize?: number;
1686
-
start?: (controller: ReadableByteStreamController) => void | Promise<void>;
1687
-
pull?: (controller: ReadableByteStreamController) => void | Promise<void>;
1688
-
cancel?: (reason: any) => void | Promise<void>;
1689
-
}
1690
-
interface UnderlyingSource<R = any> {
1691
-
type?: "" | undefined;
1692
-
start?: (controller: ReadableStreamDefaultController<R>) => void | Promise<void>;
1693
-
pull?: (controller: ReadableStreamDefaultController<R>) => void | Promise<void>;
1694
-
cancel?: (reason: any) => void | Promise<void>;
1695
-
expectedLength?: (number | bigint);
1696
-
}
1697
-
interface Transformer<I = any, O = any> {
1698
-
readableType?: string;
1699
-
writableType?: string;
1700
-
start?: (controller: TransformStreamDefaultController<O>) => void | Promise<void>;
1701
-
transform?: (chunk: I, controller: TransformStreamDefaultController<O>) => void | Promise<void>;
1702
-
flush?: (controller: TransformStreamDefaultController<O>) => void | Promise<void>;
1703
-
cancel?: (reason: any) => void | Promise<void>;
1704
-
expectedLength?: number;
1705
-
}
1706
-
interface StreamPipeOptions {
1707
-
/**
1708
-
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
1709
-
*
1710
-
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
1711
-
*
1712
-
* Errors and closures of the source and destination streams propagate as follows:
1713
-
*
1714
-
* An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination.
1715
-
*
1716
-
* An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source.
1717
-
*
1718
-
* When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error.
1719
-
*
1720
-
* If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source.
1721
-
*
1722
-
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
1723
-
*/
1724
-
preventClose?: boolean;
1725
-
preventAbort?: boolean;
1726
-
preventCancel?: boolean;
1727
-
signal?: AbortSignal;
1728
-
}
1729
-
type ReadableStreamReadResult<R = any> = {
1730
-
done: false;
1731
-
value: R;
1732
-
} | {
1733
-
done: true;
1734
-
value?: undefined;
1735
-
};
1736
-
/**
1737
-
* This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
1738
-
*
1739
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
1740
-
*/
1741
-
interface ReadableStream<R = any> {
1742
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) */
1743
-
get locked(): boolean;
1744
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */
1745
-
cancel(reason?: any): Promise<void>;
1746
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) */
1747
-
getReader(): ReadableStreamDefaultReader<R>;
1748
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) */
1749
-
getReader(options: ReadableStreamGetReaderOptions): ReadableStreamBYOBReader;
1750
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough) */
1751
-
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
1752
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo) */
1753
-
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
1754
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee) */
1755
-
tee(): [
1756
-
ReadableStream<R>,
1757
-
ReadableStream<R>
1758
-
];
1759
-
values(options?: ReadableStreamValuesOptions): AsyncIterableIterator<R>;
1760
-
[Symbol.asyncIterator](options?: ReadableStreamValuesOptions): AsyncIterableIterator<R>;
1761
-
}
1762
-
/**
1763
-
* This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
1764
-
*
1765
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
1766
-
*/
1767
-
declare const ReadableStream: {
1768
-
prototype: ReadableStream;
1769
-
new (underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy<Uint8Array>): ReadableStream<Uint8Array>;
1770
-
new <R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
1771
-
};
1772
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) */
1773
-
declare class ReadableStreamDefaultReader<R = any> {
1774
-
constructor(stream: ReadableStream);
1775
-
get closed(): Promise<void>;
1776
-
cancel(reason?: any): Promise<void>;
1777
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
1778
-
read(): Promise<ReadableStreamReadResult<R>>;
1779
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock) */
1780
-
releaseLock(): void;
1781
-
}
1782
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader) */
1783
-
declare class ReadableStreamBYOBReader {
1784
-
constructor(stream: ReadableStream);
1785
-
get closed(): Promise<void>;
1786
-
cancel(reason?: any): Promise<void>;
1787
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
1788
-
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
1789
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock) */
1790
-
releaseLock(): void;
1791
-
readAtLeast<T extends ArrayBufferView>(minElements: number, view: T): Promise<ReadableStreamReadResult<T>>;
1792
-
}
1793
-
interface ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptions {
1794
-
min?: number;
1795
-
}
1796
-
interface ReadableStreamGetReaderOptions {
1797
-
/**
1798
-
* Creates a ReadableStreamBYOBReader and locks the stream to the new reader.
1799
-
*
1800
-
* This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.
1801
-
*/
1802
-
mode: "byob";
1803
-
}
1804
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
1805
-
declare abstract class ReadableStreamBYOBRequest {
1806
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
1807
-
get view(): Uint8Array | null;
1808
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond) */
1809
-
respond(bytesWritten: number): void;
1810
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView) */
1811
-
respondWithNewView(view: ArrayBuffer | ArrayBufferView): void;
1812
-
get atLeast(): number | null;
1813
-
}
1814
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController) */
1815
-
declare abstract class ReadableStreamDefaultController<R = any> {
1816
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
1817
-
get desiredSize(): number | null;
1818
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close) */
1819
-
close(): void;
1820
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue) */
1821
-
enqueue(chunk?: R): void;
1822
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */
1823
-
error(reason: any): void;
1824
-
}
1825
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController) */
1826
-
declare abstract class ReadableByteStreamController {
1827
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
1828
-
get byobRequest(): ReadableStreamBYOBRequest | null;
1829
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize) */
1830
-
get desiredSize(): number | null;
1831
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close) */
1832
-
close(): void;
1833
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue) */
1834
-
enqueue(chunk: ArrayBuffer | ArrayBufferView): void;
1835
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */
1836
-
error(reason: any): void;
1837
-
}
1838
-
/**
1839
-
* This Streams API interface represents a controller allowing control of aย WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
1840
-
*
1841
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
1842
-
*/
1843
-
declare abstract class WritableStreamDefaultController {
1844
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal) */
1845
-
get signal(): AbortSignal;
1846
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
1847
-
error(reason?: any): void;
1848
-
}
1849
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController) */
1850
-
declare abstract class TransformStreamDefaultController<O = any> {
1851
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
1852
-
get desiredSize(): number | null;
1853
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
1854
-
enqueue(chunk?: O): void;
1855
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */
1856
-
error(reason: any): void;
1857
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) */
1858
-
terminate(): void;
1859
-
}
1860
-
interface ReadableWritablePair<R = any, W = any> {
1861
-
/**
1862
-
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
1863
-
*
1864
-
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
1865
-
*/
1866
-
writable: WritableStream<W>;
1867
-
readable: ReadableStream<R>;
1868
-
}
1869
-
/**
1870
-
* This Streams API interface providesย a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
1871
-
*
1872
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
1873
-
*/
1874
-
declare class WritableStream<W = any> {
1875
-
constructor(underlyingSink?: UnderlyingSink, queuingStrategy?: QueuingStrategy);
1876
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) */
1877
-
get locked(): boolean;
1878
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */
1879
-
abort(reason?: any): Promise<void>;
1880
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) */
1881
-
close(): Promise<void>;
1882
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter) */
1883
-
getWriter(): WritableStreamDefaultWriter<W>;
1884
-
}
1885
-
/**
1886
-
* This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
1887
-
*
1888
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
1889
-
*/
1890
-
declare class WritableStreamDefaultWriter<W = any> {
1891
-
constructor(stream: WritableStream);
1892
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) */
1893
-
get closed(): Promise<void>;
1894
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready) */
1895
-
get ready(): Promise<void>;
1896
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize) */
1897
-
get desiredSize(): number | null;
1898
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */
1899
-
abort(reason?: any): Promise<void>;
1900
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) */
1901
-
close(): Promise<void>;
1902
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write) */
1903
-
write(chunk?: W): Promise<void>;
1904
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock) */
1905
-
releaseLock(): void;
1906
-
}
1907
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream) */
1908
-
declare class TransformStream<I = any, O = any> {
1909
-
constructor(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>);
1910
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
1911
-
get readable(): ReadableStream<O>;
1912
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable) */
1913
-
get writable(): WritableStream<I>;
1914
-
}
1915
-
declare class FixedLengthStream extends IdentityTransformStream {
1916
-
constructor(expectedLength: number | bigint, queuingStrategy?: IdentityTransformStreamQueuingStrategy);
1917
-
}
1918
-
declare class IdentityTransformStream extends TransformStream<ArrayBuffer | ArrayBufferView, Uint8Array> {
1919
-
constructor(queuingStrategy?: IdentityTransformStreamQueuingStrategy);
1920
-
}
1921
-
interface IdentityTransformStreamQueuingStrategy {
1922
-
highWaterMark?: (number | bigint);
1923
-
}
1924
-
interface ReadableStreamValuesOptions {
1925
-
preventCancel?: boolean;
1926
-
}
1927
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
1928
-
declare class CompressionStream extends TransformStream<ArrayBuffer | ArrayBufferView, Uint8Array> {
1929
-
constructor(format: "gzip" | "deflate" | "deflate-raw");
1930
-
}
1931
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
1932
-
declare class DecompressionStream extends TransformStream<ArrayBuffer | ArrayBufferView, Uint8Array> {
1933
-
constructor(format: "gzip" | "deflate" | "deflate-raw");
1934
-
}
1935
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream) */
1936
-
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
1937
-
constructor();
1938
-
get encoding(): string;
1939
-
}
1940
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream) */
1941
-
declare class TextDecoderStream extends TransformStream<ArrayBuffer | ArrayBufferView, string> {
1942
-
constructor(label?: string, options?: TextDecoderStreamTextDecoderStreamInit);
1943
-
get encoding(): string;
1944
-
get fatal(): boolean;
1945
-
get ignoreBOM(): boolean;
1946
-
}
1947
-
interface TextDecoderStreamTextDecoderStreamInit {
1948
-
fatal?: boolean;
1949
-
ignoreBOM?: boolean;
1950
-
}
1951
-
/**
1952
-
* This Streams API interface providesย a built-in byte length queuing strategy that can be used when constructing streams.
1953
-
*
1954
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
1955
-
*/
1956
-
declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
1957
-
constructor(init: QueuingStrategyInit);
1958
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark) */
1959
-
get highWaterMark(): number;
1960
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */
1961
-
get size(): (chunk?: any) => number;
1962
-
}
1963
-
/**
1964
-
* This Streams API interface providesย a built-in byte length queuing strategy that can be used when constructing streams.
1965
-
*
1966
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
1967
-
*/
1968
-
declare class CountQueuingStrategy implements QueuingStrategy {
1969
-
constructor(init: QueuingStrategyInit);
1970
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark) */
1971
-
get highWaterMark(): number;
1972
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */
1973
-
get size(): (chunk?: any) => number;
1974
-
}
1975
-
interface QueuingStrategyInit {
1976
-
/**
1977
-
* Creates a new ByteLengthQueuingStrategy with the provided high water mark.
1978
-
*
1979
-
* Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw.
1980
-
*/
1981
-
highWaterMark: number;
1982
-
}
1983
-
interface ScriptVersion {
1984
-
id?: string;
1985
-
tag?: string;
1986
-
message?: string;
1987
-
}
1988
-
declare abstract class TailEvent extends ExtendableEvent {
1989
-
readonly events: TraceItem[];
1990
-
readonly traces: TraceItem[];
1991
-
}
1992
-
interface TraceItem {
1993
-
readonly event: (TraceItemFetchEventInfo | TraceItemJsRpcEventInfo | TraceItemScheduledEventInfo | TraceItemAlarmEventInfo | TraceItemQueueEventInfo | TraceItemEmailEventInfo | TraceItemTailEventInfo | TraceItemCustomEventInfo | TraceItemHibernatableWebSocketEventInfo) | null;
1994
-
readonly eventTimestamp: number | null;
1995
-
readonly logs: TraceLog[];
1996
-
readonly exceptions: TraceException[];
1997
-
readonly diagnosticsChannelEvents: TraceDiagnosticChannelEvent[];
1998
-
readonly scriptName: string | null;
1999
-
readonly entrypoint?: string;
2000
-
readonly scriptVersion?: ScriptVersion;
2001
-
readonly dispatchNamespace?: string;
2002
-
readonly scriptTags?: string[];
2003
-
readonly outcome: string;
2004
-
readonly executionModel: string;
2005
-
readonly truncated: boolean;
2006
-
readonly cpuTime: number;
2007
-
readonly wallTime: number;
2008
-
}
2009
-
interface TraceItemAlarmEventInfo {
2010
-
readonly scheduledTime: Date;
2011
-
}
2012
-
interface TraceItemCustomEventInfo {
2013
-
}
2014
-
interface TraceItemScheduledEventInfo {
2015
-
readonly scheduledTime: number;
2016
-
readonly cron: string;
2017
-
}
2018
-
interface TraceItemQueueEventInfo {
2019
-
readonly queue: string;
2020
-
readonly batchSize: number;
2021
-
}
2022
-
interface TraceItemEmailEventInfo {
2023
-
readonly mailFrom: string;
2024
-
readonly rcptTo: string;
2025
-
readonly rawSize: number;
2026
-
}
2027
-
interface TraceItemTailEventInfo {
2028
-
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
2029
-
}
2030
-
interface TraceItemTailEventInfoTailItem {
2031
-
readonly scriptName: string | null;
2032
-
}
2033
-
interface TraceItemFetchEventInfo {
2034
-
readonly response?: TraceItemFetchEventInfoResponse;
2035
-
readonly request: TraceItemFetchEventInfoRequest;
2036
-
}
2037
-
interface TraceItemFetchEventInfoRequest {
2038
-
readonly cf?: any;
2039
-
readonly headers: Record<string, string>;
2040
-
readonly method: string;
2041
-
readonly url: string;
2042
-
getUnredacted(): TraceItemFetchEventInfoRequest;
2043
-
}
2044
-
interface TraceItemFetchEventInfoResponse {
2045
-
readonly status: number;
2046
-
}
2047
-
interface TraceItemJsRpcEventInfo {
2048
-
readonly rpcMethod: string;
2049
-
}
2050
-
interface TraceItemHibernatableWebSocketEventInfo {
2051
-
readonly getWebSocketEvent: TraceItemHibernatableWebSocketEventInfoMessage | TraceItemHibernatableWebSocketEventInfoClose | TraceItemHibernatableWebSocketEventInfoError;
2052
-
}
2053
-
interface TraceItemHibernatableWebSocketEventInfoMessage {
2054
-
readonly webSocketEventType: string;
2055
-
}
2056
-
interface TraceItemHibernatableWebSocketEventInfoClose {
2057
-
readonly webSocketEventType: string;
2058
-
readonly code: number;
2059
-
readonly wasClean: boolean;
2060
-
}
2061
-
interface TraceItemHibernatableWebSocketEventInfoError {
2062
-
readonly webSocketEventType: string;
2063
-
}
2064
-
interface TraceLog {
2065
-
readonly timestamp: number;
2066
-
readonly level: string;
2067
-
readonly message: any;
2068
-
}
2069
-
interface TraceException {
2070
-
readonly timestamp: number;
2071
-
readonly message: string;
2072
-
readonly name: string;
2073
-
readonly stack?: string;
2074
-
}
2075
-
interface TraceDiagnosticChannelEvent {
2076
-
readonly timestamp: number;
2077
-
readonly channel: string;
2078
-
readonly message: any;
2079
-
}
2080
-
interface TraceMetrics {
2081
-
readonly cpuTime: number;
2082
-
readonly wallTime: number;
2083
-
}
2084
-
interface UnsafeTraceMetrics {
2085
-
fromTrace(item: TraceItem): TraceMetrics;
2086
-
}
2087
-
/**
2088
-
* The URLย interface represents an object providing static methods used for creating object URLs.
2089
-
*
2090
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
2091
-
*/
2092
-
declare class URL {
2093
-
constructor(url: string | URL, base?: string | URL);
2094
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin) */
2095
-
get origin(): string;
2096
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href) */
2097
-
get href(): string;
2098
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href) */
2099
-
set href(value: string);
2100
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol) */
2101
-
get protocol(): string;
2102
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol) */
2103
-
set protocol(value: string);
2104
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username) */
2105
-
get username(): string;
2106
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username) */
2107
-
set username(value: string);
2108
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password) */
2109
-
get password(): string;
2110
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password) */
2111
-
set password(value: string);
2112
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host) */
2113
-
get host(): string;
2114
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host) */
2115
-
set host(value: string);
2116
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname) */
2117
-
get hostname(): string;
2118
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname) */
2119
-
set hostname(value: string);
2120
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port) */
2121
-
get port(): string;
2122
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port) */
2123
-
set port(value: string);
2124
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname) */
2125
-
get pathname(): string;
2126
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname) */
2127
-
set pathname(value: string);
2128
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search) */
2129
-
get search(): string;
2130
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search) */
2131
-
set search(value: string);
2132
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash) */
2133
-
get hash(): string;
2134
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash) */
2135
-
set hash(value: string);
2136
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams) */
2137
-
get searchParams(): URLSearchParams;
2138
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON) */
2139
-
toJSON(): string;
2140
-
/*function toString() { [native code] }*/
2141
-
toString(): string;
2142
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
2143
-
static canParse(url: string, base?: string): boolean;
2144
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
2145
-
static parse(url: string, base?: string): URL | null;
2146
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
2147
-
static createObjectURL(object: File | Blob): string;
2148
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
2149
-
static revokeObjectURL(object_url: string): void;
2150
-
}
2151
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
2152
-
declare class URLSearchParams {
2153
-
constructor(init?: (Iterable<Iterable<string>> | Record<string, string> | string));
2154
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
2155
-
get size(): number;
2156
-
/**
2157
-
* Appends a specified key/value pair as a new search parameter.
2158
-
*
2159
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/append)
2160
-
*/
2161
-
append(name: string, value: string): void;
2162
-
/**
2163
-
* Deletes the given search parameter, and its associated value, from the list of all search parameters.
2164
-
*
2165
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)
2166
-
*/
2167
-
delete(name: string, value?: string): void;
2168
-
/**
2169
-
* Returns the first value associated to the given search parameter.
2170
-
*
2171
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/get)
2172
-
*/
2173
-
get(name: string): string | null;
2174
-
/**
2175
-
* Returns all the values association with a given search parameter.
2176
-
*
2177
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll)
2178
-
*/
2179
-
getAll(name: string): string[];
2180
-
/**
2181
-
* Returns a Boolean indicating if such a search parameter exists.
2182
-
*
2183
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)
2184
-
*/
2185
-
has(name: string, value?: string): boolean;
2186
-
/**
2187
-
* Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
2188
-
*
2189
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/set)
2190
-
*/
2191
-
set(name: string, value: string): void;
2192
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort) */
2193
-
sort(): void;
2194
-
/* Returns an array of key, value pairs for every entry in the search params. */
2195
-
entries(): IterableIterator<[
2196
-
key: string,
2197
-
value: string
2198
-
]>;
2199
-
/* Returns a list of keys in the search params. */
2200
-
keys(): IterableIterator<string>;
2201
-
/* Returns a list of values in the search params. */
2202
-
values(): IterableIterator<string>;
2203
-
forEach<This = unknown>(callback: (this: This, value: string, key: string, parent: URLSearchParams) => void, thisArg?: This): void;
2204
-
/*function toString() { [native code] } Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */
2205
-
toString(): string;
2206
-
[Symbol.iterator](): IterableIterator<[
2207
-
key: string,
2208
-
value: string
2209
-
]>;
2210
-
}
2211
-
declare class URLPattern {
2212
-
constructor(input?: (string | URLPatternInit), baseURL?: (string | URLPatternOptions), patternOptions?: URLPatternOptions);
2213
-
get protocol(): string;
2214
-
get username(): string;
2215
-
get password(): string;
2216
-
get hostname(): string;
2217
-
get port(): string;
2218
-
get pathname(): string;
2219
-
get search(): string;
2220
-
get hash(): string;
2221
-
get hasRegExpGroups(): boolean;
2222
-
test(input?: (string | URLPatternInit), baseURL?: string): boolean;
2223
-
exec(input?: (string | URLPatternInit), baseURL?: string): URLPatternResult | null;
2224
-
}
2225
-
interface URLPatternInit {
2226
-
protocol?: string;
2227
-
username?: string;
2228
-
password?: string;
2229
-
hostname?: string;
2230
-
port?: string;
2231
-
pathname?: string;
2232
-
search?: string;
2233
-
hash?: string;
2234
-
baseURL?: string;
2235
-
}
2236
-
interface URLPatternComponentResult {
2237
-
input: string;
2238
-
groups: Record<string, string>;
2239
-
}
2240
-
interface URLPatternResult {
2241
-
inputs: (string | URLPatternInit)[];
2242
-
protocol: URLPatternComponentResult;
2243
-
username: URLPatternComponentResult;
2244
-
password: URLPatternComponentResult;
2245
-
hostname: URLPatternComponentResult;
2246
-
port: URLPatternComponentResult;
2247
-
pathname: URLPatternComponentResult;
2248
-
search: URLPatternComponentResult;
2249
-
hash: URLPatternComponentResult;
2250
-
}
2251
-
interface URLPatternOptions {
2252
-
ignoreCase?: boolean;
2253
-
}
2254
-
/**
2255
-
* A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
2256
-
*
2257
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)
2258
-
*/
2259
-
declare class CloseEvent extends Event {
2260
-
constructor(type: string, initializer?: CloseEventInit);
2261
-
/**
2262
-
* Returns the WebSocket connection close code provided by the server.
2263
-
*
2264
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/code)
2265
-
*/
2266
-
readonly code: number;
2267
-
/**
2268
-
* Returns the WebSocket connection close reason provided by the server.
2269
-
*
2270
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/reason)
2271
-
*/
2272
-
readonly reason: string;
2273
-
/**
2274
-
* Returns true if the connection closed cleanly; false otherwise.
2275
-
*
2276
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/wasClean)
2277
-
*/
2278
-
readonly wasClean: boolean;
2279
-
}
2280
-
interface CloseEventInit {
2281
-
code?: number;
2282
-
reason?: string;
2283
-
wasClean?: boolean;
2284
-
}
2285
-
/**
2286
-
* A message received by a target object.
2287
-
*
2288
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)
2289
-
*/
2290
-
declare class MessageEvent extends Event {
2291
-
constructor(type: string, initializer: MessageEventInit);
2292
-
/**
2293
-
* Returns the data of the message.
2294
-
*
2295
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
2296
-
*/
2297
-
readonly data: ArrayBuffer | string;
2298
-
}
2299
-
interface MessageEventInit {
2300
-
data: ArrayBuffer | string;
2301
-
}
2302
-
type WebSocketEventMap = {
2303
-
close: CloseEvent;
2304
-
message: MessageEvent;
2305
-
open: Event;
2306
-
error: ErrorEvent;
2307
-
};
2308
-
/**
2309
-
* Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
2310
-
*
2311
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
2312
-
*/
2313
-
declare var WebSocket: {
2314
-
prototype: WebSocket;
2315
-
new (url: string, protocols?: (string[] | string)): WebSocket;
2316
-
readonly READY_STATE_CONNECTING: number;
2317
-
readonly CONNECTING: number;
2318
-
readonly READY_STATE_OPEN: number;
2319
-
readonly OPEN: number;
2320
-
readonly READY_STATE_CLOSING: number;
2321
-
readonly CLOSING: number;
2322
-
readonly READY_STATE_CLOSED: number;
2323
-
readonly CLOSED: number;
2324
-
};
2325
-
/**
2326
-
* Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
2327
-
*
2328
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
2329
-
*/
2330
-
interface WebSocket extends EventTarget<WebSocketEventMap> {
2331
-
accept(): void;
2332
-
/**
2333
-
* Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.
2334
-
*
2335
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
2336
-
*/
2337
-
send(message: (ArrayBuffer | ArrayBufferView) | string): void;
2338
-
/**
2339
-
* Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.
2340
-
*
2341
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
2342
-
*/
2343
-
close(code?: number, reason?: string): void;
2344
-
serializeAttachment(attachment: any): void;
2345
-
deserializeAttachment(): any | null;
2346
-
/**
2347
-
* Returns the state of the WebSocket object's connection. It can have the values described below.
2348
-
*
2349
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
2350
-
*/
2351
-
readyState: number;
2352
-
/**
2353
-
* Returns the URL that was used to establish the WebSocket connection.
2354
-
*
2355
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/url)
2356
-
*/
2357
-
url: string | null;
2358
-
/**
2359
-
* Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.
2360
-
*
2361
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/protocol)
2362
-
*/
2363
-
protocol: string | null;
2364
-
/**
2365
-
* Returns the extensions selected by the server, if any.
2366
-
*
2367
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
2368
-
*/
2369
-
extensions: string | null;
2370
-
}
2371
-
declare const WebSocketPair: {
2372
-
new (): {
2373
-
0: WebSocket;
2374
-
1: WebSocket;
2375
-
};
2376
-
};
2377
-
interface SqlStorage {
2378
-
exec<T extends Record<string, SqlStorageValue>>(query: string, ...bindings: any[]): SqlStorageCursor<T>;
2379
-
get databaseSize(): number;
2380
-
Cursor: typeof SqlStorageCursor;
2381
-
Statement: typeof SqlStorageStatement;
2382
-
}
2383
-
declare abstract class SqlStorageStatement {
2384
-
}
2385
-
type SqlStorageValue = ArrayBuffer | string | number | null;
2386
-
declare abstract class SqlStorageCursor<T extends Record<string, SqlStorageValue>> {
2387
-
next(): {
2388
-
done?: false;
2389
-
value: T;
2390
-
} | {
2391
-
done: true;
2392
-
value?: never;
2393
-
};
2394
-
toArray(): T[];
2395
-
one(): T;
2396
-
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
2397
-
columnNames: string[];
2398
-
get rowsRead(): number;
2399
-
get rowsWritten(): number;
2400
-
[Symbol.iterator](): IterableIterator<T>;
2401
-
}
2402
-
interface Socket {
2403
-
get readable(): ReadableStream;
2404
-
get writable(): WritableStream;
2405
-
get closed(): Promise<void>;
2406
-
get opened(): Promise<SocketInfo>;
2407
-
get upgraded(): boolean;
2408
-
get secureTransport(): "on" | "off" | "starttls";
2409
-
close(): Promise<void>;
2410
-
startTls(options?: TlsOptions): Socket;
2411
-
}
2412
-
interface SocketOptions {
2413
-
secureTransport?: string;
2414
-
allowHalfOpen: boolean;
2415
-
highWaterMark?: (number | bigint);
2416
-
}
2417
-
interface SocketAddress {
2418
-
hostname: string;
2419
-
port: number;
2420
-
}
2421
-
interface TlsOptions {
2422
-
expectedServerHostname?: string;
2423
-
}
2424
-
interface SocketInfo {
2425
-
remoteAddress?: string;
2426
-
localAddress?: string;
2427
-
}
2428
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource) */
2429
-
declare class EventSource extends EventTarget {
2430
-
constructor(url: string, init?: EventSourceEventSourceInit);
2431
-
/**
2432
-
* Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.
2433
-
*
2434
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
2435
-
*/
2436
-
close(): void;
2437
-
/**
2438
-
* Returns the URL providing the event stream.
2439
-
*
2440
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
2441
-
*/
2442
-
get url(): string;
2443
-
/**
2444
-
* Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.
2445
-
*
2446
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
2447
-
*/
2448
-
get withCredentials(): boolean;
2449
-
/**
2450
-
* Returns the state of this EventSource object's connection. It can have the values described below.
2451
-
*
2452
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
2453
-
*/
2454
-
get readyState(): number;
2455
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
2456
-
get onopen(): any | null;
2457
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
2458
-
set onopen(value: any | null);
2459
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/message_event) */
2460
-
get onmessage(): any | null;
2461
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/message_event) */
2462
-
set onmessage(value: any | null);
2463
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
2464
-
get onerror(): any | null;
2465
-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
2466
-
set onerror(value: any | null);
2467
-
static readonly CONNECTING: number;
2468
-
static readonly OPEN: number;
2469
-
static readonly CLOSED: number;
2470
-
static from(stream: ReadableStream): EventSource;
2471
-
}
2472
-
interface EventSourceEventSourceInit {
2473
-
withCredentials?: boolean;
2474
-
fetcher?: Fetcher;
2475
-
}
2476
-
interface Container {
2477
-
get running(): boolean;
2478
-
start(options?: ContainerStartupOptions): void;
2479
-
monitor(): Promise<void>;
2480
-
destroy(error?: any): Promise<void>;
2481
-
signal(signo: number): void;
2482
-
getTcpPort(port: number): Fetcher;
2483
-
}
2484
-
interface ContainerStartupOptions {
2485
-
entrypoint?: string[];
2486
-
enableInternet: boolean;
2487
-
env?: Record<string, string>;
2488
-
}
2489
-
type AiImageClassificationInput = {
2490
-
image: number[];
2491
-
};
2492
-
type AiImageClassificationOutput = {
2493
-
score?: number;
2494
-
label?: string;
2495
-
}[];
2496
-
declare abstract class BaseAiImageClassification {
2497
-
inputs: AiImageClassificationInput;
2498
-
postProcessedOutputs: AiImageClassificationOutput;
2499
-
}
2500
-
type AiImageToTextInput = {
2501
-
image: number[];
2502
-
prompt?: string;
2503
-
max_tokens?: number;
2504
-
temperature?: number;
2505
-
top_p?: number;
2506
-
top_k?: number;
2507
-
seed?: number;
2508
-
repetition_penalty?: number;
2509
-
frequency_penalty?: number;
2510
-
presence_penalty?: number;
2511
-
raw?: boolean;
2512
-
messages?: RoleScopedChatInput[];
2513
-
};
2514
-
type AiImageToTextOutput = {
2515
-
description: string;
2516
-
};
2517
-
declare abstract class BaseAiImageToText {
2518
-
inputs: AiImageToTextInput;
2519
-
postProcessedOutputs: AiImageToTextOutput;
2520
-
}
2521
-
type AiImageTextToTextInput = {
2522
-
image: string;
2523
-
prompt?: string;
2524
-
max_tokens?: number;
2525
-
temperature?: number;
2526
-
ignore_eos?: boolean;
2527
-
top_p?: number;
2528
-
top_k?: number;
2529
-
seed?: number;
2530
-
repetition_penalty?: number;
2531
-
frequency_penalty?: number;
2532
-
presence_penalty?: number;
2533
-
raw?: boolean;
2534
-
messages?: RoleScopedChatInput[];
2535
-
};
2536
-
type AiImageTextToTextOutput = {
2537
-
description: string;
2538
-
};
2539
-
declare abstract class BaseAiImageTextToText {
2540
-
inputs: AiImageTextToTextInput;
2541
-
postProcessedOutputs: AiImageTextToTextOutput;
2542
-
}
2543
-
type AiObjectDetectionInput = {
2544
-
image: number[];
2545
-
};
2546
-
type AiObjectDetectionOutput = {
2547
-
score?: number;
2548
-
label?: string;
2549
-
}[];
2550
-
declare abstract class BaseAiObjectDetection {
2551
-
inputs: AiObjectDetectionInput;
2552
-
postProcessedOutputs: AiObjectDetectionOutput;
2553
-
}
2554
-
type AiSentenceSimilarityInput = {
2555
-
source: string;
2556
-
sentences: string[];
2557
-
};
2558
-
type AiSentenceSimilarityOutput = number[];
2559
-
declare abstract class BaseAiSentenceSimilarity {
2560
-
inputs: AiSentenceSimilarityInput;
2561
-
postProcessedOutputs: AiSentenceSimilarityOutput;
2562
-
}
2563
-
type AiAutomaticSpeechRecognitionInput = {
2564
-
audio: number[];
2565
-
};
2566
-
type AiAutomaticSpeechRecognitionOutput = {
2567
-
text?: string;
2568
-
words?: {
2569
-
word: string;
2570
-
start: number;
2571
-
end: number;
2572
-
}[];
2573
-
vtt?: string;
2574
-
};
2575
-
declare abstract class BaseAiAutomaticSpeechRecognition {
2576
-
inputs: AiAutomaticSpeechRecognitionInput;
2577
-
postProcessedOutputs: AiAutomaticSpeechRecognitionOutput;
2578
-
}
2579
-
type AiSummarizationInput = {
2580
-
input_text: string;
2581
-
max_length?: number;
2582
-
};
2583
-
type AiSummarizationOutput = {
2584
-
summary: string;
2585
-
};
2586
-
declare abstract class BaseAiSummarization {
2587
-
inputs: AiSummarizationInput;
2588
-
postProcessedOutputs: AiSummarizationOutput;
2589
-
}
2590
-
type AiTextClassificationInput = {
2591
-
text: string;
2592
-
};
2593
-
type AiTextClassificationOutput = {
2594
-
score?: number;
2595
-
label?: string;
2596
-
}[];
2597
-
declare abstract class BaseAiTextClassification {
2598
-
inputs: AiTextClassificationInput;
2599
-
postProcessedOutputs: AiTextClassificationOutput;
2600
-
}
2601
-
type AiTextEmbeddingsInput = {
2602
-
text: string | string[];
2603
-
};
2604
-
type AiTextEmbeddingsOutput = {
2605
-
shape: number[];
2606
-
data: number[][];
2607
-
};
2608
-
declare abstract class BaseAiTextEmbeddings {
2609
-
inputs: AiTextEmbeddingsInput;
2610
-
postProcessedOutputs: AiTextEmbeddingsOutput;
2611
-
}
2612
-
type RoleScopedChatInput = {
2613
-
role: "user" | "assistant" | "system" | "tool" | (string & NonNullable<unknown>);
2614
-
content: string;
2615
-
name?: string;
2616
-
};
2617
-
type AiTextGenerationToolLegacyInput = {
2618
-
name: string;
2619
-
description: string;
2620
-
parameters?: {
2621
-
type: "object" | (string & NonNullable<unknown>);
2622
-
properties: {
2623
-
[key: string]: {
2624
-
type: string;
2625
-
description?: string;
2626
-
};
2627
-
};
2628
-
required: string[];
2629
-
};
2630
-
};
2631
-
type AiTextGenerationToolInput = {
2632
-
type: "function" | (string & NonNullable<unknown>);
2633
-
function: {
2634
-
name: string;
2635
-
description: string;
2636
-
parameters?: {
2637
-
type: "object" | (string & NonNullable<unknown>);
2638
-
properties: {
2639
-
[key: string]: {
2640
-
type: string;
2641
-
description?: string;
2642
-
};
2643
-
};
2644
-
required: string[];
2645
-
};
2646
-
};
2647
-
};
2648
-
type AiTextGenerationFunctionsInput = {
2649
-
name: string;
2650
-
code: string;
2651
-
};
2652
-
type AiTextGenerationResponseFormat = {
2653
-
type: string;
2654
-
json_schema?: any;
2655
-
};
2656
-
type AiTextGenerationInput = {
2657
-
prompt?: string;
2658
-
raw?: boolean;
2659
-
stream?: boolean;
2660
-
max_tokens?: number;
2661
-
temperature?: number;
2662
-
top_p?: number;
2663
-
top_k?: number;
2664
-
seed?: number;
2665
-
repetition_penalty?: number;
2666
-
frequency_penalty?: number;
2667
-
presence_penalty?: number;
2668
-
messages?: RoleScopedChatInput[];
2669
-
response_format?: AiTextGenerationResponseFormat;
2670
-
tools?: AiTextGenerationToolInput[] | AiTextGenerationToolLegacyInput[] | (object & NonNullable<unknown>);
2671
-
functions?: AiTextGenerationFunctionsInput[];
2672
-
};
2673
-
type AiTextGenerationOutput = {
2674
-
response?: string;
2675
-
tool_calls?: {
2676
-
name: string;
2677
-
arguments: unknown;
2678
-
}[];
2679
-
};
2680
-
declare abstract class BaseAiTextGeneration {
2681
-
inputs: AiTextGenerationInput;
2682
-
postProcessedOutputs: AiTextGenerationOutput;
2683
-
}
2684
-
type AiTextToSpeechInput = {
2685
-
prompt: string;
2686
-
lang?: string;
2687
-
};
2688
-
type AiTextToSpeechOutput = Uint8Array | {
2689
-
audio: string;
2690
-
};
2691
-
declare abstract class BaseAiTextToSpeech {
2692
-
inputs: AiTextToSpeechInput;
2693
-
postProcessedOutputs: AiTextToSpeechOutput;
2694
-
}
2695
-
type AiTextToImageInput = {
2696
-
prompt: string;
2697
-
negative_prompt?: string;
2698
-
height?: number;
2699
-
width?: number;
2700
-
image?: number[];
2701
-
image_b64?: string;
2702
-
mask?: number[];
2703
-
num_steps?: number;
2704
-
strength?: number;
2705
-
guidance?: number;
2706
-
seed?: number;
2707
-
};
2708
-
type AiTextToImageOutput = ReadableStream<Uint8Array>;
2709
-
declare abstract class BaseAiTextToImage {
2710
-
inputs: AiTextToImageInput;
2711
-
postProcessedOutputs: AiTextToImageOutput;
2712
-
}
2713
-
type AiTranslationInput = {
2714
-
text: string;
2715
-
target_lang: string;
2716
-
source_lang?: string;
2717
-
};
2718
-
type AiTranslationOutput = {
2719
-
translated_text?: string;
2720
-
};
2721
-
declare abstract class BaseAiTranslation {
2722
-
inputs: AiTranslationInput;
2723
-
postProcessedOutputs: AiTranslationOutput;
2724
-
}
2725
-
type Ai_Cf_Baai_Bge_Base_En_V1_5_Input = {
2726
-
text: string | string[];
2727
-
/**
2728
-
* The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
2729
-
*/
2730
-
pooling?: "mean" | "cls";
2731
-
} | {
2732
-
/**
2733
-
* Batch of the embeddings requests to run using async-queue
2734
-
*/
2735
-
requests: {
2736
-
text: string | string[];
2737
-
/**
2738
-
* The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
2739
-
*/
2740
-
pooling?: "mean" | "cls";
2741
-
}[];
2742
-
};
2743
-
type Ai_Cf_Baai_Bge_Base_En_V1_5_Output = {
2744
-
shape?: number[];
2745
-
/**
2746
-
* Embeddings of the requested text values
2747
-
*/
2748
-
data?: number[][];
2749
-
/**
2750
-
* The pooling method used in the embedding process.
2751
-
*/
2752
-
pooling?: "mean" | "cls";
2753
-
} | AsyncResponse;
2754
-
interface AsyncResponse {
2755
-
/**
2756
-
* The async request id that can be used to obtain the results.
2757
-
*/
2758
-
request_id?: string;
2759
-
}
2760
-
declare abstract class Base_Ai_Cf_Baai_Bge_Base_En_V1_5 {
2761
-
inputs: Ai_Cf_Baai_Bge_Base_En_V1_5_Input;
2762
-
postProcessedOutputs: Ai_Cf_Baai_Bge_Base_En_V1_5_Output;
2763
-
}
2764
-
type Ai_Cf_Openai_Whisper_Input = string | {
2765
-
/**
2766
-
* An array of integers that represent the audio data constrained to 8-bit unsigned integer values
2767
-
*/
2768
-
audio: number[];
2769
-
};
2770
-
interface Ai_Cf_Openai_Whisper_Output {
2771
-
/**
2772
-
* The transcription
2773
-
*/
2774
-
text: string;
2775
-
word_count?: number;
2776
-
words?: {
2777
-
word?: string;
2778
-
/**
2779
-
* The second this word begins in the recording
2780
-
*/
2781
-
start?: number;
2782
-
/**
2783
-
* The ending second when the word completes
2784
-
*/
2785
-
end?: number;
2786
-
}[];
2787
-
vtt?: string;
2788
-
}
2789
-
declare abstract class Base_Ai_Cf_Openai_Whisper {
2790
-
inputs: Ai_Cf_Openai_Whisper_Input;
2791
-
postProcessedOutputs: Ai_Cf_Openai_Whisper_Output;
2792
-
}
2793
-
type Ai_Cf_Meta_M2M100_1_2B_Input = {
2794
-
/**
2795
-
* The text to be translated
2796
-
*/
2797
-
text: string;
2798
-
/**
2799
-
* The language code of the source text (e.g., 'en' for English). Defaults to 'en' if not specified
2800
-
*/
2801
-
source_lang?: string;
2802
-
/**
2803
-
* The language code to translate the text into (e.g., 'es' for Spanish)
2804
-
*/
2805
-
target_lang: string;
2806
-
} | {
2807
-
/**
2808
-
* Batch of the embeddings requests to run using async-queue
2809
-
*/
2810
-
requests: {
2811
-
/**
2812
-
* The text to be translated
2813
-
*/
2814
-
text: string;
2815
-
/**
2816
-
* The language code of the source text (e.g., 'en' for English). Defaults to 'en' if not specified
2817
-
*/
2818
-
source_lang?: string;
2819
-
/**
2820
-
* The language code to translate the text into (e.g., 'es' for Spanish)
2821
-
*/
2822
-
target_lang: string;
2823
-
}[];
2824
-
};
2825
-
type Ai_Cf_Meta_M2M100_1_2B_Output = {
2826
-
/**
2827
-
* The translated text in the target language
2828
-
*/
2829
-
translated_text?: string;
2830
-
} | AsyncResponse;
2831
-
declare abstract class Base_Ai_Cf_Meta_M2M100_1_2B {
2832
-
inputs: Ai_Cf_Meta_M2M100_1_2B_Input;
2833
-
postProcessedOutputs: Ai_Cf_Meta_M2M100_1_2B_Output;
2834
-
}
2835
-
type Ai_Cf_Baai_Bge_Small_En_V1_5_Input = {
2836
-
text: string | string[];
2837
-
/**
2838
-
* The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
2839
-
*/
2840
-
pooling?: "mean" | "cls";
2841
-
} | {
2842
-
/**
2843
-
* Batch of the embeddings requests to run using async-queue
2844
-
*/
2845
-
requests: {
2846
-
text: string | string[];
2847
-
/**
2848
-
* The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
2849
-
*/
2850
-
pooling?: "mean" | "cls";
2851
-
}[];
2852
-
};
2853
-
type Ai_Cf_Baai_Bge_Small_En_V1_5_Output = {
2854
-
shape?: number[];
2855
-
/**
2856
-
* Embeddings of the requested text values
2857
-
*/
2858
-
data?: number[][];
2859
-
/**
2860
-
* The pooling method used in the embedding process.
2861
-
*/
2862
-
pooling?: "mean" | "cls";
2863
-
} | AsyncResponse;
2864
-
declare abstract class Base_Ai_Cf_Baai_Bge_Small_En_V1_5 {
2865
-
inputs: Ai_Cf_Baai_Bge_Small_En_V1_5_Input;
2866
-
postProcessedOutputs: Ai_Cf_Baai_Bge_Small_En_V1_5_Output;
2867
-
}
2868
-
type Ai_Cf_Baai_Bge_Large_En_V1_5_Input = {
2869
-
text: string | string[];
2870
-
/**
2871
-
* The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
2872
-
*/
2873
-
pooling?: "mean" | "cls";
2874
-
} | {
2875
-
/**
2876
-
* Batch of the embeddings requests to run using async-queue
2877
-
*/
2878
-
requests: {
2879
-
text: string | string[];
2880
-
/**
2881
-
* The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
2882
-
*/
2883
-
pooling?: "mean" | "cls";
2884
-
}[];
2885
-
};
2886
-
type Ai_Cf_Baai_Bge_Large_En_V1_5_Output = {
2887
-
shape?: number[];
2888
-
/**
2889
-
* Embeddings of the requested text values
2890
-
*/
2891
-
data?: number[][];
2892
-
/**
2893
-
* The pooling method used in the embedding process.
2894
-
*/
2895
-
pooling?: "mean" | "cls";
2896
-
} | AsyncResponse;
2897
-
declare abstract class Base_Ai_Cf_Baai_Bge_Large_En_V1_5 {
2898
-
inputs: Ai_Cf_Baai_Bge_Large_En_V1_5_Input;
2899
-
postProcessedOutputs: Ai_Cf_Baai_Bge_Large_En_V1_5_Output;
2900
-
}
2901
-
type Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Input = string | {
2902
-
/**
2903
-
* The input text prompt for the model to generate a response.
2904
-
*/
2905
-
prompt?: string;
2906
-
/**
2907
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
2908
-
*/
2909
-
raw?: boolean;
2910
-
/**
2911
-
* Controls the creativity of the AI's responses by adjusting how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
2912
-
*/
2913
-
top_p?: number;
2914
-
/**
2915
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
2916
-
*/
2917
-
top_k?: number;
2918
-
/**
2919
-
* Random seed for reproducibility of the generation.
2920
-
*/
2921
-
seed?: number;
2922
-
/**
2923
-
* Penalty for repeated tokens; higher values discourage repetition.
2924
-
*/
2925
-
repetition_penalty?: number;
2926
-
/**
2927
-
* Decreases the likelihood of the model repeating the same lines verbatim.
2928
-
*/
2929
-
frequency_penalty?: number;
2930
-
/**
2931
-
* Increases the likelihood of the model introducing new topics.
2932
-
*/
2933
-
presence_penalty?: number;
2934
-
image: number[] | (string & NonNullable<unknown>);
2935
-
/**
2936
-
* The maximum number of tokens to generate in the response.
2937
-
*/
2938
-
max_tokens?: number;
2939
-
};
2940
-
interface Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Output {
2941
-
description?: string;
2942
-
}
2943
-
declare abstract class Base_Ai_Cf_Unum_Uform_Gen2_Qwen_500M {
2944
-
inputs: Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Input;
2945
-
postProcessedOutputs: Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Output;
2946
-
}
2947
-
type Ai_Cf_Openai_Whisper_Tiny_En_Input = string | {
2948
-
/**
2949
-
* An array of integers that represent the audio data constrained to 8-bit unsigned integer values
2950
-
*/
2951
-
audio: number[];
2952
-
};
2953
-
interface Ai_Cf_Openai_Whisper_Tiny_En_Output {
2954
-
/**
2955
-
* The transcription
2956
-
*/
2957
-
text: string;
2958
-
word_count?: number;
2959
-
words?: {
2960
-
word?: string;
2961
-
/**
2962
-
* The second this word begins in the recording
2963
-
*/
2964
-
start?: number;
2965
-
/**
2966
-
* The ending second when the word completes
2967
-
*/
2968
-
end?: number;
2969
-
}[];
2970
-
vtt?: string;
2971
-
}
2972
-
declare abstract class Base_Ai_Cf_Openai_Whisper_Tiny_En {
2973
-
inputs: Ai_Cf_Openai_Whisper_Tiny_En_Input;
2974
-
postProcessedOutputs: Ai_Cf_Openai_Whisper_Tiny_En_Output;
2975
-
}
2976
-
interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Input {
2977
-
/**
2978
-
* Base64 encoded value of the audio data.
2979
-
*/
2980
-
audio: string;
2981
-
/**
2982
-
* Supported tasks are 'translate' or 'transcribe'.
2983
-
*/
2984
-
task?: string;
2985
-
/**
2986
-
* The language of the audio being transcribed or translated.
2987
-
*/
2988
-
language?: string;
2989
-
/**
2990
-
* Preprocess the audio with a voice activity detection model.
2991
-
*/
2992
-
vad_filter?: boolean;
2993
-
/**
2994
-
* A text prompt to help provide context to the model on the contents of the audio.
2995
-
*/
2996
-
initial_prompt?: string;
2997
-
/**
2998
-
* The prefix it appended the the beginning of the output of the transcription and can guide the transcription result.
2999
-
*/
3000
-
prefix?: string;
3001
-
}
3002
-
interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
3003
-
transcription_info?: {
3004
-
/**
3005
-
* The language of the audio being transcribed or translated.
3006
-
*/
3007
-
language?: string;
3008
-
/**
3009
-
* The confidence level or probability of the detected language being accurate, represented as a decimal between 0 and 1.
3010
-
*/
3011
-
language_probability?: number;
3012
-
/**
3013
-
* The total duration of the original audio file, in seconds.
3014
-
*/
3015
-
duration?: number;
3016
-
/**
3017
-
* The duration of the audio after applying Voice Activity Detection (VAD) to remove silent or irrelevant sections, in seconds.
3018
-
*/
3019
-
duration_after_vad?: number;
3020
-
};
3021
-
/**
3022
-
* The complete transcription of the audio.
3023
-
*/
3024
-
text: string;
3025
-
/**
3026
-
* The total number of words in the transcription.
3027
-
*/
3028
-
word_count?: number;
3029
-
segments?: {
3030
-
/**
3031
-
* The starting time of the segment within the audio, in seconds.
3032
-
*/
3033
-
start?: number;
3034
-
/**
3035
-
* The ending time of the segment within the audio, in seconds.
3036
-
*/
3037
-
end?: number;
3038
-
/**
3039
-
* The transcription of the segment.
3040
-
*/
3041
-
text?: string;
3042
-
/**
3043
-
* The temperature used in the decoding process, controlling randomness in predictions. Lower values result in more deterministic outputs.
3044
-
*/
3045
-
temperature?: number;
3046
-
/**
3047
-
* The average log probability of the predictions for the words in this segment, indicating overall confidence.
3048
-
*/
3049
-
avg_logprob?: number;
3050
-
/**
3051
-
* The compression ratio of the input to the output, measuring how much the text was compressed during the transcription process.
3052
-
*/
3053
-
compression_ratio?: number;
3054
-
/**
3055
-
* The probability that the segment contains no speech, represented as a decimal between 0 and 1.
3056
-
*/
3057
-
no_speech_prob?: number;
3058
-
words?: {
3059
-
/**
3060
-
* The individual word transcribed from the audio.
3061
-
*/
3062
-
word?: string;
3063
-
/**
3064
-
* The starting time of the word within the audio, in seconds.
3065
-
*/
3066
-
start?: number;
3067
-
/**
3068
-
* The ending time of the word within the audio, in seconds.
3069
-
*/
3070
-
end?: number;
3071
-
}[];
3072
-
}[];
3073
-
/**
3074
-
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
3075
-
*/
3076
-
vtt?: string;
3077
-
}
3078
-
declare abstract class Base_Ai_Cf_Openai_Whisper_Large_V3_Turbo {
3079
-
inputs: Ai_Cf_Openai_Whisper_Large_V3_Turbo_Input;
3080
-
postProcessedOutputs: Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output;
3081
-
}
3082
-
type Ai_Cf_Baai_Bge_M3_Input = BGEM3InputQueryAndContexts | BGEM3InputEmbedding | {
3083
-
/**
3084
-
* Batch of the embeddings requests to run using async-queue
3085
-
*/
3086
-
requests: (BGEM3InputQueryAndContexts1 | BGEM3InputEmbedding1)[];
3087
-
};
3088
-
interface BGEM3InputQueryAndContexts {
3089
-
/**
3090
-
* A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts
3091
-
*/
3092
-
query?: string;
3093
-
/**
3094
-
* List of provided contexts. Note that the index in this array is important, as the response will refer to it.
3095
-
*/
3096
-
contexts: {
3097
-
/**
3098
-
* One of the provided context content
3099
-
*/
3100
-
text?: string;
3101
-
}[];
3102
-
/**
3103
-
* When provided with too long context should the model error out or truncate the context to fit?
3104
-
*/
3105
-
truncate_inputs?: boolean;
3106
-
}
3107
-
interface BGEM3InputEmbedding {
3108
-
text: string | string[];
3109
-
/**
3110
-
* When provided with too long context should the model error out or truncate the context to fit?
3111
-
*/
3112
-
truncate_inputs?: boolean;
3113
-
}
3114
-
interface BGEM3InputQueryAndContexts1 {
3115
-
/**
3116
-
* A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts
3117
-
*/
3118
-
query?: string;
3119
-
/**
3120
-
* List of provided contexts. Note that the index in this array is important, as the response will refer to it.
3121
-
*/
3122
-
contexts: {
3123
-
/**
3124
-
* One of the provided context content
3125
-
*/
3126
-
text?: string;
3127
-
}[];
3128
-
/**
3129
-
* When provided with too long context should the model error out or truncate the context to fit?
3130
-
*/
3131
-
truncate_inputs?: boolean;
3132
-
}
3133
-
interface BGEM3InputEmbedding1 {
3134
-
text: string | string[];
3135
-
/**
3136
-
* When provided with too long context should the model error out or truncate the context to fit?
3137
-
*/
3138
-
truncate_inputs?: boolean;
3139
-
}
3140
-
type Ai_Cf_Baai_Bge_M3_Output = BGEM3OuputQuery | BGEM3OutputEmbeddingForContexts | BGEM3OuputEmbedding | AsyncResponse;
3141
-
interface BGEM3OuputQuery {
3142
-
response?: {
3143
-
/**
3144
-
* Index of the context in the request
3145
-
*/
3146
-
id?: number;
3147
-
/**
3148
-
* Score of the context under the index.
3149
-
*/
3150
-
score?: number;
3151
-
}[];
3152
-
}
3153
-
interface BGEM3OutputEmbeddingForContexts {
3154
-
response?: number[][];
3155
-
shape?: number[];
3156
-
/**
3157
-
* The pooling method used in the embedding process.
3158
-
*/
3159
-
pooling?: "mean" | "cls";
3160
-
}
3161
-
interface BGEM3OuputEmbedding {
3162
-
shape?: number[];
3163
-
/**
3164
-
* Embeddings of the requested text values
3165
-
*/
3166
-
data?: number[][];
3167
-
/**
3168
-
* The pooling method used in the embedding process.
3169
-
*/
3170
-
pooling?: "mean" | "cls";
3171
-
}
3172
-
declare abstract class Base_Ai_Cf_Baai_Bge_M3 {
3173
-
inputs: Ai_Cf_Baai_Bge_M3_Input;
3174
-
postProcessedOutputs: Ai_Cf_Baai_Bge_M3_Output;
3175
-
}
3176
-
interface Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Input {
3177
-
/**
3178
-
* A text description of the image you want to generate.
3179
-
*/
3180
-
prompt: string;
3181
-
/**
3182
-
* The number of diffusion steps; higher values can improve quality but take longer.
3183
-
*/
3184
-
steps?: number;
3185
-
}
3186
-
interface Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Output {
3187
-
/**
3188
-
* The generated image in Base64 format.
3189
-
*/
3190
-
image?: string;
3191
-
}
3192
-
declare abstract class Base_Ai_Cf_Black_Forest_Labs_Flux_1_Schnell {
3193
-
inputs: Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Input;
3194
-
postProcessedOutputs: Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Output;
3195
-
}
3196
-
type Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Input = Prompt | Messages;
3197
-
interface Prompt {
3198
-
/**
3199
-
* The input text prompt for the model to generate a response.
3200
-
*/
3201
-
prompt: string;
3202
-
image?: number[] | (string & NonNullable<unknown>);
3203
-
/**
3204
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
3205
-
*/
3206
-
raw?: boolean;
3207
-
/**
3208
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
3209
-
*/
3210
-
stream?: boolean;
3211
-
/**
3212
-
* The maximum number of tokens to generate in the response.
3213
-
*/
3214
-
max_tokens?: number;
3215
-
/**
3216
-
* Controls the randomness of the output; higher values produce more random results.
3217
-
*/
3218
-
temperature?: number;
3219
-
/**
3220
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
3221
-
*/
3222
-
top_p?: number;
3223
-
/**
3224
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
3225
-
*/
3226
-
top_k?: number;
3227
-
/**
3228
-
* Random seed for reproducibility of the generation.
3229
-
*/
3230
-
seed?: number;
3231
-
/**
3232
-
* Penalty for repeated tokens; higher values discourage repetition.
3233
-
*/
3234
-
repetition_penalty?: number;
3235
-
/**
3236
-
* Decreases the likelihood of the model repeating the same lines verbatim.
3237
-
*/
3238
-
frequency_penalty?: number;
3239
-
/**
3240
-
* Increases the likelihood of the model introducing new topics.
3241
-
*/
3242
-
presence_penalty?: number;
3243
-
/**
3244
-
* Name of the LoRA (Low-Rank Adaptation) model to fine-tune the base model.
3245
-
*/
3246
-
lora?: string;
3247
-
}
3248
-
interface Messages {
3249
-
/**
3250
-
* An array of message objects representing the conversation history.
3251
-
*/
3252
-
messages: {
3253
-
/**
3254
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
3255
-
*/
3256
-
role?: string;
3257
-
/**
3258
-
* The tool call id. Must be supplied for tool calls for Mistral-3. If you don't know what to put here you can fall back to 000000001
3259
-
*/
3260
-
tool_call_id?: string;
3261
-
content?: string | {
3262
-
/**
3263
-
* Type of the content provided
3264
-
*/
3265
-
type?: string;
3266
-
text?: string;
3267
-
image_url?: {
3268
-
/**
3269
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
3270
-
*/
3271
-
url?: string;
3272
-
};
3273
-
}[] | {
3274
-
/**
3275
-
* Type of the content provided
3276
-
*/
3277
-
type?: string;
3278
-
text?: string;
3279
-
image_url?: {
3280
-
/**
3281
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
3282
-
*/
3283
-
url?: string;
3284
-
};
3285
-
};
3286
-
}[];
3287
-
image?: number[] | (string & NonNullable<unknown>);
3288
-
functions?: {
3289
-
name: string;
3290
-
code: string;
3291
-
}[];
3292
-
/**
3293
-
* A list of tools available for the assistant to use.
3294
-
*/
3295
-
tools?: ({
3296
-
/**
3297
-
* The name of the tool. More descriptive the better.
3298
-
*/
3299
-
name: string;
3300
-
/**
3301
-
* A brief description of what the tool does.
3302
-
*/
3303
-
description: string;
3304
-
/**
3305
-
* Schema defining the parameters accepted by the tool.
3306
-
*/
3307
-
parameters: {
3308
-
/**
3309
-
* The type of the parameters object (usually 'object').
3310
-
*/
3311
-
type: string;
3312
-
/**
3313
-
* List of required parameter names.
3314
-
*/
3315
-
required?: string[];
3316
-
/**
3317
-
* Definitions of each parameter.
3318
-
*/
3319
-
properties: {
3320
-
[k: string]: {
3321
-
/**
3322
-
* The data type of the parameter.
3323
-
*/
3324
-
type: string;
3325
-
/**
3326
-
* A description of the expected parameter.
3327
-
*/
3328
-
description: string;
3329
-
};
3330
-
};
3331
-
};
3332
-
} | {
3333
-
/**
3334
-
* Specifies the type of tool (e.g., 'function').
3335
-
*/
3336
-
type: string;
3337
-
/**
3338
-
* Details of the function tool.
3339
-
*/
3340
-
function: {
3341
-
/**
3342
-
* The name of the function.
3343
-
*/
3344
-
name: string;
3345
-
/**
3346
-
* A brief description of what the function does.
3347
-
*/
3348
-
description: string;
3349
-
/**
3350
-
* Schema defining the parameters accepted by the function.
3351
-
*/
3352
-
parameters: {
3353
-
/**
3354
-
* The type of the parameters object (usually 'object').
3355
-
*/
3356
-
type: string;
3357
-
/**
3358
-
* List of required parameter names.
3359
-
*/
3360
-
required?: string[];
3361
-
/**
3362
-
* Definitions of each parameter.
3363
-
*/
3364
-
properties: {
3365
-
[k: string]: {
3366
-
/**
3367
-
* The data type of the parameter.
3368
-
*/
3369
-
type: string;
3370
-
/**
3371
-
* A description of the expected parameter.
3372
-
*/
3373
-
description: string;
3374
-
};
3375
-
};
3376
-
};
3377
-
};
3378
-
})[];
3379
-
/**
3380
-
* If true, the response will be streamed back incrementally.
3381
-
*/
3382
-
stream?: boolean;
3383
-
/**
3384
-
* The maximum number of tokens to generate in the response.
3385
-
*/
3386
-
max_tokens?: number;
3387
-
/**
3388
-
* Controls the randomness of the output; higher values produce more random results.
3389
-
*/
3390
-
temperature?: number;
3391
-
/**
3392
-
* Controls the creativity of the AI's responses by adjusting how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
3393
-
*/
3394
-
top_p?: number;
3395
-
/**
3396
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
3397
-
*/
3398
-
top_k?: number;
3399
-
/**
3400
-
* Random seed for reproducibility of the generation.
3401
-
*/
3402
-
seed?: number;
3403
-
/**
3404
-
* Penalty for repeated tokens; higher values discourage repetition.
3405
-
*/
3406
-
repetition_penalty?: number;
3407
-
/**
3408
-
* Decreases the likelihood of the model repeating the same lines verbatim.
3409
-
*/
3410
-
frequency_penalty?: number;
3411
-
/**
3412
-
* Increases the likelihood of the model introducing new topics.
3413
-
*/
3414
-
presence_penalty?: number;
3415
-
}
3416
-
type Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Output = {
3417
-
/**
3418
-
* The generated text response from the model
3419
-
*/
3420
-
response?: string;
3421
-
/**
3422
-
* An array of tool calls requests made during the response generation
3423
-
*/
3424
-
tool_calls?: {
3425
-
/**
3426
-
* The arguments passed to be passed to the tool call request
3427
-
*/
3428
-
arguments?: object;
3429
-
/**
3430
-
* The name of the tool to be called
3431
-
*/
3432
-
name?: string;
3433
-
}[];
3434
-
};
3435
-
declare abstract class Base_Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct {
3436
-
inputs: Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Input;
3437
-
postProcessedOutputs: Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Output;
3438
-
}
3439
-
type Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Input = Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Prompt | Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Messages | AsyncBatch;
3440
-
interface Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Prompt {
3441
-
/**
3442
-
* The input text prompt for the model to generate a response.
3443
-
*/
3444
-
prompt: string;
3445
-
/**
3446
-
* Name of the LoRA (Low-Rank Adaptation) model to fine-tune the base model.
3447
-
*/
3448
-
lora?: string;
3449
-
response_format?: JSONMode;
3450
-
/**
3451
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
3452
-
*/
3453
-
raw?: boolean;
3454
-
/**
3455
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
3456
-
*/
3457
-
stream?: boolean;
3458
-
/**
3459
-
* The maximum number of tokens to generate in the response.
3460
-
*/
3461
-
max_tokens?: number;
3462
-
/**
3463
-
* Controls the randomness of the output; higher values produce more random results.
3464
-
*/
3465
-
temperature?: number;
3466
-
/**
3467
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
3468
-
*/
3469
-
top_p?: number;
3470
-
/**
3471
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
3472
-
*/
3473
-
top_k?: number;
3474
-
/**
3475
-
* Random seed for reproducibility of the generation.
3476
-
*/
3477
-
seed?: number;
3478
-
/**
3479
-
* Penalty for repeated tokens; higher values discourage repetition.
3480
-
*/
3481
-
repetition_penalty?: number;
3482
-
/**
3483
-
* Decreases the likelihood of the model repeating the same lines verbatim.
3484
-
*/
3485
-
frequency_penalty?: number;
3486
-
/**
3487
-
* Increases the likelihood of the model introducing new topics.
3488
-
*/
3489
-
presence_penalty?: number;
3490
-
}
3491
-
interface JSONMode {
3492
-
type?: "json_object" | "json_schema";
3493
-
json_schema?: unknown;
3494
-
}
3495
-
interface Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Messages {
3496
-
/**
3497
-
* An array of message objects representing the conversation history.
3498
-
*/
3499
-
messages: {
3500
-
/**
3501
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
3502
-
*/
3503
-
role: string;
3504
-
/**
3505
-
* The content of the message as a string.
3506
-
*/
3507
-
content: string;
3508
-
}[];
3509
-
functions?: {
3510
-
name: string;
3511
-
code: string;
3512
-
}[];
3513
-
/**
3514
-
* A list of tools available for the assistant to use.
3515
-
*/
3516
-
tools?: ({
3517
-
/**
3518
-
* The name of the tool. More descriptive the better.
3519
-
*/
3520
-
name: string;
3521
-
/**
3522
-
* A brief description of what the tool does.
3523
-
*/
3524
-
description: string;
3525
-
/**
3526
-
* Schema defining the parameters accepted by the tool.
3527
-
*/
3528
-
parameters: {
3529
-
/**
3530
-
* The type of the parameters object (usually 'object').
3531
-
*/
3532
-
type: string;
3533
-
/**
3534
-
* List of required parameter names.
3535
-
*/
3536
-
required?: string[];
3537
-
/**
3538
-
* Definitions of each parameter.
3539
-
*/
3540
-
properties: {
3541
-
[k: string]: {
3542
-
/**
3543
-
* The data type of the parameter.
3544
-
*/
3545
-
type: string;
3546
-
/**
3547
-
* A description of the expected parameter.
3548
-
*/
3549
-
description: string;
3550
-
};
3551
-
};
3552
-
};
3553
-
} | {
3554
-
/**
3555
-
* Specifies the type of tool (e.g., 'function').
3556
-
*/
3557
-
type: string;
3558
-
/**
3559
-
* Details of the function tool.
3560
-
*/
3561
-
function: {
3562
-
/**
3563
-
* The name of the function.
3564
-
*/
3565
-
name: string;
3566
-
/**
3567
-
* A brief description of what the function does.
3568
-
*/
3569
-
description: string;
3570
-
/**
3571
-
* Schema defining the parameters accepted by the function.
3572
-
*/
3573
-
parameters: {
3574
-
/**
3575
-
* The type of the parameters object (usually 'object').
3576
-
*/
3577
-
type: string;
3578
-
/**
3579
-
* List of required parameter names.
3580
-
*/
3581
-
required?: string[];
3582
-
/**
3583
-
* Definitions of each parameter.
3584
-
*/
3585
-
properties: {
3586
-
[k: string]: {
3587
-
/**
3588
-
* The data type of the parameter.
3589
-
*/
3590
-
type: string;
3591
-
/**
3592
-
* A description of the expected parameter.
3593
-
*/
3594
-
description: string;
3595
-
};
3596
-
};
3597
-
};
3598
-
};
3599
-
})[];
3600
-
response_format?: JSONMode;
3601
-
/**
3602
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
3603
-
*/
3604
-
raw?: boolean;
3605
-
/**
3606
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
3607
-
*/
3608
-
stream?: boolean;
3609
-
/**
3610
-
* The maximum number of tokens to generate in the response.
3611
-
*/
3612
-
max_tokens?: number;
3613
-
/**
3614
-
* Controls the randomness of the output; higher values produce more random results.
3615
-
*/
3616
-
temperature?: number;
3617
-
/**
3618
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
3619
-
*/
3620
-
top_p?: number;
3621
-
/**
3622
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
3623
-
*/
3624
-
top_k?: number;
3625
-
/**
3626
-
* Random seed for reproducibility of the generation.
3627
-
*/
3628
-
seed?: number;
3629
-
/**
3630
-
* Penalty for repeated tokens; higher values discourage repetition.
3631
-
*/
3632
-
repetition_penalty?: number;
3633
-
/**
3634
-
* Decreases the likelihood of the model repeating the same lines verbatim.
3635
-
*/
3636
-
frequency_penalty?: number;
3637
-
/**
3638
-
* Increases the likelihood of the model introducing new topics.
3639
-
*/
3640
-
presence_penalty?: number;
3641
-
}
3642
-
interface AsyncBatch {
3643
-
requests?: {
3644
-
/**
3645
-
* User-supplied reference. This field will be present in the response as well it can be used to reference the request and response. It's NOT validated to be unique.
3646
-
*/
3647
-
external_reference?: string;
3648
-
/**
3649
-
* Prompt for the text generation model
3650
-
*/
3651
-
prompt?: string;
3652
-
/**
3653
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
3654
-
*/
3655
-
stream?: boolean;
3656
-
/**
3657
-
* The maximum number of tokens to generate in the response.
3658
-
*/
3659
-
max_tokens?: number;
3660
-
/**
3661
-
* Controls the randomness of the output; higher values produce more random results.
3662
-
*/
3663
-
temperature?: number;
3664
-
/**
3665
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
3666
-
*/
3667
-
top_p?: number;
3668
-
/**
3669
-
* Random seed for reproducibility of the generation.
3670
-
*/
3671
-
seed?: number;
3672
-
/**
3673
-
* Penalty for repeated tokens; higher values discourage repetition.
3674
-
*/
3675
-
repetition_penalty?: number;
3676
-
/**
3677
-
* Decreases the likelihood of the model repeating the same lines verbatim.
3678
-
*/
3679
-
frequency_penalty?: number;
3680
-
/**
3681
-
* Increases the likelihood of the model introducing new topics.
3682
-
*/
3683
-
presence_penalty?: number;
3684
-
response_format?: JSONMode;
3685
-
}[];
3686
-
}
3687
-
type Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Output = {
3688
-
/**
3689
-
* The generated text response from the model
3690
-
*/
3691
-
response: string;
3692
-
/**
3693
-
* Usage statistics for the inference request
3694
-
*/
3695
-
usage?: {
3696
-
/**
3697
-
* Total number of tokens in input
3698
-
*/
3699
-
prompt_tokens?: number;
3700
-
/**
3701
-
* Total number of tokens in output
3702
-
*/
3703
-
completion_tokens?: number;
3704
-
/**
3705
-
* Total number of input and output tokens
3706
-
*/
3707
-
total_tokens?: number;
3708
-
};
3709
-
/**
3710
-
* An array of tool calls requests made during the response generation
3711
-
*/
3712
-
tool_calls?: {
3713
-
/**
3714
-
* The arguments passed to be passed to the tool call request
3715
-
*/
3716
-
arguments?: object;
3717
-
/**
3718
-
* The name of the tool to be called
3719
-
*/
3720
-
name?: string;
3721
-
}[];
3722
-
} | AsyncResponse;
3723
-
declare abstract class Base_Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast {
3724
-
inputs: Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Input;
3725
-
postProcessedOutputs: Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Output;
3726
-
}
3727
-
interface Ai_Cf_Meta_Llama_Guard_3_8B_Input {
3728
-
/**
3729
-
* An array of message objects representing the conversation history.
3730
-
*/
3731
-
messages: {
3732
-
/**
3733
-
* The role of the message sender must alternate between 'user' and 'assistant'.
3734
-
*/
3735
-
role: "user" | "assistant";
3736
-
/**
3737
-
* The content of the message as a string.
3738
-
*/
3739
-
content: string;
3740
-
}[];
3741
-
/**
3742
-
* The maximum number of tokens to generate in the response.
3743
-
*/
3744
-
max_tokens?: number;
3745
-
/**
3746
-
* Controls the randomness of the output; higher values produce more random results.
3747
-
*/
3748
-
temperature?: number;
3749
-
/**
3750
-
* Dictate the output format of the generated response.
3751
-
*/
3752
-
response_format?: {
3753
-
/**
3754
-
* Set to json_object to process and output generated text as JSON.
3755
-
*/
3756
-
type?: string;
3757
-
};
3758
-
}
3759
-
interface Ai_Cf_Meta_Llama_Guard_3_8B_Output {
3760
-
response?: string | {
3761
-
/**
3762
-
* Whether the conversation is safe or not.
3763
-
*/
3764
-
safe?: boolean;
3765
-
/**
3766
-
* A list of what hazard categories predicted for the conversation, if the conversation is deemed unsafe.
3767
-
*/
3768
-
categories?: string[];
3769
-
};
3770
-
/**
3771
-
* Usage statistics for the inference request
3772
-
*/
3773
-
usage?: {
3774
-
/**
3775
-
* Total number of tokens in input
3776
-
*/
3777
-
prompt_tokens?: number;
3778
-
/**
3779
-
* Total number of tokens in output
3780
-
*/
3781
-
completion_tokens?: number;
3782
-
/**
3783
-
* Total number of input and output tokens
3784
-
*/
3785
-
total_tokens?: number;
3786
-
};
3787
-
}
3788
-
declare abstract class Base_Ai_Cf_Meta_Llama_Guard_3_8B {
3789
-
inputs: Ai_Cf_Meta_Llama_Guard_3_8B_Input;
3790
-
postProcessedOutputs: Ai_Cf_Meta_Llama_Guard_3_8B_Output;
3791
-
}
3792
-
interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
3793
-
/**
3794
-
* A query you wish to perform against the provided contexts.
3795
-
*/
3796
-
query: string;
3797
-
/**
3798
-
* Number of returned results starting with the best score.
3799
-
*/
3800
-
top_k?: number;
3801
-
/**
3802
-
* List of provided contexts. Note that the index in this array is important, as the response will refer to it.
3803
-
*/
3804
-
contexts: {
3805
-
/**
3806
-
* One of the provided context content
3807
-
*/
3808
-
text?: string;
3809
-
}[];
3810
-
}
3811
-
interface Ai_Cf_Baai_Bge_Reranker_Base_Output {
3812
-
response?: {
3813
-
/**
3814
-
* Index of the context in the request
3815
-
*/
3816
-
id?: number;
3817
-
/**
3818
-
* Score of the context under the index.
3819
-
*/
3820
-
score?: number;
3821
-
}[];
3822
-
}
3823
-
declare abstract class Base_Ai_Cf_Baai_Bge_Reranker_Base {
3824
-
inputs: Ai_Cf_Baai_Bge_Reranker_Base_Input;
3825
-
postProcessedOutputs: Ai_Cf_Baai_Bge_Reranker_Base_Output;
3826
-
}
3827
-
type Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Input = Qwen2_5_Coder_32B_Instruct_Prompt | Qwen2_5_Coder_32B_Instruct_Messages;
3828
-
interface Qwen2_5_Coder_32B_Instruct_Prompt {
3829
-
/**
3830
-
* The input text prompt for the model to generate a response.
3831
-
*/
3832
-
prompt: string;
3833
-
/**
3834
-
* Name of the LoRA (Low-Rank Adaptation) model to fine-tune the base model.
3835
-
*/
3836
-
lora?: string;
3837
-
response_format?: JSONMode;
3838
-
/**
3839
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
3840
-
*/
3841
-
raw?: boolean;
3842
-
/**
3843
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
3844
-
*/
3845
-
stream?: boolean;
3846
-
/**
3847
-
* The maximum number of tokens to generate in the response.
3848
-
*/
3849
-
max_tokens?: number;
3850
-
/**
3851
-
* Controls the randomness of the output; higher values produce more random results.
3852
-
*/
3853
-
temperature?: number;
3854
-
/**
3855
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
3856
-
*/
3857
-
top_p?: number;
3858
-
/**
3859
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
3860
-
*/
3861
-
top_k?: number;
3862
-
/**
3863
-
* Random seed for reproducibility of the generation.
3864
-
*/
3865
-
seed?: number;
3866
-
/**
3867
-
* Penalty for repeated tokens; higher values discourage repetition.
3868
-
*/
3869
-
repetition_penalty?: number;
3870
-
/**
3871
-
* Decreases the likelihood of the model repeating the same lines verbatim.
3872
-
*/
3873
-
frequency_penalty?: number;
3874
-
/**
3875
-
* Increases the likelihood of the model introducing new topics.
3876
-
*/
3877
-
presence_penalty?: number;
3878
-
}
3879
-
interface Qwen2_5_Coder_32B_Instruct_Messages {
3880
-
/**
3881
-
* An array of message objects representing the conversation history.
3882
-
*/
3883
-
messages: {
3884
-
/**
3885
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
3886
-
*/
3887
-
role: string;
3888
-
/**
3889
-
* The content of the message as a string.
3890
-
*/
3891
-
content: string;
3892
-
}[];
3893
-
functions?: {
3894
-
name: string;
3895
-
code: string;
3896
-
}[];
3897
-
/**
3898
-
* A list of tools available for the assistant to use.
3899
-
*/
3900
-
tools?: ({
3901
-
/**
3902
-
* The name of the tool. More descriptive the better.
3903
-
*/
3904
-
name: string;
3905
-
/**
3906
-
* A brief description of what the tool does.
3907
-
*/
3908
-
description: string;
3909
-
/**
3910
-
* Schema defining the parameters accepted by the tool.
3911
-
*/
3912
-
parameters: {
3913
-
/**
3914
-
* The type of the parameters object (usually 'object').
3915
-
*/
3916
-
type: string;
3917
-
/**
3918
-
* List of required parameter names.
3919
-
*/
3920
-
required?: string[];
3921
-
/**
3922
-
* Definitions of each parameter.
3923
-
*/
3924
-
properties: {
3925
-
[k: string]: {
3926
-
/**
3927
-
* The data type of the parameter.
3928
-
*/
3929
-
type: string;
3930
-
/**
3931
-
* A description of the expected parameter.
3932
-
*/
3933
-
description: string;
3934
-
};
3935
-
};
3936
-
};
3937
-
} | {
3938
-
/**
3939
-
* Specifies the type of tool (e.g., 'function').
3940
-
*/
3941
-
type: string;
3942
-
/**
3943
-
* Details of the function tool.
3944
-
*/
3945
-
function: {
3946
-
/**
3947
-
* The name of the function.
3948
-
*/
3949
-
name: string;
3950
-
/**
3951
-
* A brief description of what the function does.
3952
-
*/
3953
-
description: string;
3954
-
/**
3955
-
* Schema defining the parameters accepted by the function.
3956
-
*/
3957
-
parameters: {
3958
-
/**
3959
-
* The type of the parameters object (usually 'object').
3960
-
*/
3961
-
type: string;
3962
-
/**
3963
-
* List of required parameter names.
3964
-
*/
3965
-
required?: string[];
3966
-
/**
3967
-
* Definitions of each parameter.
3968
-
*/
3969
-
properties: {
3970
-
[k: string]: {
3971
-
/**
3972
-
* The data type of the parameter.
3973
-
*/
3974
-
type: string;
3975
-
/**
3976
-
* A description of the expected parameter.
3977
-
*/
3978
-
description: string;
3979
-
};
3980
-
};
3981
-
};
3982
-
};
3983
-
})[];
3984
-
response_format?: JSONMode;
3985
-
/**
3986
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
3987
-
*/
3988
-
raw?: boolean;
3989
-
/**
3990
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
3991
-
*/
3992
-
stream?: boolean;
3993
-
/**
3994
-
* The maximum number of tokens to generate in the response.
3995
-
*/
3996
-
max_tokens?: number;
3997
-
/**
3998
-
* Controls the randomness of the output; higher values produce more random results.
3999
-
*/
4000
-
temperature?: number;
4001
-
/**
4002
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4003
-
*/
4004
-
top_p?: number;
4005
-
/**
4006
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4007
-
*/
4008
-
top_k?: number;
4009
-
/**
4010
-
* Random seed for reproducibility of the generation.
4011
-
*/
4012
-
seed?: number;
4013
-
/**
4014
-
* Penalty for repeated tokens; higher values discourage repetition.
4015
-
*/
4016
-
repetition_penalty?: number;
4017
-
/**
4018
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4019
-
*/
4020
-
frequency_penalty?: number;
4021
-
/**
4022
-
* Increases the likelihood of the model introducing new topics.
4023
-
*/
4024
-
presence_penalty?: number;
4025
-
}
4026
-
type Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Output = {
4027
-
/**
4028
-
* The generated text response from the model
4029
-
*/
4030
-
response: string;
4031
-
/**
4032
-
* Usage statistics for the inference request
4033
-
*/
4034
-
usage?: {
4035
-
/**
4036
-
* Total number of tokens in input
4037
-
*/
4038
-
prompt_tokens?: number;
4039
-
/**
4040
-
* Total number of tokens in output
4041
-
*/
4042
-
completion_tokens?: number;
4043
-
/**
4044
-
* Total number of input and output tokens
4045
-
*/
4046
-
total_tokens?: number;
4047
-
};
4048
-
/**
4049
-
* An array of tool calls requests made during the response generation
4050
-
*/
4051
-
tool_calls?: {
4052
-
/**
4053
-
* The arguments passed to be passed to the tool call request
4054
-
*/
4055
-
arguments?: object;
4056
-
/**
4057
-
* The name of the tool to be called
4058
-
*/
4059
-
name?: string;
4060
-
}[];
4061
-
};
4062
-
declare abstract class Base_Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct {
4063
-
inputs: Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Input;
4064
-
postProcessedOutputs: Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Output;
4065
-
}
4066
-
type Ai_Cf_Qwen_Qwq_32B_Input = Qwen_Qwq_32B_Prompt | Qwen_Qwq_32B_Messages;
4067
-
interface Qwen_Qwq_32B_Prompt {
4068
-
/**
4069
-
* The input text prompt for the model to generate a response.
4070
-
*/
4071
-
prompt: string;
4072
-
/**
4073
-
* JSON schema that should be fulfilled for the response.
4074
-
*/
4075
-
guided_json?: object;
4076
-
/**
4077
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4078
-
*/
4079
-
raw?: boolean;
4080
-
/**
4081
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4082
-
*/
4083
-
stream?: boolean;
4084
-
/**
4085
-
* The maximum number of tokens to generate in the response.
4086
-
*/
4087
-
max_tokens?: number;
4088
-
/**
4089
-
* Controls the randomness of the output; higher values produce more random results.
4090
-
*/
4091
-
temperature?: number;
4092
-
/**
4093
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4094
-
*/
4095
-
top_p?: number;
4096
-
/**
4097
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4098
-
*/
4099
-
top_k?: number;
4100
-
/**
4101
-
* Random seed for reproducibility of the generation.
4102
-
*/
4103
-
seed?: number;
4104
-
/**
4105
-
* Penalty for repeated tokens; higher values discourage repetition.
4106
-
*/
4107
-
repetition_penalty?: number;
4108
-
/**
4109
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4110
-
*/
4111
-
frequency_penalty?: number;
4112
-
/**
4113
-
* Increases the likelihood of the model introducing new topics.
4114
-
*/
4115
-
presence_penalty?: number;
4116
-
}
4117
-
interface Qwen_Qwq_32B_Messages {
4118
-
/**
4119
-
* An array of message objects representing the conversation history.
4120
-
*/
4121
-
messages: {
4122
-
/**
4123
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
4124
-
*/
4125
-
role?: string;
4126
-
/**
4127
-
* The tool call id. Must be supplied for tool calls for Mistral-3. If you don't know what to put here you can fall back to 000000001
4128
-
*/
4129
-
tool_call_id?: string;
4130
-
content?: string | {
4131
-
/**
4132
-
* Type of the content provided
4133
-
*/
4134
-
type?: string;
4135
-
text?: string;
4136
-
image_url?: {
4137
-
/**
4138
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4139
-
*/
4140
-
url?: string;
4141
-
};
4142
-
}[] | {
4143
-
/**
4144
-
* Type of the content provided
4145
-
*/
4146
-
type?: string;
4147
-
text?: string;
4148
-
image_url?: {
4149
-
/**
4150
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4151
-
*/
4152
-
url?: string;
4153
-
};
4154
-
};
4155
-
}[];
4156
-
functions?: {
4157
-
name: string;
4158
-
code: string;
4159
-
}[];
4160
-
/**
4161
-
* A list of tools available for the assistant to use.
4162
-
*/
4163
-
tools?: ({
4164
-
/**
4165
-
* The name of the tool. More descriptive the better.
4166
-
*/
4167
-
name: string;
4168
-
/**
4169
-
* A brief description of what the tool does.
4170
-
*/
4171
-
description: string;
4172
-
/**
4173
-
* Schema defining the parameters accepted by the tool.
4174
-
*/
4175
-
parameters: {
4176
-
/**
4177
-
* The type of the parameters object (usually 'object').
4178
-
*/
4179
-
type: string;
4180
-
/**
4181
-
* List of required parameter names.
4182
-
*/
4183
-
required?: string[];
4184
-
/**
4185
-
* Definitions of each parameter.
4186
-
*/
4187
-
properties: {
4188
-
[k: string]: {
4189
-
/**
4190
-
* The data type of the parameter.
4191
-
*/
4192
-
type: string;
4193
-
/**
4194
-
* A description of the expected parameter.
4195
-
*/
4196
-
description: string;
4197
-
};
4198
-
};
4199
-
};
4200
-
} | {
4201
-
/**
4202
-
* Specifies the type of tool (e.g., 'function').
4203
-
*/
4204
-
type: string;
4205
-
/**
4206
-
* Details of the function tool.
4207
-
*/
4208
-
function: {
4209
-
/**
4210
-
* The name of the function.
4211
-
*/
4212
-
name: string;
4213
-
/**
4214
-
* A brief description of what the function does.
4215
-
*/
4216
-
description: string;
4217
-
/**
4218
-
* Schema defining the parameters accepted by the function.
4219
-
*/
4220
-
parameters: {
4221
-
/**
4222
-
* The type of the parameters object (usually 'object').
4223
-
*/
4224
-
type: string;
4225
-
/**
4226
-
* List of required parameter names.
4227
-
*/
4228
-
required?: string[];
4229
-
/**
4230
-
* Definitions of each parameter.
4231
-
*/
4232
-
properties: {
4233
-
[k: string]: {
4234
-
/**
4235
-
* The data type of the parameter.
4236
-
*/
4237
-
type: string;
4238
-
/**
4239
-
* A description of the expected parameter.
4240
-
*/
4241
-
description: string;
4242
-
};
4243
-
};
4244
-
};
4245
-
};
4246
-
})[];
4247
-
/**
4248
-
* JSON schema that should be fufilled for the response.
4249
-
*/
4250
-
guided_json?: object;
4251
-
/**
4252
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4253
-
*/
4254
-
raw?: boolean;
4255
-
/**
4256
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4257
-
*/
4258
-
stream?: boolean;
4259
-
/**
4260
-
* The maximum number of tokens to generate in the response.
4261
-
*/
4262
-
max_tokens?: number;
4263
-
/**
4264
-
* Controls the randomness of the output; higher values produce more random results.
4265
-
*/
4266
-
temperature?: number;
4267
-
/**
4268
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4269
-
*/
4270
-
top_p?: number;
4271
-
/**
4272
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4273
-
*/
4274
-
top_k?: number;
4275
-
/**
4276
-
* Random seed for reproducibility of the generation.
4277
-
*/
4278
-
seed?: number;
4279
-
/**
4280
-
* Penalty for repeated tokens; higher values discourage repetition.
4281
-
*/
4282
-
repetition_penalty?: number;
4283
-
/**
4284
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4285
-
*/
4286
-
frequency_penalty?: number;
4287
-
/**
4288
-
* Increases the likelihood of the model introducing new topics.
4289
-
*/
4290
-
presence_penalty?: number;
4291
-
}
4292
-
type Ai_Cf_Qwen_Qwq_32B_Output = {
4293
-
/**
4294
-
* The generated text response from the model
4295
-
*/
4296
-
response: string;
4297
-
/**
4298
-
* Usage statistics for the inference request
4299
-
*/
4300
-
usage?: {
4301
-
/**
4302
-
* Total number of tokens in input
4303
-
*/
4304
-
prompt_tokens?: number;
4305
-
/**
4306
-
* Total number of tokens in output
4307
-
*/
4308
-
completion_tokens?: number;
4309
-
/**
4310
-
* Total number of input and output tokens
4311
-
*/
4312
-
total_tokens?: number;
4313
-
};
4314
-
/**
4315
-
* An array of tool calls requests made during the response generation
4316
-
*/
4317
-
tool_calls?: {
4318
-
/**
4319
-
* The arguments passed to be passed to the tool call request
4320
-
*/
4321
-
arguments?: object;
4322
-
/**
4323
-
* The name of the tool to be called
4324
-
*/
4325
-
name?: string;
4326
-
}[];
4327
-
};
4328
-
declare abstract class Base_Ai_Cf_Qwen_Qwq_32B {
4329
-
inputs: Ai_Cf_Qwen_Qwq_32B_Input;
4330
-
postProcessedOutputs: Ai_Cf_Qwen_Qwq_32B_Output;
4331
-
}
4332
-
type Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Input = Mistral_Small_3_1_24B_Instruct_Prompt | Mistral_Small_3_1_24B_Instruct_Messages;
4333
-
interface Mistral_Small_3_1_24B_Instruct_Prompt {
4334
-
/**
4335
-
* The input text prompt for the model to generate a response.
4336
-
*/
4337
-
prompt: string;
4338
-
/**
4339
-
* JSON schema that should be fulfilled for the response.
4340
-
*/
4341
-
guided_json?: object;
4342
-
/**
4343
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4344
-
*/
4345
-
raw?: boolean;
4346
-
/**
4347
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4348
-
*/
4349
-
stream?: boolean;
4350
-
/**
4351
-
* The maximum number of tokens to generate in the response.
4352
-
*/
4353
-
max_tokens?: number;
4354
-
/**
4355
-
* Controls the randomness of the output; higher values produce more random results.
4356
-
*/
4357
-
temperature?: number;
4358
-
/**
4359
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4360
-
*/
4361
-
top_p?: number;
4362
-
/**
4363
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4364
-
*/
4365
-
top_k?: number;
4366
-
/**
4367
-
* Random seed for reproducibility of the generation.
4368
-
*/
4369
-
seed?: number;
4370
-
/**
4371
-
* Penalty for repeated tokens; higher values discourage repetition.
4372
-
*/
4373
-
repetition_penalty?: number;
4374
-
/**
4375
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4376
-
*/
4377
-
frequency_penalty?: number;
4378
-
/**
4379
-
* Increases the likelihood of the model introducing new topics.
4380
-
*/
4381
-
presence_penalty?: number;
4382
-
}
4383
-
interface Mistral_Small_3_1_24B_Instruct_Messages {
4384
-
/**
4385
-
* An array of message objects representing the conversation history.
4386
-
*/
4387
-
messages: {
4388
-
/**
4389
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
4390
-
*/
4391
-
role?: string;
4392
-
/**
4393
-
* The tool call id. Must be supplied for tool calls for Mistral-3. If you don't know what to put here you can fall back to 000000001
4394
-
*/
4395
-
tool_call_id?: string;
4396
-
content?: string | {
4397
-
/**
4398
-
* Type of the content provided
4399
-
*/
4400
-
type?: string;
4401
-
text?: string;
4402
-
image_url?: {
4403
-
/**
4404
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4405
-
*/
4406
-
url?: string;
4407
-
};
4408
-
}[] | {
4409
-
/**
4410
-
* Type of the content provided
4411
-
*/
4412
-
type?: string;
4413
-
text?: string;
4414
-
image_url?: {
4415
-
/**
4416
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4417
-
*/
4418
-
url?: string;
4419
-
};
4420
-
};
4421
-
}[];
4422
-
functions?: {
4423
-
name: string;
4424
-
code: string;
4425
-
}[];
4426
-
/**
4427
-
* A list of tools available for the assistant to use.
4428
-
*/
4429
-
tools?: ({
4430
-
/**
4431
-
* The name of the tool. More descriptive the better.
4432
-
*/
4433
-
name: string;
4434
-
/**
4435
-
* A brief description of what the tool does.
4436
-
*/
4437
-
description: string;
4438
-
/**
4439
-
* Schema defining the parameters accepted by the tool.
4440
-
*/
4441
-
parameters: {
4442
-
/**
4443
-
* The type of the parameters object (usually 'object').
4444
-
*/
4445
-
type: string;
4446
-
/**
4447
-
* List of required parameter names.
4448
-
*/
4449
-
required?: string[];
4450
-
/**
4451
-
* Definitions of each parameter.
4452
-
*/
4453
-
properties: {
4454
-
[k: string]: {
4455
-
/**
4456
-
* The data type of the parameter.
4457
-
*/
4458
-
type: string;
4459
-
/**
4460
-
* A description of the expected parameter.
4461
-
*/
4462
-
description: string;
4463
-
};
4464
-
};
4465
-
};
4466
-
} | {
4467
-
/**
4468
-
* Specifies the type of tool (e.g., 'function').
4469
-
*/
4470
-
type: string;
4471
-
/**
4472
-
* Details of the function tool.
4473
-
*/
4474
-
function: {
4475
-
/**
4476
-
* The name of the function.
4477
-
*/
4478
-
name: string;
4479
-
/**
4480
-
* A brief description of what the function does.
4481
-
*/
4482
-
description: string;
4483
-
/**
4484
-
* Schema defining the parameters accepted by the function.
4485
-
*/
4486
-
parameters: {
4487
-
/**
4488
-
* The type of the parameters object (usually 'object').
4489
-
*/
4490
-
type: string;
4491
-
/**
4492
-
* List of required parameter names.
4493
-
*/
4494
-
required?: string[];
4495
-
/**
4496
-
* Definitions of each parameter.
4497
-
*/
4498
-
properties: {
4499
-
[k: string]: {
4500
-
/**
4501
-
* The data type of the parameter.
4502
-
*/
4503
-
type: string;
4504
-
/**
4505
-
* A description of the expected parameter.
4506
-
*/
4507
-
description: string;
4508
-
};
4509
-
};
4510
-
};
4511
-
};
4512
-
})[];
4513
-
/**
4514
-
* JSON schema that should be fufilled for the response.
4515
-
*/
4516
-
guided_json?: object;
4517
-
/**
4518
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4519
-
*/
4520
-
raw?: boolean;
4521
-
/**
4522
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4523
-
*/
4524
-
stream?: boolean;
4525
-
/**
4526
-
* The maximum number of tokens to generate in the response.
4527
-
*/
4528
-
max_tokens?: number;
4529
-
/**
4530
-
* Controls the randomness of the output; higher values produce more random results.
4531
-
*/
4532
-
temperature?: number;
4533
-
/**
4534
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4535
-
*/
4536
-
top_p?: number;
4537
-
/**
4538
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4539
-
*/
4540
-
top_k?: number;
4541
-
/**
4542
-
* Random seed for reproducibility of the generation.
4543
-
*/
4544
-
seed?: number;
4545
-
/**
4546
-
* Penalty for repeated tokens; higher values discourage repetition.
4547
-
*/
4548
-
repetition_penalty?: number;
4549
-
/**
4550
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4551
-
*/
4552
-
frequency_penalty?: number;
4553
-
/**
4554
-
* Increases the likelihood of the model introducing new topics.
4555
-
*/
4556
-
presence_penalty?: number;
4557
-
}
4558
-
type Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Output = {
4559
-
/**
4560
-
* The generated text response from the model
4561
-
*/
4562
-
response: string;
4563
-
/**
4564
-
* Usage statistics for the inference request
4565
-
*/
4566
-
usage?: {
4567
-
/**
4568
-
* Total number of tokens in input
4569
-
*/
4570
-
prompt_tokens?: number;
4571
-
/**
4572
-
* Total number of tokens in output
4573
-
*/
4574
-
completion_tokens?: number;
4575
-
/**
4576
-
* Total number of input and output tokens
4577
-
*/
4578
-
total_tokens?: number;
4579
-
};
4580
-
/**
4581
-
* An array of tool calls requests made during the response generation
4582
-
*/
4583
-
tool_calls?: {
4584
-
/**
4585
-
* The arguments passed to be passed to the tool call request
4586
-
*/
4587
-
arguments?: object;
4588
-
/**
4589
-
* The name of the tool to be called
4590
-
*/
4591
-
name?: string;
4592
-
}[];
4593
-
};
4594
-
declare abstract class Base_Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct {
4595
-
inputs: Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Input;
4596
-
postProcessedOutputs: Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Output;
4597
-
}
4598
-
type Ai_Cf_Google_Gemma_3_12B_It_Input = Google_Gemma_3_12B_It_Prompt | Google_Gemma_3_12B_It_Messages;
4599
-
interface Google_Gemma_3_12B_It_Prompt {
4600
-
/**
4601
-
* The input text prompt for the model to generate a response.
4602
-
*/
4603
-
prompt: string;
4604
-
/**
4605
-
* JSON schema that should be fufilled for the response.
4606
-
*/
4607
-
guided_json?: object;
4608
-
/**
4609
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4610
-
*/
4611
-
raw?: boolean;
4612
-
/**
4613
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4614
-
*/
4615
-
stream?: boolean;
4616
-
/**
4617
-
* The maximum number of tokens to generate in the response.
4618
-
*/
4619
-
max_tokens?: number;
4620
-
/**
4621
-
* Controls the randomness of the output; higher values produce more random results.
4622
-
*/
4623
-
temperature?: number;
4624
-
/**
4625
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4626
-
*/
4627
-
top_p?: number;
4628
-
/**
4629
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4630
-
*/
4631
-
top_k?: number;
4632
-
/**
4633
-
* Random seed for reproducibility of the generation.
4634
-
*/
4635
-
seed?: number;
4636
-
/**
4637
-
* Penalty for repeated tokens; higher values discourage repetition.
4638
-
*/
4639
-
repetition_penalty?: number;
4640
-
/**
4641
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4642
-
*/
4643
-
frequency_penalty?: number;
4644
-
/**
4645
-
* Increases the likelihood of the model introducing new topics.
4646
-
*/
4647
-
presence_penalty?: number;
4648
-
}
4649
-
interface Google_Gemma_3_12B_It_Messages {
4650
-
/**
4651
-
* An array of message objects representing the conversation history.
4652
-
*/
4653
-
messages: {
4654
-
/**
4655
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
4656
-
*/
4657
-
role?: string;
4658
-
content?: string | {
4659
-
/**
4660
-
* Type of the content provided
4661
-
*/
4662
-
type?: string;
4663
-
text?: string;
4664
-
image_url?: {
4665
-
/**
4666
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4667
-
*/
4668
-
url?: string;
4669
-
};
4670
-
}[] | {
4671
-
/**
4672
-
* Type of the content provided
4673
-
*/
4674
-
type?: string;
4675
-
text?: string;
4676
-
image_url?: {
4677
-
/**
4678
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4679
-
*/
4680
-
url?: string;
4681
-
};
4682
-
};
4683
-
}[];
4684
-
functions?: {
4685
-
name: string;
4686
-
code: string;
4687
-
}[];
4688
-
/**
4689
-
* A list of tools available for the assistant to use.
4690
-
*/
4691
-
tools?: ({
4692
-
/**
4693
-
* The name of the tool. More descriptive the better.
4694
-
*/
4695
-
name: string;
4696
-
/**
4697
-
* A brief description of what the tool does.
4698
-
*/
4699
-
description: string;
4700
-
/**
4701
-
* Schema defining the parameters accepted by the tool.
4702
-
*/
4703
-
parameters: {
4704
-
/**
4705
-
* The type of the parameters object (usually 'object').
4706
-
*/
4707
-
type: string;
4708
-
/**
4709
-
* List of required parameter names.
4710
-
*/
4711
-
required?: string[];
4712
-
/**
4713
-
* Definitions of each parameter.
4714
-
*/
4715
-
properties: {
4716
-
[k: string]: {
4717
-
/**
4718
-
* The data type of the parameter.
4719
-
*/
4720
-
type: string;
4721
-
/**
4722
-
* A description of the expected parameter.
4723
-
*/
4724
-
description: string;
4725
-
};
4726
-
};
4727
-
};
4728
-
} | {
4729
-
/**
4730
-
* Specifies the type of tool (e.g., 'function').
4731
-
*/
4732
-
type: string;
4733
-
/**
4734
-
* Details of the function tool.
4735
-
*/
4736
-
function: {
4737
-
/**
4738
-
* The name of the function.
4739
-
*/
4740
-
name: string;
4741
-
/**
4742
-
* A brief description of what the function does.
4743
-
*/
4744
-
description: string;
4745
-
/**
4746
-
* Schema defining the parameters accepted by the function.
4747
-
*/
4748
-
parameters: {
4749
-
/**
4750
-
* The type of the parameters object (usually 'object').
4751
-
*/
4752
-
type: string;
4753
-
/**
4754
-
* List of required parameter names.
4755
-
*/
4756
-
required?: string[];
4757
-
/**
4758
-
* Definitions of each parameter.
4759
-
*/
4760
-
properties: {
4761
-
[k: string]: {
4762
-
/**
4763
-
* The data type of the parameter.
4764
-
*/
4765
-
type: string;
4766
-
/**
4767
-
* A description of the expected parameter.
4768
-
*/
4769
-
description: string;
4770
-
};
4771
-
};
4772
-
};
4773
-
};
4774
-
})[];
4775
-
/**
4776
-
* JSON schema that should be fufilled for the response.
4777
-
*/
4778
-
guided_json?: object;
4779
-
/**
4780
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4781
-
*/
4782
-
raw?: boolean;
4783
-
/**
4784
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4785
-
*/
4786
-
stream?: boolean;
4787
-
/**
4788
-
* The maximum number of tokens to generate in the response.
4789
-
*/
4790
-
max_tokens?: number;
4791
-
/**
4792
-
* Controls the randomness of the output; higher values produce more random results.
4793
-
*/
4794
-
temperature?: number;
4795
-
/**
4796
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4797
-
*/
4798
-
top_p?: number;
4799
-
/**
4800
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4801
-
*/
4802
-
top_k?: number;
4803
-
/**
4804
-
* Random seed for reproducibility of the generation.
4805
-
*/
4806
-
seed?: number;
4807
-
/**
4808
-
* Penalty for repeated tokens; higher values discourage repetition.
4809
-
*/
4810
-
repetition_penalty?: number;
4811
-
/**
4812
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4813
-
*/
4814
-
frequency_penalty?: number;
4815
-
/**
4816
-
* Increases the likelihood of the model introducing new topics.
4817
-
*/
4818
-
presence_penalty?: number;
4819
-
}
4820
-
type Ai_Cf_Google_Gemma_3_12B_It_Output = {
4821
-
/**
4822
-
* The generated text response from the model
4823
-
*/
4824
-
response: string;
4825
-
/**
4826
-
* Usage statistics for the inference request
4827
-
*/
4828
-
usage?: {
4829
-
/**
4830
-
* Total number of tokens in input
4831
-
*/
4832
-
prompt_tokens?: number;
4833
-
/**
4834
-
* Total number of tokens in output
4835
-
*/
4836
-
completion_tokens?: number;
4837
-
/**
4838
-
* Total number of input and output tokens
4839
-
*/
4840
-
total_tokens?: number;
4841
-
};
4842
-
/**
4843
-
* An array of tool calls requests made during the response generation
4844
-
*/
4845
-
tool_calls?: {
4846
-
/**
4847
-
* The arguments passed to be passed to the tool call request
4848
-
*/
4849
-
arguments?: object;
4850
-
/**
4851
-
* The name of the tool to be called
4852
-
*/
4853
-
name?: string;
4854
-
}[];
4855
-
};
4856
-
declare abstract class Base_Ai_Cf_Google_Gemma_3_12B_It {
4857
-
inputs: Ai_Cf_Google_Gemma_3_12B_It_Input;
4858
-
postProcessedOutputs: Ai_Cf_Google_Gemma_3_12B_It_Output;
4859
-
}
4860
-
type Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Input = Ai_Cf_Meta_Llama_4_Prompt | Ai_Cf_Meta_Llama_4_Messages;
4861
-
interface Ai_Cf_Meta_Llama_4_Prompt {
4862
-
/**
4863
-
* The input text prompt for the model to generate a response.
4864
-
*/
4865
-
prompt: string;
4866
-
/**
4867
-
* JSON schema that should be fulfilled for the response.
4868
-
*/
4869
-
guided_json?: object;
4870
-
response_format?: JSONMode;
4871
-
/**
4872
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
4873
-
*/
4874
-
raw?: boolean;
4875
-
/**
4876
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
4877
-
*/
4878
-
stream?: boolean;
4879
-
/**
4880
-
* The maximum number of tokens to generate in the response.
4881
-
*/
4882
-
max_tokens?: number;
4883
-
/**
4884
-
* Controls the randomness of the output; higher values produce more random results.
4885
-
*/
4886
-
temperature?: number;
4887
-
/**
4888
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
4889
-
*/
4890
-
top_p?: number;
4891
-
/**
4892
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
4893
-
*/
4894
-
top_k?: number;
4895
-
/**
4896
-
* Random seed for reproducibility of the generation.
4897
-
*/
4898
-
seed?: number;
4899
-
/**
4900
-
* Penalty for repeated tokens; higher values discourage repetition.
4901
-
*/
4902
-
repetition_penalty?: number;
4903
-
/**
4904
-
* Decreases the likelihood of the model repeating the same lines verbatim.
4905
-
*/
4906
-
frequency_penalty?: number;
4907
-
/**
4908
-
* Increases the likelihood of the model introducing new topics.
4909
-
*/
4910
-
presence_penalty?: number;
4911
-
}
4912
-
interface Ai_Cf_Meta_Llama_4_Messages {
4913
-
/**
4914
-
* An array of message objects representing the conversation history.
4915
-
*/
4916
-
messages: {
4917
-
/**
4918
-
* The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool').
4919
-
*/
4920
-
role?: string;
4921
-
/**
4922
-
* The tool call id. If you don't know what to put here you can fall back to 000000001
4923
-
*/
4924
-
tool_call_id?: string;
4925
-
content?: string | {
4926
-
/**
4927
-
* Type of the content provided
4928
-
*/
4929
-
type?: string;
4930
-
text?: string;
4931
-
image_url?: {
4932
-
/**
4933
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4934
-
*/
4935
-
url?: string;
4936
-
};
4937
-
}[] | {
4938
-
/**
4939
-
* Type of the content provided
4940
-
*/
4941
-
type?: string;
4942
-
text?: string;
4943
-
image_url?: {
4944
-
/**
4945
-
* image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted
4946
-
*/
4947
-
url?: string;
4948
-
};
4949
-
};
4950
-
}[];
4951
-
functions?: {
4952
-
name: string;
4953
-
code: string;
4954
-
}[];
4955
-
/**
4956
-
* A list of tools available for the assistant to use.
4957
-
*/
4958
-
tools?: ({
4959
-
/**
4960
-
* The name of the tool. More descriptive the better.
4961
-
*/
4962
-
name: string;
4963
-
/**
4964
-
* A brief description of what the tool does.
4965
-
*/
4966
-
description: string;
4967
-
/**
4968
-
* Schema defining the parameters accepted by the tool.
4969
-
*/
4970
-
parameters: {
4971
-
/**
4972
-
* The type of the parameters object (usually 'object').
4973
-
*/
4974
-
type: string;
4975
-
/**
4976
-
* List of required parameter names.
4977
-
*/
4978
-
required?: string[];
4979
-
/**
4980
-
* Definitions of each parameter.
4981
-
*/
4982
-
properties: {
4983
-
[k: string]: {
4984
-
/**
4985
-
* The data type of the parameter.
4986
-
*/
4987
-
type: string;
4988
-
/**
4989
-
* A description of the expected parameter.
4990
-
*/
4991
-
description: string;
4992
-
};
4993
-
};
4994
-
};
4995
-
} | {
4996
-
/**
4997
-
* Specifies the type of tool (e.g., 'function').
4998
-
*/
4999
-
type: string;
5000
-
/**
5001
-
* Details of the function tool.
5002
-
*/
5003
-
function: {
5004
-
/**
5005
-
* The name of the function.
5006
-
*/
5007
-
name: string;
5008
-
/**
5009
-
* A brief description of what the function does.
5010
-
*/
5011
-
description: string;
5012
-
/**
5013
-
* Schema defining the parameters accepted by the function.
5014
-
*/
5015
-
parameters: {
5016
-
/**
5017
-
* The type of the parameters object (usually 'object').
5018
-
*/
5019
-
type: string;
5020
-
/**
5021
-
* List of required parameter names.
5022
-
*/
5023
-
required?: string[];
5024
-
/**
5025
-
* Definitions of each parameter.
5026
-
*/
5027
-
properties: {
5028
-
[k: string]: {
5029
-
/**
5030
-
* The data type of the parameter.
5031
-
*/
5032
-
type: string;
5033
-
/**
5034
-
* A description of the expected parameter.
5035
-
*/
5036
-
description: string;
5037
-
};
5038
-
};
5039
-
};
5040
-
};
5041
-
})[];
5042
-
response_format?: JSONMode;
5043
-
/**
5044
-
* JSON schema that should be fufilled for the response.
5045
-
*/
5046
-
guided_json?: object;
5047
-
/**
5048
-
* If true, a chat template is not applied and you must adhere to the specific model's expected formatting.
5049
-
*/
5050
-
raw?: boolean;
5051
-
/**
5052
-
* If true, the response will be streamed back incrementally using SSE, Server Sent Events.
5053
-
*/
5054
-
stream?: boolean;
5055
-
/**
5056
-
* The maximum number of tokens to generate in the response.
5057
-
*/
5058
-
max_tokens?: number;
5059
-
/**
5060
-
* Controls the randomness of the output; higher values produce more random results.
5061
-
*/
5062
-
temperature?: number;
5063
-
/**
5064
-
* Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses.
5065
-
*/
5066
-
top_p?: number;
5067
-
/**
5068
-
* Limits the AI to choose from the top 'k' most probable words. Lower values make responses more focused; higher values introduce more variety and potential surprises.
5069
-
*/
5070
-
top_k?: number;
5071
-
/**
5072
-
* Random seed for reproducibility of the generation.
5073
-
*/
5074
-
seed?: number;
5075
-
/**
5076
-
* Penalty for repeated tokens; higher values discourage repetition.
5077
-
*/
5078
-
repetition_penalty?: number;
5079
-
/**
5080
-
* Decreases the likelihood of the model repeating the same lines verbatim.
5081
-
*/
5082
-
frequency_penalty?: number;
5083
-
/**
5084
-
* Increases the likelihood of the model introducing new topics.
5085
-
*/
5086
-
presence_penalty?: number;
5087
-
}
5088
-
type Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output = {
5089
-
/**
5090
-
* The generated text response from the model
5091
-
*/
5092
-
response: string;
5093
-
/**
5094
-
* Usage statistics for the inference request
5095
-
*/
5096
-
usage?: {
5097
-
/**
5098
-
* Total number of tokens in input
5099
-
*/
5100
-
prompt_tokens?: number;
5101
-
/**
5102
-
* Total number of tokens in output
5103
-
*/
5104
-
completion_tokens?: number;
5105
-
/**
5106
-
* Total number of input and output tokens
5107
-
*/
5108
-
total_tokens?: number;
5109
-
};
5110
-
/**
5111
-
* An array of tool calls requests made during the response generation
5112
-
*/
5113
-
tool_calls?: {
5114
-
/**
5115
-
* The tool call id.
5116
-
*/
5117
-
id?: string;
5118
-
/**
5119
-
* Specifies the type of tool (e.g., 'function').
5120
-
*/
5121
-
type?: string;
5122
-
/**
5123
-
* Details of the function tool.
5124
-
*/
5125
-
function?: {
5126
-
/**
5127
-
* The name of the tool to be called
5128
-
*/
5129
-
name?: string;
5130
-
/**
5131
-
* The arguments passed to be passed to the tool call request
5132
-
*/
5133
-
arguments?: object;
5134
-
};
5135
-
}[];
5136
-
};
5137
-
declare abstract class Base_Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct {
5138
-
inputs: Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Input;
5139
-
postProcessedOutputs: Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output;
5140
-
}
5141
-
interface AiModels {
5142
-
"@cf/huggingface/distilbert-sst-2-int8": BaseAiTextClassification;
5143
-
"@cf/stabilityai/stable-diffusion-xl-base-1.0": BaseAiTextToImage;
5144
-
"@cf/runwayml/stable-diffusion-v1-5-inpainting": BaseAiTextToImage;
5145
-
"@cf/runwayml/stable-diffusion-v1-5-img2img": BaseAiTextToImage;
5146
-
"@cf/lykon/dreamshaper-8-lcm": BaseAiTextToImage;
5147
-
"@cf/bytedance/stable-diffusion-xl-lightning": BaseAiTextToImage;
5148
-
"@cf/myshell-ai/melotts": BaseAiTextToSpeech;
5149
-
"@cf/microsoft/resnet-50": BaseAiImageClassification;
5150
-
"@cf/facebook/detr-resnet-50": BaseAiObjectDetection;
5151
-
"@cf/meta/llama-2-7b-chat-int8": BaseAiTextGeneration;
5152
-
"@cf/mistral/mistral-7b-instruct-v0.1": BaseAiTextGeneration;
5153
-
"@cf/meta/llama-2-7b-chat-fp16": BaseAiTextGeneration;
5154
-
"@hf/thebloke/llama-2-13b-chat-awq": BaseAiTextGeneration;
5155
-
"@hf/thebloke/mistral-7b-instruct-v0.1-awq": BaseAiTextGeneration;
5156
-
"@hf/thebloke/zephyr-7b-beta-awq": BaseAiTextGeneration;
5157
-
"@hf/thebloke/openhermes-2.5-mistral-7b-awq": BaseAiTextGeneration;
5158
-
"@hf/thebloke/neural-chat-7b-v3-1-awq": BaseAiTextGeneration;
5159
-
"@hf/thebloke/llamaguard-7b-awq": BaseAiTextGeneration;
5160
-
"@hf/thebloke/deepseek-coder-6.7b-base-awq": BaseAiTextGeneration;
5161
-
"@hf/thebloke/deepseek-coder-6.7b-instruct-awq": BaseAiTextGeneration;
5162
-
"@cf/deepseek-ai/deepseek-math-7b-instruct": BaseAiTextGeneration;
5163
-
"@cf/defog/sqlcoder-7b-2": BaseAiTextGeneration;
5164
-
"@cf/openchat/openchat-3.5-0106": BaseAiTextGeneration;
5165
-
"@cf/tiiuae/falcon-7b-instruct": BaseAiTextGeneration;
5166
-
"@cf/thebloke/discolm-german-7b-v1-awq": BaseAiTextGeneration;
5167
-
"@cf/qwen/qwen1.5-0.5b-chat": BaseAiTextGeneration;
5168
-
"@cf/qwen/qwen1.5-7b-chat-awq": BaseAiTextGeneration;
5169
-
"@cf/qwen/qwen1.5-14b-chat-awq": BaseAiTextGeneration;
5170
-
"@cf/tinyllama/tinyllama-1.1b-chat-v1.0": BaseAiTextGeneration;
5171
-
"@cf/microsoft/phi-2": BaseAiTextGeneration;
5172
-
"@cf/qwen/qwen1.5-1.8b-chat": BaseAiTextGeneration;
5173
-
"@cf/mistral/mistral-7b-instruct-v0.2-lora": BaseAiTextGeneration;
5174
-
"@hf/nousresearch/hermes-2-pro-mistral-7b": BaseAiTextGeneration;
5175
-
"@hf/nexusflow/starling-lm-7b-beta": BaseAiTextGeneration;
5176
-
"@hf/google/gemma-7b-it": BaseAiTextGeneration;
5177
-
"@cf/meta-llama/llama-2-7b-chat-hf-lora": BaseAiTextGeneration;
5178
-
"@cf/google/gemma-2b-it-lora": BaseAiTextGeneration;
5179
-
"@cf/google/gemma-7b-it-lora": BaseAiTextGeneration;
5180
-
"@hf/mistral/mistral-7b-instruct-v0.2": BaseAiTextGeneration;
5181
-
"@cf/meta/llama-3-8b-instruct": BaseAiTextGeneration;
5182
-
"@cf/fblgit/una-cybertron-7b-v2-bf16": BaseAiTextGeneration;
5183
-
"@cf/meta/llama-3-8b-instruct-awq": BaseAiTextGeneration;
5184
-
"@hf/meta-llama/meta-llama-3-8b-instruct": BaseAiTextGeneration;
5185
-
"@cf/meta/llama-3.1-8b-instruct": BaseAiTextGeneration;
5186
-
"@cf/meta/llama-3.1-8b-instruct-fp8": BaseAiTextGeneration;
5187
-
"@cf/meta/llama-3.1-8b-instruct-awq": BaseAiTextGeneration;
5188
-
"@cf/meta/llama-3.2-3b-instruct": BaseAiTextGeneration;
5189
-
"@cf/meta/llama-3.2-1b-instruct": BaseAiTextGeneration;
5190
-
"@cf/deepseek-ai/deepseek-r1-distill-qwen-32b": BaseAiTextGeneration;
5191
-
"@cf/facebook/bart-large-cnn": BaseAiSummarization;
5192
-
"@cf/llava-hf/llava-1.5-7b-hf": BaseAiImageToText;
5193
-
"@cf/baai/bge-base-en-v1.5": Base_Ai_Cf_Baai_Bge_Base_En_V1_5;
5194
-
"@cf/openai/whisper": Base_Ai_Cf_Openai_Whisper;
5195
-
"@cf/meta/m2m100-1.2b": Base_Ai_Cf_Meta_M2M100_1_2B;
5196
-
"@cf/baai/bge-small-en-v1.5": Base_Ai_Cf_Baai_Bge_Small_En_V1_5;
5197
-
"@cf/baai/bge-large-en-v1.5": Base_Ai_Cf_Baai_Bge_Large_En_V1_5;
5198
-
"@cf/unum/uform-gen2-qwen-500m": Base_Ai_Cf_Unum_Uform_Gen2_Qwen_500M;
5199
-
"@cf/openai/whisper-tiny-en": Base_Ai_Cf_Openai_Whisper_Tiny_En;
5200
-
"@cf/openai/whisper-large-v3-turbo": Base_Ai_Cf_Openai_Whisper_Large_V3_Turbo;
5201
-
"@cf/baai/bge-m3": Base_Ai_Cf_Baai_Bge_M3;
5202
-
"@cf/black-forest-labs/flux-1-schnell": Base_Ai_Cf_Black_Forest_Labs_Flux_1_Schnell;
5203
-
"@cf/meta/llama-3.2-11b-vision-instruct": Base_Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct;
5204
-
"@cf/meta/llama-3.3-70b-instruct-fp8-fast": Base_Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast;
5205
-
"@cf/meta/llama-guard-3-8b": Base_Ai_Cf_Meta_Llama_Guard_3_8B;
5206
-
"@cf/baai/bge-reranker-base": Base_Ai_Cf_Baai_Bge_Reranker_Base;
5207
-
"@cf/qwen/qwen2.5-coder-32b-instruct": Base_Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct;
5208
-
"@cf/qwen/qwq-32b": Base_Ai_Cf_Qwen_Qwq_32B;
5209
-
"@cf/mistralai/mistral-small-3.1-24b-instruct": Base_Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct;
5210
-
"@cf/google/gemma-3-12b-it": Base_Ai_Cf_Google_Gemma_3_12B_It;
5211
-
"@cf/meta/llama-4-scout-17b-16e-instruct": Base_Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct;
5212
-
}
5213
-
type AiOptions = {
5214
-
/**
5215
-
* Send requests as an asynchronous batch job, only works for supported models
5216
-
* https://developers.cloudflare.com/workers-ai/features/batch-api
5217
-
*/
5218
-
queueRequest?: boolean;
5219
-
gateway?: GatewayOptions;
5220
-
returnRawResponse?: boolean;
5221
-
prefix?: string;
5222
-
extraHeaders?: object;
5223
-
};
5224
-
type ConversionResponse = {
5225
-
name: string;
5226
-
mimeType: string;
5227
-
format: "markdown";
5228
-
tokens: number;
5229
-
data: string;
5230
-
};
5231
-
type AiModelsSearchParams = {
5232
-
author?: string;
5233
-
hide_experimental?: boolean;
5234
-
page?: number;
5235
-
per_page?: number;
5236
-
search?: string;
5237
-
source?: number;
5238
-
task?: string;
5239
-
};
5240
-
type AiModelsSearchObject = {
5241
-
id: string;
5242
-
source: number;
5243
-
name: string;
5244
-
description: string;
5245
-
task: {
5246
-
id: string;
5247
-
name: string;
5248
-
description: string;
5249
-
};
5250
-
tags: string[];
5251
-
properties: {
5252
-
property_id: string;
5253
-
value: string;
5254
-
}[];
5255
-
};
5256
-
interface InferenceUpstreamError extends Error {
5257
-
}
5258
-
interface AiInternalError extends Error {
5259
-
}
5260
-
type AiModelListType = Record<string, any>;
5261
-
declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5262
-
aiGatewayLogId: string | null;
5263
-
gateway(gatewayId: string): AiGateway;
5264
-
autorag(autoragId: string): AutoRAG;
5265
-
run<Name extends keyof AiModelList, Options extends AiOptions, InputOptions extends AiModelList[Name]["inputs"]>(model: Name, inputs: InputOptions, options?: Options): Promise<Options extends {
5266
-
returnRawResponse: true;
5267
-
} ? Response : InputOptions extends {
5268
-
stream: true;
5269
-
} ? ReadableStream : AiModelList[Name]["postProcessedOutputs"]>;
5270
-
models(params?: AiModelsSearchParams): Promise<AiModelsSearchObject[]>;
5271
-
toMarkdown(files: {
5272
-
name: string;
5273
-
blob: Blob;
5274
-
}[], options?: {
5275
-
gateway?: GatewayOptions;
5276
-
extraHeaders?: object;
5277
-
}): Promise<ConversionResponse[]>;
5278
-
toMarkdown(files: {
5279
-
name: string;
5280
-
blob: Blob;
5281
-
}, options?: {
5282
-
gateway?: GatewayOptions;
5283
-
extraHeaders?: object;
5284
-
}): Promise<ConversionResponse>;
5285
-
}
5286
-
type GatewayRetries = {
5287
-
maxAttempts?: 1 | 2 | 3 | 4 | 5;
5288
-
retryDelayMs?: number;
5289
-
backoff?: 'constant' | 'linear' | 'exponential';
5290
-
};
5291
-
type GatewayOptions = {
5292
-
id: string;
5293
-
cacheKey?: string;
5294
-
cacheTtl?: number;
5295
-
skipCache?: boolean;
5296
-
metadata?: Record<string, number | string | boolean | null | bigint>;
5297
-
collectLog?: boolean;
5298
-
eventId?: string;
5299
-
requestTimeoutMs?: number;
5300
-
retries?: GatewayRetries;
5301
-
};
5302
-
type AiGatewayPatchLog = {
5303
-
score?: number | null;
5304
-
feedback?: -1 | 1 | null;
5305
-
metadata?: Record<string, number | string | boolean | null | bigint> | null;
5306
-
};
5307
-
type AiGatewayLog = {
5308
-
id: string;
5309
-
provider: string;
5310
-
model: string;
5311
-
model_type?: string;
5312
-
path: string;
5313
-
duration: number;
5314
-
request_type?: string;
5315
-
request_content_type?: string;
5316
-
status_code: number;
5317
-
response_content_type?: string;
5318
-
success: boolean;
5319
-
cached: boolean;
5320
-
tokens_in?: number;
5321
-
tokens_out?: number;
5322
-
metadata?: Record<string, number | string | boolean | null | bigint>;
5323
-
step?: number;
5324
-
cost?: number;
5325
-
custom_cost?: boolean;
5326
-
request_size: number;
5327
-
request_head?: string;
5328
-
request_head_complete: boolean;
5329
-
response_size: number;
5330
-
response_head?: string;
5331
-
response_head_complete: boolean;
5332
-
created_at: Date;
5333
-
};
5334
-
type AIGatewayProviders = 'workers-ai' | 'anthropic' | 'aws-bedrock' | 'azure-openai' | 'google-vertex-ai' | 'huggingface' | 'openai' | 'perplexity-ai' | 'replicate' | 'groq' | 'cohere' | 'google-ai-studio' | 'mistral' | 'grok' | 'openrouter' | 'deepseek' | 'cerebras' | 'cartesia' | 'elevenlabs' | 'adobe-firefly';
5335
-
type AIGatewayHeaders = {
5336
-
'cf-aig-metadata': Record<string, number | string | boolean | null | bigint> | string;
5337
-
'cf-aig-custom-cost': {
5338
-
per_token_in?: number;
5339
-
per_token_out?: number;
5340
-
} | {
5341
-
total_cost?: number;
5342
-
} | string;
5343
-
'cf-aig-cache-ttl': number | string;
5344
-
'cf-aig-skip-cache': boolean | string;
5345
-
'cf-aig-cache-key': string;
5346
-
'cf-aig-event-id': string;
5347
-
'cf-aig-request-timeout': number | string;
5348
-
'cf-aig-max-attempts': number | string;
5349
-
'cf-aig-retry-delay': number | string;
5350
-
'cf-aig-backoff': string;
5351
-
'cf-aig-collect-log': boolean | string;
5352
-
Authorization: string;
5353
-
'Content-Type': string;
5354
-
[key: string]: string | number | boolean | object;
5355
-
};
5356
-
type AIGatewayUniversalRequest = {
5357
-
provider: AIGatewayProviders | string; // eslint-disable-line
5358
-
endpoint: string;
5359
-
headers: Partial<AIGatewayHeaders>;
5360
-
query: unknown;
5361
-
};
5362
-
interface AiGatewayInternalError extends Error {
5363
-
}
5364
-
interface AiGatewayLogNotFound extends Error {
5365
-
}
5366
-
declare abstract class AiGateway {
5367
-
patchLog(logId: string, data: AiGatewayPatchLog): Promise<void>;
5368
-
getLog(logId: string): Promise<AiGatewayLog>;
5369
-
run(data: AIGatewayUniversalRequest | AIGatewayUniversalRequest[], options?: {
5370
-
gateway?: GatewayOptions;
5371
-
extraHeaders?: object;
5372
-
}): Promise<Response>;
5373
-
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
5374
-
}
5375
-
interface AutoRAGInternalError extends Error {
5376
-
}
5377
-
interface AutoRAGNotFoundError extends Error {
5378
-
}
5379
-
interface AutoRAGUnauthorizedError extends Error {
5380
-
}
5381
-
interface AutoRAGNameNotSetError extends Error {
5382
-
}
5383
-
type ComparisonFilter = {
5384
-
key: string;
5385
-
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
5386
-
value: string | number | boolean;
5387
-
};
5388
-
type CompoundFilter = {
5389
-
type: 'and' | 'or';
5390
-
filters: ComparisonFilter[];
5391
-
};
5392
-
type AutoRagSearchRequest = {
5393
-
query: string;
5394
-
filters?: CompoundFilter | ComparisonFilter;
5395
-
max_num_results?: number;
5396
-
ranking_options?: {
5397
-
ranker?: string;
5398
-
score_threshold?: number;
5399
-
};
5400
-
rewrite_query?: boolean;
5401
-
};
5402
-
type AutoRagAiSearchRequest = AutoRagSearchRequest & {
5403
-
stream?: boolean;
5404
-
};
5405
-
type AutoRagAiSearchRequestStreaming = Omit<AutoRagAiSearchRequest, 'stream'> & {
5406
-
stream: true;
5407
-
};
5408
-
type AutoRagSearchResponse = {
5409
-
object: 'vector_store.search_results.page';
5410
-
search_query: string;
5411
-
data: {
5412
-
file_id: string;
5413
-
filename: string;
5414
-
score: number;
5415
-
attributes: Record<string, string | number | boolean | null>;
5416
-
content: {
5417
-
type: 'text';
5418
-
text: string;
5419
-
}[];
5420
-
}[];
5421
-
has_more: boolean;
5422
-
next_page: string | null;
5423
-
};
5424
-
type AutoRagListResponse = {
5425
-
id: string;
5426
-
enable: boolean;
5427
-
type: string;
5428
-
source: string;
5429
-
vectorize_name: string;
5430
-
paused: boolean;
5431
-
status: string;
5432
-
}[];
5433
-
type AutoRagAiSearchResponse = AutoRagSearchResponse & {
5434
-
response: string;
5435
-
};
5436
-
declare abstract class AutoRAG {
5437
-
list(): Promise<AutoRagListResponse>;
5438
-
search(params: AutoRagSearchRequest): Promise<AutoRagSearchResponse>;
5439
-
aiSearch(params: AutoRagAiSearchRequestStreaming): Promise<Response>;
5440
-
aiSearch(params: AutoRagAiSearchRequest): Promise<AutoRagAiSearchResponse>;
5441
-
aiSearch(params: AutoRagAiSearchRequest): Promise<AutoRagAiSearchResponse | Response>;
5442
-
}
5443
-
interface BasicImageTransformations {
5444
-
/**
5445
-
* Maximum width in image pixels. The value must be an integer.
5446
-
*/
5447
-
width?: number;
5448
-
/**
5449
-
* Maximum height in image pixels. The value must be an integer.
5450
-
*/
5451
-
height?: number;
5452
-
/**
5453
-
* Resizing mode as a string. It affects interpretation of width and height
5454
-
* options:
5455
-
* - scale-down: Similar to contain, but the image is never enlarged. If
5456
-
* the image is larger than given width or height, it will be resized.
5457
-
* Otherwise its original size will be kept.
5458
-
* - contain: Resizes to maximum size that fits within the given width and
5459
-
* height. If only a single dimension is given (e.g. only width), the
5460
-
* image will be shrunk or enlarged to exactly match that dimension.
5461
-
* Aspect ratio is always preserved.
5462
-
* - cover: Resizes (shrinks or enlarges) to fill the entire area of width
5463
-
* and height. If the image has an aspect ratio different from the ratio
5464
-
* of width and height, it will be cropped to fit.
5465
-
* - crop: The image will be shrunk and cropped to fit within the area
5466
-
* specified by width and height. The image will not be enlarged. For images
5467
-
* smaller than the given dimensions it's the same as scale-down. For
5468
-
* images larger than the given dimensions, it's the same as cover.
5469
-
* See also trim.
5470
-
* - pad: Resizes to the maximum size that fits within the given width and
5471
-
* height, and then fills the remaining area with a background color
5472
-
* (white by default). Use of this mode is not recommended, as the same
5473
-
* effect can be more efficiently achieved with the contain mode and the
5474
-
* CSS object-fit: contain property.
5475
-
* - squeeze: Stretches and deforms to the width and height given, even if it
5476
-
* breaks aspect ratio
5477
-
*/
5478
-
fit?: "scale-down" | "contain" | "cover" | "crop" | "pad" | "squeeze";
5479
-
/**
5480
-
* When cropping with fit: "cover", this defines the side or point that should
5481
-
* be left uncropped. The value is either a string
5482
-
* "left", "right", "top", "bottom", "auto", or "center" (the default),
5483
-
* or an object {x, y} containing focal point coordinates in the original
5484
-
* image expressed as fractions ranging from 0.0 (top or left) to 1.0
5485
-
* (bottom or right), 0.5 being the center. {fit: "cover", gravity: "top"} will
5486
-
* crop bottom or left and right sides as necessary, but wonโt crop anything
5487
-
* from the top. {fit: "cover", gravity: {x:0.5, y:0.2}} will crop each side to
5488
-
* preserve as much as possible around a point at 20% of the height of the
5489
-
* source image.
5490
-
*/
5491
-
gravity?: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'auto' | 'entropy' | BasicImageTransformationsGravityCoordinates;
5492
-
/**
5493
-
* Background color to add underneath the image. Applies only to images with
5494
-
* transparency (such as PNG). Accepts any CSS color (#RRGGBB, rgba(โฆ),
5495
-
* hsl(โฆ), etc.)
5496
-
*/
5497
-
background?: string;
5498
-
/**
5499
-
* Number of degrees (90, 180, 270) to rotate the image by. width and height
5500
-
* options refer to axes after rotation.
5501
-
*/
5502
-
rotate?: 0 | 90 | 180 | 270 | 360;
5503
-
}
5504
-
interface BasicImageTransformationsGravityCoordinates {
5505
-
x?: number;
5506
-
y?: number;
5507
-
mode?: 'remainder' | 'box-center';
5508
-
}
5509
-
/**
5510
-
* In addition to the properties you can set in the RequestInit dict
5511
-
* that you pass as an argument to the Request constructor, you can
5512
-
* set certain properties of a `cf` object to control how Cloudflare
5513
-
* features are applied to that new Request.
5514
-
*
5515
-
* Note: Currently, these properties cannot be tested in the
5516
-
* playground.
5517
-
*/
5518
-
interface RequestInitCfProperties extends Record<string, unknown> {
5519
-
cacheEverything?: boolean;
5520
-
/**
5521
-
* A request's cache key is what determines if two requests are
5522
-
* "the same" for caching purposes. If a request has the same cache key
5523
-
* as some previous request, then we can serve the same cached response for
5524
-
* both. (e.g. 'some-key')
5525
-
*
5526
-
* Only available for Enterprise customers.
5527
-
*/
5528
-
cacheKey?: string;
5529
-
/**
5530
-
* This allows you to append additional Cache-Tag response headers
5531
-
* to the origin response without modifications to the origin server.
5532
-
* This will allow for greater control over the Purge by Cache Tag feature
5533
-
* utilizing changes only in the Workers process.
5534
-
*
5535
-
* Only available for Enterprise customers.
5536
-
*/
5537
-
cacheTags?: string[];
5538
-
/**
5539
-
* Force response to be cached for a given number of seconds. (e.g. 300)
5540
-
*/
5541
-
cacheTtl?: number;
5542
-
/**
5543
-
* Force response to be cached for a given number of seconds based on the Origin status code.
5544
-
* (e.g. { '200-299': 86400, '404': 1, '500-599': 0 })
5545
-
*/
5546
-
cacheTtlByStatus?: Record<string, number>;
5547
-
scrapeShield?: boolean;
5548
-
apps?: boolean;
5549
-
image?: RequestInitCfPropertiesImage;
5550
-
minify?: RequestInitCfPropertiesImageMinify;
5551
-
mirage?: boolean;
5552
-
polish?: "lossy" | "lossless" | "off";
5553
-
r2?: RequestInitCfPropertiesR2;
5554
-
/**
5555
-
* Redirects the request to an alternate origin server. You can use this,
5556
-
* for example, to implement load balancing across several origins.
5557
-
* (e.g.us-east.example.com)
5558
-
*
5559
-
* Note - For security reasons, the hostname set in resolveOverride must
5560
-
* be proxied on the same Cloudflare zone of the incoming request.
5561
-
* Otherwise, the setting is ignored. CNAME hosts are allowed, so to
5562
-
* resolve to a host under a different domain or a DNS only domain first
5563
-
* declare a CNAME record within your own zoneโs DNS mapping to the
5564
-
* external hostname, set proxy on Cloudflare, then set resolveOverride
5565
-
* to point to that CNAME record.
5566
-
*/
5567
-
resolveOverride?: string;
5568
-
}
5569
-
interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
5570
-
/**
5571
-
* Absolute URL of the image file to use for the drawing. It can be any of
5572
-
* the supported file formats. For drawing of watermarks or non-rectangular
5573
-
* overlays we recommend using PNG or WebP images.
5574
-
*/
5575
-
url: string;
5576
-
/**
5577
-
* Floating-point number between 0 (transparent) and 1 (opaque).
5578
-
* For example, opacity: 0.5 makes overlay semitransparent.
5579
-
*/
5580
-
opacity?: number;
5581
-
/**
5582
-
* - If set to true, the overlay image will be tiled to cover the entire
5583
-
* area. This is useful for stock-photo-like watermarks.
5584
-
* - If set to "x", the overlay image will be tiled horizontally only
5585
-
* (form a line).
5586
-
* - If set to "y", the overlay image will be tiled vertically only
5587
-
* (form a line).
5588
-
*/
5589
-
repeat?: true | "x" | "y";
5590
-
/**
5591
-
* Position of the overlay image relative to a given edge. Each property is
5592
-
* an offset in pixels. 0 aligns exactly to the edge. For example, left: 10
5593
-
* positions left side of the overlay 10 pixels from the left edge of the
5594
-
* image it's drawn over. bottom: 0 aligns bottom of the overlay with bottom
5595
-
* of the background image.
5596
-
*
5597
-
* Setting both left & right, or both top & bottom is an error.
5598
-
*
5599
-
* If no position is specified, the image will be centered.
5600
-
*/
5601
-
top?: number;
5602
-
left?: number;
5603
-
bottom?: number;
5604
-
right?: number;
5605
-
}
5606
-
interface RequestInitCfPropertiesImage extends BasicImageTransformations {
5607
-
/**
5608
-
* Device Pixel Ratio. Default 1. Multiplier for width/height that makes it
5609
-
* easier to specify higher-DPI sizes in <img srcset>.
5610
-
*/
5611
-
dpr?: number;
5612
-
/**
5613
-
* Allows you to trim your image. Takes dpr into account and is performed before
5614
-
* resizing or rotation.
5615
-
*
5616
-
* It can be used as:
5617
-
* - left, top, right, bottom - it will specify the number of pixels to cut
5618
-
* off each side
5619
-
* - width, height - the width/height you'd like to end up with - can be used
5620
-
* in combination with the properties above
5621
-
* - border - this will automatically trim the surroundings of an image based on
5622
-
* it's color. It consists of three properties:
5623
-
* - color: rgb or hex representation of the color you wish to trim (todo: verify the rgba bit)
5624
-
* - tolerance: difference from color to treat as color
5625
-
* - keep: the number of pixels of border to keep
5626
-
*/
5627
-
trim?: "border" | {
5628
-
top?: number;
5629
-
bottom?: number;
5630
-
left?: number;
5631
-
right?: number;
5632
-
width?: number;
5633
-
height?: number;
5634
-
border?: boolean | {
5635
-
color?: string;
5636
-
tolerance?: number;
5637
-
keep?: number;
5638
-
};
5639
-
};
5640
-
/**
5641
-
* Quality setting from 1-100 (useful values are in 60-90 range). Lower values
5642
-
* make images look worse, but load faster. The default is 85. It applies only
5643
-
* to JPEG and WebP images. It doesnโt have any effect on PNG.
5644
-
*/
5645
-
quality?: number | "low" | "medium-low" | "medium-high" | "high";
5646
-
/**
5647
-
* Output format to generate. It can be:
5648
-
* - avif: generate images in AVIF format.
5649
-
* - webp: generate images in Google WebP format. Set quality to 100 to get
5650
-
* the WebP-lossless format.
5651
-
* - json: instead of generating an image, outputs information about the
5652
-
* image, in JSON format. The JSON object will contain image size
5653
-
* (before and after resizing), source imageโs MIME type, file size, etc.
5654
-
* - jpeg: generate images in JPEG format.
5655
-
* - png: generate images in PNG format.
5656
-
*/
5657
-
format?: "avif" | "webp" | "json" | "jpeg" | "png" | "baseline-jpeg" | "png-force" | "svg";
5658
-
/**
5659
-
* Whether to preserve animation frames from input files. Default is true.
5660
-
* Setting it to false reduces animations to still images. This setting is
5661
-
* recommended when enlarging images or processing arbitrary user content,
5662
-
* because large GIF animations can weigh tens or even hundreds of megabytes.
5663
-
* It is also useful to set anim:false when using format:"json" to get the
5664
-
* response quicker without the number of frames.
5665
-
*/
5666
-
anim?: boolean;
5667
-
/**
5668
-
* What EXIF data should be preserved in the output image. Note that EXIF
5669
-
* rotation and embedded color profiles are always applied ("baked in" into
5670
-
* the image), and aren't affected by this option. Note that if the Polish
5671
-
* feature is enabled, all metadata may have been removed already and this
5672
-
* option may have no effect.
5673
-
* - keep: Preserve most of EXIF metadata, including GPS location if there's
5674
-
* any.
5675
-
* - copyright: Only keep the copyright tag, and discard everything else.
5676
-
* This is the default behavior for JPEG files.
5677
-
* - none: Discard all invisible EXIF metadata. Currently WebP and PNG
5678
-
* output formats always discard metadata.
5679
-
*/
5680
-
metadata?: "keep" | "copyright" | "none";
5681
-
/**
5682
-
* Strength of sharpening filter to apply to the image. Floating-point
5683
-
* number between 0 (no sharpening, default) and 10 (maximum). 1.0 is a
5684
-
* recommended value for downscaled images.
5685
-
*/
5686
-
sharpen?: number;
5687
-
/**
5688
-
* Radius of a blur filter (approximate gaussian). Maximum supported radius
5689
-
* is 250.
5690
-
*/
5691
-
blur?: number;
5692
-
/**
5693
-
* Overlays are drawn in the order they appear in the array (last array
5694
-
* entry is the topmost layer).
5695
-
*/
5696
-
draw?: RequestInitCfPropertiesImageDraw[];
5697
-
/**
5698
-
* Fetching image from authenticated origin. Setting this property will
5699
-
* pass authentication headers (Authorization, Cookie, etc.) through to
5700
-
* the origin.
5701
-
*/
5702
-
"origin-auth"?: "share-publicly";
5703
-
/**
5704
-
* Adds a border around the image. The border is added after resizing. Border
5705
-
* width takes dpr into account, and can be specified either using a single
5706
-
* width property, or individually for each side.
5707
-
*/
5708
-
border?: {
5709
-
color: string;
5710
-
width: number;
5711
-
} | {
5712
-
color: string;
5713
-
top: number;
5714
-
right: number;
5715
-
bottom: number;
5716
-
left: number;
5717
-
};
5718
-
/**
5719
-
* Increase brightness by a factor. A value of 1.0 equals no change, a value
5720
-
* of 0.5 equals half brightness, and a value of 2.0 equals twice as bright.
5721
-
* 0 is ignored.
5722
-
*/
5723
-
brightness?: number;
5724
-
/**
5725
-
* Increase contrast by a factor. A value of 1.0 equals no change, a value of
5726
-
* 0.5 equals low contrast, and a value of 2.0 equals high contrast. 0 is
5727
-
* ignored.
5728
-
*/
5729
-
contrast?: number;
5730
-
/**
5731
-
* Increase exposure by a factor. A value of 1.0 equals no change, a value of
5732
-
* 0.5 darkens the image, and a value of 2.0 lightens the image. 0 is ignored.
5733
-
*/
5734
-
gamma?: number;
5735
-
/**
5736
-
* Increase contrast by a factor. A value of 1.0 equals no change, a value of
5737
-
* 0.5 equals low contrast, and a value of 2.0 equals high contrast. 0 is
5738
-
* ignored.
5739
-
*/
5740
-
saturation?: number;
5741
-
/**
5742
-
* Flips the images horizontally, vertically, or both. Flipping is applied before
5743
-
* rotation, so if you apply flip=h,rotate=90 then the image will be flipped
5744
-
* horizontally, then rotated by 90 degrees.
5745
-
*/
5746
-
flip?: 'h' | 'v' | 'hv';
5747
-
/**
5748
-
* Slightly reduces latency on a cache miss by selecting a
5749
-
* quickest-to-compress file format, at a cost of increased file size and
5750
-
* lower image quality. It will usually override the format option and choose
5751
-
* JPEG over WebP or AVIF. We do not recommend using this option, except in
5752
-
* unusual circumstances like resizing uncacheable dynamically-generated
5753
-
* images.
5754
-
*/
5755
-
compression?: "fast";
5756
-
}
5757
-
interface RequestInitCfPropertiesImageMinify {
5758
-
javascript?: boolean;
5759
-
css?: boolean;
5760
-
html?: boolean;
5761
-
}
5762
-
interface RequestInitCfPropertiesR2 {
5763
-
/**
5764
-
* Colo id of bucket that an object is stored in
5765
-
*/
5766
-
bucketColoId?: number;
5767
-
}
5768
-
/**
5769
-
* Request metadata provided by Cloudflare's edge.
5770
-
*/
5771
-
type IncomingRequestCfProperties<HostMetadata = unknown> = IncomingRequestCfPropertiesBase & IncomingRequestCfPropertiesBotManagementEnterprise & IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> & IncomingRequestCfPropertiesGeographicInformation & IncomingRequestCfPropertiesCloudflareAccessOrApiShield;
5772
-
interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
5773
-
/**
5774
-
* [ASN](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) of the incoming request.
5775
-
*
5776
-
* @example 395747
5777
-
*/
5778
-
asn: number;
5779
-
/**
5780
-
* The organization which owns the ASN of the incoming request.
5781
-
*
5782
-
* @example "Google Cloud"
5783
-
*/
5784
-
asOrganization: string;
5785
-
/**
5786
-
* The original value of the `Accept-Encoding` header if Cloudflare modified it.
5787
-
*
5788
-
* @example "gzip, deflate, br"
5789
-
*/
5790
-
clientAcceptEncoding?: string;
5791
-
/**
5792
-
* The number of milliseconds it took for the request to reach your worker.
5793
-
*
5794
-
* @example 22
5795
-
*/
5796
-
clientTcpRtt?: number;
5797
-
/**
5798
-
* The three-letter [IATA](https://en.wikipedia.org/wiki/IATA_airport_code)
5799
-
* airport code of the data center that the request hit.
5800
-
*
5801
-
* @example "DFW"
5802
-
*/
5803
-
colo: string;
5804
-
/**
5805
-
* Represents the upstream's response to a
5806
-
* [TCP `keepalive` message](https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html)
5807
-
* from cloudflare.
5808
-
*
5809
-
* For workers with no upstream, this will always be `1`.
5810
-
*
5811
-
* @example 3
5812
-
*/
5813
-
edgeRequestKeepAliveStatus: IncomingRequestCfPropertiesEdgeRequestKeepAliveStatus;
5814
-
/**
5815
-
* The HTTP Protocol the request used.
5816
-
*
5817
-
* @example "HTTP/2"
5818
-
*/
5819
-
httpProtocol: string;
5820
-
/**
5821
-
* The browser-requested prioritization information in the request object.
5822
-
*
5823
-
* If no information was set, defaults to the empty string `""`
5824
-
*
5825
-
* @example "weight=192;exclusive=0;group=3;group-weight=127"
5826
-
* @default ""
5827
-
*/
5828
-
requestPriority: string;
5829
-
/**
5830
-
* The TLS version of the connection to Cloudflare.
5831
-
* In requests served over plaintext (without TLS), this property is the empty string `""`.
5832
-
*
5833
-
* @example "TLSv1.3"
5834
-
*/
5835
-
tlsVersion: string;
5836
-
/**
5837
-
* The cipher for the connection to Cloudflare.
5838
-
* In requests served over plaintext (without TLS), this property is the empty string `""`.
5839
-
*
5840
-
* @example "AEAD-AES128-GCM-SHA256"
5841
-
*/
5842
-
tlsCipher: string;
5843
-
/**
5844
-
* Metadata containing the [`HELLO`](https://www.rfc-editor.org/rfc/rfc5246#section-7.4.1.2) and [`FINISHED`](https://www.rfc-editor.org/rfc/rfc5246#section-7.4.9) messages from this request's TLS handshake.
5845
-
*
5846
-
* If the incoming request was served over plaintext (without TLS) this field is undefined.
5847
-
*/
5848
-
tlsExportedAuthenticator?: IncomingRequestCfPropertiesExportedAuthenticatorMetadata;
5849
-
}
5850
-
interface IncomingRequestCfPropertiesBotManagementBase {
5851
-
/**
5852
-
* Cloudflareโs [level of certainty](https://developers.cloudflare.com/bots/concepts/bot-score/) that a request comes from a bot,
5853
-
* represented as an integer percentage between `1` (almost certainly a bot) and `99` (almost certainly human).
5854
-
*
5855
-
* @example 54
5856
-
*/
5857
-
score: number;
5858
-
/**
5859
-
* A boolean value that is true if the request comes from a good bot, like Google or Bing.
5860
-
* Most customers choose to allow this traffic. For more details, see [Traffic from known bots](https://developers.cloudflare.com/firewall/known-issues-and-faq/#how-does-firewall-rules-handle-traffic-from-known-bots).
5861
-
*/
5862
-
verifiedBot: boolean;
5863
-
/**
5864
-
* A boolean value that is true if the request originates from a
5865
-
* Cloudflare-verified proxy service.
5866
-
*/
5867
-
corporateProxy: boolean;
5868
-
/**
5869
-
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
5870
-
*/
5871
-
staticResource: boolean;
5872
-
/**
5873
-
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
5874
-
*/
5875
-
detectionIds: number[];
5876
-
}
5877
-
interface IncomingRequestCfPropertiesBotManagement {
5878
-
/**
5879
-
* Results of Cloudflare's Bot Management analysis
5880
-
*/
5881
-
botManagement: IncomingRequestCfPropertiesBotManagementBase;
5882
-
/**
5883
-
* Duplicate of `botManagement.score`.
5884
-
*
5885
-
* @deprecated
5886
-
*/
5887
-
clientTrustScore: number;
5888
-
}
5889
-
interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
5890
-
/**
5891
-
* Results of Cloudflare's Bot Management analysis
5892
-
*/
5893
-
botManagement: IncomingRequestCfPropertiesBotManagementBase & {
5894
-
/**
5895
-
* A [JA3 Fingerprint](https://developers.cloudflare.com/bots/concepts/ja3-fingerprint/) to help profile specific SSL/TLS clients
5896
-
* across different destination IPs, Ports, and X509 certificates.
5897
-
*/
5898
-
ja3Hash: string;
5899
-
};
5900
-
}
5901
-
interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
5902
-
/**
5903
-
* Custom metadata set per-host in [Cloudflare for SaaS](https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/).
5904
-
*
5905
-
* This field is only present if you have Cloudflare for SaaS enabled on your account
5906
-
* and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
5907
-
*/
5908
-
hostMetadata: HostMetadata;
5909
-
}
5910
-
interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
5911
-
/**
5912
-
* Information about the client certificate presented to Cloudflare.
5913
-
*
5914
-
* This is populated when the incoming request is served over TLS using
5915
-
* either Cloudflare Access or API Shield (mTLS)
5916
-
* and the presented SSL certificate has a valid
5917
-
* [Certificate Serial Number](https://ldapwiki.com/wiki/Certificate%20Serial%20Number)
5918
-
* (i.e., not `null` or `""`).
5919
-
*
5920
-
* Otherwise, a set of placeholder values are used.
5921
-
*
5922
-
* The property `certPresented` will be set to `"1"` when
5923
-
* the object is populated (i.e. the above conditions were met).
5924
-
*/
5925
-
tlsClientAuth: IncomingRequestCfPropertiesTLSClientAuth | IncomingRequestCfPropertiesTLSClientAuthPlaceholder;
5926
-
}
5927
-
/**
5928
-
* Metadata about the request's TLS handshake
5929
-
*/
5930
-
interface IncomingRequestCfPropertiesExportedAuthenticatorMetadata {
5931
-
/**
5932
-
* The client's [`HELLO` message](https://www.rfc-editor.org/rfc/rfc5246#section-7.4.1.2), encoded in hexadecimal
5933
-
*
5934
-
* @example "44372ba35fa1270921d318f34c12f155dc87b682cf36a790cfaa3ba8737a1b5d"
5935
-
*/
5936
-
clientHandshake: string;
5937
-
/**
5938
-
* The server's [`HELLO` message](https://www.rfc-editor.org/rfc/rfc5246#section-7.4.1.2), encoded in hexadecimal
5939
-
*
5940
-
* @example "44372ba35fa1270921d318f34c12f155dc87b682cf36a790cfaa3ba8737a1b5d"
5941
-
*/
5942
-
serverHandshake: string;
5943
-
/**
5944
-
* The client's [`FINISHED` message](https://www.rfc-editor.org/rfc/rfc5246#section-7.4.9), encoded in hexadecimal
5945
-
*
5946
-
* @example "084ee802fe1348f688220e2a6040a05b2199a761f33cf753abb1b006792d3f8b"
5947
-
*/
5948
-
clientFinished: string;
5949
-
/**
5950
-
* The server's [`FINISHED` message](https://www.rfc-editor.org/rfc/rfc5246#section-7.4.9), encoded in hexadecimal
5951
-
*
5952
-
* @example "084ee802fe1348f688220e2a6040a05b2199a761f33cf753abb1b006792d3f8b"
5953
-
*/
5954
-
serverFinished: string;
5955
-
}
5956
-
/**
5957
-
* Geographic data about the request's origin.
5958
-
*/
5959
-
interface IncomingRequestCfPropertiesGeographicInformation {
5960
-
/**
5961
-
* The [ISO 3166-1 Alpha 2](https://www.iso.org/iso-3166-country-codes.html) country code the request originated from.
5962
-
*
5963
-
* If your worker is [configured to accept TOR connections](https://support.cloudflare.com/hc/en-us/articles/203306930-Understanding-Cloudflare-Tor-support-and-Onion-Routing), this may also be `"T1"`, indicating a request that originated over TOR.
5964
-
*
5965
-
* If Cloudflare is unable to determine where the request originated this property is omitted.
5966
-
*
5967
-
* The country code `"T1"` is used for requests originating on TOR.
5968
-
*
5969
-
* @example "GB"
5970
-
*/
5971
-
country?: Iso3166Alpha2Code | "T1";
5972
-
/**
5973
-
* If present, this property indicates that the request originated in the EU
5974
-
*
5975
-
* @example "1"
5976
-
*/
5977
-
isEUCountry?: "1";
5978
-
/**
5979
-
* A two-letter code indicating the continent the request originated from.
5980
-
*
5981
-
* @example "AN"
5982
-
*/
5983
-
continent?: ContinentCode;
5984
-
/**
5985
-
* The city the request originated from
5986
-
*
5987
-
* @example "Austin"
5988
-
*/
5989
-
city?: string;
5990
-
/**
5991
-
* Postal code of the incoming request
5992
-
*
5993
-
* @example "78701"
5994
-
*/
5995
-
postalCode?: string;
5996
-
/**
5997
-
* Latitude of the incoming request
5998
-
*
5999
-
* @example "30.27130"
6000
-
*/
6001
-
latitude?: string;
6002
-
/**
6003
-
* Longitude of the incoming request
6004
-
*
6005
-
* @example "-97.74260"
6006
-
*/
6007
-
longitude?: string;
6008
-
/**
6009
-
* Timezone of the incoming request
6010
-
*
6011
-
* @example "America/Chicago"
6012
-
*/
6013
-
timezone?: string;
6014
-
/**
6015
-
* If known, the ISO 3166-2 name for the first level region associated with
6016
-
* the IP address of the incoming request
6017
-
*
6018
-
* @example "Texas"
6019
-
*/
6020
-
region?: string;
6021
-
/**
6022
-
* If known, the ISO 3166-2 code for the first-level region associated with
6023
-
* the IP address of the incoming request
6024
-
*
6025
-
* @example "TX"
6026
-
*/
6027
-
regionCode?: string;
6028
-
/**
6029
-
* Metro code (DMA) of the incoming request
6030
-
*
6031
-
* @example "635"
6032
-
*/
6033
-
metroCode?: string;
6034
-
}
6035
-
/** Data about the incoming request's TLS certificate */
6036
-
interface IncomingRequestCfPropertiesTLSClientAuth {
6037
-
/** Always `"1"`, indicating that the certificate was presented */
6038
-
certPresented: "1";
6039
-
/**
6040
-
* Result of certificate verification.
6041
-
*
6042
-
* @example "FAILED:self signed certificate"
6043
-
*/
6044
-
certVerified: Exclude<CertVerificationStatus, "NONE">;
6045
-
/** The presented certificate's revokation status.
6046
-
*
6047
-
* - A value of `"1"` indicates the certificate has been revoked
6048
-
* - A value of `"0"` indicates the certificate has not been revoked
6049
-
*/
6050
-
certRevoked: "1" | "0";
6051
-
/**
6052
-
* The certificate issuer's [distinguished name](https://knowledge.digicert.com/generalinformation/INFO1745.html)
6053
-
*
6054
-
* @example "CN=cloudflareaccess.com, C=US, ST=Texas, L=Austin, O=Cloudflare"
6055
-
*/
6056
-
certIssuerDN: string;
6057
-
/**
6058
-
* The certificate subject's [distinguished name](https://knowledge.digicert.com/generalinformation/INFO1745.html)
6059
-
*
6060
-
* @example "CN=*.cloudflareaccess.com, C=US, ST=Texas, L=Austin, O=Cloudflare"
6061
-
*/
6062
-
certSubjectDN: string;
6063
-
/**
6064
-
* The certificate issuer's [distinguished name](https://knowledge.digicert.com/generalinformation/INFO1745.html) ([RFC 2253](https://www.rfc-editor.org/rfc/rfc2253.html) formatted)
6065
-
*
6066
-
* @example "CN=cloudflareaccess.com, C=US, ST=Texas, L=Austin, O=Cloudflare"
6067
-
*/
6068
-
certIssuerDNRFC2253: string;
6069
-
/**
6070
-
* The certificate subject's [distinguished name](https://knowledge.digicert.com/generalinformation/INFO1745.html) ([RFC 2253](https://www.rfc-editor.org/rfc/rfc2253.html) formatted)
6071
-
*
6072
-
* @example "CN=*.cloudflareaccess.com, C=US, ST=Texas, L=Austin, O=Cloudflare"
6073
-
*/
6074
-
certSubjectDNRFC2253: string;
6075
-
/** The certificate issuer's distinguished name (legacy policies) */
6076
-
certIssuerDNLegacy: string;
6077
-
/** The certificate subject's distinguished name (legacy policies) */
6078
-
certSubjectDNLegacy: string;
6079
-
/**
6080
-
* The certificate's serial number
6081
-
*
6082
-
* @example "00936EACBE07F201DF"
6083
-
*/
6084
-
certSerial: string;
6085
-
/**
6086
-
* The certificate issuer's serial number
6087
-
*
6088
-
* @example "2489002934BDFEA34"
6089
-
*/
6090
-
certIssuerSerial: string;
6091
-
/**
6092
-
* The certificate's Subject Key Identifier
6093
-
*
6094
-
* @example "BB:AF:7E:02:3D:FA:A6:F1:3C:84:8E:AD:EE:38:98:EC:D9:32:32:D4"
6095
-
*/
6096
-
certSKI: string;
6097
-
/**
6098
-
* The certificate issuer's Subject Key Identifier
6099
-
*
6100
-
* @example "BB:AF:7E:02:3D:FA:A6:F1:3C:84:8E:AD:EE:38:98:EC:D9:32:32:D4"
6101
-
*/
6102
-
certIssuerSKI: string;
6103
-
/**
6104
-
* The certificate's SHA-1 fingerprint
6105
-
*
6106
-
* @example "6b9109f323999e52259cda7373ff0b4d26bd232e"
6107
-
*/
6108
-
certFingerprintSHA1: string;
6109
-
/**
6110
-
* The certificate's SHA-256 fingerprint
6111
-
*
6112
-
* @example "acf77cf37b4156a2708e34c4eb755f9b5dbbe5ebb55adfec8f11493438d19e6ad3f157f81fa3b98278453d5652b0c1fd1d71e5695ae4d709803a4d3f39de9dea"
6113
-
*/
6114
-
certFingerprintSHA256: string;
6115
-
/**
6116
-
* The effective starting date of the certificate
6117
-
*
6118
-
* @example "Dec 22 19:39:00 2018 GMT"
6119
-
*/
6120
-
certNotBefore: string;
6121
-
/**
6122
-
* The effective expiration date of the certificate
6123
-
*
6124
-
* @example "Dec 22 19:39:00 2018 GMT"
6125
-
*/
6126
-
certNotAfter: string;
6127
-
}
6128
-
/** Placeholder values for TLS Client Authorization */
6129
-
interface IncomingRequestCfPropertiesTLSClientAuthPlaceholder {
6130
-
certPresented: "0";
6131
-
certVerified: "NONE";
6132
-
certRevoked: "0";
6133
-
certIssuerDN: "";
6134
-
certSubjectDN: "";
6135
-
certIssuerDNRFC2253: "";
6136
-
certSubjectDNRFC2253: "";
6137
-
certIssuerDNLegacy: "";
6138
-
certSubjectDNLegacy: "";
6139
-
certSerial: "";
6140
-
certIssuerSerial: "";
6141
-
certSKI: "";
6142
-
certIssuerSKI: "";
6143
-
certFingerprintSHA1: "";
6144
-
certFingerprintSHA256: "";
6145
-
certNotBefore: "";
6146
-
certNotAfter: "";
6147
-
}
6148
-
/** Possible outcomes of TLS verification */
6149
-
declare type CertVerificationStatus =
6150
-
/** Authentication succeeded */
6151
-
"SUCCESS"
6152
-
/** No certificate was presented */
6153
-
| "NONE"
6154
-
/** Failed because the certificate was self-signed */
6155
-
| "FAILED:self signed certificate"
6156
-
/** Failed because the certificate failed a trust chain check */
6157
-
| "FAILED:unable to verify the first certificate"
6158
-
/** Failed because the certificate not yet valid */
6159
-
| "FAILED:certificate is not yet valid"
6160
-
/** Failed because the certificate is expired */
6161
-
| "FAILED:certificate has expired"
6162
-
/** Failed for another unspecified reason */
6163
-
| "FAILED";
6164
-
/**
6165
-
* An upstream endpoint's response to a TCP `keepalive` message from Cloudflare.
6166
-
*/
6167
-
declare type IncomingRequestCfPropertiesEdgeRequestKeepAliveStatus = 0 /** Unknown */ | 1 /** no keepalives (not found) */ | 2 /** no connection re-use, opening keepalive connection failed */ | 3 /** no connection re-use, keepalive accepted and saved */ | 4 /** connection re-use, refused by the origin server (`TCP FIN`) */ | 5; /** connection re-use, accepted by the origin server */
6168
-
/** ISO 3166-1 Alpha-2 codes */
6169
-
declare type Iso3166Alpha2Code = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW";
6170
-
/** The 2-letter continent codes Cloudflare uses */
6171
-
declare type ContinentCode = "AF" | "AN" | "AS" | "EU" | "NA" | "OC" | "SA";
6172
-
type CfProperties<HostMetadata = unknown> = IncomingRequestCfProperties<HostMetadata> | RequestInitCfProperties;
6173
-
interface D1Meta {
6174
-
duration: number;
6175
-
size_after: number;
6176
-
rows_read: number;
6177
-
rows_written: number;
6178
-
last_row_id: number;
6179
-
changed_db: boolean;
6180
-
changes: number;
6181
-
/**
6182
-
* The region of the database instance that executed the query.
6183
-
*/
6184
-
served_by_region?: string;
6185
-
/**
6186
-
* True if-and-only-if the database instance that executed the query was the primary.
6187
-
*/
6188
-
served_by_primary?: boolean;
6189
-
timings?: {
6190
-
/**
6191
-
* The duration of the SQL query execution by the database instance. It doesn't include any network time.
6192
-
*/
6193
-
sql_duration_ms: number;
6194
-
};
6195
-
}
6196
-
interface D1Response {
6197
-
success: true;
6198
-
meta: D1Meta & Record<string, unknown>;
6199
-
error?: never;
6200
-
}
6201
-
type D1Result<T = unknown> = D1Response & {
6202
-
results: T[];
6203
-
};
6204
-
interface D1ExecResult {
6205
-
count: number;
6206
-
duration: number;
6207
-
}
6208
-
type D1SessionConstraint =
6209
-
// Indicates that the first query should go to the primary, and the rest queries
6210
-
// using the same D1DatabaseSession will go to any replica that is consistent with
6211
-
// the bookmark maintained by the session (returned by the first query).
6212
-
"first-primary"
6213
-
// Indicates that the first query can go anywhere (primary or replica), and the rest queries
6214
-
// using the same D1DatabaseSession will go to any replica that is consistent with
6215
-
// the bookmark maintained by the session (returned by the first query).
6216
-
| "first-unconstrained";
6217
-
type D1SessionBookmark = string;
6218
-
declare abstract class D1Database {
6219
-
prepare(query: string): D1PreparedStatement;
6220
-
batch<T = unknown>(statements: D1PreparedStatement[]): Promise<D1Result<T>[]>;
6221
-
exec(query: string): Promise<D1ExecResult>;
6222
-
/**
6223
-
* Creates a new D1 Session anchored at the given constraint or the bookmark.
6224
-
* All queries executed using the created session will have sequential consistency,
6225
-
* meaning that all writes done through the session will be visible in subsequent reads.
6226
-
*
6227
-
* @param constraintOrBookmark Either the session constraint or the explicit bookmark to anchor the created session.
6228
-
*/
6229
-
withSession(constraintOrBookmark?: D1SessionBookmark | D1SessionConstraint): D1DatabaseSession;
6230
-
/**
6231
-
* @deprecated dump() will be removed soon, only applies to deprecated alpha v1 databases.
6232
-
*/
6233
-
dump(): Promise<ArrayBuffer>;
6234
-
}
6235
-
declare abstract class D1DatabaseSession {
6236
-
prepare(query: string): D1PreparedStatement;
6237
-
batch<T = unknown>(statements: D1PreparedStatement[]): Promise<D1Result<T>[]>;
6238
-
/**
6239
-
* @returns The latest session bookmark across all executed queries on the session.
6240
-
* If no query has been executed yet, `null` is returned.
6241
-
*/
6242
-
getBookmark(): D1SessionBookmark | null;
6243
-
}
6244
-
declare abstract class D1PreparedStatement {
6245
-
bind(...values: unknown[]): D1PreparedStatement;
6246
-
first<T = unknown>(colName: string): Promise<T | null>;
6247
-
first<T = Record<string, unknown>>(): Promise<T | null>;
6248
-
run<T = Record<string, unknown>>(): Promise<D1Result<T>>;
6249
-
all<T = Record<string, unknown>>(): Promise<D1Result<T>>;
6250
-
raw<T = unknown[]>(options: {
6251
-
columnNames: true;
6252
-
}): Promise<[
6253
-
string[],
6254
-
...T[]
6255
-
]>;
6256
-
raw<T = unknown[]>(options?: {
6257
-
columnNames?: false;
6258
-
}): Promise<T[]>;
6259
-
}
6260
-
// `Disposable` was added to TypeScript's standard lib types in version 5.2.
6261
-
// To support older TypeScript versions, define an empty `Disposable` interface.
6262
-
// Users won't be able to use `using`/`Symbol.dispose` without upgrading to 5.2,
6263
-
// but this will ensure type checking on older versions still passes.
6264
-
// TypeScript's interface merging will ensure our empty interface is effectively
6265
-
// ignored when `Disposable` is included in the standard lib.
6266
-
interface Disposable {
6267
-
}
6268
-
/**
6269
-
* An email message that can be sent from a Worker.
6270
-
*/
6271
-
interface EmailMessage {
6272
-
/**
6273
-
* Envelope From attribute of the email message.
6274
-
*/
6275
-
readonly from: string;
6276
-
/**
6277
-
* Envelope To attribute of the email message.
6278
-
*/
6279
-
readonly to: string;
6280
-
}
6281
-
/**
6282
-
* An email message that is sent to a consumer Worker and can be rejected/forwarded.
6283
-
*/
6284
-
interface ForwardableEmailMessage extends EmailMessage {
6285
-
/**
6286
-
* Stream of the email message content.
6287
-
*/
6288
-
readonly raw: ReadableStream<Uint8Array>;
6289
-
/**
6290
-
* An [Headers object](https://developer.mozilla.org/en-US/docs/Web/API/Headers).
6291
-
*/
6292
-
readonly headers: Headers;
6293
-
/**
6294
-
* Size of the email message content.
6295
-
*/
6296
-
readonly rawSize: number;
6297
-
/**
6298
-
* Reject this email message by returning a permanent SMTP error back to the connecting client including the given reason.
6299
-
* @param reason The reject reason.
6300
-
* @returns void
6301
-
*/
6302
-
setReject(reason: string): void;
6303
-
/**
6304
-
* Forward this email message to a verified destination address of the account.
6305
-
* @param rcptTo Verified destination address.
6306
-
* @param headers A [Headers object](https://developer.mozilla.org/en-US/docs/Web/API/Headers).
6307
-
* @returns A promise that resolves when the email message is forwarded.
6308
-
*/
6309
-
forward(rcptTo: string, headers?: Headers): Promise<void>;
6310
-
/**
6311
-
* Reply to the sender of this email message with a new EmailMessage object.
6312
-
* @param message The reply message.
6313
-
* @returns A promise that resolves when the email message is replied.
6314
-
*/
6315
-
reply(message: EmailMessage): Promise<void>;
6316
-
}
6317
-
/**
6318
-
* A binding that allows a Worker to send email messages.
6319
-
*/
6320
-
interface SendEmail {
6321
-
send(message: EmailMessage): Promise<void>;
6322
-
}
6323
-
declare abstract class EmailEvent extends ExtendableEvent {
6324
-
readonly message: ForwardableEmailMessage;
6325
-
}
6326
-
declare type EmailExportedHandler<Env = unknown> = (message: ForwardableEmailMessage, env: Env, ctx: ExecutionContext) => void | Promise<void>;
6327
-
declare module "cloudflare:email" {
6328
-
let _EmailMessage: {
6329
-
prototype: EmailMessage;
6330
-
new (from: string, to: string, raw: ReadableStream | string): EmailMessage;
6331
-
};
6332
-
export { _EmailMessage as EmailMessage };
6333
-
}
6334
-
interface Hyperdrive {
6335
-
/**
6336
-
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
6337
-
*
6338
-
* Calling this method returns an idential socket to if you call
6339
-
* `connect("host:port")` using the `host` and `port` fields from this object.
6340
-
* Pick whichever approach works better with your preferred DB client library.
6341
-
*
6342
-
* Note that this socket is not yet authenticated -- it's expected that your
6343
-
* code (or preferably, the client library of your choice) will authenticate
6344
-
* using the information in this class's readonly fields.
6345
-
*/
6346
-
connect(): Socket;
6347
-
/**
6348
-
* A valid DB connection string that can be passed straight into the typical
6349
-
* client library/driver/ORM. This will typically be the easiest way to use
6350
-
* Hyperdrive.
6351
-
*/
6352
-
readonly connectionString: string;
6353
-
/*
6354
-
* A randomly generated hostname that is only valid within the context of the
6355
-
* currently running Worker which, when passed into `connect()` function from
6356
-
* the "cloudflare:sockets" module, will connect to the Hyperdrive instance
6357
-
* for your database.
6358
-
*/
6359
-
readonly host: string;
6360
-
/*
6361
-
* The port that must be paired the the host field when connecting.
6362
-
*/
6363
-
readonly port: number;
6364
-
/*
6365
-
* The username to use when authenticating to your database via Hyperdrive.
6366
-
* Unlike the host and password, this will be the same every time
6367
-
*/
6368
-
readonly user: string;
6369
-
/*
6370
-
* The randomly generated password to use when authenticating to your
6371
-
* database via Hyperdrive. Like the host field, this password is only valid
6372
-
* within the context of the currently running Worker instance from which
6373
-
* it's read.
6374
-
*/
6375
-
readonly password: string;
6376
-
/*
6377
-
* The name of the database to connect to.
6378
-
*/
6379
-
readonly database: string;
6380
-
}
6381
-
// Copyright (c) 2024 Cloudflare, Inc.
6382
-
// Licensed under the Apache 2.0 license found in the LICENSE file or at:
6383
-
// https://opensource.org/licenses/Apache-2.0
6384
-
type ImageInfoResponse = {
6385
-
format: 'image/svg+xml';
6386
-
} | {
6387
-
format: string;
6388
-
fileSize: number;
6389
-
width: number;
6390
-
height: number;
6391
-
};
6392
-
type ImageTransform = {
6393
-
width?: number;
6394
-
height?: number;
6395
-
background?: string;
6396
-
blur?: number;
6397
-
border?: {
6398
-
color?: string;
6399
-
width?: number;
6400
-
} | {
6401
-
top?: number;
6402
-
bottom?: number;
6403
-
left?: number;
6404
-
right?: number;
6405
-
};
6406
-
brightness?: number;
6407
-
contrast?: number;
6408
-
fit?: 'scale-down' | 'contain' | 'pad' | 'squeeze' | 'cover' | 'crop';
6409
-
flip?: 'h' | 'v' | 'hv';
6410
-
gamma?: number;
6411
-
gravity?: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'auto' | 'entropy' | {
6412
-
x?: number;
6413
-
y?: number;
6414
-
mode: 'remainder' | 'box-center';
6415
-
};
6416
-
rotate?: 0 | 90 | 180 | 270;
6417
-
saturation?: number;
6418
-
sharpen?: number;
6419
-
trim?: "border" | {
6420
-
top?: number;
6421
-
bottom?: number;
6422
-
left?: number;
6423
-
right?: number;
6424
-
width?: number;
6425
-
height?: number;
6426
-
border?: boolean | {
6427
-
color?: string;
6428
-
tolerance?: number;
6429
-
keep?: number;
6430
-
};
6431
-
};
6432
-
};
6433
-
type ImageDrawOptions = {
6434
-
opacity?: number;
6435
-
repeat?: boolean | string;
6436
-
top?: number;
6437
-
left?: number;
6438
-
bottom?: number;
6439
-
right?: number;
6440
-
};
6441
-
type ImageOutputOptions = {
6442
-
format: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp' | 'image/avif' | 'rgb' | 'rgba';
6443
-
quality?: number;
6444
-
background?: string;
6445
-
};
6446
-
interface ImagesBinding {
6447
-
/**
6448
-
* Get image metadata (type, width and height)
6449
-
* @throws {@link ImagesError} with code 9412 if input is not an image
6450
-
* @param stream The image bytes
6451
-
*/
6452
-
info(stream: ReadableStream<Uint8Array>): Promise<ImageInfoResponse>;
6453
-
/**
6454
-
* Begin applying a series of transformations to an image
6455
-
* @param stream The image bytes
6456
-
* @returns A transform handle
6457
-
*/
6458
-
input(stream: ReadableStream<Uint8Array>): ImageTransformer;
6459
-
}
6460
-
interface ImageTransformer {
6461
-
/**
6462
-
* Apply transform next, returning a transform handle.
6463
-
* You can then apply more transformations, draw, or retrieve the output.
6464
-
* @param transform
6465
-
*/
6466
-
transform(transform: ImageTransform): ImageTransformer;
6467
-
/**
6468
-
* Draw an image on this transformer, returning a transform handle.
6469
-
* You can then apply more transformations, draw, or retrieve the output.
6470
-
* @param image The image (or transformer that will give the image) to draw
6471
-
* @param options The options configuring how to draw the image
6472
-
*/
6473
-
draw(image: ReadableStream<Uint8Array> | ImageTransformer, options?: ImageDrawOptions): ImageTransformer;
6474
-
/**
6475
-
* Retrieve the image that results from applying the transforms to the
6476
-
* provided input
6477
-
* @param options Options that apply to the output e.g. output format
6478
-
*/
6479
-
output(options: ImageOutputOptions): Promise<ImageTransformationResult>;
6480
-
}
6481
-
interface ImageTransformationResult {
6482
-
/**
6483
-
* The image as a response, ready to store in cache or return to users
6484
-
*/
6485
-
response(): Response;
6486
-
/**
6487
-
* The content type of the returned image
6488
-
*/
6489
-
contentType(): string;
6490
-
/**
6491
-
* The bytes of the response
6492
-
*/
6493
-
image(): ReadableStream<Uint8Array>;
6494
-
}
6495
-
interface ImagesError extends Error {
6496
-
readonly code: number;
6497
-
readonly message: string;
6498
-
readonly stack?: string;
6499
-
}
6500
-
type Params<P extends string = any> = Record<P, string | string[]>;
6501
-
type EventContext<Env, P extends string, Data> = {
6502
-
request: Request<unknown, IncomingRequestCfProperties<unknown>>;
6503
-
functionPath: string;
6504
-
waitUntil: (promise: Promise<any>) => void;
6505
-
passThroughOnException: () => void;
6506
-
next: (input?: Request | string, init?: RequestInit) => Promise<Response>;
6507
-
env: Env & {
6508
-
ASSETS: {
6509
-
fetch: typeof fetch;
6510
-
};
6511
-
};
6512
-
params: Params<P>;
6513
-
data: Data;
6514
-
};
6515
-
type PagesFunction<Env = unknown, Params extends string = any, Data extends Record<string, unknown> = Record<string, unknown>> = (context: EventContext<Env, Params, Data>) => Response | Promise<Response>;
6516
-
type EventPluginContext<Env, P extends string, Data, PluginArgs> = {
6517
-
request: Request<unknown, IncomingRequestCfProperties<unknown>>;
6518
-
functionPath: string;
6519
-
waitUntil: (promise: Promise<any>) => void;
6520
-
passThroughOnException: () => void;
6521
-
next: (input?: Request | string, init?: RequestInit) => Promise<Response>;
6522
-
env: Env & {
6523
-
ASSETS: {
6524
-
fetch: typeof fetch;
6525
-
};
6526
-
};
6527
-
params: Params<P>;
6528
-
data: Data;
6529
-
pluginArgs: PluginArgs;
6530
-
};
6531
-
type PagesPluginFunction<Env = unknown, Params extends string = any, Data extends Record<string, unknown> = Record<string, unknown>, PluginArgs = unknown> = (context: EventPluginContext<Env, Params, Data, PluginArgs>) => Response | Promise<Response>;
6532
-
declare module "assets:*" {
6533
-
export const onRequest: PagesFunction;
6534
-
}
6535
-
// Copyright (c) 2022-2023 Cloudflare, Inc.
6536
-
// Licensed under the Apache 2.0 license found in the LICENSE file or at:
6537
-
// https://opensource.org/licenses/Apache-2.0
6538
-
declare module "cloudflare:pipelines" {
6539
-
export abstract class PipelineTransformationEntrypoint<Env = unknown, I extends PipelineRecord = PipelineRecord, O extends PipelineRecord = PipelineRecord> {
6540
-
protected env: Env;
6541
-
protected ctx: ExecutionContext;
6542
-
constructor(ctx: ExecutionContext, env: Env);
6543
-
/**
6544
-
* run recieves an array of PipelineRecord which can be
6545
-
* transformed and returned to the pipeline
6546
-
* @param records Incoming records from the pipeline to be transformed
6547
-
* @param metadata Information about the specific pipeline calling the transformation entrypoint
6548
-
* @returns A promise containing the transformed PipelineRecord array
6549
-
*/
6550
-
public run(records: I[], metadata: PipelineBatchMetadata): Promise<O[]>;
6551
-
}
6552
-
export type PipelineRecord = Record<string, unknown>;
6553
-
export type PipelineBatchMetadata = {
6554
-
pipelineId: string;
6555
-
pipelineName: string;
6556
-
};
6557
-
export interface Pipeline<T extends PipelineRecord = PipelineRecord> {
6558
-
/**
6559
-
* The Pipeline interface represents the type of a binding to a Pipeline
6560
-
*
6561
-
* @param records The records to send to the pipeline
6562
-
*/
6563
-
send(records: T[]): Promise<void>;
6564
-
}
6565
-
}
6566
-
// PubSubMessage represents an incoming PubSub message.
6567
-
// The message includes metadata about the broker, the client, and the payload
6568
-
// itself.
6569
-
// https://developers.cloudflare.com/pub-sub/
6570
-
interface PubSubMessage {
6571
-
// Message ID
6572
-
readonly mid: number;
6573
-
// MQTT broker FQDN in the form mqtts://BROKER.NAMESPACE.cloudflarepubsub.com:PORT
6574
-
readonly broker: string;
6575
-
// The MQTT topic the message was sent on.
6576
-
readonly topic: string;
6577
-
// The client ID of the client that published this message.
6578
-
readonly clientId: string;
6579
-
// The unique identifier (JWT ID) used by the client to authenticate, if token
6580
-
// auth was used.
6581
-
readonly jti?: string;
6582
-
// A Unix timestamp (seconds from Jan 1, 1970), set when the Pub/Sub Broker
6583
-
// received the message from the client.
6584
-
readonly receivedAt: number;
6585
-
// An (optional) string with the MIME type of the payload, if set by the
6586
-
// client.
6587
-
readonly contentType: string;
6588
-
// Set to 1 when the payload is a UTF-8 string
6589
-
// https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901063
6590
-
readonly payloadFormatIndicator: number;
6591
-
// Pub/Sub (MQTT) payloads can be UTF-8 strings, or byte arrays.
6592
-
// You can use payloadFormatIndicator to inspect this before decoding.
6593
-
payload: string | Uint8Array;
6594
-
}
6595
-
// JsonWebKey extended by kid parameter
6596
-
interface JsonWebKeyWithKid extends JsonWebKey {
6597
-
// Key Identifier of the JWK
6598
-
readonly kid: string;
6599
-
}
6600
-
interface RateLimitOptions {
6601
-
key: string;
6602
-
}
6603
-
interface RateLimitOutcome {
6604
-
success: boolean;
6605
-
}
6606
-
interface RateLimit {
6607
-
/**
6608
-
* Rate limit a request based on the provided options.
6609
-
* @see https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/
6610
-
* @returns A promise that resolves with the outcome of the rate limit.
6611
-
*/
6612
-
limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
6613
-
}
6614
-
// Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
6615
-
// to referenced by `Fetcher`. This is included in the "importable" version of the types which
6616
-
// strips all `module` blocks.
6617
-
declare namespace Rpc {
6618
-
// Branded types for identifying `WorkerEntrypoint`/`DurableObject`/`Target`s.
6619
-
// TypeScript uses *structural* typing meaning anything with the same shape as type `T` is a `T`.
6620
-
// For the classes exported by `cloudflare:workers` we want *nominal* typing (i.e. we only want to
6621
-
// accept `WorkerEntrypoint` from `cloudflare:workers`, not any other class with the same shape)
6622
-
export const __RPC_STUB_BRAND: '__RPC_STUB_BRAND';
6623
-
export const __RPC_TARGET_BRAND: '__RPC_TARGET_BRAND';
6624
-
export const __WORKER_ENTRYPOINT_BRAND: '__WORKER_ENTRYPOINT_BRAND';
6625
-
export const __DURABLE_OBJECT_BRAND: '__DURABLE_OBJECT_BRAND';
6626
-
export const __WORKFLOW_ENTRYPOINT_BRAND: '__WORKFLOW_ENTRYPOINT_BRAND';
6627
-
export interface RpcTargetBranded {
6628
-
[__RPC_TARGET_BRAND]: never;
6629
-
}
6630
-
export interface WorkerEntrypointBranded {
6631
-
[__WORKER_ENTRYPOINT_BRAND]: never;
6632
-
}
6633
-
export interface DurableObjectBranded {
6634
-
[__DURABLE_OBJECT_BRAND]: never;
6635
-
}
6636
-
export interface WorkflowEntrypointBranded {
6637
-
[__WORKFLOW_ENTRYPOINT_BRAND]: never;
6638
-
}
6639
-
export type EntrypointBranded = WorkerEntrypointBranded | DurableObjectBranded | WorkflowEntrypointBranded;
6640
-
// Types that can be used through `Stub`s
6641
-
export type Stubable = RpcTargetBranded | ((...args: any[]) => any);
6642
-
// Types that can be passed over RPC
6643
-
// The reason for using a generic type here is to build a serializable subset of structured
6644
-
// cloneable composite types. This allows types defined with the "interface" keyword to pass the
6645
-
// serializable check as well. Otherwise, only types defined with the "type" keyword would pass.
6646
-
type Serializable<T> =
6647
-
// Structured cloneables
6648
-
BaseType
6649
-
// Structured cloneable composites
6650
-
| Map<T extends Map<infer U, unknown> ? Serializable<U> : never, T extends Map<unknown, infer U> ? Serializable<U> : never> | Set<T extends Set<infer U> ? Serializable<U> : never> | ReadonlyArray<T extends ReadonlyArray<infer U> ? Serializable<U> : never> | {
6651
-
[K in keyof T]: K extends number | string ? Serializable<T[K]> : never;
6652
-
}
6653
-
// Special types
6654
-
| Stub<Stubable>
6655
-
// Serialized as stubs, see `Stubify`
6656
-
| Stubable;
6657
-
// Base type for all RPC stubs, including common memory management methods.
6658
-
// `T` is used as a marker type for unwrapping `Stub`s later.
6659
-
interface StubBase<T extends Stubable> extends Disposable {
6660
-
[__RPC_STUB_BRAND]: T;
6661
-
dup(): this;
6662
-
}
6663
-
export type Stub<T extends Stubable> = Provider<T> & StubBase<T>;
6664
-
// This represents all the types that can be sent as-is over an RPC boundary
6665
-
type BaseType = void | undefined | null | boolean | number | bigint | string | TypedArray | ArrayBuffer | DataView | Date | Error | RegExp | ReadableStream<Uint8Array> | WritableStream<Uint8Array> | Request | Response | Headers;
6666
-
// Recursively rewrite all `Stubable` types with `Stub`s
6667
-
// prettier-ignore
6668
-
type Stubify<T> = T extends Stubable ? Stub<T> : T extends Map<infer K, infer V> ? Map<Stubify<K>, Stubify<V>> : T extends Set<infer V> ? Set<Stubify<V>> : T extends Array<infer V> ? Array<Stubify<V>> : T extends ReadonlyArray<infer V> ? ReadonlyArray<Stubify<V>> : T extends BaseType ? T : T extends {
6669
-
[key: string | number]: any;
6670
-
} ? {
6671
-
[K in keyof T]: Stubify<T[K]>;
6672
-
} : T;
6673
-
// Recursively rewrite all `Stub<T>`s with the corresponding `T`s.
6674
-
// Note we use `StubBase` instead of `Stub` here to avoid circular dependencies:
6675
-
// `Stub` depends on `Provider`, which depends on `Unstubify`, which would depend on `Stub`.
6676
-
// prettier-ignore
6677
-
type Unstubify<T> = T extends StubBase<infer V> ? V : T extends Map<infer K, infer V> ? Map<Unstubify<K>, Unstubify<V>> : T extends Set<infer V> ? Set<Unstubify<V>> : T extends Array<infer V> ? Array<Unstubify<V>> : T extends ReadonlyArray<infer V> ? ReadonlyArray<Unstubify<V>> : T extends BaseType ? T : T extends {
6678
-
[key: string | number]: unknown;
6679
-
} ? {
6680
-
[K in keyof T]: Unstubify<T[K]>;
6681
-
} : T;
6682
-
type UnstubifyAll<A extends any[]> = {
6683
-
[I in keyof A]: Unstubify<A[I]>;
6684
-
};
6685
-
// Utility type for adding `Provider`/`Disposable`s to `object` types only.
6686
-
// Note `unknown & T` is equivalent to `T`.
6687
-
type MaybeProvider<T> = T extends object ? Provider<T> : unknown;
6688
-
type MaybeDisposable<T> = T extends object ? Disposable : unknown;
6689
-
// Type for method return or property on an RPC interface.
6690
-
// - Stubable types are replaced by stubs.
6691
-
// - Serializable types are passed by value, with stubable types replaced by stubs
6692
-
// and a top-level `Disposer`.
6693
-
// Everything else can't be passed over PRC.
6694
-
// Technically, we use custom thenables here, but they quack like `Promise`s.
6695
-
// Intersecting with `(Maybe)Provider` allows pipelining.
6696
-
// prettier-ignore
6697
-
type Result<R> = R extends Stubable ? Promise<Stub<R>> & Provider<R> : R extends Serializable<R> ? Promise<Stubify<R> & MaybeDisposable<R>> & MaybeProvider<R> : never;
6698
-
// Type for method or property on an RPC interface.
6699
-
// For methods, unwrap `Stub`s in parameters, and rewrite returns to be `Result`s.
6700
-
// Unwrapping `Stub`s allows calling with `Stubable` arguments.
6701
-
// For properties, rewrite types to be `Result`s.
6702
-
// In each case, unwrap `Promise`s.
6703
-
type MethodOrProperty<V> = V extends (...args: infer P) => infer R ? (...args: UnstubifyAll<P>) => Result<Awaited<R>> : Result<Awaited<V>>;
6704
-
// Type for the callable part of an `Provider` if `T` is callable.
6705
-
// This is intersected with methods/properties.
6706
-
type MaybeCallableProvider<T> = T extends (...args: any[]) => any ? MethodOrProperty<T> : unknown;
6707
-
// Base type for all other types providing RPC-like interfaces.
6708
-
// Rewrites all methods/properties to be `MethodOrProperty`s, while preserving callable types.
6709
-
// `Reserved` names (e.g. stub method names like `dup()`) and symbols can't be accessed over RPC.
6710
-
export type Provider<T extends object, Reserved extends string = never> = MaybeCallableProvider<T> & {
6711
-
[K in Exclude<keyof T, Reserved | symbol | keyof StubBase<never>>]: MethodOrProperty<T[K]>;
6712
-
};
6713
-
}
6714
-
declare namespace Cloudflare {
6715
-
interface Env {
6716
-
}
6717
-
}
6718
-
declare module 'cloudflare:workers' {
6719
-
export type RpcStub<T extends Rpc.Stubable> = Rpc.Stub<T>;
6720
-
export const RpcStub: {
6721
-
new <T extends Rpc.Stubable>(value: T): Rpc.Stub<T>;
6722
-
};
6723
-
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
6724
-
[Rpc.__RPC_TARGET_BRAND]: never;
6725
-
}
6726
-
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
6727
-
export abstract class WorkerEntrypoint<Env = unknown> implements Rpc.WorkerEntrypointBranded {
6728
-
[Rpc.__WORKER_ENTRYPOINT_BRAND]: never;
6729
-
protected ctx: ExecutionContext;
6730
-
protected env: Env;
6731
-
constructor(ctx: ExecutionContext, env: Env);
6732
-
fetch?(request: Request): Response | Promise<Response>;
6733
-
tail?(events: TraceItem[]): void | Promise<void>;
6734
-
trace?(traces: TraceItem[]): void | Promise<void>;
6735
-
scheduled?(controller: ScheduledController): void | Promise<void>;
6736
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
6737
-
test?(controller: TestController): void | Promise<void>;
6738
-
}
6739
-
export abstract class DurableObject<Env = unknown> implements Rpc.DurableObjectBranded {
6740
-
[Rpc.__DURABLE_OBJECT_BRAND]: never;
6741
-
protected ctx: DurableObjectState;
6742
-
protected env: Env;
6743
-
constructor(ctx: DurableObjectState, env: Env);
6744
-
fetch?(request: Request): Response | Promise<Response>;
6745
-
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
6746
-
webSocketMessage?(ws: WebSocket, message: string | ArrayBuffer): void | Promise<void>;
6747
-
webSocketClose?(ws: WebSocket, code: number, reason: string, wasClean: boolean): void | Promise<void>;
6748
-
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
6749
-
}
6750
-
export type WorkflowDurationLabel = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';
6751
-
export type WorkflowSleepDuration = `${number} ${WorkflowDurationLabel}${'s' | ''}` | number;
6752
-
export type WorkflowDelayDuration = WorkflowSleepDuration;
6753
-
export type WorkflowTimeoutDuration = WorkflowSleepDuration;
6754
-
export type WorkflowRetentionDuration = WorkflowSleepDuration;
6755
-
export type WorkflowBackoff = 'constant' | 'linear' | 'exponential';
6756
-
export type WorkflowStepConfig = {
6757
-
retries?: {
6758
-
limit: number;
6759
-
delay: WorkflowDelayDuration | number;
6760
-
backoff?: WorkflowBackoff;
6761
-
};
6762
-
timeout?: WorkflowTimeoutDuration | number;
6763
-
};
6764
-
export type WorkflowEvent<T> = {
6765
-
payload: Readonly<T>;
6766
-
timestamp: Date;
6767
-
instanceId: string;
6768
-
};
6769
-
export type WorkflowStepEvent<T> = {
6770
-
payload: Readonly<T>;
6771
-
timestamp: Date;
6772
-
type: string;
6773
-
};
6774
-
export abstract class WorkflowStep {
6775
-
do<T extends Rpc.Serializable<T>>(name: string, callback: () => Promise<T>): Promise<T>;
6776
-
do<T extends Rpc.Serializable<T>>(name: string, config: WorkflowStepConfig, callback: () => Promise<T>): Promise<T>;
6777
-
sleep: (name: string, duration: WorkflowSleepDuration) => Promise<void>;
6778
-
sleepUntil: (name: string, timestamp: Date | number) => Promise<void>;
6779
-
waitForEvent<T extends Rpc.Serializable<T>>(name: string, options: {
6780
-
type: string;
6781
-
timeout?: WorkflowTimeoutDuration | number;
6782
-
}): Promise<WorkflowStepEvent<T>>;
6783
-
}
6784
-
export abstract class WorkflowEntrypoint<Env = unknown, T extends Rpc.Serializable<T> | unknown = unknown> implements Rpc.WorkflowEntrypointBranded {
6785
-
[Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
6786
-
protected ctx: ExecutionContext;
6787
-
protected env: Env;
6788
-
constructor(ctx: ExecutionContext, env: Env);
6789
-
run(event: Readonly<WorkflowEvent<T>>, step: WorkflowStep): Promise<unknown>;
6790
-
}
6791
-
export const env: Cloudflare.Env;
6792
-
}
6793
-
interface SecretsStoreSecret {
6794
-
/**
6795
-
* Get a secret from the Secrets Store, returning a string of the secret value
6796
-
* if it exists, or throws an error if it does not exist
6797
-
*/
6798
-
get(): Promise<string>;
6799
-
}
6800
-
declare module "cloudflare:sockets" {
6801
-
function _connect(address: string | SocketAddress, options?: SocketOptions): Socket;
6802
-
export { _connect as connect };
6803
-
}
6804
-
declare namespace TailStream {
6805
-
interface Header {
6806
-
readonly name: string;
6807
-
readonly value: string;
6808
-
}
6809
-
interface FetchEventInfo {
6810
-
readonly type: "fetch";
6811
-
readonly method: string;
6812
-
readonly url: string;
6813
-
readonly cfJson: string;
6814
-
readonly headers: Header[];
6815
-
}
6816
-
interface JsRpcEventInfo {
6817
-
readonly type: "jsrpc";
6818
-
readonly methodName: string;
6819
-
}
6820
-
interface ScheduledEventInfo {
6821
-
readonly type: "scheduled";
6822
-
readonly scheduledTime: Date;
6823
-
readonly cron: string;
6824
-
}
6825
-
interface AlarmEventInfo {
6826
-
readonly type: "alarm";
6827
-
readonly scheduledTime: Date;
6828
-
}
6829
-
interface QueueEventInfo {
6830
-
readonly type: "queue";
6831
-
readonly queueName: string;
6832
-
readonly batchSize: number;
6833
-
}
6834
-
interface EmailEventInfo {
6835
-
readonly type: "email";
6836
-
readonly mailFrom: string;
6837
-
readonly rcptTo: string;
6838
-
readonly rawSize: number;
6839
-
}
6840
-
interface TraceEventInfo {
6841
-
readonly type: "trace";
6842
-
readonly traces: (string | null)[];
6843
-
}
6844
-
interface HibernatableWebSocketEventInfoMessage {
6845
-
readonly type: "message";
6846
-
}
6847
-
interface HibernatableWebSocketEventInfoError {
6848
-
readonly type: "error";
6849
-
}
6850
-
interface HibernatableWebSocketEventInfoClose {
6851
-
readonly type: "close";
6852
-
readonly code: number;
6853
-
readonly wasClean: boolean;
6854
-
}
6855
-
interface HibernatableWebSocketEventInfo {
6856
-
readonly type: "hibernatableWebSocket";
6857
-
readonly info: HibernatableWebSocketEventInfoClose | HibernatableWebSocketEventInfoError | HibernatableWebSocketEventInfoMessage;
6858
-
}
6859
-
interface Resume {
6860
-
readonly type: "resume";
6861
-
readonly attachment?: any;
6862
-
}
6863
-
interface CustomEventInfo {
6864
-
readonly type: "custom";
6865
-
}
6866
-
interface FetchResponseInfo {
6867
-
readonly type: "fetch";
6868
-
readonly statusCode: number;
6869
-
}
6870
-
type EventOutcome = "ok" | "canceled" | "exception" | "unknown" | "killSwitch" | "daemonDown" | "exceededCpu" | "exceededMemory" | "loadShed" | "responseStreamDisconnected" | "scriptNotFound";
6871
-
interface ScriptVersion {
6872
-
readonly id: string;
6873
-
readonly tag?: string;
6874
-
readonly message?: string;
6875
-
}
6876
-
interface Trigger {
6877
-
readonly traceId: string;
6878
-
readonly invocationId: string;
6879
-
readonly spanId: string;
6880
-
}
6881
-
interface Onset {
6882
-
readonly type: "onset";
6883
-
readonly dispatchNamespace?: string;
6884
-
readonly entrypoint?: string;
6885
-
readonly executionModel: string;
6886
-
readonly scriptName?: string;
6887
-
readonly scriptTags?: string[];
6888
-
readonly scriptVersion?: ScriptVersion;
6889
-
readonly trigger?: Trigger;
6890
-
readonly info: FetchEventInfo | JsRpcEventInfo | ScheduledEventInfo | AlarmEventInfo | QueueEventInfo | EmailEventInfo | TraceEventInfo | HibernatableWebSocketEventInfo | Resume | CustomEventInfo;
6891
-
}
6892
-
interface Outcome {
6893
-
readonly type: "outcome";
6894
-
readonly outcome: EventOutcome;
6895
-
readonly cpuTime: number;
6896
-
readonly wallTime: number;
6897
-
}
6898
-
interface Hibernate {
6899
-
readonly type: "hibernate";
6900
-
}
6901
-
interface SpanOpen {
6902
-
readonly type: "spanOpen";
6903
-
readonly name: string;
6904
-
readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6905
-
}
6906
-
interface SpanClose {
6907
-
readonly type: "spanClose";
6908
-
readonly outcome: EventOutcome;
6909
-
}
6910
-
interface DiagnosticChannelEvent {
6911
-
readonly type: "diagnosticChannel";
6912
-
readonly channel: string;
6913
-
readonly message: any;
6914
-
}
6915
-
interface Exception {
6916
-
readonly type: "exception";
6917
-
readonly name: string;
6918
-
readonly message: string;
6919
-
readonly stack?: string;
6920
-
}
6921
-
interface Log {
6922
-
readonly type: "log";
6923
-
readonly level: "debug" | "error" | "info" | "log" | "warn";
6924
-
readonly message: string;
6925
-
}
6926
-
interface Return {
6927
-
readonly type: "return";
6928
-
readonly info?: FetchResponseInfo;
6929
-
}
6930
-
interface Link {
6931
-
readonly type: "link";
6932
-
readonly label?: string;
6933
-
readonly traceId: string;
6934
-
readonly invocationId: string;
6935
-
readonly spanId: string;
6936
-
}
6937
-
interface Attribute {
6938
-
readonly name: string;
6939
-
readonly value: string | string[] | boolean | boolean[] | number | number[] | bigint | bigint[];
6940
-
}
6941
-
interface Attributes {
6942
-
readonly type: "attributes";
6943
-
readonly info: Attribute[];
6944
-
}
6945
-
interface TailEvent {
6946
-
readonly traceId: string;
6947
-
readonly invocationId: string;
6948
-
readonly spanId: string;
6949
-
readonly timestamp: Date;
6950
-
readonly sequence: number;
6951
-
readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | DiagnosticChannelEvent | Exception | Log | Return | Link | Attributes;
6952
-
}
6953
-
type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6954
-
type TailEventHandlerName = "outcome" | "hibernate" | "spanOpen" | "spanClose" | "diagnosticChannel" | "exception" | "log" | "return" | "link" | "attributes";
6955
-
type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6956
-
type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6957
-
}
6958
-
// Copyright (c) 2022-2023 Cloudflare, Inc.
6959
-
// Licensed under the Apache 2.0 license found in the LICENSE file or at:
6960
-
// https://opensource.org/licenses/Apache-2.0
6961
-
/**
6962
-
* Data types supported for holding vector metadata.
6963
-
*/
6964
-
type VectorizeVectorMetadataValue = string | number | boolean | string[];
6965
-
/**
6966
-
* Additional information to associate with a vector.
6967
-
*/
6968
-
type VectorizeVectorMetadata = VectorizeVectorMetadataValue | Record<string, VectorizeVectorMetadataValue>;
6969
-
type VectorFloatArray = Float32Array | Float64Array;
6970
-
interface VectorizeError {
6971
-
code?: number;
6972
-
error: string;
6973
-
}
6974
-
/**
6975
-
* Comparison logic/operation to use for metadata filtering.
6976
-
*
6977
-
* This list is expected to grow as support for more operations are released.
6978
-
*/
6979
-
type VectorizeVectorMetadataFilterOp = "$eq" | "$ne";
6980
-
/**
6981
-
* Filter criteria for vector metadata used to limit the retrieved query result set.
6982
-
*/
6983
-
type VectorizeVectorMetadataFilter = {
6984
-
[field: string]: Exclude<VectorizeVectorMetadataValue, string[]> | null | {
6985
-
[Op in VectorizeVectorMetadataFilterOp]?: Exclude<VectorizeVectorMetadataValue, string[]> | null;
6986
-
};
6987
-
};
6988
-
/**
6989
-
* Supported distance metrics for an index.
6990
-
* Distance metrics determine how other "similar" vectors are determined.
6991
-
*/
6992
-
type VectorizeDistanceMetric = "euclidean" | "cosine" | "dot-product";
6993
-
/**
6994
-
* Metadata return levels for a Vectorize query.
6995
-
*
6996
-
* Default to "none".
6997
-
*
6998
-
* @property all Full metadata for the vector return set, including all fields (including those un-indexed) without truncation. This is a more expensive retrieval, as it requires additional fetching & reading of un-indexed data.
6999
-
* @property indexed Return all metadata fields configured for indexing in the vector return set. This level of retrieval is "free" in that no additional overhead is incurred returning this data. However, note that indexed metadata is subject to truncation (especially for larger strings).
7000
-
* @property none No indexed metadata will be returned.
7001
-
*/
7002
-
type VectorizeMetadataRetrievalLevel = "all" | "indexed" | "none";
7003
-
interface VectorizeQueryOptions {
7004
-
topK?: number;
7005
-
namespace?: string;
7006
-
returnValues?: boolean;
7007
-
returnMetadata?: boolean | VectorizeMetadataRetrievalLevel;
7008
-
filter?: VectorizeVectorMetadataFilter;
7009
-
}
7010
-
/**
7011
-
* Information about the configuration of an index.
7012
-
*/
7013
-
type VectorizeIndexConfig = {
7014
-
dimensions: number;
7015
-
metric: VectorizeDistanceMetric;
7016
-
} | {
7017
-
preset: string; // keep this generic, as we'll be adding more presets in the future and this is only in a read capacity
7018
-
};
7019
-
/**
7020
-
* Metadata about an existing index.
7021
-
*
7022
-
* This type is exclusively for the Vectorize **beta** and will be deprecated once Vectorize RC is released.
7023
-
* See {@link VectorizeIndexInfo} for its post-beta equivalent.
7024
-
*/
7025
-
interface VectorizeIndexDetails {
7026
-
/** The unique ID of the index */
7027
-
readonly id: string;
7028
-
/** The name of the index. */
7029
-
name: string;
7030
-
/** (optional) A human readable description for the index. */
7031
-
description?: string;
7032
-
/** The index configuration, including the dimension size and distance metric. */
7033
-
config: VectorizeIndexConfig;
7034
-
/** The number of records containing vectors within the index. */
7035
-
vectorsCount: number;
7036
-
}
7037
-
/**
7038
-
* Metadata about an existing index.
7039
-
*/
7040
-
interface VectorizeIndexInfo {
7041
-
/** The number of records containing vectors within the index. */
7042
-
vectorCount: number;
7043
-
/** Number of dimensions the index has been configured for. */
7044
-
dimensions: number;
7045
-
/** ISO 8601 datetime of the last processed mutation on in the index. All changes before this mutation will be reflected in the index state. */
7046
-
processedUpToDatetime: number;
7047
-
/** UUIDv4 of the last mutation processed by the index. All changes before this mutation will be reflected in the index state. */
7048
-
processedUpToMutation: number;
7049
-
}
7050
-
/**
7051
-
* Represents a single vector value set along with its associated metadata.
7052
-
*/
7053
-
interface VectorizeVector {
7054
-
/** The ID for the vector. This can be user-defined, and must be unique. It should uniquely identify the object, and is best set based on the ID of what the vector represents. */
7055
-
id: string;
7056
-
/** The vector values */
7057
-
values: VectorFloatArray | number[];
7058
-
/** The namespace this vector belongs to. */
7059
-
namespace?: string;
7060
-
/** Metadata associated with the vector. Includes the values of other fields and potentially additional details. */
7061
-
metadata?: Record<string, VectorizeVectorMetadata>;
7062
-
}
7063
-
/**
7064
-
* Represents a matched vector for a query along with its score and (if specified) the matching vector information.
7065
-
*/
7066
-
type VectorizeMatch = Pick<Partial<VectorizeVector>, "values"> & Omit<VectorizeVector, "values"> & {
7067
-
/** The score or rank for similarity, when returned as a result */
7068
-
score: number;
7069
-
};
7070
-
/**
7071
-
* A set of matching {@link VectorizeMatch} for a particular query.
7072
-
*/
7073
-
interface VectorizeMatches {
7074
-
matches: VectorizeMatch[];
7075
-
count: number;
7076
-
}
7077
-
/**
7078
-
* Results of an operation that performed a mutation on a set of vectors.
7079
-
* Here, `ids` is a list of vectors that were successfully processed.
7080
-
*
7081
-
* This type is exclusively for the Vectorize **beta** and will be deprecated once Vectorize RC is released.
7082
-
* See {@link VectorizeAsyncMutation} for its post-beta equivalent.
7083
-
*/
7084
-
interface VectorizeVectorMutation {
7085
-
/* List of ids of vectors that were successfully processed. */
7086
-
ids: string[];
7087
-
/* Total count of the number of processed vectors. */
7088
-
count: number;
7089
-
}
7090
-
/**
7091
-
* Result type indicating a mutation on the Vectorize Index.
7092
-
* Actual mutations are processed async where the `mutationId` is the unique identifier for the operation.
7093
-
*/
7094
-
interface VectorizeAsyncMutation {
7095
-
/** The unique identifier for the async mutation operation containing the changeset. */
7096
-
mutationId: string;
7097
-
}
7098
-
/**
7099
-
* A Vectorize Vector Search Index for querying vectors/embeddings.
7100
-
*
7101
-
* This type is exclusively for the Vectorize **beta** and will be deprecated once Vectorize RC is released.
7102
-
* See {@link Vectorize} for its new implementation.
7103
-
*/
7104
-
declare abstract class VectorizeIndex {
7105
-
/**
7106
-
* Get information about the currently bound index.
7107
-
* @returns A promise that resolves with information about the current index.
7108
-
*/
7109
-
public describe(): Promise<VectorizeIndexDetails>;
7110
-
/**
7111
-
* Use the provided vector to perform a similarity search across the index.
7112
-
* @param vector Input vector that will be used to drive the similarity search.
7113
-
* @param options Configuration options to massage the returned data.
7114
-
* @returns A promise that resolves with matched and scored vectors.
7115
-
*/
7116
-
public query(vector: VectorFloatArray | number[], options?: VectorizeQueryOptions): Promise<VectorizeMatches>;
7117
-
/**
7118
-
* Insert a list of vectors into the index dataset. If a provided id exists, an error will be thrown.
7119
-
* @param vectors List of vectors that will be inserted.
7120
-
* @returns A promise that resolves with the ids & count of records that were successfully processed.
7121
-
*/
7122
-
public insert(vectors: VectorizeVector[]): Promise<VectorizeVectorMutation>;
7123
-
/**
7124
-
* Upsert a list of vectors into the index dataset. If a provided id exists, it will be replaced with the new values.
7125
-
* @param vectors List of vectors that will be upserted.
7126
-
* @returns A promise that resolves with the ids & count of records that were successfully processed.
7127
-
*/
7128
-
public upsert(vectors: VectorizeVector[]): Promise<VectorizeVectorMutation>;
7129
-
/**
7130
-
* Delete a list of vectors with a matching id.
7131
-
* @param ids List of vector ids that should be deleted.
7132
-
* @returns A promise that resolves with the ids & count of records that were successfully processed (and thus deleted).
7133
-
*/
7134
-
public deleteByIds(ids: string[]): Promise<VectorizeVectorMutation>;
7135
-
/**
7136
-
* Get a list of vectors with a matching id.
7137
-
* @param ids List of vector ids that should be returned.
7138
-
* @returns A promise that resolves with the raw unscored vectors matching the id set.
7139
-
*/
7140
-
public getByIds(ids: string[]): Promise<VectorizeVector[]>;
7141
-
}
7142
-
/**
7143
-
* A Vectorize Vector Search Index for querying vectors/embeddings.
7144
-
*
7145
-
* Mutations in this version are async, returning a mutation id.
7146
-
*/
7147
-
declare abstract class Vectorize {
7148
-
/**
7149
-
* Get information about the currently bound index.
7150
-
* @returns A promise that resolves with information about the current index.
7151
-
*/
7152
-
public describe(): Promise<VectorizeIndexInfo>;
7153
-
/**
7154
-
* Use the provided vector to perform a similarity search across the index.
7155
-
* @param vector Input vector that will be used to drive the similarity search.
7156
-
* @param options Configuration options to massage the returned data.
7157
-
* @returns A promise that resolves with matched and scored vectors.
7158
-
*/
7159
-
public query(vector: VectorFloatArray | number[], options?: VectorizeQueryOptions): Promise<VectorizeMatches>;
7160
-
/**
7161
-
* Use the provided vector-id to perform a similarity search across the index.
7162
-
* @param vectorId Id for a vector in the index against which the index should be queried.
7163
-
* @param options Configuration options to massage the returned data.
7164
-
* @returns A promise that resolves with matched and scored vectors.
7165
-
*/
7166
-
public queryById(vectorId: string, options?: VectorizeQueryOptions): Promise<VectorizeMatches>;
7167
-
/**
7168
-
* Insert a list of vectors into the index dataset. If a provided id exists, an error will be thrown.
7169
-
* @param vectors List of vectors that will be inserted.
7170
-
* @returns A promise that resolves with a unique identifier of a mutation containing the insert changeset.
7171
-
*/
7172
-
public insert(vectors: VectorizeVector[]): Promise<VectorizeAsyncMutation>;
7173
-
/**
7174
-
* Upsert a list of vectors into the index dataset. If a provided id exists, it will be replaced with the new values.
7175
-
* @param vectors List of vectors that will be upserted.
7176
-
* @returns A promise that resolves with a unique identifier of a mutation containing the upsert changeset.
7177
-
*/
7178
-
public upsert(vectors: VectorizeVector[]): Promise<VectorizeAsyncMutation>;
7179
-
/**
7180
-
* Delete a list of vectors with a matching id.
7181
-
* @param ids List of vector ids that should be deleted.
7182
-
* @returns A promise that resolves with a unique identifier of a mutation containing the delete changeset.
7183
-
*/
7184
-
public deleteByIds(ids: string[]): Promise<VectorizeAsyncMutation>;
7185
-
/**
7186
-
* Get a list of vectors with a matching id.
7187
-
* @param ids List of vector ids that should be returned.
7188
-
* @returns A promise that resolves with the raw unscored vectors matching the id set.
7189
-
*/
7190
-
public getByIds(ids: string[]): Promise<VectorizeVector[]>;
7191
-
}
7192
-
/**
7193
-
* The interface for "version_metadata" binding
7194
-
* providing metadata about the Worker Version using this binding.
7195
-
*/
7196
-
type WorkerVersionMetadata = {
7197
-
/** The ID of the Worker Version using this binding */
7198
-
id: string;
7199
-
/** The tag of the Worker Version using this binding */
7200
-
tag: string;
7201
-
/** The timestamp of when the Worker Version was uploaded */
7202
-
timestamp: string;
7203
-
};
7204
-
interface DynamicDispatchLimits {
7205
-
/**
7206
-
* Limit CPU time in milliseconds.
7207
-
*/
7208
-
cpuMs?: number;
7209
-
/**
7210
-
* Limit number of subrequests.
7211
-
*/
7212
-
subRequests?: number;
7213
-
}
7214
-
interface DynamicDispatchOptions {
7215
-
/**
7216
-
* Limit resources of invoked Worker script.
7217
-
*/
7218
-
limits?: DynamicDispatchLimits;
7219
-
/**
7220
-
* Arguments for outbound Worker script, if configured.
7221
-
*/
7222
-
outbound?: {
7223
-
[key: string]: any;
7224
-
};
7225
-
}
7226
-
interface DispatchNamespace {
7227
-
/**
7228
-
* @param name Name of the Worker script.
7229
-
* @param args Arguments to Worker script.
7230
-
* @param options Options for Dynamic Dispatch invocation.
7231
-
* @returns A Fetcher object that allows you to send requests to the Worker script.
7232
-
* @throws If the Worker script does not exist in this dispatch namespace, an error will be thrown.
7233
-
*/
7234
-
get(name: string, args?: {
7235
-
[key: string]: any;
7236
-
}, options?: DynamicDispatchOptions): Fetcher;
7237
-
}
7238
-
declare module 'cloudflare:workflows' {
7239
-
/**
7240
-
* NonRetryableError allows for a user to throw a fatal error
7241
-
* that makes a Workflow instance fail immediately without triggering a retry
7242
-
*/
7243
-
export class NonRetryableError extends Error {
7244
-
public constructor(message: string, name?: string);
7245
-
}
7246
-
}
7247
-
declare abstract class Workflow<PARAMS = unknown> {
7248
-
/**
7249
-
* Get a handle to an existing instance of the Workflow.
7250
-
* @param id Id for the instance of this Workflow
7251
-
* @returns A promise that resolves with a handle for the Instance
7252
-
*/
7253
-
public get(id: string): Promise<WorkflowInstance>;
7254
-
/**
7255
-
* Create a new instance and return a handle to it. If a provided id exists, an error will be thrown.
7256
-
* @param options Options when creating an instance including id and params
7257
-
* @returns A promise that resolves with a handle for the Instance
7258
-
*/
7259
-
public create(options?: WorkflowInstanceCreateOptions<PARAMS>): Promise<WorkflowInstance>;
7260
-
/**
7261
-
* Create a batch of instances and return handle for all of them. If a provided id exists, an error will be thrown.
7262
-
* `createBatch` is limited at 100 instances at a time or when the RPC limit for the batch (1MiB) is reached.
7263
-
* @param batch List of Options when creating an instance including name and params
7264
-
* @returns A promise that resolves with a list of handles for the created instances.
7265
-
*/
7266
-
public createBatch(batch: WorkflowInstanceCreateOptions<PARAMS>[]): Promise<WorkflowInstance[]>;
7267
-
}
7268
-
type WorkflowDurationLabel = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';
7269
-
type WorkflowSleepDuration = `${number} ${WorkflowDurationLabel}${'s' | ''}` | number;
7270
-
type WorkflowRetentionDuration = WorkflowSleepDuration;
7271
-
interface WorkflowInstanceCreateOptions<PARAMS = unknown> {
7272
-
/**
7273
-
* An id for your Workflow instance. Must be unique within the Workflow.
7274
-
*/
7275
-
id?: string;
7276
-
/**
7277
-
* The event payload the Workflow instance is triggered with
7278
-
*/
7279
-
params?: PARAMS;
7280
-
/**
7281
-
* The retention policy for Workflow instance.
7282
-
* Defaults to the maximum retention period available for the owner's account.
7283
-
*/
7284
-
retention?: {
7285
-
successRetention?: WorkflowRetentionDuration;
7286
-
errorRetention?: WorkflowRetentionDuration;
7287
-
};
7288
-
}
7289
-
type InstanceStatus = {
7290
-
status: 'queued' // means that instance is waiting to be started (see concurrency limits)
7291
-
| 'running' | 'paused' | 'errored' | 'terminated' // user terminated the instance while it was running
7292
-
| 'complete' | 'waiting' // instance is hibernating and waiting for sleep or event to finish
7293
-
| 'waitingForPause' // instance is finishing the current work to pause
7294
-
| 'unknown';
7295
-
error?: string;
7296
-
output?: object;
7297
-
};
7298
-
interface WorkflowError {
7299
-
code?: number;
7300
-
message: string;
7301
-
}
7302
-
declare abstract class WorkflowInstance {
7303
-
public id: string;
7304
-
/**
7305
-
* Pause the instance.
7306
-
*/
7307
-
public pause(): Promise<void>;
7308
-
/**
7309
-
* Resume the instance. If it is already running, an error will be thrown.
7310
-
*/
7311
-
public resume(): Promise<void>;
7312
-
/**
7313
-
* Terminate the instance. If it is errored, terminated or complete, an error will be thrown.
7314
-
*/
7315
-
public terminate(): Promise<void>;
7316
-
/**
7317
-
* Restart the instance.
7318
-
*/
7319
-
public restart(): Promise<void>;
7320
-
/**
7321
-
* Returns the current status of the instance.
7322
-
*/
7323
-
public status(): Promise<InstanceStatus>;
7324
-
/**
7325
-
* Send an event to this instance.
7326
-
*/
7327
-
public sendEvent({ type, payload, }: {
7328
-
type: string;
7329
-
payload: unknown;
7330
-
}): Promise<void>;
7331
-
}
-10
wrangler.jsonc
-10
wrangler.jsonc
···
1
-
{
2
-
"$schema": "https://unpkg.com/wrangler@latest/config-schema.json",
3
-
"name": "aglais",
4
-
"compatibility_date": "2025-08-16",
5
-
"main": "server/index.ts",
6
-
"assets": {
7
-
"not_found_handling": "single-page-application",
8
-
"run_worker_first": ["/xrpc/*", "/oauth-client-metadata.json", "/oauth-jwks.json"],
9
-
},
10
-
}