mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
update scripts to typescript
This commit is contained in:
21
scripts/dashboard/shared.ts
Normal file
21
scripts/dashboard/shared.ts
Normal 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');
|
||||
Reference in New Issue
Block a user