2022-01-11 10:57:30 +00:00
|
|
|
import { Settings } from "./settings/Settings";
|
2022-01-11 12:45:35 +00:00
|
|
|
import { settings } from "./globalSettings";
|
2022-01-11 10:57:30 +00:00
|
|
|
|
2021-05-07 20:41:40 +01:00
|
|
|
// Playground is a way to debug and test things.
|
|
|
|
// Anything you put in here is gonna be run on page initial load
|
|
|
|
// before rendering.
|
|
|
|
// Also it only runs when process.env.NODE_ENV == "development"
|
|
|
|
|
2022-01-11 10:57:30 +00:00
|
|
|
declare global {
|
|
|
|
interface Window {
|
|
|
|
settings: Settings;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-07 20:41:40 +01:00
|
|
|
// Please empty this function before committing.
|
2022-01-07 13:14:25 +00:00
|
|
|
export async function playground(): Promise<void> {
|
2021-05-07 20:41:40 +01:00
|
|
|
console.log("Welcome to Playground!");
|
2022-01-11 10:57:30 +00:00
|
|
|
|
|
|
|
window.settings = settings;
|
2021-05-07 20:41:40 +01:00
|
|
|
}
|