Skip to content

Fix #770: Centralize magic-string status enums into common.types.ts - #1007

Closed
dextro172-ui wants to merge 2 commits into
MettaChain:mainfrom
dextro172-ui:fix/issue-770-centralize-enums
Closed

dextro172-ui wants to merge 2 commits into
MettaChain:mainfrom
dextro172-ui:fix/issue-770-centralize-enums

Conversation

@dextro172-ui

Copy link
Copy Markdown
Contributor

Closes #770

Description

  • Centralized TransactionTypeDto, TransactionStatusDto, and PropertyStatusDto into src/common/common.types.ts.
  • Re-exported these enums from their respective DTO files (transaction.dto.ts and property.dto.ts) to maintain backward compatibility for external imports.
  • Refactored PROPERTY_STATUS_ENUM usages in property.dto.ts, search-properties.dto.ts, and transition-status.dto.ts to use the newly created PropertyStatusDto enum instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[F2] Centralize magic-string status enums into src/common/common.types.ts

2 participants