@boozybats/shared
Advanced tools
Comparing version 1.5.18 to 1.5.21
@@ -50,2 +50,3 @@ import { Document as Document_2 } from 'mongoose'; | ||
username: string; | ||
sceleton: boolean; | ||
isCheckedByBuffer: boolean; | ||
@@ -113,2 +114,3 @@ active: boolean; | ||
showCommands: boolean; | ||
showTips: boolean; | ||
addBots: boolean; | ||
@@ -152,2 +154,16 @@ deleteAnnounces: boolean; | ||
export declare interface BotSceleton extends Document_2 { | ||
token: string; | ||
username: string; | ||
restoreJSON: string | null; | ||
rentInfo: { | ||
useCount: number; | ||
userId: number | null; | ||
startedAt: number | null; | ||
reservedUntil: number | null; | ||
activeUntil: number | null; | ||
}; | ||
createdAt: number; | ||
} | ||
export declare interface BotToUserInfo extends Document_2 { | ||
@@ -233,2 +249,4 @@ token: string; | ||
export declare const createBotSceletonSchema: GetSchema; | ||
export declare const createBotSchema: GetSchema; | ||
@@ -706,2 +724,3 @@ | ||
lastName: string | null; | ||
activeBot: Bot | null; | ||
bots: Bot[]; | ||
@@ -716,3 +735,3 @@ username: string | null; | ||
used: boolean; | ||
days: number; | ||
confirmed: boolean; | ||
}; | ||
@@ -719,0 +738,0 @@ isSiteUser: boolean; |
@@ -57,2 +57,7 @@ "use strict"; | ||
}, | ||
sceleton: { | ||
required: true, | ||
type: Boolean, | ||
default: false, | ||
}, | ||
isCheckedByBuffer: { | ||
@@ -421,2 +426,3 @@ required: true, | ||
showCommands: true, | ||
showTips: true, | ||
addBots: true, | ||
@@ -459,2 +465,7 @@ deleteAnnounces: false, | ||
}, | ||
showTips: { | ||
required: false, | ||
default: true, | ||
type: Boolean, | ||
}, | ||
showCommands: { | ||
@@ -461,0 +472,0 @@ required: false, |
@@ -14,2 +14,3 @@ import { Document } from 'mongoose'; | ||
username: string; | ||
sceleton: boolean; | ||
isCheckedByBuffer: boolean; | ||
@@ -77,2 +78,3 @@ active: boolean; | ||
showCommands: boolean; | ||
showTips: boolean; | ||
addBots: boolean; | ||
@@ -79,0 +81,0 @@ deleteAnnounces: boolean; |
@@ -14,2 +14,3 @@ "use strict"; | ||
__exportStar(require("./announce"), exports); | ||
__exportStar(require("./botSceleton"), exports); | ||
__exportStar(require("./bot"), exports); | ||
@@ -16,0 +17,0 @@ __exportStar(require("./botToUserInfo"), exports); |
@@ -93,3 +93,3 @@ "use strict"; | ||
used: false, | ||
days: 0, | ||
confirmed: false, | ||
}, | ||
@@ -102,6 +102,6 @@ type: { | ||
}, | ||
days: { | ||
confirmed: { | ||
required: true, | ||
default: 0, | ||
type: Number, | ||
default: false, | ||
type: Boolean, | ||
}, | ||
@@ -130,2 +130,8 @@ }, | ||
}, | ||
activeBot: { | ||
required: false, | ||
default: null, | ||
type: mongoose_1.Types.ObjectId, | ||
ref: 'bot', | ||
}, | ||
bots: { | ||
@@ -132,0 +138,0 @@ required: true, |
@@ -21,2 +21,3 @@ import { Document } from 'mongoose'; | ||
lastName: string | null; | ||
activeBot: Bot | null; | ||
bots: Bot[]; | ||
@@ -31,3 +32,3 @@ username: string | null; | ||
used: boolean; | ||
days: number; | ||
confirmed: boolean; | ||
}; | ||
@@ -34,0 +35,0 @@ isSiteUser: boolean; |
{ | ||
"name": "@boozybats/shared", | ||
"version": "1.5.18", | ||
"version": "1.5.21", | ||
"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
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
204734
176
4618