Files
finance/backend/app/db/models.py
T
k1nq d582f15681 feat: add tests for import polling, login page, money utilities, and query keys
- Implemented tests for import polling functionality, ensuring correct behavior for active and terminal import statuses.
- Created tests for the login page, validating user interactions and error handling.
- Added unit tests for money utility functions, covering parsing, formatting, and summation of monetary values.
- Developed tests for query keys, ensuring proper scoping and invalidation roots.

chore: setup testing environment and configuration

- Added setup file for testing with Vitest and Testing Library.
- Configured TypeScript and Vite for the frontend project.
- Created Docker and Nginx configurations for local development and production environments.
- Established a PostgreSQL initialization script for setting up application roles.

docs: add README and environment configuration for infra

- Included README for the infra directory, detailing local development setup and service descriptions.
- Created an example environment configuration file for local development with placeholders for sensitive information.
2026-09-14 09:26:33 +05:00

64 lines
1.4 KiB
Python

"""Import every mapped class so Alembic sees complete metadata."""
from app.audit.models import AuditEvent
from app.budgeting.models import (
BudgetPeriod,
ExpectedIncome,
ExpectedIncomeMatch,
FundingMovement,
PeriodClosure,
PlanAssignment,
)
from app.categorization.models import (
BankCategoryMapping,
CategorizationRule,
IncomeSource,
MccCode,
Payee,
PayeeAlias,
)
from app.exports.models import DataExport, DeletionLedger
from app.identity.models import Invitation, PasswordReset, Session, User
from app.imports.models import (
DedupCandidate,
ParseRun,
SourceRecord,
SourceRecordLink,
StatementDocument,
)
from app.ledger.models import Account, Category, Operation, Posting
from app.spaces.models import FinancialSpace, Membership
__all__ = [
"Account",
"AuditEvent",
"BankCategoryMapping",
"BudgetPeriod",
"Category",
"CategorizationRule",
"DataExport",
"DedupCandidate",
"DeletionLedger",
"ExpectedIncome",
"ExpectedIncomeMatch",
"FinancialSpace",
"FundingMovement",
"IncomeSource",
"Invitation",
"MccCode",
"Membership",
"Operation",
"ParseRun",
"PasswordReset",
"Payee",
"PayeeAlias",
"PeriodClosure",
"PlanAssignment",
"Posting",
"Session",
"SourceRecord",
"SourceRecordLink",
"StatementDocument",
"User",
]