WayrApp Backend & Ecosystem Documentation - v1.0.0
    Preparing search index...
    userUpdateFixtures: {
        validProfileUpdate: {
            username: string;
            countryCode: string;
            profilePictureUrl: string;
        };
        emailUpdate: { email: string };
        passwordUpdate: { currentPassword: string; newPassword: string };
        deactivationUpdate: { isActive: boolean };
        roleUpdate: { role: "content_creator" };
    } = ...

    User update data fixtures (for testing user updates)

    Type declaration

    • validProfileUpdate: { username: string; countryCode: string; profilePictureUrl: string }

      Valid profile update data

    • emailUpdate: { email: string }

      Email update data

    • passwordUpdate: { currentPassword: string; newPassword: string }

      Password update data

    • deactivationUpdate: { isActive: boolean }

      Deactivation data

    • roleUpdate: { role: "content_creator" }

      Role update data (admin only)