Files
CapaKraken/packages/application/src/index.ts
T
Hartmut 625a842d89 feat: dashboard overhaul, chargeability reports, dispo import enhancements, UI polish
Dashboard: expanded chargeability widget, resource/project table widgets
with sorting and filters, stat cards with formatMoney integration.

Chargeability: new report client with filtering, chargeability-bookings
use case, updated dashboard overview logic.

Dispo import: TBD project handling, parse-dispo-matrix improvements,
stage-dispo-projects resource value scores, new tests.

Estimates: CommercialTermsEditor component, commercial-terms engine
module, expanded estimate schemas and types.

UI: AppShell navigation updates, timeline filter/toolbar enhancements,
role management improvements, signin page redesign, Tailwind/globals
polish, SystemSettings SMTP section, anonymization support.

Tests: new router tests (anonymization, chargeability, effort-rule,
entitlement, estimate, experience-multiplier, notification, resource,
staffing, vacation).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-14 23:29:07 +01:00

134 lines
4.0 KiB
TypeScript

export {
createDemandRequirement,
type DemandRequirementWithRelations,
} from "./use-cases/allocation/create-demand-requirement.js";
export { updateDemandRequirement } from "./use-cases/allocation/update-demand-requirement.js";
export {
createAssignment,
type AssignmentWithRelations,
} from "./use-cases/allocation/create-assignment.js";
export { updateAssignment } from "./use-cases/allocation/update-assignment.js";
export { buildAllocationReadModel } from "./use-cases/allocation/build-allocation-read-model.js";
export {
buildSplitAllocationReadModel,
type BuildSplitAllocationReadModelInput,
type SplitAssignmentRecord,
type SplitDemandRequirementRecord,
} from "./use-cases/allocation/build-split-allocation-read-model.js";
export {
listAssignmentBookings,
type AssignmentBookingWithFallback,
type ListAssignmentBookingsInput,
} from "./use-cases/allocation/list-assignment-bookings.js";
export {
isChargeabilityActualBooking,
isChargeabilityRelevantProject,
isImportedTbdDraftProject,
} from "./use-cases/allocation/chargeability-bookings.js";
export {
countPlanningEntries,
type CountPlanningEntriesInput,
type CountPlanningEntriesResult,
} from "./use-cases/allocation/count-planning-entries.js";
export {
countEstimateHandoffPlanningEntries,
type CountEstimateHandoffPlanningEntriesInput,
} from "./use-cases/allocation/count-estimate-handoff-planning-entries.js";
export {
fillDemandRequirement,
type FillDemandRequirementResult,
} from "./use-cases/allocation/fill-demand-requirement.js";
export {
fillOpenDemand,
type FillOpenDemandResult,
} from "./use-cases/allocation/fill-open-demand.js";
export {
findAllocationEntry,
loadAllocationEntry,
type AllocationEntryResolution,
} from "./use-cases/allocation/load-allocation-entry.js";
export {
updateAllocationEntry,
type UpdateAllocationEntryInput,
type UpdateAllocationEntryResult,
} from "./use-cases/allocation/update-allocation-entry.js";
export {
deleteAllocationEntry,
type DeleteAllocationEntryResult,
} from "./use-cases/allocation/delete-allocation-entry.js";
export {
deleteDemandRequirement,
type DeleteDemandRequirementResult,
} from "./use-cases/allocation/delete-demand-requirement.js";
export {
deleteAssignment,
type DeleteAssignmentResult,
} from "./use-cases/allocation/delete-assignment.js";
export {
getDashboardOverview,
getDashboardPeakTimes,
getDashboardTopValueResources,
getDashboardDemand,
getDashboardChargeabilityOverview,
type GetDashboardPeakTimesInput,
type GetDashboardTopValueResourcesInput,
type GetDashboardDemandInput,
type GetDashboardChargeabilityOverviewInput,
} from "./use-cases/dashboard/index.js";
export {
cloneEstimate,
createEstimate,
listEstimates,
getEstimateById,
updateEstimateDraft,
submitEstimateVersion,
approveEstimateVersion,
createEstimateRevision,
createEstimateExport,
createEstimatePlanningHandoff,
type CloneEstimateInput,
type EstimateWithDetails,
type EstimateListItem,
} from "./use-cases/estimate/index.js";
export {
recomputeResourceValueScores,
type RecomputeResourceValueScoresInput,
} from "./use-cases/resource/index.js";
export {
assessDispoImportReadiness,
parseMandatoryDispoReferenceWorkbook,
parseDispoChargeabilityWorkbook,
parseDispoPlanningWorkbook,
parseResourceRosterMasterWorkbook,
parseDispoRosterWorkbook,
persistDispoImportReadiness,
stageDispoReferenceData,
stageDispoChargeabilityResources,
stageDispoRosterResources,
stageDispoPlanningData,
stageDispoProjects,
stageDispoImportBatch,
commitDispoImportBatch,
type AssessDispoImportReadinessInput,
type CommitDispoImportBatchInput,
type CommitDispoImportBatchResult,
type DispoImportReadinessIssue,
type DispoImportReadinessReport,
type StageDispoReferenceDataResult,
type StageDispoChargeabilityResourcesResult,
type StageDispoRosterResourcesResult,
type StageDispoPlanningResult,
type StageDispoProjectsResult,
type StageDispoImportBatchInput,
type StageDispoImportBatchResult,
} from "./use-cases/dispo-import/index.js";