mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-23 04:04:35 +02:00
9 lines
377 B
TypeScript
9 lines
377 B
TypeScript
import { ensureActions } from "./ensureActions";
|
|
import { copyInConfig } from "./copyInConfig";
|
|
import { clearStaleData } from "./clearStaleData";
|
|
|
|
export async function runSetupFunctions() {
|
|
await copyInConfig(); // copy in the config to the db as needed
|
|
await ensureActions(); // make sure all of the actions are in the db and the roles
|
|
await clearStaleData();
|
|
}
|