@librechat/data-schemas 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export {};
@@ -172,6 +172,9 @@ export declare const conversationPreset: {
172
172
  disableStreaming: {
173
173
  type: BooleanConstructor;
174
174
  };
175
+ fileTokenLimit: {
176
+ type: NumberConstructor;
177
+ };
175
178
  /** Reasoning models only */
176
179
  reasoning_effort: {
177
180
  type: StringConstructor;
@@ -72,6 +72,7 @@ export interface IPreset extends Document {
72
72
  useResponsesApi?: boolean;
73
73
  web_search?: boolean;
74
74
  disableStreaming?: boolean;
75
+ fileTokenLimit?: number;
75
76
  agentOptions?: unknown;
76
77
  }
77
78
  declare const presetSchema: Schema<IPreset>;
@@ -72,6 +72,7 @@ export interface IConversation extends Document {
72
72
  useResponsesApi?: boolean;
73
73
  web_search?: boolean;
74
74
  disableStreaming?: boolean;
75
+ fileTokenLimit?: number;
75
76
  files?: string[];
76
77
  expiredAt?: Date;
77
78
  createdAt?: Date;
@@ -42,7 +42,7 @@ export interface IUser extends Document {
42
42
  githubId?: string;
43
43
  discordId?: string;
44
44
  appleId?: string;
45
- plugins?: unknown[];
45
+ plugins?: string[];
46
46
  twoFactorEnabled?: boolean;
47
47
  totpSecret?: string;
48
48
  backupCodes?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/data-schemas",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "Mongoose schemas and models for LibreChat",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -53,7 +53,6 @@
53
53
  "mongodb-memory-server": "^10.1.4",
54
54
  "rimraf": "^5.0.1",
55
55
  "rollup": "^4.22.4",
56
- "rollup-plugin-generate-package-json": "^3.2.0",
57
56
  "rollup-plugin-peer-deps-external": "^2.2.4",
58
57
  "rollup-plugin-typescript2": "^0.35.0",
59
58
  "ts-node": "^10.9.2",