@boozybats/shared
Advanced tools
Comparing version 1.5.23 to 1.6.0
@@ -488,2 +488,3 @@ import { Document as Document_2 } from 'mongoose'; | ||
makeFailedOnCancel: boolean; | ||
externalConfirm: boolean; | ||
error: string | null; | ||
@@ -495,3 +496,3 @@ createdAt: number; | ||
export declare const paymentProviders: readonly ["cryptoPay", "yookassa"]; | ||
export declare const paymentProviders: readonly ["cryptoPay", "yookassa", "xtr"]; | ||
@@ -717,2 +718,3 @@ export declare type PaymentPurpose = PaymentBotPurpose | { | ||
userId: number; | ||
shadowUserId: number | null; | ||
avatar: { | ||
@@ -719,0 +721,0 @@ url: string | null; |
@@ -144,2 +144,5 @@ "use strict"; | ||
required: false, | ||
default: { | ||
updatedAt: 0, | ||
}, | ||
type: { | ||
@@ -146,0 +149,0 @@ updatedAt: { |
@@ -147,2 +147,7 @@ "use strict"; | ||
}, | ||
externalConfirm: { | ||
required: false, | ||
type: Boolean, | ||
default: false, | ||
}, | ||
error: { | ||
@@ -149,0 +154,0 @@ required: false, |
@@ -34,4 +34,5 @@ import { Document, Types } from 'mongoose'; | ||
makeFailedOnCancel: boolean; | ||
externalConfirm: boolean; | ||
error: string | null; | ||
createdAt: number; | ||
} |
@@ -35,2 +35,7 @@ "use strict"; | ||
userId: Number, | ||
shadowUserId: { | ||
required: false, | ||
default: null, | ||
type: Number, | ||
}, | ||
avatar: { | ||
@@ -37,0 +42,0 @@ required: true, |
@@ -15,2 +15,3 @@ import { Document } from 'mongoose'; | ||
userId: number; | ||
shadowUserId: number | null; | ||
avatar: { | ||
@@ -17,0 +18,0 @@ url: string | null; |
@@ -16,3 +16,3 @@ "use strict"; | ||
exports.paymentStatuses = ['success', 'pending', 'failed', 'cancelled']; | ||
exports.paymentProviders = ['cryptoPay', 'yookassa']; | ||
exports.paymentProviders = ['cryptoPay', 'yookassa', 'xtr']; | ||
exports.subscriptionTypes = ['newbie', 'advanced', 'pro']; | ||
@@ -19,0 +19,0 @@ exports.achievements = ['birthdayBoy', 'fruitCollector', 'whereDidYouFindThat']; |
{ | ||
"name": "@boozybats/shared", | ||
"version": "1.5.23", | ||
"version": "1.6.0", | ||
"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
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
205746
4643