Skip to content

Update IClan interface: add new fields, remove join_message from IJoin #604

@Skoivumaki

Description

@Skoivumaki

🧹 Task Description

Provide a brief description of the chore or maintenance task that needs to be completed:

  • Task: Update IClan interface to include the following fields: roles array with new export type (see Swagger DTO for reference), goal, clanLogo, battlePoints, language, points, and ageRange. Remove join_message from IJoin. Ensure all affected functions and site features that use clans continue to load correctly.
  • Purpose: To keep the IClan interface in sync with the API changes and remove deprecated fields, ensuring site functionality remains intact.

Steps to Complete

Outline the steps or actions needed to complete the chore. Include any relevant details or instructions:

  1. Update IClan interface with new fields and correct export type for roles as per Swagger DTO.
  2. Remove join_message from IJoin.
  3. Test that clans load correctly on the site and that all other functions using IClan behave as expected.
  4. Optionally, test API functionality manually using Postman, Insomnia, or Curl to verify correctness/behavior.

📎 Additional Information

Include any extra context, references, or information that might be helpful:

  • Note: If you find inconsistencies between Swagger Documentation and actual API behavior. Please take notes of them for feedback.
  • Relevant Documentation: Swagger Clan API
  • Special Instructions: Make sure any affected components on the site reflect the new IClan structure and that no deprecated fields remain in use.

Metadata

Metadata

Assignees

Labels

choreFor tasks not related to the application code (e.g., dependency updates)documentationImprovements or additions to documentation

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions