Files
zkldi_Tachi/seeds/scripts/single-use/example.js
T
zk 593adb2717 feat: Dev Container (#1149)
* temporary dvctr

* start of work

* fix: timeouts in windows

* fish?

* feat: better, working stuff

* refactor: rename database-seeds to seeds/

* better

* fdsaf

* feat: don't let our container get owned by root

* fix: better user handling

* feat: falling asleep at my desk i yield to you what i have done

* feat: autoadminify

* docs: denote trickshot

* feat: open in browser on launch

* better seeds workings...

* fix: dont kill shell

* docs: mention dev/debs

* fix: whoops

* fix: make seeds load within the century

* feat: rest of the containerisation

* feat: new alias

* style: fix linter errors

* fix: bad call

* fix: better justfile
2024-08-17 15:01:40 +01:00

23 lines
850 B
JavaScript

const { MutateCollection } = require("../util");
// This is an example SINGLE-USE script. It does something quickly and ad-hoc,
// that is of absolutely no interest to anyone else.
//
// You should treat single-use as your own playground for silly one-off things.
//
// ---------
// / ZK SAYS \
// //-----------------------------------------------------------------\\
// !! PLEASE DO NOT USE SINGLE-USE FOR THINGS THAT YOU WANT TO RE-USE !!
// !! ANYTHING YOU WANT TO RE-USE SHOULD BE SHARED ON TACHI IN CASE !!
// !! YOU LOSE IT! !!
// \\-----------------------------------------------------------------//
MutateCollection("charts-iidx.json", (charts) => {
for (const chart of charts) {
delete chart.whoopsBADKEY;
}
return charts;
});