Skip to content

Instantly share code, notes, and snippets.

View billpliske's full-sized avatar
💭
Messing with Vite and React

Bill Pliske billpliske

💭
Messing with Vite and React
View GitHub Profile
function deleteFiles(types = 'all') {
let files = [];
function deleteFilesByTypes(types, page = 1) {
TS.api.call('files.list', {
types,
user: boot_data.user_id,
page
}, (a, data) => {
files = [...files, ...data.files];