update scripts to typescript

This commit is contained in:
Emily
2025-01-28 15:08:42 +01:00
parent a3e74adf9c
commit 19b7c7664a
7 changed files with 18 additions and 46 deletions

View File

@@ -0,0 +1,21 @@
import { SharedHelper } from "../helpers/shared-helper";
import path from "path";
const helper = new SharedHelper(path.join(__dirname, '../../dashboard/shared'))
helper.clear();
// TODO: Email service as external repo
helper.create('services');
helper.copy('services/DateService.ts');
helper.create('data');
helper.copy('data/PREMIUM.ts');
helper.copy('data/ADMINS.ts');
helper.create('data/broker');
helper.copy('data/broker/Limits.ts');
helper.copyFolder('schema');