import { injectable } from "inversify"; import { IJsonApiResponse, IJsonApiResource, } from "../../interfaces"; export const bookmarkPopularityType = "bookmark-popularity"; export interface IBookmarkPopularityAttributes { bookmark_count?: number; } export interface IBookmarkPopularityResource extends IJsonApiResource {} export interface IBookmarkPopularityResponse extends IJsonApiResponse {} export interface IBookmarkPopularity { id?: string; count?: number; target?: { id?: string; type?: string; }; } @injectable() export default class BookmarkPopularity implements IBookmarkPopularity { id?: string; count?: number; target?: { id?: string; type?: string; }; }