@mastra/playground-ui 7.0.0-beta.20 → 7.0.0-beta.21
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/CHANGELOG.md +15 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +11 -11
package/dist/index.es.js
CHANGED
|
@@ -8822,7 +8822,7 @@ function WorkflowTrigger({
|
|
|
8822
8822
|
const zodStateSchema = stateSchema ? resolveSerializedZodOutput(jsonSchemaToZod(parse(stateSchema))) : null;
|
|
8823
8823
|
const zodSchemaToUse = zodStateSchema ? z.object({
|
|
8824
8824
|
inputData: zodInputSchema,
|
|
8825
|
-
initialState: zodStateSchema
|
|
8825
|
+
initialState: zodStateSchema.optional()
|
|
8826
8826
|
}) : zodInputSchema;
|
|
8827
8827
|
const workflowActivePaths = streamResultToUse?.steps ?? {};
|
|
8828
8828
|
const hasWorkflowActivePaths = Object.values(workflowActivePaths).length > 0;
|