mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
add payment service
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.copy('services/EmailService.ts');
|
||||
|
||||
helper.create('schema');
|
||||
helper.copy('schema/UserSchema.ts');
|
||||
|
||||
helper.create('schema/project');
|
||||
helper.copy('schema/project/ProjectSchema.ts');
|
||||
|
||||
helper.create('data');
|
||||
helper.copy('data/PLANS.ts');
|
||||
Reference in New Issue
Block a user