from rest_framework import serializers


class LikeAnalyticsSerializer(serializers.Serializer):
    date_from = serializers.DateField()
    date_to = serializers.DateField()


class LikeAnalyticsOutputSerializer(serializers.Serializer):
    data = serializers.DateField(source='created_at__date')
    total_likes = serializers.IntegerField()


class UserActivityAnalyticsSerializer(serializers.Serializer):
    # TODO: add datetime format if needed
    last_login = serializers.DateTimeField()
    last_activity = serializers.DateTimeField(source='profile__last_activity')

63e6e8d129b1002c4f5d4ca647caf2dea432bbb3
<mask token>


class LikeAnalyticsOutputSerializer(serializers.Serializer):
    data = serializers.DateField(source='created_at__date')
    total_likes = serializers.IntegerField()


class UserActivityAnalyticsSerializer(serializers.Serializer):
    last_login = serializers.DateTimeField()
    last_activity = serializers.DateTimeField(source='profile__last_activity')

<mask token>


class LikeAnalyticsSerializer(serializers.Serializer):
    <mask token>
    <mask token>


class LikeAnalyticsOutputSerializer(serializers.Serializer):
    data = serializers.DateField(source='created_at__date')
    total_likes = serializers.IntegerField()


class UserActivityAnalyticsSerializer(serializers.Serializer):
    last_login = serializers.DateTimeField()
    last_activity = serializers.DateTimeField(source='profile__last_activity')

<mask token>


class LikeAnalyticsSerializer(serializers.Serializer):
    date_from = serializers.DateField()
    date_to = serializers.DateField()


class LikeAnalyticsOutputSerializer(serializers.Serializer):
    data = serializers.DateField(source='created_at__date')
    total_likes = serializers.IntegerField()


class UserActivityAnalyticsSerializer(serializers.Serializer):
    last_login = serializers.DateTimeField()
    last_activity = serializers.DateTimeField(source='profile__last_activity')

from rest_framework import serializers


class LikeAnalyticsSerializer(serializers.Serializer):
    date_from = serializers.DateField()
    date_to = serializers.DateField()


class LikeAnalyticsOutputSerializer(serializers.Serializer):
    data = serializers.DateField(source='created_at__date')
    total_likes = serializers.IntegerField()


class UserActivityAnalyticsSerializer(serializers.Serializer):
    last_login = serializers.DateTimeField()
    last_activity = serializers.DateTimeField(source='profile__last_activity')

from rest_framework import serializers


class LikeAnalyticsSerializer(serializers.Serializer):
    date_from = serializers.DateField()
    date_to = serializers.DateField()


class LikeAnalyticsOutputSerializer(serializers.Serializer):
    data = serializers.DateField(source='created_at__date')
    total_likes = serializers.IntegerField()


class UserActivityAnalyticsSerializer(serializers.Serializer):
    # TODO: add datetime format if needed
    last_login = serializers.DateTimeField()
    last_activity = serializers.DateTimeField(source='profile__last_activity')
