@boozybats/shared
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -28,2 +28,7 @@ import { Document as Document_2 } from 'mongoose'; | ||
export declare interface Badge extends Document_2 { | ||
emoji: string; | ||
createdAt: number; | ||
} | ||
export declare type BanHistory = { | ||
@@ -248,2 +253,4 @@ banType: BanType; | ||
export declare const createBadgeSchema: GetSchema; | ||
export declare const createBotSceletonSchema: GetSchema; | ||
@@ -811,2 +818,7 @@ | ||
}[]; | ||
currentBadge: Badge | null; | ||
badges: { | ||
badge: Badge; | ||
createdAt: number; | ||
}; | ||
createdAt: number; | ||
@@ -813,0 +825,0 @@ } |
@@ -28,2 +28,3 @@ "use strict"; | ||
__exportStar(require("./petsAmity"), exports); | ||
__exportStar(require("./badge"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -695,2 +695,25 @@ "use strict"; | ||
}, | ||
currentBadge: { | ||
required: false, | ||
default: null, | ||
type: mongoose_1.Types.ObjectId, | ||
ref: 'badge', | ||
}, | ||
badges: { | ||
required: false, | ||
default: [], | ||
type: [ | ||
{ | ||
badge: { | ||
required: true, | ||
type: mongoose_1.Types.ObjectId, | ||
ref: 'badge', | ||
}, | ||
createdAt: { | ||
required: true, | ||
type: Number, | ||
}, | ||
}, | ||
], | ||
}, | ||
achievements: { | ||
@@ -697,0 +720,0 @@ required: false, |
@@ -8,2 +8,3 @@ import { Document } from 'mongoose'; | ||
import { PetInfo } from '../pet'; | ||
import { Badge } from '../badge'; | ||
export interface ForgeStack { | ||
@@ -104,3 +105,8 @@ model: string; | ||
}[]; | ||
currentBadge: Badge | null; | ||
badges: { | ||
badge: Badge; | ||
createdAt: number; | ||
}; | ||
createdAt: number; | ||
} |
{ | ||
"name": "@boozybats/shared", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "private shared package", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215689
195
4813