member communication

This commit is contained in:
Anton Schegg 2025-01-05 17:55:18 +01:00
parent 93afdec274
commit bd13a775c4

View file

@ -1,41 +1,49 @@
import express from "express"; import express from "express";
import knex from "knex"; import knex from "knex";
import moment from "moment"; import moment from "moment";
import AwardService from "../service/awardService"; import AwardService from "../service/settings/awardService";
import { CreateAwardCommand, DeleteAwardCommand } from "../command/awardCommand"; import { CreateAwardCommand, DeleteAwardCommand } from "../command/settings/award/awardCommand";
import AwardCommandHandler from "../command/awardCommandHandler"; import AwardCommandHandler from "../command/settings/award/awardCommandHandler";
import MemberService from "../service/memberService"; import MemberService from "../service/club/member/memberService";
import { CreateMemberCommand, DeleteMemberCommand } from "../command/memberCommand"; import { CreateMemberCommand, DeleteMemberCommand } from "../command/club/member/memberCommand";
import MemberCommandHandler from "../command/memberCommandHandler"; import MemberCommandHandler from "../command/club/member/memberCommandHandler";
import MemberAwardCommandHandler from "../command/memberAwardCommandHandler"; import MemberAwardCommandHandler from "../command/club/member/memberAwardCommandHandler";
import { CreateMemberAwardCommand, DeleteMemberAwardCommand } from "../command/memberAwardCommand"; import { CreateMemberAwardCommand, DeleteMemberAwardCommand } from "../command/club/member/memberAwardCommand";
import MemberAwardService from "../service/memberAwardService"; import MemberAwardService from "../service/club/member/memberAwardService";
import { CreateMembershipStatusCommand, DeleteMembershipStatusCommand } from "../command/membershipStatusCommand"; import CommunicationService from "../service/club/member/communicationService";
import MembershipStatusCommandHandler from "../command/membershipStatusCommandHandler"; import { CreateCommunicationCommand, DeleteCommunicationCommand } from "../command/club/member/communicationCommand";
import { CreateExecutivePositionCommand, DeleteExecutivePositionCommand } from "../command/executivePositionCommand"; import CommunicationCommandHandler from "../command/club/member/communicationCommandHandler";
import ExecutivePositionCommandHandler from "../command/executivePositionCommandHandler"; import MembershipService from "../service/club/member/membershipService";
import ExecutivePositionService from "../service/executivePositionService";
import MembershipStatusService from "../service/membershipStatusService";
import { import {
CreateMembershipCommand, CreateMembershipCommand,
DeleteMembershipCommand, DeleteMembershipCommand,
UpdateMembershipCommand, UpdateMembershipCommand,
} from "../command/membershipCommand"; } from "../command/club/member/membershipCommand";
import MembershipCommandHandler from "../command/membershipCommandHandler"; import MembershipCommandHandler from "../command/club/member/membershipCommandHandler";
import MembershipService from "../service/membershipService"; import MemberExecutivePositionService from "../service/club/member/memberExecutivePositionService";
import { import {
CreateMemberExecutivePositionCommand, CreateMemberExecutivePositionCommand,
DeleteMemberExecutivePositionCommand, DeleteMemberExecutivePositionCommand,
} from "../command/memberExecutivePositionCommand"; } from "../command/club/member/memberExecutivePositionCommand";
import MemberExecutivePositionCommandHandler from "../command/memberExecutivePositionCommandHandler"; import MemberExecutivePositionCommandHandler from "../command/club/member/memberExecutivePositionCommandHandler";
import { CreateCommunicationTypeCommand, DeleteCommunicationTypeCommand } from "../command/communicationTypeCommand"; import CommunicationTypeService from "../service/settings/communicationTypeService";
import CommunicationTypeService from "../service/communicationTypeService"; import {
import CommunicationTypeCommandHandler from "../command/communicationTypeCommandHandler"; CreateCommunicationTypeCommand,
import CommunicationService from "../service/communicationService"; DeleteCommunicationTypeCommand,
import { CreateCommunicationCommand, DeleteCommunicationCommand } from "../command/communicationCommand"; } from "../command/settings/communicationType/communicationTypeCommand";
import CommunicationCommandHandler from "../command/communicationCommandHandler"; import CommunicationTypeCommandHandler from "../command/settings/communicationType/communicationTypeCommandHandler";
import MemberExecutivePositionService from "../service/memberExecutivePositionService"; import ExecutivePositionService from "../service/settings/executivePositionService";
import { communication } from "../entity/communication"; import {
CreateExecutivePositionCommand,
DeleteExecutivePositionCommand,
} from "../command/settings/executivePosition/executivePositionCommand";
import ExecutivePositionCommandHandler from "../command/settings/executivePosition/executivePositionCommandHandler";
import MembershipStatusService from "../service/settings/membershipStatusService";
import {
CreateMembershipStatusCommand,
DeleteMembershipStatusCommand,
} from "../command/settings/membershipStatus/membershipStatusCommand";
import MembershipStatusCommandHandler from "../command/settings/membershipStatus/membershipStatusCommandHandler";
var router = express.Router({ mergeParams: true }); var router = express.Router({ mergeParams: true });