From 4e59b4efb0fdb1fc182f120b8fb2dcc788a50c5b Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Mon, 15 Jan 2024 10:06:46 +0400 Subject: [PATCH 1/2] feat: userIds replaced with usernames --- src/interfaces/Announcement.interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/Announcement.interface.ts b/src/interfaces/Announcement.interface.ts index 51493d9..6652569 100644 --- a/src/interfaces/Announcement.interface.ts +++ b/src/interfaces/Announcement.interface.ts @@ -1,6 +1,6 @@ import { type Model, type Types, type ObjectId } from 'mongoose'; -type IDiscordOptions = { channelIds?: string[] } | { roleIds?: string[] } | { usernames?: string[] }; +type IDiscordOptions = { channelIds?: string[] } | { roleIds?: string[] } | { userIds?: string[] }; interface IAnnouncementData { platform: Types.ObjectId; From 6116d5c5c6ad9254440fa5d2c82dec5d34bc45cf Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Mon, 15 Jan 2024 10:07:55 +0400 Subject: [PATCH 2/2] version increased --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b43b350..7c54ff5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/db", - "version": "3.0.24", + "version": "3.0.25", "description": "All interactions with DB", "main": "./dist/index.js", "types": "./dist/index.d.ts",