@sentry/junior-plugin-api 0.139.0 → 0.141.0
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.
|
@@ -14,6 +14,7 @@ export declare const conversationEventIconSchema: z.ZodEnum<{
|
|
|
14
14
|
/** Safe, core-rendered presentation for one plugin conversation event. */
|
|
15
15
|
export declare const conversationEventPresentationSchema: z.ZodObject<{
|
|
16
16
|
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
|
+
content: z.ZodOptional<z.ZodString>;
|
|
17
18
|
description: z.ZodOptional<z.ZodString>;
|
|
18
19
|
metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
20
|
title: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -36,6 +36,7 @@ var conversationEventIconSchema = z2.enum([
|
|
|
36
36
|
"warning"
|
|
37
37
|
]);
|
|
38
38
|
var conversationEventDetailSchema = z2.object({
|
|
39
|
+
content: z2.string().min(1).max(32 * 1024).optional(),
|
|
39
40
|
description: z2.string().trim().min(1).max(2e3).optional(),
|
|
40
41
|
metadata: z2.array(z2.string().trim().min(1).max(120)).max(8).optional(),
|
|
41
42
|
title: z2.string().trim().min(1).max(4e3)
|
package/package.json
CHANGED
|
@@ -22,6 +22,11 @@ export const conversationEventIconSchema = z.enum([
|
|
|
22
22
|
|
|
23
23
|
const conversationEventDetailSchema = z
|
|
24
24
|
.object({
|
|
25
|
+
content: z
|
|
26
|
+
.string()
|
|
27
|
+
.min(1)
|
|
28
|
+
.max(32 * 1024)
|
|
29
|
+
.optional(),
|
|
25
30
|
description: z.string().trim().min(1).max(2_000).optional(),
|
|
26
31
|
metadata: z.array(z.string().trim().min(1).max(120)).max(8).optional(),
|
|
27
32
|
title: z.string().trim().min(1).max(4_000),
|