import fs from 'fs';
import path from 'path';
// TODO why does reset-permissions need to run separately from upload?
// TODO version of reset-permissions that resets only recent uploads
const defaultIndexPath = path.resolve(__dirname, '../../router/var/index.json');
const options = {
https://github.com/groton-school/knowledgebase/blob/662b16fce9fb7558783b5c0fe11a501a7c25c9ae/apps/indexer/bin/reset-permissions.ts#L7