miqro.js 0.1.4 → 0.1.6
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/cli.js +4 -2
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3098,7 +3098,7 @@ const schema = z.object({
|
|
|
3098
3098
|
message: z.string().min(1),
|
|
3099
3099
|
});
|
|
3100
3100
|
|
|
3101
|
-
|
|
3101
|
+
const workflow: Workflow<z.infer<typeof schema>> = {
|
|
3102
3102
|
config: {
|
|
3103
3103
|
id: "hello-world",
|
|
3104
3104
|
name: "Hello World Workflow",
|
|
@@ -3109,7 +3109,9 @@ export default {
|
|
|
3109
3109
|
console.log("Hello from Miqro!", payload.message);
|
|
3110
3110
|
console.log("Context workflow ID:", context.workflowId);
|
|
3111
3111
|
},
|
|
3112
|
-
}
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
export default workflow;
|
|
3113
3115
|
`;
|
|
3114
3116
|
await writeFile(sampleWorkflowPath, sampleWorkflow);
|
|
3115
3117
|
}
|
package/dist/types.d.ts
CHANGED