Files
litlyx/scripts/payments/shared.ts
2025-11-28 16:49:20 +01:00

23 lines
603 B
TypeScript

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');