website refactor

This commit is contained in:
2026-01-16 18:21:06 +01:00
parent 2f53727702
commit 095885544b
146 changed files with 970 additions and 524 deletions

View File

@@ -1,28 +0,0 @@
import { describe, expect, it } from 'vitest';
import * as useCases from './index';
describe('payments use-cases barrel exports', () => {
it('re-exports all expected use cases', () => {
const exported = useCases as unknown as Record<string, unknown>;
const expectedExports = [
'AwardPrizeUseCase',
'CreatePaymentUseCase',
'CreatePrizeUseCase',
'DeletePrizeUseCase',
'GetMembershipFeesUseCase',
'GetPaymentsUseCase',
'GetPrizesUseCase',
'GetSponsorBillingUseCase',
'GetWalletUseCase',
'ProcessWalletTransactionUseCase',
'UpdateMemberPaymentUseCase',
'UpdatePaymentStatusUseCase',
'UpsertMembershipFeeUseCase',
];
for (const name of expectedExports) {
expect(exported[name], `missing export: ${name}`).toBeDefined();
}
});
});

View File

@@ -1,7 +0,0 @@
import * as mod from '@core/payments/domain/entities/index';
describe('payments/domain/entities/index.ts', () => {
it('imports', () => {
expect(mod).toBeTruthy();
});
});