chatifai 1.0.9 → 1.0.11
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.
- package/dist/index.js +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.js +1 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/types.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -75,6 +75,7 @@ exports.ContextSchema = Schema({
|
|
|
75
75
|
file_id: { type: String },
|
|
76
76
|
title: { type: String, required: true, minlength: 1, maxlength: 100 },
|
|
77
77
|
description: { type: String, minlength: 1, maxlength: 500 },
|
|
78
|
+
note: { type: String, maxlength: 500 },
|
|
78
79
|
file_url: { type: String },
|
|
79
80
|
type: { type: String, minlength: 1, maxlength: 100 },
|
|
80
81
|
size: { type: Number },
|
package/dist/types.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ export declare const zodContextSchema: z.ZodObject<{
|
|
|
87
87
|
file_id: z.ZodOptional<z.ZodString>;
|
|
88
88
|
title: z.ZodString;
|
|
89
89
|
description: z.ZodOptional<z.ZodString>;
|
|
90
|
+
note: z.ZodOptional<z.ZodString>;
|
|
90
91
|
file_url: z.ZodOptional<z.ZodString>;
|
|
91
92
|
type: z.ZodOptional<z.ZodString>;
|
|
92
93
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -103,6 +104,7 @@ export declare const zodContextSchema: z.ZodObject<{
|
|
|
103
104
|
organization_id?: string | undefined;
|
|
104
105
|
file_id?: string | undefined;
|
|
105
106
|
description?: string | undefined;
|
|
107
|
+
note?: string | undefined;
|
|
106
108
|
file_url?: string | undefined;
|
|
107
109
|
size?: number | undefined;
|
|
108
110
|
tokens?: number | undefined;
|
|
@@ -116,6 +118,7 @@ export declare const zodContextSchema: z.ZodObject<{
|
|
|
116
118
|
organization_id?: string | undefined;
|
|
117
119
|
file_id?: string | undefined;
|
|
118
120
|
description?: string | undefined;
|
|
121
|
+
note?: string | undefined;
|
|
119
122
|
file_url?: string | undefined;
|
|
120
123
|
size?: number | undefined;
|
|
121
124
|
tokens?: number | undefined;
|
package/dist/types.js
CHANGED
|
@@ -47,6 +47,7 @@ exports.zodContextSchema = zod_1.z.object({
|
|
|
47
47
|
file_id: zod_1.z.string().optional(),
|
|
48
48
|
title: zod_1.z.string().min(1).max(100),
|
|
49
49
|
description: zod_1.z.string().min(1).max(500).optional(),
|
|
50
|
+
note: zod_1.z.string().max(500).optional(),
|
|
50
51
|
file_url: zod_1.z.string().optional(),
|
|
51
52
|
type: zod_1.z.string().min(1).max(100).optional(),
|
|
52
53
|
size: zod_1.z.number().optional(),
|
package/index.ts
CHANGED
|
@@ -69,6 +69,7 @@ export const ContextSchema = Schema({
|
|
|
69
69
|
file_id: { type: String },
|
|
70
70
|
title: { type: String, required: true, minlength: 1, maxlength: 100 },
|
|
71
71
|
description: { type: String, minlength: 1, maxlength: 500 },
|
|
72
|
+
note: { type: String, maxlength: 500 },
|
|
72
73
|
file_url: { type: String },
|
|
73
74
|
type: { type: String, minlength: 1, maxlength: 100 },
|
|
74
75
|
size: { type: Number },
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -49,6 +49,7 @@ export const zodContextSchema = z.object({
|
|
|
49
49
|
file_id: z.string().optional(),
|
|
50
50
|
title: z.string().min(1).max(100),
|
|
51
51
|
description: z.string().min(1).max(500).optional(),
|
|
52
|
+
note: z.string().max(500).optional(),
|
|
52
53
|
file_url: z.string().optional(),
|
|
53
54
|
type: z.string().min(1).max(100).optional(),
|
|
54
55
|
size: z.number().optional(),
|