···109109110110 const list = async (cachedTracks: Track[] = []) => {
111111 if (!isSupported()) {
112112- // TODO
113113- context.data = cachedTracks;
114112 return cachedTracks;
115113 }
116114···160158 return 0;
161159 });
162160163163- // TODO: Should be able to just return the data in the handler
164164- context.data = data;
161161+ // Fin
165162 return data;
166163 };
167164168165 const resolve = async (fileUri: string) => {
169166 if (!isSupported()) {
170170- // TODO
171171- context.data = undefined;
172167 return undefined;
173168 }
174169···201196 const file = await fileHandle.getFile();
202197 const url = URL.createObjectURL(file);
203198204204- // TODO: Should be able to just return the data in the handler
205205- context.data = url;
206199 return url;
207200 };
208201
+4-9
src/pages/input/native-fs/_manifest.json
···1818 "title": "List",
1919 "description": "List tracks.",
2020 "params_schema": {
2121- "type": "object",
2222- "properties": {
2323- "tracks": {
2424- "type": "array",
2525- "description": "A list of (cached) tracks with an uri matching the scheme",
2626- "items": {
2727- "type": "object"
2828- }
2929- }
2121+ "type": "array",
2222+ "description": "A list of (cached) tracks with an uri matching the scheme",
2323+ "items": {
2424+ "type": "object"
3025 }
3126 }
3227 },