Unified · Split
| @@ -1,2 +1,2 @@ | ||
| 1 | −82609ee4ee2acbeb9056ee96a21b24bcee573aac | |
| 2 | −0747e7274d47ee678e314020d3e1f670b57fb8fd | |
| 1 | +d79bea455052a17a459abca433e4af27ed529891 | |
| 2 | +8b2aa75eb3048614bef33e5ff0f93f6c5f62f4f6 | |
Binary file not shown.
Binary file not shown.
| @@ -304,7 +304,11 @@ scenario( · 303 unmodified lines | ||
| 304 | 304 | readonly inputSchema: { |
| 305 | 305 | readonly properties?: Record< |
| 306 | 306 | string, |
| 307 | − { readonly enum?: readonly string[]; readonly default?: unknown } | |
| 307 | + { | |
| 308 | + readonly type?: string; | |
| 309 | + readonly enum?: readonly string[]; | |
| 310 | + readonly default?: unknown; | |
| 311 | + } | |
| 308 | 312 | >; |
| 309 | 313 | readonly required?: readonly string[]; |
| 310 | 314 | }; |
| @@ -318,6 +322,8 @@ scenario( · 7 unmodified lines | ||
| 318 | 322 | enum: ["tools.apps.org.published"], |
| 319 | 323 | default: "tools.apps.org.published", |
| 320 | 324 | }); |
| 325 | + expect(schema.body.inputSchema.properties?.message).toMatchObject({ type: "string" }); | |
| 326 | + expect(schema.body.inputSchema.required ?? []).toContain("message"); | |
| 321 | 327 | expect(schema.body.inputSchema.required ?? []).not.toContain("apps"); |
| 322 | 328 | |
| 323 | 329 | const invoked = yield* Effect.promise(() => |