@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
19 lines (18 loc) • 493 B
TypeScript
import { z } from 'zod';
/**
* Schema for a message logged during a workflow run.
*/
export declare const WorkflowMessageSchema: z.ZodObject<{
type: z.ZodEnum<{
error: "error";
info: "info";
warn: "warn";
"marker-start": "marker-start";
"marker-end": "marker-end";
}>;
message: z.ZodString;
}, z.core.$loose>;
/**
* Represents a message to display in the workflow.
*/
export type WorkflowMessage = z.infer<typeof WorkflowMessageSchema>;