mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
new selfhosted version
This commit is contained in:
23
scripts/payments/shared.ts
Normal file
23
scripts/payments/shared.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
import { SharedHelper } from "../helpers/shared-helper";
|
||||
import path from "node:path";
|
||||
|
||||
const helper = new SharedHelper(path.join(__dirname, '../../payments/src/shared'))
|
||||
|
||||
helper.clear();
|
||||
|
||||
helper.create('utils');
|
||||
helper.copy('utils/requireEnv.ts');
|
||||
|
||||
helper.create('services');
|
||||
helper.copy('services/DatabaseService.ts');
|
||||
|
||||
helper.create('schema');
|
||||
helper.copy('schema/UserSchema.ts');
|
||||
helper.copy('schema/PremiumSchema.ts');
|
||||
helper.copy('schema/UserLimitSchema.ts');
|
||||
helper.create('schema/emails');
|
||||
helper.copy('schema/emails/EmailNotifySchema.ts');
|
||||
|
||||
helper.create('data');
|
||||
helper.copy('data/PLANS.ts');
|
||||
Reference in New Issue
Block a user