Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion models/community.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const usernameIdSchema = new Schema<IUsernameId>({
username: { type: String, required: true, trim: true },
});

export interface ICommunity extends Document {
export interface ICommunity extends Document<string> {
_id: string;
name: string;
creator_id: string;
Expand Down
2 changes: 1 addition & 1 deletion models/order.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import mongoose, { Document, Schema } from 'mongoose';

export interface IOrder extends Document {
export interface IOrder extends Document<string> {
_id: string;
description?: string;
amount: number;
Expand Down
2 changes: 1 addition & 1 deletion models/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface UserReview {
reviewed_at: Date;
}

export interface UserDocument extends Document {
export interface UserDocument extends Document<string> {
_id: string;
tg_id: string;
username?: string;
Expand Down
72 changes: 40 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dotenv": "^10.0.0",
"invoices": "2.0.6",
"lightning": "10.25.0",
"mongoose": "^8.17.1",
"mongoose": "^8.24.0",
"node-schedule": "^2.0.0",
"nostr-tools": "^2.5.2",
"qrcode": "^1.5.0",
Expand All @@ -37,6 +37,10 @@
"websocket-polyfill": "0.0.3",
"winston": "^3.7.2"
},
"overrides": {
"@grpc/grpc-js": "^1.13.5",
"bn.js": "^5.2.3"
},
"keywords": [
"lightning",
"telegram",
Expand Down
Loading