import { injectable } from "inversify"; import { IJsonApiResponse, IJsonApiResource, IJsonApiRelationship, IJsonApiRelationships, } from "../../interfaces"; export const blacklistItemType = "blacklist-item"; export interface IBlacklistItemAttributes { created_at?: string; updated_at?: string; } export interface IBlacklistItemRelationships extends IJsonApiRelationships { target?: IJsonApiRelationship; } export interface IBlacklistItemResource extends IJsonApiResource {} export interface IBlacklistItemResponse extends IJsonApiResponse {} export interface IBlacklistItem { id?: string; createdAt?: string; target?: T & { id?: string; type?: string; }; updatedAt?: string; } @injectable() export default class BlacklistItem implements IBlacklistItem { id?: string; createdAt?: string; target?: T & { id?: string; type?: string; }; updatedAt?: string; constructor(options?: IBlacklistItem) { Object.assign(this, options); } }