@beincom/dto
Version:
Share dto for all projects of Beincom
29 lines (28 loc) • 796 B
TypeScript
import { ACTIVITY_EVENT_TYPES, ACTIVITY_LOG_USE_CASES, ACTIVITY_OBJECT_TYPES } from '../enums';
export declare class ActivityResponseDto {
id: string;
mainId: string;
useCase: ACTIVITY_LOG_USE_CASES;
actorId?: string;
communityId: string;
groupId: string;
eventTime: Date;
eventType: ACTIVITY_EVENT_TYPES;
objectType: ACTIVITY_OBJECT_TYPES;
objectId: string;
data: Record<string, any>;
mainLog?: ActivityResponseDto;
}
export declare class ActivityPaginationResponseDto {
total: number;
limit: number;
offset: number;
page: number;
data: ActivityResponseDto[];
}
export declare class ActivityPaginationCursorResponseDto extends ActivityPaginationResponseDto {
cursors: {
prev: string;
next: string;
};
}