Skip to content

Commit

Permalink
fix(models): don't use kb-achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkookooguy committed May 6, 2021
1 parent 023c98c commit 4d4fc8b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion server/src/models/user.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
IsOptional,
IsString
} from 'class-validator';
import { IUserAchievement } from 'kb-achievements';
import {
index,
modelOptions,prop as PersistInDb,
Expand All @@ -17,6 +16,14 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';

import { BaseModel } from '@kb-abstracts';

export interface IUserAchievement {
name: string;
avatar: string;
short: string;
description: string;
relatedPullRequest: string;
}

@Exclude()
@modelOptions({
options: {
Expand Down

0 comments on commit 4d4fc8b

Please sign in to comment.