chore: remove obsolete Android app configuration files
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 44s

- Deleted build.gradle.kts, gradle.properties, and gradlew files as part of the cleanup process.
- Removed local.properties and various generated files from the .gradle directory to streamline the project structure.
- Cleared out unnecessary build artifacts and intermediate files to improve project maintainability.
This commit is contained in:
Torsten Schulz (local)
2026-04-21 15:15:21 +02:00
parent c8dedb10cc
commit 41bbf81958
4144 changed files with 4975 additions and 61401 deletions

View File

@@ -0,0 +1,38 @@
import express from 'express';
import { authenticate } from '../middleware/authMiddleware.js';
import { authorize } from '../middleware/authorizationMiddleware.js';
import {
uploadBillingTemplateMiddleware,
listTemplates,
createTemplate,
deleteTemplate,
updateTemplateFields,
createRun,
listRuns,
getRunDetails,
deleteRun,
getUserSettings,
calculateHoursPreview,
generateRun,
downloadTemplatePdf,
downloadRunPdf
} from '../controllers/billingController.js';
const router = express.Router();
router.get('/templates/:clubId', authenticate, authorize('members', 'read'), listTemplates);
router.post('/templates/:clubId', authenticate, authorize('members', 'write'), uploadBillingTemplateMiddleware, createTemplate);
router.delete('/templates/:templateId', authenticate, deleteTemplate);
router.put('/templates/:templateId/fields', authenticate, updateTemplateFields);
router.get('/templates/:templateId/pdf', authenticate, downloadTemplatePdf);
router.get('/runs/:clubId', authenticate, authorize('members', 'read'), listRuns);
router.get('/run/:runId', authenticate, getRunDetails);
router.get('/settings/:clubId', authenticate, authorize('members', 'read'), getUserSettings);
router.get('/hours-preview/:clubId', authenticate, authorize('members', 'read'), calculateHoursPreview);
router.post('/runs/:clubId', authenticate, authorize('members', 'write'), createRun);
router.post('/runs/:runId/generate', authenticate, generateRun);
router.get('/runs/:runId/download', authenticate, downloadRunPdf);
router.delete('/runs/:runId', authenticate, deleteRun);
export default router;