mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-30 13:20:54 +01:00
fix(ui): type routine run dialog story payload
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
e078ee7615
commit
18aa4e3d3e
1 file changed
+5
-2
@@ -10,7 +10,10 @@ import { JsonSchemaForm, type JsonSchemaNode, getDefaultValues } from "@/compone
|
||||
import { MarkdownBody } from "@/components/MarkdownBody";
|
||||
import { MarkdownEditor, type MentionOption } from "@/components/MarkdownEditor";
|
||||
import { ReportsToPicker } from "@/components/ReportsToPicker";
|
||||
import { RoutineRunVariablesDialog } from "@/components/RoutineRunVariablesDialog";
|
||||
import {
|
||||
RoutineRunVariablesDialog,
|
||||
type RoutineRunDialogSubmitData,
|
||||
} from "@/components/RoutineRunVariablesDialog";
|
||||
import { RoutineVariablesEditor, RoutineVariablesHint } from "@/components/RoutineVariablesEditor";
|
||||
import { ScheduleEditor, describeSchedule } from "@/components/ScheduleEditor";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
@@ -642,7 +645,7 @@ function FormsEditorsShowcase() {
|
||||
|
||||
function RoutineRunDialogStory() {
|
||||
const [open, setOpen] = useState(true);
|
||||
const [submitted, setSubmitted] = useState<Record<string, unknown> | null>(null);
|
||||
const [submitted, setSubmitted] = useState<RoutineRunDialogSubmitData | null>(null);
|
||||
|
||||
return (
|
||||
<StoryShell>
|
||||
|
||||
Reference in new issue
Block a user