From 47aa90df1df97b10b027e38d0fd108174f2e25a2 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Sat, 30 Aug 2025 23:20:22 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20chore:=20Update=20data-schemas?= =?UTF-8?q?=20to=200.0.21=20and=20update=20`IUser`=20plugins=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- packages/data-schemas/package.json | 2 +- packages/data-schemas/src/types/user.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d71bd3484..9e7cdc62c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52473,7 +52473,7 @@ }, "packages/data-schemas": { "name": "@librechat/data-schemas", - "version": "0.0.20", + "version": "0.0.21", "license": "MIT", "devDependencies": { "@rollup/plugin-alias": "^5.1.0", diff --git a/packages/data-schemas/package.json b/packages/data-schemas/package.json index 4b562361b..029b4568e 100644 --- a/packages/data-schemas/package.json +++ b/packages/data-schemas/package.json @@ -1,6 +1,6 @@ { "name": "@librechat/data-schemas", - "version": "0.0.20", + "version": "0.0.21", "description": "Mongoose schemas and models for LibreChat", "type": "module", "main": "dist/index.cjs", diff --git a/packages/data-schemas/src/types/user.ts b/packages/data-schemas/src/types/user.ts index ad86172d8..a4d2812b0 100644 --- a/packages/data-schemas/src/types/user.ts +++ b/packages/data-schemas/src/types/user.ts @@ -18,7 +18,7 @@ export interface IUser extends Document { githubId?: string; discordId?: string; appleId?: string; - plugins?: unknown[]; + plugins?: string[]; twoFactorEnabled?: boolean; totpSecret?: string; backupCodes?: Array<{